View previous topic :: View next topic |
Author |
Message |
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Wed Apr 19, 2006 6:53 pm Post subject: Why doesn't kamera and gphoto2 detect my camera? |
|
|
I've got a Sony DSC-T1 digital camera connected by usb to my Gentoo AMD64 machine but no software seems to be able to find it!
When I plug it in, KDE automatically detects it as a usb memory stick and I can treat it like one with no problems but kamera says it can't detect it and gphoto2 doesn't manage either.
Here's dmesg output
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
Vendor: Sony Model: Sony DSC Rev: 5.00
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdf: 63424 512-byte hdwr sectors (32 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 00 00 00
sdf: assuming drive cache: write through
SCSI device sdf: 63424 512-byte hdwr sectors (32 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 00 00 00
sdf: assuming drive cache: write through
sdf: sdf1
sd 5:0:0:0: Attached scsi removable disk sdf
usb-storage: device scan complete
Unable to identify CD-ROM format.
usb 1-2: USB disconnect, address 4
usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
Vendor: Sony Model: Sony DSC Rev: 5.00
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdf: 63424 512-byte hdwr sectors (32 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 00 00 00
sdf: assuming drive cache: write through
SCSI device sdf: 63424 512-byte hdwr sectors (32 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 00 00 00
sdf: assuming drive cache: write through
sdf: sdf1
sd 6:0:0:0: Attached scsi removable disk sdf
usb-storage: device scan complete
Unable to identify CD-ROM format.
And here's the ports
athlon64 fred # gphoto2 --list-ports
Devices found: 8
Path Description
--------------------------------------------------------------
serial:/dev/tts/0 Serial Port 0
serial:/dev/tts/1 Serial Port 1
serial:/dev/tts/2 Serial Port 2
serial:/dev/tts/3 Serial Port 3
usb: Universal Serial Bus
usb:002,003 Universal Serial Bus
usb:001,005 Universal Serial Bus
usb:001,002 Universal Serial Bus
athlon64 fred #
Here's what gphoto outputs
athlon64 fred # gphoto2 --port=path "usb:"
The port you specified ('') can not be found. Please specify one of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').*** Error (-5: 'Unknown port') ***
I also tried
athlon64 fred # gphoto2 --port=path "usb:001,002"
The port you specified ('') can not be found. Please specify one of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').*** Error (-5: 'Unknown port') ***
Am I doing something badly wrong? I'm running ~amd64. |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Wed Apr 19, 2006 7:23 pm Post subject: Re: Why doesn't kamera and gphoto2 detect my camera? |
|
|
andrewwalker27 wrote: | I also tried
athlon64 fred # gphoto2 --port=path "usb:001,002"
The port you specified ('') can not be found. Please specify one of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').*** Error (-5: 'Unknown port') *** |
I don't know if this will fix your problem, but the right command to use is:
Code: | gphoto2 --port "usb:001,002" |
I think you misread the output of 'gphoto2 --help' or the manpage of gphoto2. _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Wed Apr 19, 2006 7:48 pm Post subject: |
|
|
Thanks, you're right (and I'm an idiot)!
Well I've tried the correct syntax and I get no response, not sure if that's good or bad!
fred@athlon64 ~ $ gphoto2 --port "usb:001,002"
fred@athlon64 ~ $
Still nothing on auto-detect
fred@athlon64 ~ $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
fred@athlon64 ~ $
Anyone got any ideas? I tried gtkam with the same results. |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Wed Apr 19, 2006 9:06 pm Post subject: |
|
|
I don't think I can help you further. Are you sure the problem has nothing to do with read/write rights? Did you try to access the camera as root?
I use Digikam (on Kde) to access my camera (a Canon). _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Wed Apr 19, 2006 9:23 pm Post subject: |
|
|
Note the following from the Gentoo USB Guide:
Quote: | Cameras these days usually have two modes to transfer pictures; USB mass storage and PTP (Picture Transfer Protocol). The camera is set to USB mass storage mode and hence the procedure is exactly the same as that of accessing a memory stick because of which I have not explained in detail about it. Please note that this may NOT work in all cases and with all digital cameras that have USB support. |
Perhaps you need to put your camera in PTP-mode for gtkam and the like to work properly? _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Wed Apr 19, 2006 9:51 pm Post subject: |
|
|
Thanks for the info, looks like I'll have to read my camera's manual! |
|
Back to top |
|
|
Kabuto l33t
Joined: 01 Aug 2002 Posts: 701
|
Posted: Thu Apr 20, 2006 3:44 pm Post subject: |
|
|
Mmm.. yea what he said. Gphoto 2.1.6 or less does not support mass storage devices. The Sony can be switched to PTP mode which gphoto can then be used. Also digikam is supposed to support mass storage devices and only uses gphoto with cameras that gphoto is needed with. |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Thu Apr 20, 2006 4:50 pm Post subject: |
|
|
With it being set as a mass storage device, you should simply be able to cut and paste your pix with any file manager. All you'd have to do is mount /dev/sd0 (most likely) to some mount point and viola.
HTH _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Thu Apr 20, 2006 5:44 pm Post subject: |
|
|
Knute wrote: | With it being set as a mass storage device, you should simply be able to cut and paste your pix with any file manager. All you'd have to do is mount /dev/sd0 (most likely) to some mount point and viola.
HTH |
As far as I can tell from the original post, this worked already:
andrewwalker27 wrote: | KDE automatically detects it as a usb memory stick and I can treat it like one with no problems |
I guess using Digikam or setting the camera to PTP-mode will fix the problem. _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
|