03-03-2008, 05:35 PM | #1 |
Enthusiast
Posts: 42
Karma: 12
Join Date: Feb 2008
Device: CyBook, Sony PRS 600
|
Mounting cybook under linux
I have some problem while trying to mount the cybook under linux. When plug in the device only the inserted SD card could be recognized but not the internal memory, so to say, there is no /dev/sda* for the internal memory created. dmesg shows also only the SD card. Is there anything to do with the kernel modules?
|
03-03-2008, 05:38 PM | #2 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Normally the SD card is /dev/sda1 and the internal memory /dev/sdb1.
|
Advert | |
|
03-04-2008, 09:17 AM | #3 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I have set these rules for udev:
BUS="scsi", SYSFS{vendor}="Bookeen ", SYSFS{model}="Cybook Gen3 -FD", KERNEL="sd[a-z]1", NAME="%k", SYMLINK="cybook" BUS="scsi", SYSFS{vendor}="Bookeen ", SYSFS{model}="Cybook Gen3 -SD", KERNEL="sd[a-z]1", NAME="%k", SYMLINK="card" This way the cybook (no matter wich sd?1) comes out as /dev/cybook and the SD card as /dev/card. If your distribution is decently recent (even 3 years old should do), it probably uses udev already. Search Google for a tutorial/howto on how to use and write udev rules if you don't know it. |
03-04-2008, 12:20 PM | #4 |
creator of calibre
Posts: 44,424
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The recommended way to do this for modern linux distributions is to write an fdi file for HAL. That way you can specify where the device should be mounted and make it user/auto mountable. For example, here's the FDI file I use for the SONY reader and Kindle:
Code:
cat /usr/share/hal/fdi/policy/20thirdparty/10-libprs500.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="usb_device.vendor_id" int="1356"> <match key="usb_device.product_id" int="667"> <merge key="libprs500.deviceclass" type="string">PRS500</merge> </match> </match> </device> <device> <match key="usb_device.vendor_id" int="1356"> <match key="usb_device.product_id" int="798"> <merge key="libprs500.deviceclass" type="string">PRS505</merge> </match> </match> </device> <device> <match key="info.category" string="volume"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.vendor_id" int="0x54c"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.product_id" int="0x31e"> <match key="volume.is_partition" bool="false"> <merge key="volume.label" type="string">Sony Reader Main Memory</merge> <merge key="libprs500.mainvolume" type="string">PRS505</merge> </match> </match> </match> </match> </device> <device> <match key="info.category" string="volume"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.vendor_id" int="0x54c"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.product_id" int="0x31e"> <match key="volume.is_partition" bool="true"> <merge key="volume.label" type="string">Sony Reader Storage Card</merge> <merge key="libprs500.cardvolume" type="string">PRS505</merge> </match> </match> </match> </match> </device> <device> <match key="usb_device.vendor_id" int="6473"> <match key="usb_device.product_id" int="1"> <merge key="libprs500.deviceclass" type="string">KINDLE</merge> </match> </match> </device> <device> <match key="info.category" string="volume"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.vendor_id" int="0x1949"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.product_id" int="0x1"> <match key="volume.is_partition" bool="false"> <merge key="volume.label" type="string">Kindle Internal Storage USB Device</merge> <merge key="kindle.mainvolume" type="string">KINDLE</merge> </match> </match> </match> </match> </device> <device> <match key="info.category" string="volume"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.vendor_id" int="0x1949"> <match key="@info.parent:@info.parent:@info.parent:@info.parent:usb.product_id" int="0x1"> <match key="volume.is_partition" bool="true"> <merge key="volume.label" type="string">Kindle Card Storage USB Device</merge> <merge key="kindle.cardvolume" type="string">KINDLE</merge> </match> </match> </match> </match> </device> </deviceinfo> |
03-06-2008, 09:15 AM | #5 |
Book worm
Posts: 28
Karma: 10
Join Date: Aug 2007
Device: Sony Reader/Cybook Gen3/Hanlin V5
|
Mounts fine under Suse without any configuration chabges
I have SUSE 10.3 installed on my Acer laptop, I find that if I connect my Cybook both memory card and internal memory are recognized, no need to make any configuration changes.
I did find that i needed to log off and back on again after I had connected. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre linux mounting conflict -- PRS-505/Ubuntu | cutterjohn42 | Calibre | 1 | 11-25-2009 01:51 PM |
PRS-700 Warning, mounting/unmounting in linux, be carefull | eksor | Sony Reader | 0 | 10-01-2009 03:44 AM |
calibre 0.6 cannot detect cybook on Linux | Hanselda | Calibre | 10 | 08-04-2009 03:09 PM |
Send to Device - Cybook - Linux | jethro10 | Calibre | 5 | 03-06-2009 03:30 PM |
Cybook 3 can't be mounted on Linux machine | sweh | Bookeen | 6 | 04-26-2008 04:33 PM |