From: Einar M. B. <Ein...@ma...> - 2013-09-28 11:12:48
|
Hi there and thanks for your response. We are using Udev 175 and libusb 1.0.16. I think I have a better picture of this now. My main interest was to know how libusb operates in regards to the USB devices and now I can see we just have to let Udev create those links. I think I understand now, I will create the udev rule that fits. thanks alot. Regards Einar ________________________________________ From: Alan Stern [st...@ro...] Sent: Saturday, September 28, 2013 2:21 AM To: Xiaofan Chen Cc: Einar Már Björgvinsson; lib...@li... Subject: Re: [libusb] Using libusb on kernel version >=3.6 On Sat, 28 Sep 2013, Xiaofan Chen wrote: > On Wed, Sep 25, 2013 at 10:09 PM, Einar M�r Bj�rgvinsson > <Ein...@ma...> wrote: > > Hi > > > > I would like to know how to use libusb without the /dev/usbdevxx which I > > believe was deprecated in kernel 2.6, the usbfs that is to say ? > > I have cross-compiled version 1.15 of the library for powerpc platform and > > it crashes with the failure of not finding /dev/usbdevxx. > > > > /dev/usbdevxx is only used if neither /dev/bus/usb (most of the modern > Linux distros) nor the deprecated usbfs mount /proc/bus/usb exist. > > Ref: https://libusb.org/ticket/119 > > So you need to check if your PowerPC kernel is configured properly > with usb support. The files under /dev/bus/usb are created by udev (or something equivalent). Einar should check to see what version of udev is being used. Alan Stern |