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 am using Ubuntu 6.0.6 LTS on a Laptop Dell Inspiron 600m with 512 MB and when I connect my Digital Camera Sony Cyber-shot DSC-T5; it does not recognize it. I got this from /var/log/messages:
Aug 5 23:10:32 localhost kernel: [17184209.324000] usb 4-3: new high speed USB device using ehci_hcd and address 5
Aug 5 23:11:14 localhost kernel: [17184251.924000] usb 4-3: USB disconnect, address 5
The first line when I power the digital camera on & the second line when power off.
The most common program that will let you see and download the photos in the camera is called "gphoto" or "gphoto2". (kphoto, jphoto, are kde and java varients.) While there are others, these are very common. In particular, gphoto is the default for Ubuntu.
Now - in Ubuntu, detected cameras will automatically invoke gphoto. You need to get your camera recognised.
Soney cameras usually have three ways of interfacing with the computer.
"normal" - which makes the camera look and act like a usb mass storage device. Except that some cameras will only interface properly for computers running Soney proprietary code (i.e. Windows or Mac). If you havn't changed your connection setting (on the camera), then you are using "normal" mode.
"PTP" - I've forgotten what this stands for: I seem to recall that it isn't "Point to Point". However, this is a very generic protocol which gphoto understands quite well. Provided there is nothing funny about the way your amera stores photos, gphoto should be able to detect it as something. Though it may not show your exact make.
"Pict Bridge" - this is for interfacing with photo printers.
Read your cameras manual for more information about changing connection modes.
This thread's well old I know, but just in case anyone's found it on a search, there's a program on Mandriva 2007 called digiKam (I suspect it'll be on other flavours of Linux too).
This has a large selection of cameras it can connect to. At first it wouldn't work, but as Simon intimated in the post above, it was just a case of changing the connection type on the camera itself (which was in one of the menus). In my case it was on a Sony Cybershot P-120 which was on the drop down list.
The only thing I can't work out how to achieve is to delete the pictures from the camera after they've been downloaded.
Yup - when you post a bug report, the replies get e-mailed to you.
Kinda embarrassing, but how was I to know that Sony doesn't let you delete in PTP mode?
(Queue: loads of folk pointing out the very obvious source of information which points this out... <sigh>)
At least it will help folk who are wondering about this.
It also tells us that the comments are getting swift attention. So anyone with a canon with this bug, do tell those guys about it. It will get a higher priority that way.
Last edited by Simon Bridge; 02-16-2007 at 05:49 PM.
I didn't mean to imply you should have known, sorry.
As far as I understand you should be able to mount your camera in normal mode as an external drive. I used to be able to do that with my old Fuji camera. I just can't remember how to do it. I think you have to mount it as a SCSI drive for some reason, but might have that wrong.
OK, I have, indeed, managed to mount it as an external drive. I've added the following line to fstab:
/dev/sdb1 /mnt/removable auto mask=0,user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0
Then, as root, type mount /dev/sda1 /mnt/removable/
This means I can see the camera, download and delete files from konqueror if I look at /mnt/removable. The only problem being I have to do it as root. It won't let me change the owner of /mnt/removable/ to me. Anyone know of a way round that?
I had to change USB mode on the camera to be normal btw.
You have "user" near the beginning of the options section of fstab, then later "users". remove the first one (you probably don't need anything other than "noauto, users", actually).
Having the camera on normal vs. PTP mode means you can use it as a mass storage device, if you like.
I didn't mean to imply you should have known, sorry.
As far as I understand you should be able to mount your camera in normal mode as an external drive. I used to be able to do that with my old Fuji camera. I just can't remember how to do it. I think you have to mount it as a SCSI drive for some reason, but might have that wrong.
When I last tested this (around FC4 days) this camera wouldn't detect as a usb mass storage device in "normal" mode at all.
Hunting around, I discovered that Memory Stick Pro devices were not supported in this mode. Sony claimed that the "pro" devices were unreliable with third party software (and suggested their own proprietary stuff available only for Windows and Mac).
However, there has been a lot of coding since then so I decided to test it out.
And wowee... yes, it mounts happily in normal mode. Even deletes imported photos - so I am glad you brought this up.
I am using Edgy right now and it is all handled by udev, so no need for additional fstab entries
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.