From: Reinoud K. <soc...@ho...> - 2011-11-24 19:06:13
|
Thanks a lot for your info.This is good to know.I guess i have problems in my kernel config.I mean look: /proc/bus/usb# ls it's empty.I do see that usb 2 support is loaded: Dec 31 19:00:17 info kernel ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) DriverDec 31 19:00:17 debug kernel ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96Dec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23Dec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: setting latency timer to 64Dec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: EHCI Host ControllerDec 31 19:00:17 debug kernel drivers/usb/core/inode.c: creating file 'devices'Dec 31 19:00:17 debug kernel drivers/usb/core/inode.c: creating file '001'Dec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1Dec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: reset hcs_params 0x104208 dbg=1 cc=4 pcc=2 ordered !ppc ports=8Dec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: reset hcc_params 6871 thresh 7 uframes 1024 64 bit addrDec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: using broken periodic workaroundDec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: debug port 1Dec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: reset command 080022 (park)=0 ithresh=8 Async period=1024 Reset HALTDec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: cache line size of 64 is not supportedDec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: supports USB remote wakeupDec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: irq 23, io mem 0xefa00000Dec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALTDec 31 19:00:17 debug kernel ehci_hcd 0000:00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUNDec 31 19:00:17 info kernel ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00Dec 31 19:00:17 debug kernel usb usb1: default language 0x0409Dec 31 19:00:17 debug kernel usb usb1: udev 1, busnum 1, minor = 0Dec 31 19:00:17 info kernel usb usb1: New USB device found, idVendor=1d6b, idProduct=0002etc etc etc. Hence, i am wondering what i must be missing here, because the /proc/bus/usb dir is empyThanks, Reinoud. > Date: Thu, 24 Nov 2011 10:14:04 +0800 > Subject: Re: [Libusb-devel] usbfs under 2.6.32 and beyond > From: xia...@gm... > To: soc...@ho... > CC: lib...@li... > > On Thu, Nov 24, 2011 at 9:40 AM, Xiaofan Chen <xia...@gm...> wrote: > > On Thu, Nov 24, 2011 at 6:39 AM, Reinoud Koornstra <soc...@ho...> wrote: > >> Hi Everyone, > >> Forgive my trivial question, but i am having trouble trying to mount usb on > >> linux 2.6.34. > >> I saw that this is no longer supported from 2.6.32 and beyond? > >> I need this for my libusb 0.x code. :) > >> Is there a way around this? > > > > You do not need this even for libusb-0.1.12 code. It already > > supports searching for /dev/bus/usb. > > http://libusb.svn.sourceforge.net/viewvc/libusb/trunk/libusb/linux.c?revision=661&view=markup > > Just for your info, libusb-0.1.12 works fine under Ubuntu 10.04 > and 11.10 (kernel 2.6.32 and 3.0) for me. It also worked under > Ubuntu 10.10 and 11.04 last time I tried it. > > Debain and Ubuntu are still shipping with libusb-0.1.12 and > not libusb-compat-0.1 even though majority of other distros > are shipping the libusb-compat-0.1. > > Eg: Debian sid (unstable) still has libusb-0.1.12. > http://packages.debian.org/unstable/libs/libusb-0.1-4 > > Same for Ubuntu (same maintainer, Aurelien Jarno). > https://launchpad.net/ubuntu/+source/libusb > > -- > Xiaofan |