Sony DSC-S40 Cyber-shot

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Sony DSC-S40 Cyber-shot

David Matthews-3
The camera is set to PTP;  Digikam will autodetect it,  but gives me a Connection failed error every time I try to connect. Editing the autodetected camera to the correct model makes no difference.

Can anyone suggest anything here?

--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

"If our nation can issue a dollar bond, it can issue a dollar bill. The
element that makes the bond good makes the bill good ?
It is absurd to say that our country can issue $30,000,000 in bonds and
not $30,000,000 in currency." [Thomas Edison, Quoted in The New York Times, 6 December 1921]
http://www.prosperityuk.com/prosperity/prosperity.html

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

David Matthews-3

> The camera is set to PTP;  Digikam will autodetect it,  but gives me a Connection failed error every time I try to connect. Editing the autodetected camera to the correct model makes no difference.
>
> Can anyone suggest anything here?
>

Replying to my own question here; a work around, I discovered, is to run digikam as root, or use sudo. Doesn't seem that elegant a way of doing things though. Is there a device file I should change the permissions of?

--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

War is largely a matter of money. Bankers lend money to foreign countries
and when they cannot repay, the President sends marines to get it. I
know-I've been in eleven of these expeditions.
(General Smedley Butler of Pennsylvania, 1934.)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

Res-2
On Fri, 14 Jul 2006, David Matthews wrote:

>
>> The camera is set to PTP;  Digikam will autodetect it,  but gives me a Connection failed error every time I try to connect. Editing the autodetected camera to the correct model makes no difference.
>>
>> Can anyone suggest anything here?
>>
>
> Replying to my own question here; a work around, I discovered, is to run digikam as root, or use sudo. Doesn't seem that elegant a way of doing things though. Is there a device file I should change the permissions of?
>

Has the same problem, but as it was unnaceptable to use root for other
users, i installed gphoto to resolve it, however woulds be very nice if
digikam overcame this

>

--
Cheers
Res
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

Gerhard Kulzer
Am Freitag, 14. Juli 2006 16:43 schrieb Res:

> On Fri, 14 Jul 2006, David Matthews wrote:
> >> The camera is set to PTP;  Digikam will autodetect it,  but gives me a
> >> Connection failed error every time I try to connect. Editing the
> >> autodetected camera to the correct model makes no difference.
> >>
> >> Can anyone suggest anything here?
> >
> > Replying to my own question here; a work around, I discovered, is to run
> > digikam as root, or use sudo. Doesn't seem that elegant a way of doing
> > things though. Is there a device file I should change the permissions of?
>
> Has the same problem, but as it was unnaceptable to use root for other
> users, i installed gphoto to resolve it, however woulds be very nice if
> digikam overcame this

digiKam relies on gphoto2, it uses its API to interface the cameras.

David, if you have root access and no user access I guess that gphoto is
installed but you are not member of the 'camera' group. The udev/hotplug
scripts that come with gphoto will set the device to 660 or 664 with
root:camera ownership. I my diagnosis is right just do as root:
$ addgroup 'user' camera

Gerhard
--
http://www.gerhard.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

David Matthews-3
In reply to this post by Res-2
On Sat, 15 Jul 2006 00:43:13 +1000 (EST)
Res <[hidden email]> wrote:

>Has the same problem, but as it was unnaceptable to use root for other
>users, i installed gphoto to resolve it, however woulds be very nice if
>digikam overcame this

Really? I have gphoto already, but still need to run digikam with root  powers. What is the official way? Surely permissions on a device file can be changed?
--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

The third method (of conquest) can be called economic conquest. It takes place
when nations are placed under "tribute" without the use of visible force or
coercion, so that the victims do not realize they have been conquered.
"Tribute" is collected from them in the form of "legal" debts and taxes, and
they believe they are paying it for their own good, for the good of others,
or to protect all from some enemy. Their captors become their "benefactors"
and "protectors".
Pastor Sheldon Emry
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

David Matthews-3
In reply to this post by David Matthews-3
On Sat, 15 Jul 2006 12:00:17 +0200
[hidden email] wrote:

> digiKam relies on gphoto2, it uses its API to interface the cameras.

yes I understand this

> David, if you have root access and no user access I guess that gphoto is
> installed but you are not member of the 'camera' group. The udev/hotplug
> scripts that come with gphoto will set the device to 660 or 664 with
> root:camera ownership. I my diagnosis is right just do as root:
> $ addgroup 'user' camera

Thanks for this is interesting suggestion Gerhard!  However there is no camera group on my system and I look in vain for any scripts in the packages I have that might alter device permissions. Incidently, I have unofficial Slackware packages for digikam and all its dependancies, maybe I should have compiled from source, but the the linux packages site had excellent reviews for them.

If I just know what device is involved I can change its permissions manually.
--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

"If our nation can issue a dollar bond, it can issue a dollar bill. The
element that makes the bond good makes the bill good ?
It is absurd to say that our country can issue $30,000,000 in bonds and
not $30,000,000 in currency." [Thomas Edison, Quoted in The New York Times, 6 December 1921]
http://www.prosperityuk.com/prosperity/prosperity.html


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

Gerhard Kulzer
Am Samstag, 15. Juli 2006 15:39 schrieb David Matthews:

> On Sat, 15 Jul 2006 12:00:17 +0200
>
> [hidden email] wrote:
> > digiKam relies on gphoto2, it uses its API to interface the cameras.
>
> yes I understand this
>
> > David, if you have root access and no user access I guess that gphoto is
> > installed but you are not member of the 'camera' group. The udev/hotplug
> > scripts that come with gphoto will set the device to 660 or 664 with
> > root:camera ownership. I my diagnosis is right just do as root:
> > $ addgroup 'user' camera
>
> Thanks for this is interesting suggestion Gerhard!  However there is no
> camera group on my system and I look in vain for any scripts in the
> packages I have that might alter device permissions. Incidently, I have
> unofficial Slackware packages for digikam and all its dependancies, maybe I
> should have compiled from source, but the the linux packages site had
> excellent reviews for them.
>
> If I just know what device is involved I can change its permissions
> manually.
Well I don't know slackware. But look what /etc/hotplug/usb/libgphoto2 does.
If it calls out for a group=camera you should add this id to the groups and
add your id to camera.

The device can be known from lsusb.

Gerhard
--
http://www.gerhard.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

Res-2
In reply to this post by David Matthews-3
On Sat, 15 Jul 2006, David Matthews wrote:

> Thanks for this is interesting suggestion Gerhard!  However there is no camera group on my system and I look in vain for any scripts in the packages I have that might alter device permissions. Incidently, I have unofficial Slackware packages for digikam and all its dependancies, maybe I should have compiled from source, but the the linux packages site had excellent reviews for them.

interesting that my problem stems from these packages as well

>
> If I just know what device is involved I can change its permissions manually.
>

--
Cheers
Res
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

David Matthews-3
In reply to this post by Gerhard Kulzer


> Well I don't know slackware. But look what /etc/hotplug/usb/libgphoto2 does.
> If it calls out for a group=camera you should add this id to the groups and
> add your id to camera.
>
I no longer know anything but Slackware and there is no /etc/hotplug/usb/libgphoto2!

> The device can be known from lsusb.

which says:-
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

So I don't know which device file permissions I could alter
>
> Gerhard
> --
> http://www.gerhard.fr

>interesting that my problem stems from these packages as well
>--
>Cheers
>Res

Well, looks like we'll have to use sudo and actually Digikam is worth this annoyance!
--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

"If our nation can issue a dollar bond, it can issue a dollar bill. The
element that makes the bond good makes the bill good ?
It is absurd to say that our country can issue $30,000,000 in bonds and
not $30,000,000 in currency." [Thomas Edison, Quoted in The New York Times, 6 December 1921]
http://www.prosperityuk.com/prosperity/prosperity.html

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

Gerhard Kulzer
Am Sonntag, 16. Juli 2006 11:31 schrieb David Matthews:

> > Well I don't know slackware. But look what /etc/hotplug/usb/libgphoto2
> > does. If it calls out for a group=camera you should add this id to the
> > groups and add your id to camera.
>
> I no longer know anything but Slackware and there is no
> /etc/hotplug/usb/libgphoto2!
>
> > The device can be known from lsusb.
>
> which says:-
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000

I suppose your camera was attached and switched on when you did this lsusb
(otherwise you wouldn't see anything of the camera).
 At my place it looks like this: $ lsusb
Bus 003 Device 012: ID 04a9:30ee Canon, Inc. EOS 350D
Bus 003 Device 004: ID 04b8:0122 Seiko Epson Corp.
...
This means the device can be found there:
$ ls -la /dev/bus/usb/003/012
crw-rw---- 1 root camera 189, 267 2006-07-16 19:25 /dev/bus/usb/003/012

You are not seeing this, meaning that your camera has not been recognized be
the system at all. You can check with $ dmesg right after connection the
camera to see if and what (udev/hotplug) acts on the new device.

Gerhard

P.S. By the way, do you run udevd?

>
> So I don't know which device file permissions I could alter
>
> > Gerhard
> > --
> > http://www.gerhard.fr
> >
> >interesting that my problem stems from these packages as well
> >--
> >Cheers
> >Res
>
> Well, looks like we'll have to use sudo and actually Digikam is worth this
> annoyance!

--
http://www.gerhard.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Sony DSC-S40 Cyber-shot

David Matthews-3
In reply to this post by David Matthews-3
On Mon, 17 Jul 2006 12:00:15 +0200
[hidden email] wrote:

> I suppose your camera was attached and switched on when you did this lsusb
> (otherwise you wouldn't see anything of the camera).
>  At my place it looks like this: $ lsusb
> Bus 003 Device 012: ID 04a9:30ee Canon, Inc. EOS 350D
> Bus 003 Device 004: ID 04b8:0122 Seiko Epson Corp.
> ..
> This means the device can be found there:
> $ ls -la /dev/bus/usb/003/012
> crw-rw---- 1 root camera 189, 267 2006-07-16 19:25 /dev/bus/usb/003/012

yes ok, I must plug in the camera, then I get
lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 054c:004e Sony Corp. DSC-xxx (ptp)

However there is no 001 folder (or any others) in /dev/usb
--
David

[hidden email]
Public key at hkp://www.keys.eu.pgp.net
and http://pooter.sourceforge.net/dmatthews.asc

"If our nation can issue a dollar bond, it can issue a dollar bill. The
element that makes the bond good makes the bill good ?
It is absurd to say that our country can issue $30,000,000 in bonds and
not $30,000,000 in currency." [Thomas Edison, Quoted in The New York Times, 6 December 1921]
http://www.prosperityuk.com/prosperity/prosperity.html

War is largely a matter of money. Bankers lend money to foreign countries
and when they cannot repay, the President sends marines to get it. I
know-I've been in eleven of these expeditions.
(General Smedley Butler of Pennsylvania, 1934.)


The third method (of conquest) can be called economic conquest. It takes place
when nations are placed under "tribute" without the use of visible force or
coercion, so that the victims do not realize they have been conquered.
"Tribute" is collected from them in the form of "legal" debts and taxes, and
they believe they are paying it for their own good, for the good of others,
or to protect all from some enemy. Their captors become their "benefactors"
and "protectors".
Pastor Sheldon Emry

Is not the right to create £100 at the stroke of a pen indeed a mighty
privilege?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users