Hello all,

after trying for 2 days to get my USB digital camera to work under
Gentoo I'm giving up. gphoto2 is working fine under Mandrake so I guess
it's a USB / kernel problem. I've been looking through the forums and
couldn't find an answer, so any help would be appreciated! Camera is a
Mustek gSmart mini 2, but I don't think it matters.

OK, here is the gphoto2 debug output:

--------------------------------------
0.155793 gphoto2-port-core(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so'
0.156099 gphoto2-port-core(2):
'/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la' is not a library
(/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la: invalid ELF
header)
0.156389 gphoto2-port-core(2):
'/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a' is not a library
(/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a: invalid ELF
header)
0.156907 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from
'libgphoto2_port_usb.so'
0.157196 gphoto2-port-core(2):
'/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la' is not a library
(/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la: invalid ELF header)
0.157462 gphoto2-port-core(2):
'/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a' is not a library
(/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a: invalid ELF header)
0.157721 gphoto2-port-info-list(2): Looking for path 'usb:' (4 entries
available)...
0.157908 gphoto2-port-info-list(2): Getting info of entry 2 (4
available)...
0.158095 gphoto2-camera(2): Setting port info for port 'Universal Serial
Bus' at 'usb:'...
0.158802 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.159125 gphoto2-port(2): Setting settings...
0.159279 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.159589 setting/gphoto2-setting.c(2): Loading settings from file
"/home/mgruenb//.gphoto/settings"
0.162815 gphoto2-setting(2): Setting key 'port' to value 'usb:'
(gphoto2)
0.162840 gphoto2-setting(2): Saving 12 setting(s) to file
"/home/mgruenb//.gphoto/settings"
0.162982 main(2): Processing 'model' option ('Mustek gSmart mini 2')...
0.163055 gphoto2-camera(2): Setting abilities ('Mustek gSmart mini
2')...
0.163069 gphoto2-setting(2): Setting key 'model' to value 'Mustek gSmart
mini 2' (gphoto2)
0.163079 gphoto2-setting(2): Saving 12 setting(s) to file
"/home/mgruenb//.gphoto/settings"
0.163461 gphoto2-camera(2): Initializing camera...
0.163530 gphoto2-port(0): Could not find USB device (vendor 0x55f,
product 0xc420). Make sure this device is connected to the computer.
0.163570 context(0): An error occurred in the io-library ('Bad
parameters'): Could not find USB device (vendor 0x55f, product 0xc420).
Make sure this device is connected to the computer.

*** Error ***
An error occurred in the io-library ('Bad parameters'): Could not find
USB device (vendor 0x55f, product 0xc420). Make sure this device is
connected to the computer.
*** Error (-2: 'Bad parameters') ***
-------------------------------------------------------

/var/log/everything/current
------------------------------------------
Mar  7 23:24:54 [/etc/hotplug/pci.agent] pcimodules is scanning more
than 00:00.0 ...
Mar  7 23:24:54 [/etc/hotplug/pci.agent] Setup snd-via8233 uhci 8139too
ne2k-pci for PCI slot
Mar  7 23:24:54 [kernel] usb.c: registered new driver usbdevfs
Mar  7 23:24:54 [kernel] uhci.c: USB Universal Host Controller Interface
driver v1.1
Mar  7 23:24:54 [kernel] usb.c: new USB bus registered, assigned bus
number 1
Mar  7 23:24:54 [kernel] hub.c: USB hub found
Mar  7 23:24:54 [kernel] uhci.c: USB UHCI at I/O 0xb000, IRQ 21
Mar  7 23:24:54 [kernel] usb.c: new USB bus registered, assigned bus
number 2
Mar  7 23:24:54 [kernel] hub.c: USB hub found
Mar  7 23:24:54 [kernel] uhci.c: USB UHCI at I/O 0xb400, IRQ 21
Mar  7 23:24:54 [kernel] usb.c: new USB bus registered, assigned bus
number 3
Mar  7 23:24:54 [kernel] hub.c: USB hub found
Mar  7 23:24:54 [/etc/hotplug/pci.agent] pcimodules is scanning more
than 00:01.0 ...
Mar  7 23:24:54 [/etc/hotplug/pci.agent] Setup snd-via8233 uhci 8139too
ne2k-pci for PCI slot
Mar  7 23:24:54 [/etc/hotplug/pci.agent] pcimodules is scanning more
than 00:05.0 ...
Mar  7 23:24:54 [/etc/hotplug/pci.agent] Setup snd-via8233 uhci 8139too
ne2k-pci for PCI slot
Mar  7 23:24:55 [/etc/hotplug/pci.agent] pcimodules is scanning more
than 00:06.0 ...
Mar  7 23:24:55 [/etc/hotplug/pci.agent] Setup snd-via8233 uhci 8139too
ne2k-pci for PCI slot
Mar  7 23:24:55 [/etc/hotplug/pci.agent] pcimodules is scanning more
than 00:07.0 ...


-----------------------------------------

lsmod:
-<snip>-
uhci                   23760   0  (unused)
usbcore                54944   1  [uhci]
-</snip>-

libusb + hotplug are installed. I copied the hotplug file to
/etc/hotplug/usb/usbcam and set up usb.usermap, but /proc/bus/usb
doesn't change user or group ownership (I tried both).

Thanks in advance for any help!

Cheers,

Michael.


--
[EMAIL PROTECTED] mailing list

Reply via email to