mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* USB digital camera erroneously says "no medium found"
@ 2005-09-09  9:15 Karel Kulhavy
  2005-09-14 18:23 ` Thomas Voegtle
  0 siblings, 1 reply; 3+ messages in thread
From: Karel Kulhavy @ 2005-09-09  9:15 UTC (permalink / raw)
  To: linux-kernel

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<

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: USB digital camera erroneously says "no medium found"
  2005-09-09  9:15 USB digital camera erroneously says "no medium found" Karel Kulhavy
@ 2005-09-14 18:23 ` Thomas Voegtle
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Voegtle @ 2005-09-14 18:23 UTC (permalink / raw)
  To: Karel Kulhavy; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 780 bytes --]

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/linux-usb-users@lists.sourceforge.net/msg12504.html


This worked for me. Please try it out.



      Thomas

-- 
 Thomas Vögtle    email: thomas@voegtle-clan.de
 ----- http://www.voegtle-clan.de/thomas ------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: USB digital camera erroneously says "no medium found"
       [not found] <mailman.1126259764.18971.linux-kernel2news@redhat.com>
@ 2005-09-10 16:01 ` Pete Zaitcev
  0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2005-09-10 16:01 UTC (permalink / raw)
  To: Karel Kulhavy; +Cc: linux-kernel, zaitcev

On Fri, 9 Sep 2005 11:15:02 +0200, Karel Kulhavy <clock@twibright.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-14 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-09  9:15 USB digital camera erroneously says "no medium found" Karel Kulhavy
2005-09-14 18:23 ` Thomas Voegtle
     [not found] <mailman.1126259764.18971.linux-kernel2news@redhat.com>
2005-09-10 16:01 ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®