Re: Problems reading files off digital cam after mounting via USB

From: Dances With Crows (danceswithcrows_at_usa.net)
Date: 08/01/03


Date: 1 Aug 2003 20:48:23 GMT

On 1 Aug 2003 12:52:29 -0700, Quiet Voice staggered into the Black Sun
and said:
> Dances With Crows <danceswithcrows@usa.net> wrote in message
> news:<slrnbifili.r0s.danceswithcrows@samantha.crow202.dyndns.org>...
>> On 30 Jul 2003 06:18:18 -0700, Quiet Voice staggered into the Black
>> Sun and said:
>> > My os is linux Redhat 9.0. I'm experiencing a problem reading
>> > photo files off my Minolta Dimage 7Hi. When I plug the camera into
>> > my laptop via the usb port, the camera appears in the /mnt
>> > directory (as "/mnt/camera"). But when I click on the icon for
>> > /mnt/camera, it comes up blank. Nothing.
>> The output from "mount" should include the string "/mnt/camera". If
>> it doesn't, do "mount /mnt/camera".
>
> After I plug the camera into the USB slot, the output from "mount"
> says (among other things)

*What* "other things"? Provide complete information; it makes doing
tech support a lot easier. If you haven't read
http://catb.org/~esr/faqs/smart-questions.html , go do so--it's snarky
and abrasive, but it contains very good advice for asking questions on
technical forums.

> usbdevfs on /proc/bus/usb type usbdevfs (rw)

This is the USB Device File System. This lets you obtain information
about all the USB devices that are connected by doing "cat
/proc/bus/usb/devices" , for example. You still have to mount the
camera, or set up Redhat's automounter to mount the camera.

>> /mnt/camera", then it gets more complicated. Post the output of
>> "lsmod" and the output of "dmesg | tail -30".
> dmesg | tail gives the following.....
>
> hub.c: new USB device 00:07.2-1.1 assigned address 4
> hub.c: new USB device 4 (vend/prod 0x686/0x400f) is not claimed by any
> active driver.

This is not good... could be that the camera's USB device IDs are not in
the list of recognized devices, so the usb-storage module isn't grabbing
the camera and doing the right thing. This might be fixed with a kernel
update... what's the output of "uname -a"?

> So it *seems* as if everything is mounted correctly...

Er, no. Post the *complete* output from "mount"; if the camera is
mounted, then /dev/sda1 (maybe /dev/sdb1) will show up in the output.

> (PS: I can't seem to run lsmod. When I type it, I get an error msg
> telling me its not a bash command. Whereis shows it to be in the /sbin
> dir. But even issuing the command from that dir doesn't work).

The /sbin directory is not in your PATH. If you do "echo $PATH", you
will see something like

/home/user/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:
/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/games/bin

...and /sbin won't be in it. The current directory is not in your PATH
either; this is widely considered to be a good thing, but it can make
things less convenient. Since /sbin and /usr/sbin contain useful things
like ifconfig, route, lsof, and lsmod , I always add them to my PATH.
Like so:

export PATH=$PATH:/sbin:/usr/sbin

and if you want to add the current directory to your PATH, you'd do

export PATH=$PATH:.

...but that's not a good idea.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / 
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL


Relevant Pages

  • Re: new install, sound not working (+2 bonus problems)
    ... > there's no listing... ... this indicates that your iRiver is recognized as a usb device. ... you make a mount point. ...
    (Debian-User)
  • Mounting USB device on SunBlade1500
    ... mount command device to use. ... SunBlade 1500 step-by-step documentation. ... 1 Samsung and one unknown USB device. ... Sun told me the only way for a non-root user is via RBAC. ...
    (SunManagers)
  • Re: USB memory stick hotswap problems
    ... USB device before unplugging". ... pictures - while I do this, the camera decides that it's been inactive ... > there is unflushed dirty data that will get lost, causing data corruption ...
    (freebsd-current)
  • Re: usb device
    ... Still I can not mount the ... S: Product=USB UHCI Root Hub ... >>I am trying to mount my USB device but it is not really working! ... Maybe the mass storage driver isn't loaded. ...
    (Debian-User)
  • Re: Unable to connect DShot II camera
    ... |> I've just bought the Oregon Scientific DShot II digital camera. ... | the camera as a generic USB device. ... | It could, as you say, be usbdevfs, if gphoto2 uses that. ...
    (Debian-User)