View Single Post
Old 04-26-2008, 04:18 PM   #6
delphidb96
Wizard
delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.
 
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
Quote:
Originally Posted by sweh View Post
OK, a newer kernel (CentOS 5.1) found both devices. And that provided the clue. The Cybook looks like a Realtek card reader at the USB level. The usb-storage layer presents each memory device as a seperate LUN. The SD slot is LUN 0, the internal flash is LUN 1.

And there's the gotcha; older RedHat kernels are configured to only probe LUN 0 on SCSI devices.

http://kbase.redhat.com/faq/FAQ_79_4067.shtm

So I tried the "scsi add-single-device" hack and the second LUN was detected.
Code:
USB Mass Storage device found at 12
  Vendor: Bookeen   Model: Cybook Gen3  -FD  Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdh: 128000 512-byte hdwr sectors (66 MB)
sdh: Write Protect is off
sdh: Mode Sense: 03 00 00 00
sdh: assuming drive cache: write through
SCSI device sdh: 128000 512-byte hdwr sectors (66 MB)
sdh: Write Protect is off
sdh: Mode Sense: 03 00 00 00
sdh: assuming drive cache: write through
 sdh: sdh1
Attached scsi removable disk sdh at scsi16, channel 0, id 0, lun 1
I'll have to test the "permanent" fix as documented at http://kbase.redhat.com/faq/FAQ_85_5583.shtm to ensure it doesn't break any of my SATA and real USB disks.

Yay!
Don't forget that under both Linux and Windows, the type of USB port used can cause problems. For most users the Cybook MUST be attached to one of the lower-numbered MAIN USB ports on the motherboard. Attaching through a hub can cause problems. Attaching to a USB port that comes off a secondary jumper expansion on the motherboard can cause problems. Attaching to a newer version of a USB port can cause problems. Attaching via a multiple media card reader can cause problems (Those 9-in-1 media drives are what I'm talking about, whether built in or external.). IOW, it's very, VERY touchy about just what USB port it's attached to.

Derek
delphidb96 is offline   Reply With Quote