2005-09-09 09:15:10

by Karel Kulhavy

[permalink] [raw]
Subject: USB digital camera erroneously says "no medium found"

Hello

I have Nikon Coolpix 2000 digital camera which was working well on my
old Linux 2.6.? machine. After moving to a different one while the old
one is not accessible, where the new one has Linux version 2.6.13, I
found it doesn't work anymore. When compact flash is inside the camera,
camera turned on and connected, cat /dev/sda says no media found. cat
/dev/sdb, /dev/sdc, /dev/sdd say no such file or directory.

If I take the compact flash card out and stick it into "roline 8in1 card
reader", it works perfectly. This reader puts the cards also as SCSI
disks on /dev/sda.../dev/sdd. Attaching the camera with CF inside to
Windows 2000 machine also works perfectly.

dmesg:

usb-storage: waiting for device to settle before scanning
Vendor: NIKON Model: DSC E2000 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 507905 512-byte hdwr sectors (260 MB)
sda: Write Protect is off
sda: Mode Sense: 04 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 507905 512-byte hdwr sectors (260 MB)
sda: Write Protect is off
sda: Mode Sense: 04 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi4, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete

clock@kestrel:~$ /sbin/lspci | grep USB
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
USB2 EHCI Controller (rev 01)

What should I investigate and send to diagnose the problem?

CL<


2005-09-10 16:02:05

by Pete Zaitcev

[permalink] [raw]
Subject: Re: USB digital camera erroneously says "no medium found"

On Fri, 9 Sep 2005 11:15:02 +0200, Karel Kulhavy <[email protected]> wrote:

> [...] When compact flash is inside the camera,
> camera turned on and connected, cat /dev/sda says no media found.

There's no way it could happen after this:

> sda: assuming drive cache: write through
> sda: sda1

You simply did something wrong when experimenting with this.

On second thought, getting a trace with CONFIG_USB_STORAGE_DEBUG would
probably be helpful.

BTW, does ub work (CONFIG_BLK_DEV_UB)?

-- Pete

2005-09-14 18:23:56

by Thomas Voegtle

[permalink] [raw]
Subject: Re: USB digital camera erroneously says "no medium found"

On Fri, 9 Sep 2005, Karel Kulhavy wrote:

> Hello
>
> I have Nikon Coolpix 2000 digital camera which was working well on my
> old Linux 2.6.? machine. After moving to a different one while the old
> one is not accessible, where the new one has Linux version 2.6.13, I
> found it doesn't work anymore. When compact flash is inside the camera,
> camera turned on and connected, cat /dev/sda says no media found. cat
> /dev/sdb, /dev/sdc, /dev/sdd say no such file or directory.
>

I have the same camera and long time ago I found this mail:

http://www.mail-archive.com/[email protected]/msg12504.html


This worked for me. Please try it out.



Thomas

--
Thomas V?gtle email: [email protected]
----- http://www.voegtle-clan.de/thomas ------