Click to See Complete Forum and Search --> : usb camera no go


ruwach
07-29-2003, 02:35 PM
Hello there, i am running mandrake 9.1 and i have just been given a Vivitar DSC 350 digital camera.

it isn't supported by gphoto or gtkam

the support docs say that XP will see it as a mass storage device. in USB view it does show up as an unknown device.

i also have a USB disk writer that works just fine.

any help on how to mount this thing would be greatly appreciated. i am still a Linux newbie ( 5 months )

ok, so thanks guys

beley
07-29-2003, 03:01 PM
Does it have removeable media? I have a digital camera and don't use any "software" - just use a usb card reader, which works on all of my computers, to read the flash memory.

Choozo
07-29-2003, 03:57 PM
Plug in the camera, and give this a shot:
mount -t vfat /dev/sda1 /mnt/cameraProvided that you have created /mnt/camera first (mkdir /mnt/camera)

Cheers :)

Gertrude
07-29-2003, 04:03 PM
You could also plug in the camera and type 'dmesg' and see what the last few lines have to say about the USB device.

ruwach
07-29-2003, 06:11 PM
ok. i tried to mount it and it told me that
special device sda does not exist.
i also tried sda1 and sda0 and it gave me the same thing

so i did a dmesg and it gave me a lot of lines and the following are all i thought might be relative to this issue.

hub.c: new USB device 00:02.0-1, assigned address 2
usb.c: USB device 2 (vend/prod ox84e/0x1) is not claimed by any active driver
hub.c: new USB device 00:02.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x474/0x401) is not claimed by any active driver
scsi subsystem driver Revision:1.00
Initializing USB Mass Storage Driver.
usb.c: registered new driver usb-storage
scsi0:SCSI emulation for USB Mass Storage Device
vendor TDK model: CDRW401248vex Rev:1t00
Type: CD-ROM ANSI scsi revision:02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage Device found at 3
USB Mass Storage support registered

then some stuff about my floppy

then

Attatched scsi CD-ROM id 0, sr0 at scsi0, channel 0, id 0, 1un
Sr0: scsi-1 drive
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 192 rq 160 len4 ret-71
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 192 rq 160 len4 ret-71
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 192 rq 160 len4 ret-71
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 192 rq 160 len4 ret-71
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 192 rq 160 len4 ret-71
usb.c: USB disconnect on device 00:02.0-1 address 2
hub.c: new USB device 00:02.-1, assigned address 4
usb.c: USB device 4 (vend/prod 0x84e/0x1), is not claimed by any active driver
usb.devfs : USBDEVFS_CONTROL failed dev 4 rqt 192 rq 160 len 4 rel -71
usb.devfs : USBDEVFS_CONTROL failed dev 4 rqt 192 rq 160 len 4 rel -71
usb.devfs : USBDEVFS_CONTROL failed dev 4 rqt 192 rq 160 len 4 rel -71
usb.devfs : USBDEVFS_CONTROL failed dev 4 rqt 192 rq 160 len 4 rel -71
usb.devfs : USBDEVFS_CONTROL failed dev 4 rqt 192 rq 160 len 4 rel -71
usb.c: USB disconnect on device 00:02.0-1, assigned address 5

then some stuff about the hard drive

then i got

scsi: SCSI emulation for USB Mass Storage devices resize_dma_pod: unknown device type.1


ok, thats about all that i thought was pertinent.
thanks for all of your help

cheers

ruwach
07-29-2003, 07:43 PM
another note.
i tried plugging the camera in and booting up and the os hung during the boot process.

maybe that helps a bit

thanks

ruwach
07-29-2003, 10:16 PM
ok, been tinkering.
one more note

under USB view it is listed as a unknown device
Mass Storage (SCSI) Bulk (Zip)

maybe that helps too

please help me !

ok thanks

Shep
07-30-2003, 01:27 AM
This is what helped me to get mine to work
http://www.justlinux.com/forum/showthread.php?s=&threadid=55406&highlight=coolpix+digital

ruwach
07-30-2003, 02:01 AM
ok, i looked over the link you sent. looks easy enough.
i typed Ismod in a terminal and it said
bash command Ismod not found

same thing with modprobe

maybe i am doing it wrong.
how do i find out if i have usbsupport. i thought i did since my usb CD-RW works ok.

questions questions.
thanks for your reply

Choozo
07-30-2003, 02:18 AM
Note that 'lsmod' and 'modprobe' should be executed as root, as they are usually not located in a regular users $PATH.

As for /dev/sda* - and the rest of the stuff in /dev/ - I'm having similar problems with my HP PhotoSmart 850 camera and Canon BJC6100 printer. The USB support seems very random in Mandrake 9.1, and there may be a bug/problem with the 'devfs' that Mandrake is using (a virtual filesystem on /dev running in memory, which holds information about all devices - present or not).

Cheers :)

ruwach
07-30-2003, 02:29 AM
ok, tried Ismod as root. still said that the command was not found..
modprobe said that there was nothing to load.

stuck.

thanks for your reply, perhaps you can get me out of this mess. I am so frustrated with this thing.
even still.....LINUX ROCKS !

salute'

Choozo
07-30-2003, 02:34 AM
You are trying LSMOD in lowercase, not ISMOD, right?

ruwach
07-30-2003, 02:55 AM
God thats so funny.
LSMOD not ISMOD.
good stuff here.

ok it worked. and here is what i have. i turned the camera on and then did the lsmod as root.

Module Size Used by Not tainted
binfmt_misc 7020 1
ide-cd 33856 0 (autoclean)
af_packet 14952 1 (autoclean)
floppy 55132 0
8139too 17160 1 (autoclean)
mii 3832 0 (autoclean) [8139too]
sr_mod 16920 0
cdrom 31648 0 [ide-cd sr_mod]
scsimon 9280 0 (unused)
supermount 15296 3 (autoclean)
usb-storage 72952 0
scsi_mod 103284 4 [sr_mod scsimon usb-storage]
sb 9044 1
sb_lib 41454 0 [sb]
uart401 8196 0 [sb_lib]
sound 70644 1 [sb_lib uart401]
soundcore 6276 0 [sb_lib sound]
usb-ohci 20584 0 (unused)
usbcore 72992 1 [usb-storage usb-ohci]
rtc 8060 0 (autoclean)
ext3 59916 2
jbd 38972 2 [ext3]

hope this helps

thanks for everything, if you knew how many times i went in and typed ISMOD you would really have a hoot.

ok then.

cheers

Choozo
07-30-2003, 03:06 AM
You may be out of luck, for the time being, with your camera (as I've concluded with mine) until a future update of gphoto/gtcam.

In the mean time, have a look at the USB Digital Camera HOW-TO (http://tldp.org/HOWTO/USB-Digital-Camera-HOWTO/index.html) over at The Linux Documentation Project.

Cheers, hope that helps :)

ruwach
07-30-2003, 03:10 AM
ok thanks, ill give it a shot in the morning.
thanks again for your time, attention and patience

God bless you, i will let you know how it goes

cheers

ruwach
07-30-2003, 02:38 PM
ok, well......
in my /dev folder i do not have an entry for sda or sda0 or sd anything.

are there more drivers i need to have loaded ?

please someone lemme know

thanks

Taris_Kah
07-30-2003, 03:31 PM
Just curious try this as root

tail -f /var/log/messages

Once that it stops displaying stuff then plug in the camera and see what pops up.

Icarus
07-30-2003, 03:51 PM
Originally posted by Choozo
Plug in the camera, and give this a shot:
mount -t vfat /dev/sda1 /mnt/cameraProvided that you have created /mnt/camera first (mkdir /mnt/camera)

Cheers :) This works every time for me no matter what system I'm on or how many different distros I've installed on my laptop :)

ruwach
07-30-2003, 04:13 PM
[ruwach@wireless-amatxdumas-480-16 ruwach]$ su
Password:
[root@wireless-amatxdumas-480-16 ruwach]# tail -f /var/log/messages
Jul 31 02:01:02 wireless-amatxdumas-480-16 msec: changed mode of /var/log/ksyms.0 from 644 to 640
Jul 31 02:01:02 wireless-amatxdumas-480-16 msec: changed group of /var/log/ksyms.0 from root to adm
Jul 31 02:01:02 wireless-amatxdumas-480-16 msec: changed mode of /var/log/XFree86.0.log.old from 644 to 640
ok, i typed that in and this is what came up.
after i plugged in the camera, nothing else showed up in the terminal .

Jul 31 02:01:02 wireless-amatxdumas-480-16 msec: changed group of /var/log/XFree86.0.log.old from root to adm
Jul 31 02:59:39 wireless-amatxdumas-480-16 su(pam_unix)[2066]: session opened for user root by (uid=501)
Jul 31 03:01:00 wireless-amatxdumas-480-16 CROND[2101]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)
Jul 31 03:01:48 wireless-amatxdumas-480-16 su(pam_unix)[2066]: session closed for user root
Jul 31 03:02:04 wireless-amatxdumas-480-16 su(pam_unix)[2144]: session opened for user root by ruwach(uid=501)
Jul 31 03:05:27 wireless-amatxdumas-480-16 su(pam_unix)[2211]: session opened for user root by ruwach(uid=501)
Jul 31 03:05:27 wireless-amatxdumas-480-16 su(pam_unix)[2144]: session closed for user root

ok, so i did the mount -t vfat /dev/sda1 /mnt/camera
and i got
special device /dev/sda1 does not exist

hmmm. well let me know if this helps.

Choozo
07-30-2003, 04:57 PM
As I mentioned earlier, the 'devfs' in Mandrake 9.1 seems a bit "wobbly" at the best. This may just be my perception of the situation, but I never had problems like this with Mandrake 9.0 - which readily provided the /dev/sda* upon plugging in any USB device (CF readers, non-PTP cameras, etc.)

Since Mandrake 9.2 is just around the corner (release quality expected late september) - and just got some bleeding edge hardware setup - I'll just wait for that one.

Cheers :)

ruwach
07-30-2003, 05:15 PM
9.2 sounds good, i can wait till september.
its a pretty good camera. i will just d/l the shots to my friends system and email them to myself till then.

thanks much

bsh152s
08-07-2003, 10:01 PM
I know, this is an old post but I thought I'd put it here to show you where I'm coming from.

I tried the things listed and here are the results:

[root@localhost mmptp]# modprobe usb-storage
[root@localhost mmptp]# dmesg
...
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.0, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xe084b000, IRQ 5
usb-ohci.c: usb-00:02.1, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:02.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4b8/0x5) is not claimed by any active driver.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
Adding Swap: 1044216k swap-space (priority -1)
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
printer.c: v0.11: USB Printer Device Class driver
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Polaroid Model: BurnMAX40 Rev: 408p
Type: CD-ROM ANSI SCSI revision: 02
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
ip_tables: (C) 2000-2002 Netfilter core team
8139too Fast Ethernet driver 0.9.26
divert: allocating divert_blk for eth0
eth0: D-Link DFE-538TX (RealTek RTL8139) at 0xe0944000, 00:05:5d:42:ec:da, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
divert: not allocating divert_blk for non-ethernet device ppp0
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
hub.c: new USB device 00:02.1-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x40a/0x530) is not claimed by any active driver.
usb.c: USB disconnect on device 00:02.1-2 address 2
hub.c: new USB device 00:02.1-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x40a/0x530) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:02.1-2 address 3
hub.c: new USB device 00:02.1-2, assigned address 4
usb.c: USB device 4 (vend/prod 0x40a/0x530) is not claimed by any active driver.

[root@localhost mmptp]# mount /dev/sda0 /mnt/camera
mount: special device /dev/sda0 does not exist
[root@localhost mmptp]# mount /dev/sda1 /mnt/camera
mount: /dev/sda1 is not a valid block device
[root@localhost mmptp]# mount /dev/sda2 /mnt/camera
mount: /dev/sda2 is not a valid block device
[root@localhost mmptp]# mount /dev/sda3 /mnt/camera
mount: /dev/sda3 is not a valid block device
[root@localhost mmptp]# mount /dev/sdb0 /mnt/camera
mount: special device /dev/sdb0 does not exist
[root@localhost mmptp]# mount /dev/sdb1 /mnt/camera
mount: /dev/sdb1 is not a valid block device
[root@localhost mmptp]# mount /dev/sdb2 /mnt/camera
mount: /dev/sdb2 is not a valid block device
[root@localhost mmptp]# mount /dev/sdb3 /mnt/camera
mount: /dev/sdb3 is not a valid block device

Where in the dmesg output am I supposed to find the device that I can mount? Am I missing something?