View Single Post
Old 04-26-2008, 03:27 PM   #5
sweh
Junior Member
sweh began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2008
Device: Cybook 3, HTC Apache cellphone
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!
sweh is offline   Reply With Quote