LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2006, 10:48 PM   #1
pacctono
LQ Newbie
 
Registered: Aug 2006
Location: Cumanà, Sucre, Venezuela
Distribution: Debian, Ubuntu
Posts: 4

Rep: Reputation: 0
Digital Camera Sony Cyber-shot DSC-T5 on Ubuntu


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.

Can any body give me a help?
 
Old 08-06-2006, 03:44 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Change the connection type to "PTP" and retry.
 
Old 08-06-2006, 08:09 AM   #3
TuxSurfer
Member
 
Registered: May 2004
Location: NC USA
Distribution: Fedora 30 - Xfce Spin
Posts: 272

Rep: Reputation: Disabled
You may try to install gPhoto2. It supports the T3 in PTP mode I am not sure if they have tested the T5 yet but I would give it a go.
 
Old 08-06-2006, 09:06 PM   #4
pacctono
LQ Newbie
 
Registered: Aug 2006
Location: Cumanà, Sucre, Venezuela
Distribution: Debian, Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
I just want to see the photos

I think I did not explain myself. I just want to see and download the photos in the camera.
 
Old 08-08-2006, 03:51 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
No, you've got the message across.

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.

Change the mode to "PTP" and plug the camera in.
 
Old 02-13-2007, 05:31 PM   #6
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
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.

Last edited by DiBosco; 02-13-2007 at 05:33 PM.
 
Old 02-15-2007, 06:58 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
pacctono: how did you get on?

Quote:
Originally Posted by DiBosco
there's a program on Mandriva 2007 called digiKam
digiKam uses the gphoto drivers...
Quote:
The only thing I can't work out how to achieve is to delete the pictures from the camera after they've been downloaded.
Me neither - none of the camera utilities seem to do this well, though they all claim to.

This is bug# 127051 (BKO) Also a gphoto bug - but orphaned. Dosn't look like it is going to be fixed any time soon.

http://sourceforge.net/tracker/index...74&atid=108874
 
Old 02-16-2007, 04:35 AM   #8
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Thanks for that link. Did you see the reply at the bottom that says:

"Sony camera do not support deletion in PTP. This is completely unrelated to this one that is for *Canon* driver."?

As I'm using a Sony that would explain it.
 
Old 02-16-2007, 05:47 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 02-17-2007, 07:28 AM   #10
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
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.
 
Old 02-17-2007, 09:12 AM   #11
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
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.

Almost there!
 
Old 02-17-2007, 05:16 PM   #12
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
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.
 
Old 02-18-2007, 01:10 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by DiBosco
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
 
  


Reply

Tags
camera, digital, sony



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony Cyber-shot DSC-P73 Camera trebek Linux - Hardware 34 12-08-2006 09:48 AM
Sony cyber-shot dsc-p120 in SuSE linux 9.1 camaleon Linux - Hardware 1 06-07-2004 05:14 PM
USB / RED HAT / Digital Camera Sony DSC P7 VincentB Linux - Hardware 6 05-11-2004 04:37 PM
how do i access my digital camera (sony dsc-p32) the anti-riced Linux - Hardware 12 01-26-2004 05:35 PM
Sony DSC-S70 Digital Still Camera Annex Linux - Newbie 11 04-01-2002 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration