LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-17-2005, 12:54 AM   #16
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198

Great! Then you shouldn't need gphoto ... unless the usb port is in a nasty place?

Quote:
Originally posted by trebek
Excellent, thanks a lot!!

I'll do this as soon as i get back home from work.

Yesterday i was attempting to mount a bunch of stuff. I got a usb stick working, so i know the usb port is fine. The last text i wrote about the dmesg results didn't appear like that before having the computer run without the camera plugged in. So i guess at least it was recognized in some way.
 
Old 04-18-2005, 02:50 AM   #17
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Actually that's what i think, it is not thrown as sda1. Maybe it is detected but we can't find the name to mount anywhere.

I will make sure now that actually that thing is detected with the dmesg to see what happens. I think we are getting close to fixing this issue.



I attempted dmesg and putting the camera on usb-normal to see what happens, and here's the result:
Code:
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x54c/0x4e) is not claimed by any active driver.
usb.c: USB disconnect on device 00:1f.2-1 address 2
hub.c: new USB device 00:1f.2-1, assigned address 3
usb.c: USB device 3 (vend/prod 0x54c/0x4e) is not claimed by any active driver.
usb.c: USB disconnect on device 00:1f.2-1 address 3
hub.c: new USB device 00:1f.2-1, assigned address 4
usb.c: USB device 4 (vend/prod 0x54c/0x10) is not claimed by any active driver.
I see some differences: for instance, the other one with PTP showed that the usb whatever, after the third time, something got recognized. But with this one the first part is very similar but nothing gets done.

Now, if i understood correctly, if i want to use gphoto, i need to set it to usb normal, mount it (we haven't figured out how yet) and then pick up with this app.

Ok, now look at this, i typed dmesg again while i wrote all this, and here's what i got:
Code:
Usb.c: USB disconnect on device 00:1f.2-1 address 4
UDP: short packet: 0.0.0.0:65535 65535/425 to 255.255.255.255:65535
hub.c: new USB device 00:1f.2-1, assigned address 5
usb.c: USB device 5 (vend/prod 0x54c/0x10) is not claimed by any active driver.
Any ideas?

Oh, and by the way, i noticed on my desktop an icon for gtkam, that didn't appear when linux booted until i connected the camera, this could mean it's detected some how but not mounted properly. Can i like update gtkam so maybe the updates come with device drivers for new cameras? I saw a big list and sony cameras are listed there.

Last edited by trebek; 04-18-2005 at 03:13 AM.
 
Old 04-18-2005, 11:57 PM   #18
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
That's right - I gather that gphoto mounts the camera for you ... did you try clicking that icon?

Anyway - my info is that gphoto/gtkam requires the PTP setting. Use the "normal" setting if you want to use the native linux usb_storage utility. (This is from the readme file in the gphoto tarball.)

If you want to use gtkam then you will have to find the drivers for your camera. A huge list are included with the default installation. Lots of reading I'm afraid - I got as far as the designers explaining why they think I shouldn't use their product.

At this stage, you should consider why you want to use the camera to access the photos on the memory stick. Is there a particular advantage in doing this that you wish to exploit? After all, you can get at the stick contents anyway, unless I've misread another post <grrr>
 
Old 04-19-2005, 04:18 AM   #19
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
I did double click on the icon and looked for the camera on a big list. Some Sony cameras that are similar to mine were listed by mine wasn't. I guess i need to download the driver.

As for you inquiry about my main goal here, i figured that if i ever want to be a good linux user, i can never count on windows for nothing, and of course, i do like this research and going around things i've yet to understand and memorize. And of course, i haven't been able to access my memory stick through linux yet, only on windows and that really pisses me off. I mean, how can i not do it. I MUST.

And to finish up, this is what i will try next:

1. get gphoto and install it.
2. connect the camera using PTP mode.
3. find out the name that will appear on /dev.
4. mount it to some directory

I remember you mentioned something about not being able to access the mount point as a user different than root, but that's ok, i don't mind having to type and copy things through the terminal. I mean, it would be very 'windowish' to do so.

Last edited by trebek; 04-19-2005 at 04:20 AM.
 
Old 04-19-2005, 05:26 AM   #20
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
If you are using gphoto, then that program will handle everything you want to do just like camera apps in windows.
 
Old 04-19-2005, 12:40 PM   #21
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Oh man that's great. I'm gonna try it for sure.

Guess what, my camera is not on this list from 'www.gphoto.org':

.
.
.
.
.
.
"Sony DSC-P50 (PTP mode)"
"Sony DSC-P52 (PTP mode)"
"Sony DSC-P71 (PTP mode)"
"Sony DSC-P72 (PTP mode)"
"Sony DSC-P92 (PTP mode)"
"Sony DSC-P93 (PTP mode)"
"Sony DSC-S75 (PTP mode)"
.
.
.
.
.
.

Last edited by trebek; 04-19-2005 at 01:01 PM.
 
Old 04-20-2005, 02:23 AM   #22
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You can probably use gphoto with your camera by pretending it is a P72 - I think the only difference between the two is the "pro" part, so you can use the relly humungous memsticks. It only costs you time (hair, fingernails, sanity) to try. Whereas your only other option would be to install a card reader. This would be easier, but costs in terms of money.
 
Old 04-20-2005, 09:23 AM   #23
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
In that case i'll try both options, money is not an issue. I mean, this sounds like i have enough, which i don't, but how expensive can a card reader be? At least a simple one just so i can connect my camera to the computer. But anyways, i'll just go ahead and download this gphoto deal and see how do i do. I'll let you guys know what's going on.
 
Old 04-21-2005, 02:53 AM   #24
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Money is not an issue!?! Then give me some

As prev stated, my 7-card internal USB reader cost a mere NZ$20.00 - which is something like US$14.00 - new. It works with the default installation of FC2 - though I doubt I could read more than one card at a time.

You can get dedicated USB memory stick readers quite happily. Remember tho - it will not connect your camera to your computer... just the memory stick.

Ignore the CD they'll give you with the device, it only contains more stuff to make windows crash more often. Your kernel should be able to handle a reader without other assistance.
 
Old 04-21-2005, 12:25 PM   #25
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
JAJAJAJAJA good one. Gotta work hard for it. I do have $14 dollars for a card reader. Not $1400 for a new computer. Jejejeje.

Ok then, i think a card reader is the way to go. I attempted everything again and no luck. I'll let you know how it goes.

Last edited by trebek; 04-21-2005 at 12:58 PM.
 
Old 04-26-2005, 12:42 PM   #26
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
I am yet to put it. But now i got myself a Toshiba satellite and that's probably gonna make me play games instead of trying to get my camera working with linux.

I'll try it up since you all have helped me quite a bit for this. I feel like i owe you getting this camera going.
 
Old 08-19-2005, 03:20 AM   #27
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
I have fedora core 3 now, now do i set it up from there?
 
Old 08-19-2005, 06:51 PM   #28
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Update: my P43 and P73 are autodetected in FC4.
I was able to use gphoto with the p43 in RH9 and FC2 (get the latest version). You have to set the transfer method (in the camera) to "PTP" - gphoto detects it as something odd - but it works. Should be the same with the P73 as well.

You do not need to set up the card reader in FC3 - it is autodetected and the correct modules are loaded. You will want to add an entry to fstab so inserted cards can be mounted without you being root - and you write a simple script to grab everything in the stick.
 
Old 08-20-2005, 07:01 PM   #29
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
The mounting, jejeje, is no problem cause i am running as root. I very seldon use other users than root.

And what do you mean write a little script to grab everything from the reader? Is it not done by mounting the device to a directory and opening the folder later on? I am bdazzled.
 
Old 08-21-2005, 02:10 AM   #30
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
The mounting, jejeje, is no problem cause i am running as root. I very seldon use other users than root.
Then I hope you have a great firewall! Absolutely do not run linux as root - especially not online! You are just negating most of your security advantages.

Now, perhaps there's nothing on your machine you don't mind getting hacked... however, the hackers do not want your machine or it's contents, they want to use your bandwidth to attack someone else.

Always use a user account.

Quote:
And what do you mean write a little script to grab everything from the reader? Is it not done by mounting the device to a directory and opening the folder later on? I am bdazzled
Sure you can ... however, manually mounting, then copying all the files over, and whatever else you like to do with it, can be tedious if you do it a lot. Imagine inserting the card, clicking an icon, and all the photos are in the right place and the card is nicely unmounted for you so you don't have to remember.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 DSC-P73 and Mandrake 10 JohnnyNapalm Linux - Hardware 3 10-08-2004 07:57 PM
Sony cyber-shot dsc-p120 in SuSE linux 9.1 camaleon Linux - Hardware 1 06-07-2004 06:14 PM
sony dsc camera in Mandrake 10 zebra90210 Linux - Hardware 3 03-27-2004 01:20 PM
how do i access my digital camera (sony dsc-p32) the anti-riced Linux - Hardware 12 01-26-2004 06:35 PM
Sony DSC-S70 Digital Still Camera Annex Linux - Newbie 11 04-02-2002 12:49 AM

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

All times are GMT -5. The time now is 12:43 PM.

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