Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed gphoto2, when I run it, gphoto sees the camera and I can see the files, but only in command line.
How can I mount the filesystem on the camera so I can use X to see the pictures on the camera?
I tried mount /dev/camera /mnt/camera but all I get is special device camera does not exist.
I installed gphoto2, when I run it, gphoto sees the camera and I can see the files, but only in command line.
How can I mount the filesystem on the camera so I can use X to see the pictures on the camera?
I tried mount /dev/camera /mnt/camera but all I get is special device camera does not exist.
Code:
# tail -f /var/log/messages
Disconnect and connect you camera and see messages
if you found any sda1 or sdb1 sdc1
Code:
Apr 11 09:01:57 salem kernel: [232146.054912] lo: Disabled Privacy Extensions
Apr 11 09:06:57 salem kernel: [232445.444011] usb 1-5: new high speed USB device using ehci_hcd and address 5
Apr 11 09:06:57 salem kernel: [232445.858161] Initializing USB Mass Storage driver...
Apr 11 09:06:57 salem kernel: [232445.858282] scsi4 : usb-storage 1-5:1.0
Apr 11 09:06:57 salem kernel: [232445.858405] usbcore: registered new interface driver usb-storage
Apr 11 09:06:57 salem kernel: [232445.858407] USB Mass Storage support registered.
Apr 11 09:06:58 salem kernel: [232446.856743] scsi 4:0:0:0: Direct-Access Kingston DT 101 II 1.00 PQ: 0 ANSI: 2
Apr 11 09:06:58 salem kernel: [232446.857178] sd 4:0:0:0: Attached scsi generic sg2 type 0
Apr 11 09:06:58 salem kernel: [232446.859219] sd 4:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
Apr 11 09:06:58 salem kernel: [232446.859740] sd 4:0:0:0: [sdb] Write Protect is off
Apr 11 09:06:59 salem kernel: [232446.861854] sdb: sdb1
Apr 11 09:06:59 salem kernel: [232447.996703] sd 4:0:0:0: [sdb] Attached SCSI removable disk
It depends on the protocol the camera uses i.e. MSC or MTP. If it is a MSC (Mass Storage Class) device then you can mount it like a regular drive. As already posted it will be /dev/sdx.
If it is a MTP device then it can not be mounted. There are GUI frontends to gphoto2 like gtkam, shotwell (Gnome), and digikam (KDE).
Another option would be to use a card reader.
The output of the lsusb command might display if it is a MTP device.
Tail -f /var/log/messages shows the make and model of camera and that it is a USB device but it does not show anything like sdb1 that I can use to mount.
When I try mount /dev/sdb1 /mnt/camera that mounts my external hard drive.
I have two external hard drives hooked up to a four port hub and I have the camera plugged directly into the back of the computer (USB port)
I tried the hub but I get the same results.
I disconnected the external drives and tried to mount but I get special device does not exist.
I remember when I used gphoto2 in slackware 12, I would plug in the camera, type in gphoto2 and a window would popup showing the pictures that are on the camera.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.