Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a Canon Ixus V3 (USB and CompactFlash) and I can't make the digital camera tool (gtkam) recognize it. When I put in dmesg, I get this message:
divert: not allocating divert_blk for non-ethernet device ppp0
PPP Deflate Compression module registered
hub.c: new USB device 00:02.3-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x3070) is not claimed by any active driver
I know that linux sees the usb ports and the camera because when I trun the camera on and off, the message slightly changes. The problem is that I still can't get the pictures off the camera. Help.
I don't believe that any camera is recognised on bootup, only when you open GtKam, are you sure you installed GtKam correctly, with all the changing of USB permissions and setting up hotplugging etc etc?
Your camera seems to use DCF, so you might be able to access your photos through Konqueror (or any other similar file manager, or the console) by using the method I found to work, which can be accessed here:
[root@localhost gphoto2-2.1.1]# dmesg | grep usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe0849000, IRQ 11
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: USB OHCI at membase 0xe084b000, IRQ 5
usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 2
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb2:2.0
usb.c: USB device 2 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 2
usb.c: USB device 3 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 3
usb.c: USB device 4 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 4
usb.c: USB device 5 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 5
usb.c: USB device 6 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 6
usb.c: USB device 7 (vend/prod 0x4a9/0x3070) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.3-1 address 7
The plug and play is enabled. I haven't seen an APIC.
After compiling gphoto2-2.1.1 I saw this message at the end:
configure: error: Library requirements (libgphoto2 >= 2.1.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
I compiled libghoto2 before compiling gphoto2. What am I doing wrong?
I don't know about RH, but Mandrake needs Plug N Play turned off in the BIOS for correct hardware device detection during installation. The other thing I notice is that 'usb-storage' is missing from your modules list. Without that, usb won't know how to treat a usb device as a disk, which is how your camera should look to the system.
With your camera plugged in, do you have a listing under /dev for sda and sda1? On mine, they point to scsi/host1/bus0/target0/lun0/disk and scsi/host1/bus0/target0/lun0/part1 respectively. There is an entry under /dev/scsi leading to these, and entries under /dev/sd also pointing to these.
Your usb setup looks OK, except for what looks like errors with a usb device that is trying to attach at seven addresses, but fails. That is most likely your camera.
I would try first to disable the Plug N Play in the BIOS. If you can't do that (or don't want to because you want to leave it that way for another OS) try adding 'pci=bios' to the kernel boot parameter.
Failing that, try adding the usb-storage module by:
and see if that improves matters.
Also, check if /etc/modules.conf includes the following line:
probeall usb-interface usb-ohci
(it probably has if the other usb modules are installed, but it's worth checking.)
It seems that RH is quite different to Mandrake. It might make no difference to have Plug N Play turned off, but you might as well try it. You add 'pci=bios' to the 'append =' line in /etc/lilo.conf. So, if it looks like:
append="quiet devfs=mount hdc=ide-scsi"
edit it to read:
append="quiet pci=bios devfs=mount hdc=ide-scsi"
Then run the command, as root:
then re-boot your computer. After it restarts, try the method I posted in the link above once more, to see if things improve.
No problem. It's a bit of a pity that we couldn't get your camera working with usb, but at least you can access your photos now with the CF reader. It's strange - one usb storage device works, but not the other. Maybe it's the camera that won't cooperate. I also suspect that kernel version might also be another factor (mine is 2.4.21-0.13mdk, whereas yours is 2.4.20). If you ever upgrade your kernel it might be worth checking your camera again.