FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
Gphoto Serial port help

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
Chris
PostPosted: Mon Apr 05, 2004 7:02 am    Post subject: Gphoto Serial port help Reply with quote

Hi, I am trying to get a Kodak DC3200 camera to run using gphoto in blag linux. The camera is in the list but will not let me select serial port instead of usb port. Does anyone know how to get serial port to show up in the list?
jebba
PostPosted: Mon Apr 05, 2004 9:29 am    Post subject: Reply with quote

I'm not sure how to do it in gtkam, but I do something similar with gphoto2. I just run:

gphoto2 --camera "Kodak DC3200" --get-all-files --port /dev/ttyS0

I'll see what the scoop is on gtkam.

-Jeff

jebba
PostPosted: Mon Apr 05, 2004 9:42 am    Post subject: Reply with quote

Oh yeah. You may also need permissions to access your serial devices. Sorry. In a terminal run:

su [enter root pw]
chmod o+rw /dev/ttyS0
chmod o+rw /dev/ttyS1


/dev/ttyS0 = com1 in windoz
/dev/ttyS1 = com2 in windoz

This will allow any user to have access to the serial ports.

-Jeff

jebba
PostPosted: Mon Apr 05, 2004 9:54 am    Post subject: Reply with quote

Ok. Once I set the permissions of the serial device so any user could read/write to it (via chmod below), I was able to run gtkam/gphoto using the serial device no problem. This is the "Digital Camera Tool" in the menu under graphics, for those of you watching. :)

To recap, this is what I did:

Menu->System Tools->Terminal
In the terminal run:
su [which prompts you for the root password]
chmod og+rw /dev/ttyS0
chmod og+rw /dev/ttyS1

Then I ran gtkam:
Menu->Graphics->Digital Camera Tool

In gtkam (Digital Camera Tool), I went to:
Camera->Add Camera

I selected my camera from the list (first), then I selected serial:

I was then able to download pictures fine. You only need to do the chmod once, not each time you want to download pictures.

-Jeff

jebba
PostPosted: Mon Apr 05, 2004 11:22 am    Post subject: Reply with quote

I have opened a bug report with RedHat/Fedora about this issue. It is a relatively easy fix on their end. I'm surprised it's there, actually. I was able to confirm the bug via IRC with a RedHat employee. So hopefully it will be fixed in Fedora Core 2.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120021

Thanks for your report! This will get things fixed for thousands of users. :)

-Jeff

Chris
PostPosted: Mon Apr 05, 2004 4:33 pm    Post subject: Reply with quote

Thanks for the help. I will try it later tonight.
Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP