Re: USB and scsi problem

From: Robert Heller (heller_at_deepsoft.com)
Date: 04/07/05


Date: Thu, 07 Apr 2005 00:40:18 +0200


  John F <john@PleaseSeeSigForAddress.invalid.com>,
  In a message on Wed, 6 Apr 2005 15:24:06 +0000 (UTC), wrote :

JF> I'm running Slackware 9.0, and can successfully read files
JF> off a Fuji finepix camera and read/write to a usb external disk.
JF> They each appear as /dev/sda1 (or /dev/sda1...n for the disk)
JF> when plugged in separately (and I haven't yet tried mounting
JF> them simultaneously).

The first one plugged in will be /dev/sda1...n and the second one
plugged in will be /dev/sdb1...n -- see below.

JF> The problem occurs when I plug in an actual pci scsi card
JF> (with or without an attached disk) and modprobe the driver for it.
JF> Then I'd expect the usb device to appear as /dev/sdb1...n,
JF> but it just doesn't show up at all.

Are you sure? Can you dump out what shows up in /var/log/messages when
you attach the camera (jack in the USB cable, both with and without the
SCSI card and/or SCSI disk? It won't show up as /dev/sdb1...n, unless
you have an actual SCSI drive. If the pci SCSI card *does not* have a
disk attached to it (including a zip or orb drive), than the camera
will still show up as /dev/sda1...n. If you have two disks on the SCSI
controller, the camera will still show up as /dev/sdc1...n. Note: if
you have a SATA disk and you are using the SATA controller (eg
ata_piix), it too will show up as a SCSI disk. SCSI device names (/dev/sda,
/dev/sdb, ...) are awarded on a first come, first served basis.

JF> From the USB-Digital-Camera-HOWTO, I expected it to show
JF> up as /dev/sdb, though the author also says he assumes you
JF> don't have an actual scsi card. Googling linux usb scsi gives
JF> me 800,000 hits, and I'm sure the answer's there somewhere, but
JF> couldn't narrow down the search enough to find it.
JF> Thanks for any help or pointers,
JF> --
JF> John Forkosh ( mailto: j@f.com where j=john and f=forkosh )
JF>

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

          



Relevant Pages

  • Re: Digital Cameras x USB drive
    ... >There was a whirr of disk and dmesg showed the disk was recognised by the USB ... >No icon on desktop, but that's probably due to preferences. ... when I plugged this camera into my Mac it automatically started iphoto. ...
    (Fedora)
  • Re: separate hard drive for scratch disks for two different programs?
    ... measures out at a higher speed than the 750GB SATA ... much faster using the middle cylinders than the SCSI ... This is a function of the way the OS deals with the disk, ... of sharing the load between multiple drives, ...
    (rec.photo.digital.slr-systems)
  • Re: 3B2 Disks
    ... being able to read the disk in its present format. ... 2 MFM drives on a custom controller. ... SCSI came much later as an add on card. ...
    (comp.sys.3b1)
  • Re: CD writing in future Linux (stirring up a hornets nest)
    ... With the SCSI layer it's ... sda just happens to be the first disk ... PCI slot, ISA address, USB position, LUN ... with other LUNs. ...
    (Linux-Kernel)
  • idle RAID1 cpu usage
    ... There's one little modification I made to it: instead of 2 SCSI disks, ... it has one SCSI and one SATA disk (and a PCI SII 3512 card to connect ... # Loadable module support ... # CD-ROM/DVD Filesystems ...
    (Linux-Kernel)