LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-19-2003, 10:28 PM   #1
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Rep: Reputation: 15
Canon Ixus V3 Digital Camera and Red Hat Linux 9


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.
 
Old 07-20-2003, 05:28 AM   #2
ionstorm
Member
 
Registered: Jul 2003
Location: United Kingdom
Distribution: Slackware 8.0, 8.1, 9, 9.1 Crux 1.1,1.2
Posts: 80

Rep: Reputation: 15
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?
 
Old 07-20-2003, 05:57 AM   #3
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
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:

http://www.linuxquestions.org/questi...threadid=74030
 
Old 07-20-2003, 07:00 AM   #4
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Thank you, but there's still a problem. I get this message:

[root@localhost root]# mount -t vfat /dev/sda1 /mnt/camera
mount: /dev/sda1 is not a valid block device
 
Old 07-21-2003, 04:55 AM   #5
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
bump
 
Old 07-21-2003, 05:09 AM   #6
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
OK, I need to know a bit more about your installation. Please post the output of:

lspci
lsmod
dmesg | grep usb
dmesg | grep scsi

Also, did you install RH with Plug N Play disabled in the BIOS, and is APIC disabled in the BIOS, or through 'noapic' issued as a parameter to the kernel at boot?
 
Old 07-21-2003, 05:17 AM   #7
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
[root@localhost root]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI
bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:02.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller
(rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller
(rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
00:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 514d
[root@localhost root]#

[root@localhost root]# lsmod
Module Size Used by Not tainted
sd_mod 13388 0 (autoclean) (unused)
i810_audio 27528 1 (autoclean)
ac97_codec 13544 0 (autoclean) [i810_audio]
soundcore 6276 2 (autoclean) [i810_audio]
ppp_deflate 4408 2 (autoclean)
zlib_deflate 21176 0 (autoclean) [ppp_deflate]
ppp_async 9312 1 (autoclean)
ppp_generic 24156 3 (autoclean) [ppp_deflate ppp_async]
slhc 6644 1 (autoclean) [ppp_generic]
radeon 114916 1
agpgart 46752 3
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
autofs 12948 0 (autoclean) (unused)
ipt_REJECT 3896 6 (autoclean)
iptable_filter 2380 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
sg 35980 0 (autoclean)
sr_mod 17912 0 (autoclean)
ide-scsi 11984 0
scsi_mod 106200 4 [sd_mod sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
nls_iso8859-1 3484 2 (autoclean)
nls_cp437 5116 2 (autoclean)
vfat 12844 2 (autoclean)
fat 38328 0 (autoclean) [vfat]
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-ohci 21160 0 (unused)
usbcore 77696 1 [hid usb-ohci]
ext3 69984 2
jbd 51220 2 [ext3]

[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
[root@localhost gphoto2-2.1.1]#

[root@localhost gphoto2-2.1.1]# dmesg | grep scsi
Kernel command line: ro root=LABEL=/ hdd=ide-scsi
ide_setup: hdd=ide-scsi
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray



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?
 
Old 07-21-2003, 05:49 AM   #8
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
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:

modprobe usb-storage

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.)
 
Old 07-21-2003, 07:22 AM   #9
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Thanks. I'll try your guidelines.
 
Old 07-23-2003, 11:05 PM   #10
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
there is a listing under /dev of sda and sda1 but they're recognized as 0 bytes.

the errors are from turning the camera on and off. I'm doing it because the batteries might run out soon even before I make it work.

there isn't a plug and play in the bios of the k7s5a. how can i add pci=bios to the kernel boot parameter?

nothing comes out after doing modprobe usb-storage and this is what appears in /etc/modules.conf after doing modprobe:

alias usb-controller usb-ohci
alias char-major-81 bttv
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

there's no probeall usb-interface usb-ohci in it.
 
Old 07-24-2003, 03:59 AM   #11
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
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:

lilo

then re-boot your computer. After it restarts, try the method I posted in the link above once more, to see if things improve.
 
Old 07-25-2003, 08:02 AM   #12
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
I just bought a cf card reader. Worked like a charm. Thanks for all the help.
 
Old 07-25-2003, 09:04 AM   #13
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Canon IXUS 430 on Slackware 10.1 jaakkop Linux - Hardware 1 08-13-2005 06:06 PM
canon ixus = webcam? delta_simon Linux - Hardware 2 07-31-2005 05:37 AM
Canon Digital Camera seelk Linux - Hardware 3 04-14-2005 02:43 AM
USB / RED HAT / Digital Camera Sony DSC P7 VincentB Linux - Hardware 6 05-11-2004 04:37 PM
USB and Digital Camera on Red Hat 9 Jagdpanther Linux - Hardware 1 05-04-2003 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration