04-26-2008, 02:12 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2008
Device: Cybook 3, HTC Apache cellphone
|
Cybook 3 can't be mounted on Linux machine
I've searched around and haven't spotted anyone else with this issue. It maybe my Linux build that's broken, but...
Firmware build 538 Works fine with Windows XP; I can see the SD slot and the inbuilt flash, and can copy files around etc etc. But... if I plug it into a RedHat Enterprise Linux 4 machine or a CentOS 4.5 machine then the kernel detects the device, creates a single /dev/sd* entry and... I can't access it. eg Code:
usb 1-5: new high speed USB device using address 10 scsi14 : SCSI emulation for USB Mass Storage devices Vendor: Bookeen Model: Cybook Gen3 -SD Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdg: 4131840 512-byte hdwr sectors (2116 MB) sdg: Write Protect is off sdg: Mode Sense: 03 00 00 00 sdg: assuming drive cache: write through SCSI device sdg: 4131840 512-byte hdwr sectors (2116 MB) sdg: Write Protect is off sdg: Mode Sense: 03 00 00 00 sdg: assuming drive cache: write through sdg: sdg1 Attached scsi removable disk sdg at scsi14, channel 0, id 0, lun 0 USB Mass Storage device found at 10 Am I doing something wrong? Thanks! |
04-26-2008, 02:37 PM | #2 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Is it an old kernel?
I get an sda1 and an sdb1 (internal). |
Advert | |
|
04-26-2008, 02:40 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2008
Device: Cybook 3, HTC Apache cellphone
|
RedHat (and thus CentOS) use their own naming conventions. The current RedHat/Centos4 kernel is 2.6.9-67.0.4.ELsmp which means it was originally based on a 2.6.9 kernel, but they've backported a lot of fixes from later versions. (This version numbering issue is the biggest problem with RedHat based systems; we can't actually tell what kernel features are present!)
|
04-26-2008, 02:47 PM | #4 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I would test with a late Knoppix DVD or a puppy image or something similar.
Maybe also try to turn the Cybook on when the cable is plugged in. |
04-26-2008, 03:27 PM | #5 |
Junior Member
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 Yay! |
Advert | |
|
04-26-2008, 04:18 PM | #6 | |
Wizard
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:
Derek |
|
04-26-2008, 04:33 PM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2008
Device: Cybook 3, HTC Apache cellphone
|
Fortunately I haven't had any USB hardware issues; my Cybook has been detected in 6 machines from a P4-1.8Ghz USB1 (via a Belkin hub) all the way up to a quad core duo USB2. And now I know about the multi-LUN issue, the Linux machines will talk to it properly as well :-)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre 0.6 cannot detect cybook on Linux | Hanselda | Calibre | 10 | 08-04-2009 03:09 PM |
manga2pdf - Linux bash scripts for the Cybook, Sony Reader and iLiad | IceHand | 52 | 03-09-2009 06:36 PM | |
Send to Device - Cybook - Linux | jethro10 | Calibre | 5 | 03-06-2009 03:30 PM |
Mounting cybook under linux | Hanselda | Bookeen | 4 | 03-06-2008 09:15 AM |
Cybook & Linux...SDK? | Adam B. | Gen3 Developer's Corner | 4 | 07-28-2007 12:59 AM |