[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    Re: [libusb] Using libusb on kernel version >=3.6
From:       Einar Már Björgvinsson <Einar.Bjorgvinsson () marel ! com>
Date:       2013-09-28 11:12:17
Message-ID: 76E1146DEE728E4E95C1C6D1EEA1DBA9E4E8CA36 () GRBSR0004 ! marel ! net
[Download RAW message or body]

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 [stern@rowland.harvard.edu]
Sent: Saturday, September 28, 2013 2:21 AM
To: Xiaofan Chen
Cc: Einar Már Björgvinsson; libusb-devel@lists.sourceforge.net
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
> <Einar.Bjorgvinsson@marel.com> 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


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
libusb-devel mailing list
libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic