Re: Mount digital camera
On 11/13/2006 07:20 AM, Samuel Bächler wrote:
> Hi everyone
>
> I am running a debian sarge using the 2.6.8-2-386 kernel.
> I have got a Sony DSC-W30. Its Device ID is 054cx0010.
>
> Here some information that may be useful:
>
> When I connect my camera to the computer using USB the
> system says:
>
> Nov 13 12:30:39 localhost kernel: usb 1-2: new full speed
> USB device using address 2
>
> Mounting does not work:
>
> mount -t vfat /dev/sda1 /mnt/somewhere
> // mount: /dev/sda1 is not a valid block device
>
> mount -t msdos /dev/sda1 /mnt/somewhere
> // mount: /dev/sda1 is not a valid block device
>
> mount -t usbfs /dev/sda /mnt/somewhere
> // does not work either
>
> # ls /proc/bus/usb
> 001 devices
>
> So there is a file called driver which should show up here but
> does not either.
>
> // Some more hardware Information.
> # less /proc/bus/usb/devices
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.8-2-386 uhci_hcd
> S: Product=Intel Corp. 82801BA/BAM USB (Hub #2)
> S: SerialNumber=0000:00:1f.4
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
>
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 2
> P: Vendor=054c ProdID=0010 Rev= 6.00
> S: Manufacturer=Sony
> S: Product=Sony DSC
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=(none)
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> C: #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
>
> // Some information about my loaded modules:
> # lsmod | grep usb
> usb_storage 59328 0
> usbcore 104164 4 uhci_hcd,usb_storage
> scsi_mod 115148 2 sd_mod,usb_storage
> ide_core 125028 5
> usb_storage,ide_cd,ide_generic,piix,ide_disk
>
> I read all the entries at http://www.linux-usb.org/ on my vendor and
> device ID. Some of them said that they could mount similar cameras
> very easly. Others mentioned that they had to recompile their whole kernel.
>
> What do you think? Thanks in advance for your valuable inputs.
>
> Cheers
>
> Sam
>
>
For me on sarge 2.6.8-3-686, this works for my camera:
$ pmount /dev/sda1
which results in:
$ mount
[...]
/dev/sda1 on /media/sda1 type vfat
(rw,noexec,nosuid,nodev,quiet,uid=1000,gid=1000,umask=077)
If user is in group plugdev, no need for root.
gthumb will ask to download photos from the camera, but I often do it
with mv from an xterm. I'm not running gnome and don't have gphoto2,
though gthumb pulls in the gphoto2 libs.
Regards.
Reply to: