|
From: Ludovic R. <lud...@gm...> - 2020-01-21 21:22:59
|
Le mar. 21 janv. 2020 à 21:53, Jaco <ja...@jd...> a écrit : > > Hi all. Hello, > I don't understand what is the difference between libusb-1.0 and libusb-dev libusb-1.0-0 is Debian package for libusb 1.0 library https://packages.debian.org/buster/libusb-1.0-0 libusb-dev is Debian package for libusb 0.1 (not 1.0) development files https://packages.debian.org/buster/libusb-dev > I have a program running using v1.0.22.11312 of libusb-dev on Raspbian Buster and it works fine > > I then moved to a Pi that is running Stretch and there the version that installed is > v1.0.21.11156 Note that version v1.0.21.11156 is older than version v1.0.22.11312. > The program does not work correctly using v1.0.21.11156. I keep on getting timeouts and corrupt data / half buffers with carriage returns where they should not be. > > So my question are? > > > > 1) Is it the version that is causeing my problems on Stretch? Possibly. > 2) How do I install the latest version on Strech (Arm) Upgrade the system from Stretch to Buster? Or backport the libusb package from Buster to Stretch. > 3) what is the differerance between libusb 1 and libusb dev See above. libusb-dev is for the olf API version 0.1 not 1.0. Bye -- Dr. Ludovic Rousseau |