View previous topic :: View next topic |
Author |
Message |
Sionnach n00b
Joined: 07 May 2003 Posts: 20 Location: Ireland
|
Posted: Sat May 24, 2003 2:54 pm Post subject: USB Configuration Problems - lsusb |
|
|
hi All,
I've been trying to set up my Canon S40 camera so's I can use gphoto2 to get image from it, and have come across some what look like general USB problems.
Firstly, I have an external USB hard drive that works fine. So I know the USB hardware is ok...
I enable the usbdevfs file system and load up the uchi drivers as a module, but also get an empty /proc/bus/usb/devices file - even though my syslog shows the camera (and web cam) being recognized as plugged and unplugged. In the /proc/bus/usb/drivers file I just have:
But when I type
I get:
Code: |
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
|
There's not many references to it anywhere. I'm using the gentoo-sources latest 2.4 kernel. From looking around it seems that I haven't got any USB hubs enabled - did notice that my network card shares an IRQ (9) with one of the controllers however.
Any ideas? |
|
Back to top |
|
|
dma Guru
Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
|
Back to top |
|
|
Sionnach n00b
Joined: 07 May 2003 Posts: 20 Location: Ireland
|
Posted: Sun May 25, 2003 10:06 am Post subject: |
|
|
Thanks for the info, I'll have a look at that today.
Bizzarely, I got it working just before I read your post! It seems to be highly dependent on what kernel modules are compiled as modules and suchlike. I had the following:
Code: |
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m
|
and emerged and installed hotplug as directly in the various HowTos.
It created /proc/bus/usb fine, but had the above error - I rebooted - then ran lsusb and got:
Code: |
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub
|
Ran up gphoto2 and all is well
I'm glad it's working - now I just have to understand how !
EDIT: previously I had no usb.ids file - so your post would have fixed it just fine - Thanks! - I wonder how I managed to generate it accidentally |
|
Back to top |
|
|
|