NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-usb problems



In Message <54E5210D.6030807%anduin.org.uk@localhost>,
   Dave Tyson <dtyson%anduin.org.uk@localhost>wrote:

=>On 02/18/15 19:05, Jonathan A. Kollasch wrote:
=>> On Wed, Feb 18, 2015 at 05:58:22PM +0000, Dave Tyson wrote:
=>>> recent pkgsrc. /dev/usb* is readable/writeable by all
=>> What about /dev/ugen*.*?  Any ugen devices in dmesg?
=>
=>Forgot to add that /dev/uhid0-/dev/uhid18 as also
=>read-write all.

   ktrace showed that ioctl(,USB_DEVICEINFO,) is returning devices,
but a debug vesion of PyUSB shows that the usb_device::devices
pointer is coming back null, which points to a libusb problem. A
debug version of libusb shows that bsd.c:usb_os_find_devices() is
skipping anything that isn't ugen, so any USB devices you have
drivers for won't show up.

   Not terribly helpful, but there it is.

				Gary Duzan




Home | Main Index | Thread Index | Old Index