mounting digital camera, mounting in general?
When mounting a digital camera you need to know the device name, /dev/sda1 or whatever. This doesn't work for me.
Without paranormal powers how are you supposed to know the device name? Surely there must be some way of finding it out. Equally how are you to know the name of the sound device, or any other device? Ditto the file-system type. In fact 'gphoto2 --list-files' and 'gphoto2 --get-file 1-20' works. But I'd like to mount it. Can't help the way I feel. Thanks any help. |
The output of 'dmesg', short after attaching the device should indicate the device name.
|
Similarly, after you connect the device, try running
Code:
fdisk -l |
Alright, that's beautiful. Thanks boys and girls; I just didn't know that.
|
Code:
Assume this is the relevant stuff from dmesg. Still not obvious what the driver is. Is it just something about usb - which I don't know anything about?? The camera plugs in via the usb connector. The camera's plugged in via USB. Does that mean some sort of obvious device? Thanks any help. |
Most cameras have 2 modes - Disk or USB mode, and Camera or PTP mode. The first is the USB Mass Storage Device mode, which is generally what you need to mount a USB device (unless there's a specific driver for your particular device, like the Manager driver for iRiver devices).
In Camera or PTP mode the camera is expecting a specific, narrow range of communication events, and has limited ability to respond to those events. For example, the filename must be a certain string of characters, it must be in certain folders, etc. otherwise any illegal files will not be reported. This mode is designed to be simple and foolproof since it's only supposed to handle image and video files. gphoto is coded to work with this mode natively. Anyway, the point is that you should check to see if your camera is in the wrong mode to be used as a mass storage device. |
Thanks. That's probably it - the camera's in PTP, picture transfer protocol, mode; which is presumably why 'gphoto2 --get-all-files', for example, works.
I'll try USB, Mass Storage Device mode. And see if the previous advice then signals which device to mount. |
All times are GMT -5. The time now is 03:31 AM. |