Unix Technical Forum

support for a sony cyber shot s40 camera?

This is a discussion on support for a sony cyber shot s40 camera? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote: > On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote: > > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-20-2008, 10:25 AM
Frank Boehm
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
> On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote:
>
> I have not been able to mount it as a file system.
> I can download all images with gphoto2 using PTP mode.


you can't use PTP mode and usb-mass-storage at the same time, switch
modes in setup of camera

cu Frank

--
Never Regret
If it's good - it's wonderful
If it's bad - it's experience
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 10:26 AM
Henk Jan Priester
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

On Sun, 21 Aug 2005 00:08:16 +0000, Frank Boehm wrote:

> Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
>> On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote:
>>
>> I have not been able to mount it as a file system.
>> I can download all images with gphoto2 using PTP mode.

>
> you can't use PTP mode and usb-mass-storage at the same time, switch
> modes in setup of camera
>
> cu Frank


I have tried mounting in normal mode although I am not running
hotplug but the usb-storage module does not recognize the camera
so there is no '/dev/sdX' initialised to mount.
Maybe I should use the 2.6.12 kernel instead of 2.4.31 to get
this working.

Henk Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-20-2008, 10:26 AM
ray
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

On Sun, 21 Aug 2005 11:40:48 +0200, Henk Jan Priester wrote:

> On Sun, 21 Aug 2005 00:08:16 +0000, Frank Boehm wrote:
>
>> Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
>>> On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote:
>>>
>>> I have not been able to mount it as a file system.
>>> I can download all images with gphoto2 using PTP mode.

>>
>> you can't use PTP mode and usb-mass-storage at the same time, switch
>> modes in setup of camera
>>
>> cu Frank

>
> I have tried mounting in normal mode although I am not running
> hotplug but the usb-storage module does not recognize the camera
> so there is no '/dev/sdX' initialised to mount.
> Maybe I should use the 2.6.12 kernel instead of 2.4.31 to get
> this working.
>
> Henk Jan


The 2.6.x kernels have better support (except that 2.6.8 seems to have
some problems). Have you checked that the camera is capable of
mass-storage mode? A lot of digital cameras will do mass-storage OR PTP,
but not both.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-20-2008, 10:26 AM
Henk Jan Priester
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

On Sun, 21 Aug 2005 09:04:00 -0600, ray wrote:

> On Sun, 21 Aug 2005 11:40:48 +0200, Henk Jan Priester wrote:
>
>> On Sun, 21 Aug 2005 00:08:16 +0000, Frank Boehm wrote:
>>
>>> Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
>>>> On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote:
>>>>
>>>> I have not been able to mount it as a file system.
>>>> I can download all images with gphoto2 using PTP mode.
>>>
>>> you can't use PTP mode and usb-mass-storage at the same time, switch
>>> modes in setup of camera
>>>
>>> cu Frank

>>
>> I have tried mounting in normal mode although I am not running
>> hotplug but the usb-storage module does not recognize the camera
>> so there is no '/dev/sdX' initialised to mount.
>> Maybe I should use the 2.6.12 kernel instead of 2.4.31 to get
>> this working.
>>
>> Henk Jan

>
> The 2.6.x kernels have better support (except that 2.6.8 seems to have
> some problems). Have you checked that the camera is capable of
> mass-storage mode? A lot of digital cameras will do mass-storage OR PTP,
> but not both.


Yes it should do mass storage and ptp, but you need to configure
that on the camera.
I am now using ptp I will try the mass storage after I have
upgraded to 2.6 in the future



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-20-2008, 10:26 AM
David Jenkinson
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

Henk Jan Priester wrote:

> Yes it should do mass storage and ptp, but you need to configure
> that on the camera.
> I am now using ptp I will try the mass storage after I have
> upgraded to 2.6 in the future
>


If you do, then make a file in /etc/udev/rules.d called my.udev.rules
and put the following line in it: (all one line ignore word wrap)

BUS="usb", SYSFS{product}="Sony DSC", KERNEL="sd*", NAME="%k",
SYMLINK="camera"

Now you can refer to it as /dev/camera instead of sd?? which is much
easier imho. And if you have other scsi bits it is much more logical :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-20-2008, 10:27 AM
Mike
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

On 2005-08-21, Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
> On Sun, 21 Aug 2005 00:08:16 +0000, Frank Boehm wrote:
>
>> Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
>>> On Fri, 19 Aug 2005 22:54:00 +0200, Henk Jan Priester wrote:
>>>
>>> I have not been able to mount it as a file system.
>>> I can download all images with gphoto2 using PTP mode.

>>
>> you can't use PTP mode and usb-mass-storage at the same time, switch
>> modes in setup of camera
>>
>> cu Frank

>
> I have tried mounting in normal mode although I am not running
> hotplug but the usb-storage module does not recognize the camera
> so there is no '/dev/sdX' initialised to mount.
> Maybe I should use the 2.6.12 kernel instead of 2.4.31 to get
> this working.
>
> Henk Jan


I'v a Sony DSC-P72 and use it in normal mode to transfer / read photo's.
My fstab:
/dev/sda1 /mnt/flash vfat noauto,users,rw 0 0
I use hotplug and this works with 2.4 and 2.6 kernels.



--
++++++++++++++++++++++++++++++++
Mike Slack
email: micr at zeelandnet dot nl
++++++++++++++++++++++++++++++++
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 02-20-2008, 10:33 AM
Frank Boehm
 
Posts: n/a
Default Re: support for a sony cyber shot s40 camera?

Henk Jan Priester <henkjan@prienix.nospam.xs4all.nl> wrote:
> On Sun, 21 Aug 2005 00:08:16 +0000, Frank Boehm wrote:
>
> I have tried mounting in normal mode although I am not running
> hotplug but the usb-storage module does not recognize the camera
> so there is no '/dev/sdX' initialised to mount.
> Maybe I should use the 2.6.12 kernel instead of 2.4.31 to get
> this working.


Camera has correct mode and you called /sbin/rescan-scsi-bus?
Still no scsi device? 2.4.31 is working for me, you can test with my
own kernel (13.5M including all modules) from
http://www.baldar.de/pub/restore/modules-2.4.31.tgz

cu Frank

--
We must remember that in time of war what is said on the enemy's side of
the front is always propaganda and what is said on our side of the front
is truth and righteousness, the cause of humanity and a crusade for peace.
-- Walter Lippmann
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com