Please could anyone shed some light on this for me. I borrowed a digital camera and wanted to download its shots into my Linux box (Redhat 7.1 2.4.2 kernel P166 64Mb RAM). I hunted around and managed to find a place on the linux-usb.org site where several people had managed this feat with the same camera that I'm using (and using all sorts of kernel versions such as 2.0.x, 2.2.x, 2.4.x), which is a Fuji finepix 1400 Zoom with 8Mb memory card. However, I simply cannot get it to work for me. I modprobe the usb-storage, usb-core and usb-uhci modules, as per instructions and they all appear to load, according to lsmod. SCSI support is already loaded. When I then plug the camera in and switch it on, there's disk activity and files appear in /proc/scsi. So then I do the "mount /dev/sda /mnt/camera" bit and I always get a message that /dev/sda isn't a block device or sda doesn't exist. I've tried variations, like "mount -t msdos ..." or "mount -t vfat ..." but it makes no difference. It seems that the USB link works but it all falls over when it comes time to access the mythical SCSI emulation or whatever it is to read the image files.
Has anyone ever succeeded in this? I'd appreciate any guidance that's going - thanks!
Gerald.
On Thu, 2001-10-11 at 19:39, Edenyard wrote:
Please could anyone shed some light on this for me. I borrowed a digital camera and wanted to download its shots into my Linux box (Redhat 7.1 2.4.2 kernel P166 64Mb RAM). I hunted around and managed to find a place on the linux-usb.org site where several people had managed this feat with the same camera that I'm using (and using all sorts of kernel versions such as 2.0.x, 2.2.x, 2.4.x), which is a Fuji finepix 1400 Zoom with 8Mb memory card. However, I simply cannot get it to work for me. I modprobe the usb-storage, usb-core and usb-uhci modules, as per instructions and they all appear to load, according to lsmod. SCSI support is already loaded. When I then plug the camera in and switch it on, there's disk activity and files appear in /proc/scsi. So then I do the "mount /dev/sda /mnt/camera" bit and I always get a message that /dev/sda isn't a block device or sda doesn't exist. I've tried variations, like "mount -t msdos ..." or "mount -t vfat ..." but it makes no difference. It seems that the USB link works but it all falls over when it comes time to access the mythical SCSI emulation or whatever it is to read the image files.
Has anyone ever succeeded in this? I'd appreciate any guidance that's going - thanks!
Ive not got a camera, but I suspect you need '/dev/sda1' so...
'mount /dev/sda1 /mnt/camera'
On 11 Oct 2001, Willaby wrote:
On Thu, 2001-10-11 at 19:39, Edenyard wrote:
and switch it on, there's disk activity and files appear in /proc/scsi. So then I do the "mount /dev/sda /mnt/camera" bit and I always get a message that /dev/sda isn't a block device or sda doesn't exist. I've tried variations, like "mount -t msdos ..." or "mount -t vfat ..." but it
Ive not got a camera, but I suspect you need '/dev/sda1' so...
'mount /dev/sda1 /mnt/camera'
This appears to work for most people but I have also not got a camera so can't check this but looking on a couple of resources on the net you may want to do an
fdisk -l /dev/sda
to find which partition the camera appears at if mount /dev/sda1 doesn't work.
Adam
Just a second when I emulate SCSI on by CDR drive I think I use /dev/sg0 not /dev/sda maybe this will help.
A little reading of the howto on SCSI brought up
<quote url="http://www.linuxdoc.org/HOWTO/SCSI-2.4-HOWTO/sg.html"> 9.4. Generic driver (sg)
All types of SCSI devices are accessible via the sg driver. This means devices such as CDROM drives can be accessed both via the sr and sg drivers. Other SCSI devices such as scanners can only be accessed via the sg driver. The sg driver is capable of recognizing 256 SCSI devices. Any number of devices (up to the overall limit of 256) can be added after the sg driver is loaded. </quote>
and the /dev/sd driver brought up
<quote url="http://www.linuxdoc.org/HOWTO/SCSI-2.4-HOWTO/sd.html"> 9.1. Disk driver (sd)
Two types of SCSI devices are accessible via the sd driver:
"direct access" devices which are usually magnetic disks. [SCSI peripheral device code is 0]
"Optical memory devices" which are often called MOD disks. [SCSI peripheral device code is 7]
The sd driver is a block device which means that it is closely associated with the block subsystem. It also supports the concept of partitions. [man sd dates from 1992.] </quote>
this may be the reason you get error that /dev/sda is not a block device since you do not have a SCSI disk drive device attached but a camera.
Anyway I dont know much about USB or SCSI as I have only got my mouse working on USB (I assume the mouse it reaches the bandwidth limits with the mouse on PS/2 if I wiggle it as fast as I can*) and I only emulate SCSI to get my IDE CDrecorder to work under linux.
Good luck
Owen
* No wonder I use linux I love testing things to destruction! I am such a child.
On 11-Oct-01 Edenyard wrote:
Please could anyone shed some light on this for me. I borrowed a digital camera and wanted to download its shots into my Linux box (Redhat 7.1 2.4.2 kernel P166 64Mb RAM). I hunted around and managed to find a place on the linux-usb.org site where several people had managed this feat with the same camera that I'm using (and using all sorts of kernel versions such as 2.0.x, 2.2.x, 2.4.x), which is a Fuji finepix 1400 Zoom with 8Mb memory card. However, I simply cannot get it to work for me. I modprobe the usb-storage, usb-core and usb-uhci modules, as per instructions and they all appear to load, according to lsmod. SCSI support is already loaded. When I then plug the camera in and switch it on, there's disk activity and files appear in /proc/scsi. So then I do the "mount /dev/sda /mnt/camera" bit and I always get a message that /dev/sda isn't a block device or sda doesn't exist. I've tried variations, like "mount -t msdos ..." or "mount -t vfat ..." but it makes no difference. It seems that the USB link works but it all falls over when it comes time to access the mythical SCSI emulation or whatever it is to read the image files.
Has anyone ever succeeded in this? I'd appreciate any guidance that's going - thanks!
Gerald.
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Date: 11-Oct-01 Time: 23:39:43