Hi all,
I was given a USB camera for Christmas. It is not supported by the latest gphoto2, however a not dissimliar sounding model is.
I cannot get gphoto2 to recognise the camera, although 'lsusb' sees it, as for 'usbview' as a "Trust 715 LCD Powerc@m Zoom".
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
cdrecord --scanbus lists it as:
scsibus2: 2,0,0 200) 'Trust ' '715 LCD POWERC@M' '1.00' Removable Disk
Could someone lend me some clue as to how to at least mount the camera as a disk drive so I can get the photos on it? I might poke the gphoto2 folkes about experimenting with drivers too.
Thanks,
James
On Wed, Jan 14, 2004 at 12:40:20AM +0000, James Green wrote:
Could someone lend me some clue as to how to at least mount the camera as a disk drive so I can get the photos on it? I might poke the gphoto2 folkes about experimenting with drivers too.
What distro are you using? I have a package called "scsitools" installed under Debian. using the command scsiinfo -l it tells me which scsi block devices are registered and all I have to do to mount a USB Mass storage device is something like
mount /dev/sdb1 /mnt/device -t vfat
(where scsiinfo -l tells me that I have a device /dev/sdb and partition 1 will be the first partition on that device, hence /dev/sdb1)
What does dmesg say after you plug the camera in?
Which distro are you using?
Adam
On Wednesday 14 Jan 2004 12:51 am, adam@thebowery.co.uk wrote:
On Wed, Jan 14, 2004 at 12:40:20AM +0000, James Green wrote:
Could someone lend me some clue as to how to at least mount the camera as a disk drive so I can get the photos on it? I might poke the gphoto2 folkes about experimenting with drivers too.
What distro are you using? I have a package called "scsitools" installed under Debian. using the command scsiinfo -l it tells me which scsi block devices are registered and all I have to do to mount a USB Mass storage device is something like
Debian Unstable. scsiinfo -l: home:/usr/src/linux# scsiinfo -l
home:/usr/src/linux#
This even though I've got a true SCSI CD-RW installed and working, and an IDE DVD-RW working through ide-scsi.
mount /dev/sdb1 /mnt/device -t vfat
(where scsiinfo -l tells me that I have a device /dev/sdb and partition 1 will be the first partition on that device, hence /dev/sdb1)
What does dmesg say after you plug the camera in?
hub.c: new USB device 00:11.2-1, assigned address 4 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 4
home:/usr/src/linux# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: PLEXTOR Model: CD-R PX-W1210S Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: SONY Model: DVD RW DW-U10A Rev: 1.1d Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: Trust Model: 715 LCD POWERC@M Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
Random sampling, I've tried many others:
home:/usr/src/linux# mount -t auto /dev/sda /mnt/camera/ mount: /dev/sda is not a valid block device home:/usr/src/linux# mount -t auto /dev/sdb /mnt/camera/ mount: /dev/sdb is not a valid block device home:/usr/src/linux# mount -t auto /dev/sdc /mnt/camera/ mount: /dev/sdc is not a valid block device home:/usr/src/linux# mount -t auto /dev/sdc2 /mnt/camera/ mount: /dev/sdc2 is not a valid block device home:/usr/src/linux# mount -t auto /dev/sda2 /mnt/camera/ mount: /dev/sda2 is not a valid block device home:/usr/src/linux# mount -t auto /dev/sdb2 /mnt/camera/ mount: /dev/sdb2 is not a valid block device
home:/usr/src/linux# lsmod Module Size Used by Tainted: PF vfat 10604 0 (autoclean) fat 32120 0 (autoclean) [vfat] nls_iso8859-1 2876 0 (autoclean) nvidia 1541472 10 (autoclean) vmnet 19632 2 vmmon 22748 0 sr_mod 14008 0 (autoclean) parport_pc 16712 1 (autoclean) lp 6176 0 (autoclean) parport 14272 1 (autoclean) [parport_pc lp] snd-seq-midi 4000 0 (autoclean) snd-seq-oss 28896 0 snd-seq-midi-event 3296 0 [snd-seq-midi snd-seq-oss] snd-seq 36368 2 [snd-seq-midi snd-seq-oss snd-seq-midi-event] snd-pcm-oss 37572 0 snd-mixer-oss 12976 1 [snd-pcm-oss] snd-ens1371 11684 1 snd-pcm 59812 0 [snd-pcm-oss snd-ens1371] snd-timer 14404 0 [snd-seq snd-pcm] snd-page-alloc 6228 0 [snd-pcm] snd-rawmidi 13568 0 [snd-seq-midi snd-ens1371] snd-seq-device 4240 0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi] snd-ac97-codec 42296 0 [snd-ens1371] snd 32644 0 [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec] ide-scsi 10096 0 aic7xxx 146416 0 sg 27484 0 cpuid 1064 0 (unused) tuner 10696 1 (autoclean) tvaudio 14056 0 (autoclean) (unused) msp3400 17952 1 (autoclean) bttv 95392 0 soundcore 3844 8 [snd bttv] 8139too 12904 1 mii 2464 0 [8139too] crc32 2880 0 [8139too]
Thanks for the help so far.
James
Which distro are you using?
Adam
On Thu, Jan 15, 2004 at 10:22:57AM +0000, James Green wrote:
hub.c: new USB device 00:11.2-1, assigned address 4 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 4
home:/usr/src/linux# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: PLEXTOR Model: CD-R PX-W1210S Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: SONY Model: DVD RW DW-U10A Rev: 1.1d Type: CD-ROM ANSI SCSI revision: 02 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: Trust Model: 715 LCD POWERC@M Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02
^ Says to me that the camera is likely to be sdc
Random sampling, I've tried many others:
No then, at a guess, I'd say there's only one partition on the camera, and that what you'll want is: mount -t vfat /dev/sdc1 /mnt/camera
Looking at the list of mounts you tried, I couldn't see a single on with sdX1 in them, maybe that's where it was going a bit pete tong ;)
Hope that helps,
Cheers,
Brett
On Thursday 15 Jan 2004 10:29 am, Brett Parker wrote:
No then, at a guess, I'd say there's only one partition on the camera, and that what you'll want is: mount -t vfat /dev/sdc1 /mnt/camera
home:/home/jg# mount -t vfat /dev/sdc1 /mnt/camera mount: /dev/sdc1 is not a valid block device home:/home/jg# mount -t vfat /dev/sdc /mnt/camera mount: /dev/sdc is not a valid block device home:/home/jg# mount -t vfat /dev/sdc2 /mnt/camera mount: /dev/sdc2 is not a valid block device home:/home/jg# mount -t vfat /dev/sdc3 /mnt/camera mount: /dev/sdc3 is not a valid block device
Any further ideas?
Thanks,
James
On Thu, Jan 15, 2004 at 10:31:44AM +0000, James Green wrote:
On Thursday 15 Jan 2004 10:29 am, Brett Parker wrote:
No then, at a guess, I'd say there's only one partition on the camera, and that what you'll want is: mount -t vfat /dev/sdc1 /mnt/camera
home:/home/jg# mount -t vfat /dev/sdc1 /mnt/camera mount: /dev/sdc1 is not a valid block device home:/home/jg# mount -t vfat /dev/sdc /mnt/camera mount: /dev/sdc is not a valid block device home:/home/jg# mount -t vfat /dev/sdc2 /mnt/camera mount: /dev/sdc2 is not a valid block device home:/home/jg# mount -t vfat /dev/sdc3 /mnt/camera mount: /dev/sdc3 is not a valid block device
Any further ideas?
hrm...
try... modprobe usb-storage, and see what it says.
Brett (now running low on ideas) Parker.
On Thursday 15 Jan 2004 10:38 am, Brett Parker wrote:
hrm...
try... modprobe usb-storage, and see what it says.
Should need to: home:/home/jg# grep STORAGE /usr/src/linux/.config CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set CONFIG_USB_STORAGE_DPCM=y # CONFIG_USB_STORAGE_HP8200e is not set CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y
Brett (now running low on ideas) Parker.
Aww...
James
On Thu, Jan 15, 2004 at 10:59:35AM +0000, James Green wrote:
On Thursday 15 Jan 2004 10:38 am, Brett Parker wrote:
hrm...
try... modprobe usb-storage, and see what it says.
Should need to: home:/home/jg# grep STORAGE /usr/src/linux/.config CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set CONFIG_USB_STORAGE_DPCM=y # CONFIG_USB_STORAGE_HP8200e is not set CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y
Hrm, OK, another quick thought...
grep "Attached scsi removable disk" /var/log/messages
That *MIGHT* tell you what it's called it... for my USB card reader I get things like: Jan 13 16:31:24 lister kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0
Cheers,
Brett
On Thu, 2004-01-15 at 11:11, Brett Parker wrote:
That *MIGHT* tell you what it's called it... for my USB card reader I get things like: Jan 13 16:31:24 lister kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0
Smells like a missing sd module ;-)
You need SCSI disk support for the usb-storage to be able to present a disc for you to mount.
Ditto you need the sr_mod module for SCSI CD-ROMs or CD-RWs and the st module for tape drives.
D.
Ok i guess as you have tryed mounting all the scsi device names its a kernel driver problem... just in case its not try this...
[dennis@icedesk:~]$ cat /proc/scsi/sg/device_strs PHILIPS CDRW48A P1.3 Generic USB SD Reader 1.00 Generic USB CF Reader 1.01 Generic USB SM Reader 1.02 Generic USB MS Reader 1.03
The SCSI devices are mountable as /dev/sd[abcd]1 for non cd/dvd devices(my cdrw is /dev/scd0). Oh and getting a card reader will only cost £7 from ebuyer(but you still may need to recompile your kernel or use a standard one). Oh maybe you'll need to turn on the kernel opption "probe all LUN's" if the device has more then one "memory" that it allows access to over usb.
- Dennis
On 2004-01-14 00:40:20 +0000 James Green jg@jmkg.net wrote:
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
I don't know whether other people find the same, but I have to either load the SCSI modules after the usb-storage module *or* send the add device command to /proc/scsi/scsi (documented in the kernel Documentation directory) before using the device. Then my camera memory card appears as /dev/sda1, but I'm sure that I'm doing something wrong and there must be an easier way. What is it?
On Wed, Jan 14, 2004 at 09:00:52AM +0000, MJ Ray wrote:
On 2004-01-14 00:40:20 +0000 James Green jg@jmkg.net wrote:
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
I don't know whether other people find the same, but I have to either load the SCSI modules after the usb-storage module *or* send the add device command to /proc/scsi/scsi (documented in the kernel Documentation directory) before using the device. Then my camera memory card appears as /dev/sda1, but I'm sure that I'm doing something wrong and there must be an easier way. What is it?
I have never had to do anything like that on this box, using a stock Debian kernel 2.4.22-1-k7 and hotplug on unstable. I have had a few bits of weirdness though with my 6 in 1 card reader, but these were to do with a kernel not having "probe all luns" and also it changes the order in which each slot is found depending on if there is media in the reader when it is plugged in.
Adam
adam@thebowery.co.uk writes:
I have never had to do anything like that on this box, using a stock Debian kernel 2.4.22-1-k7 and hotplug on unstable. I have had a few bits of weirdness though with my 6 in 1 card reader, but these were to do with a kernel not having "probe all luns" and also it changes the order in which each slot is found depending on if there is media in the reader when it is plugged in.
I can confirm this; in fact, I've been doing it for a couple of years now with at least Fuji and Olympus cameras. Using Debian "testing" with hotplug installed, I have a line in my /etc/fstab that reads
/dev/sda1 /mnt/camera auto defaults,rw,user,noauto 0 0
Any user can then plug in the camera and type
mount /mnt/camera
then copy files from the camera. They can do this manually, or I have a Perl script that renames them to <date>-<frame> format. I also have a Perl script for generating thumbnails and web pages, if anyone's interested; much easier off the command line than with GUI software. ;-)
..Adrian
On 2004-01-14 09:08:35 +0000 adam@thebowery.co.uk wrote:
I have never had to do anything like that on this box, using a stock Debian kernel 2.4.22-1-k7 and hotplug on unstable.
I'm using 2.6.1 and don't use hotplug because I find it very confusing to configure. It wasn't necessary for my old camera (which works in gphoto2) or my USB-SCSI adapter. Does the old hotplug work with 2.6 or do I need one that uses udev and sysfs? udev looks much easier to configure, but I think I need to remove devfs from the machine to use it properly.
On Wednesday 14 Jan 2004 9:00 am, MJ Ray wrote:
On 2004-01-14 00:40:20 +0000 James Green jg@jmkg.net wrote:
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
I don't know whether other people find the same, but I have to either load the SCSI modules after the usb-storage module *or* send the add device command to /proc/scsi/scsi (documented in the kernel Documentation directory) before using the device. Then my camera memory card appears as /dev/sda1, but I'm sure that I'm doing something wrong and there must be an easier way. What is it?
I am using the same camera I bought three distros back. It has never been recognised by gphoto. Originally I could only use it under windoze. In the penultimate distro (RH7.3) I could mount it from the command line. I am currently using Mandrake 9.1. kudzu detects it on power up, adjusts fstab accordingly and even puts an icon on the desktop. Just click and go. With supermount I don't even have to mount/unmount it. Quite worrying really.
Ian
On Wednesday 14 January 2004 15:49, IanBell wrote:
On Wednesday 14 Jan 2004 9:00 am, MJ Ray wrote:
On 2004-01-14 00:40:20 +0000 James Green jg@jmkg.net wrote:
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
I don't know whether other people find the same, but I have to either load the SCSI modules after the usb-storage module *or* send the add device command to /proc/scsi/scsi (documented in the kernel Documentation directory) before using the device. Then my camera memory card appears as /dev/sda1, but I'm sure that I'm doing something wrong and there must be an easier way. What is it?
I am using the same camera I bought three distros back. It has never been recognised by gphoto. Originally I could only use it under windoze. In the penultimate distro (RH7.3) I could mount it from the command line. I am currently using Mandrake 9.1. kudzu detects it on power up, adjusts fstab accordingly and even puts an icon on the desktop. Just click and go. With supermount I don't even have to mount/unmount it. Quite worrying really.
Ian
Please excuse my ignorance, but when I plug my Canon Digital IXUS into my Dell laptop running SuSE 9.0, an icon comes up on the K desktop and the pictures are all there ready for viewing. Same happens with a friend's ASAD Olympus (All Singing, All Dancing, if that's not a standard FLA). How do I find out by what magic this is occurring? I did nothing special during installation.
-- GT
On Wednesday 14 Jan 2004 4:22 pm, Graham Trott wrote:
snip
Please excuse my ignorance, but when I plug my Canon Digital IXUS into my Dell laptop running SuSE 9.0, an icon comes up on the K desktop and the pictures are all there ready for viewing. Same happens with a friend's ASAD Olympus (All Singing, All Dancing, if that's not a standard FLA). How do I find out by what magic this is occurring? I did nothing special during installation.
-- GT
This very distro specific but kudzu is a pretty standard linux hardware detect programme and supermount effectively automatically mounts/unmounts removeable media/drives as media is inserted/removed or drives are connected/disconnected. For digital cameras supermount is probably the key. You try man supermount as a starting point.
Ian
On Wed, Jan 14, 2004 at 12:40:20AM +0000, James Green wrote:
I was given a USB camera for Christmas. It is not supported by the latest gphoto2, however a not dissimliar sounding model is.
I cannot get gphoto2 to recognise the camera, although 'lsusb' sees it, as for 'usbview' as a "Trust 715 LCD Powerc@m Zoom".
This thing can be treated as a removable USB Mass Storage Device. Yet I cannot even mount.
cdrecord --scanbus lists it as:
scsibus2: 2,0,0 200) 'Trust ' '715 LCD POWERC@M' '1.00' Removable Disk
Could someone lend me some clue as to how to at least mount the camera as a disk drive so I can get the photos on it? I might poke the gphoto2 folkes about experimenting with drivers too.
If it's a mass storage device then gphoto2 isn't what you want. I assume you have the usb mass storage driver either compiled in or loaded as a module? How are you trying to mount it? Any useful messages from dmesg when you plug it in?
J.