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: > > ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| 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 :-) |
| |||
| 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 ++++++++++++++++++++++++++++++++ |
| ||||
| 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 |