LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Fuji M603, SCSI device not assigned via USB (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/fuji-m603-scsi-device-not-assigned-via-usb-156429/)

anotherlimey 03-11-2004 03:58 PM

Fuji M603, SCSI device not assigned via USB
 
For some reason when I plug in my Fuji M603 digital camera it is recognised but no SCSI device is assigned.

This is the output of dmesg:

hub 1-0:1.0: new USB device on port 1, assigned address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: FUJIFILM Model: USB-DRIVEUNIT Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.

If I try ;

mount -t vfat /dev/sda1 /mnt/usbdrv

the result is ;

sda1 is not a valid block device.

Anybody seen this before?

drr104 03-12-2004 12:33 PM

Having just played around with a few usb CF readers I found one that I had to mount using sdb1, you could try that.. or see what,

cdrecord -scanbus

gives you.

anotherlimey 03-13-2004 05:54 PM

ok I've got a little further now.

I had to load the generic scsi module with "modprobe sg"

Now dmesg says;

"Attached scsi generic sg0 at scsi1 channel 0, id 0, lun 0 type 0"

but sg_map just returns

"/dev/sg0"

so now there is no device mapping for /dev/sg0

-tom

drr104 03-13-2004 06:12 PM

What does "cdrecord -scanbus" give you?

anotherlimey 03-14-2004 01:22 AM

[root@rh9lptp root]# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�g Schilling
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'FUJIFILM' 'USB-DRIVEUNIT ' '1.00' Removable Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *


-tom

anotherlimey 03-14-2004 02:13 AM

Ah bugger....

I found the problem, I didn't load sd-mod. I attached the camera again and did;

modprobe usb-storage
modprobe sg
modprobe sd-mod

and there it was at /dev/sda1.

This page http://www.cs.sfu.ca/~ggbaker/personal/cf-linux was useful.

Best Regards,
tom


All times are GMT -5. The time now is 04:31 PM.