View previous topic :: View next topic |
Author |
Message |
fox2mike Retired Dev
Joined: 07 Aug 2004 Posts: 9 Location: Bangalore, India
|
Posted: Tue Dec 28, 2004 7:27 pm Post subject: USB & the Nikon Coolpix 5200 |
|
|
I think I'm missing something really fundamental here, but I can't figure it out.
I have USB support compiled into the kernel & everything works sort of ok, but not perfectly. This is what happens...
I plug in the Cam and dmesg says
Code: | usb 1-2: new full speed USB device using address 3
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: NIKON Model: DSC E5200 Rev:
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 3
|
Then I do a mount -t vfat /dev/sda /mnt/nikon & that says :
Code: | mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems |
dmesg at this point throws out :
Code: | SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: Mode Sense: 18 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: Mode Sense: 18 00 00 08
sda: assuming drive cache: write through
/dev/scsi/host1/bus0/target0/lun0: p1
|
and then there is a sda1 created in /dev
Then mount -t vfat /dev/sda1 /mnt/nikon works like a charm...
I've tried this on various 2.6.x kernels & I can't figure out why this happens...hope someone can help me out |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Dec 28, 2004 8:26 pm Post subject: |
|
|
I've seen strange things with devfs and udev when dealing with hotplugged devices. Try listing /dev/sda* after attaching the camera but before trying to mount the device. i.e. ls -l /dev/sda*
Don't know if it will make a difference, but it will be interesting if it does. |
|
Back to top |
|
|
fox2mike Retired Dev
Joined: 07 Aug 2004 Posts: 9 Location: Bangalore, India
|
Posted: Wed Dec 29, 2004 4:08 am Post subject: |
|
|
Before mounting, I get only /dev/sda & that's the only sd* device.
What makes me think I'm not doing something right is, The same happens with my friend's 80 GB USB HDD on a Gentoo install that I setup on his laptop...so I must be doing something messed... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|