Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2009, 03:20 AM   #1
Hanselda
Enthusiast
Hanselda began at the beginning.
 
Posts: 42
Karma: 12
Join Date: Feb 2008
Device: CyBook, Sony PRS 600
calibre 0.6 cannot detect cybook on Linux

I just upgrade to calibre 6.0. Now it cannot recognize my Cybook anymore. I am using KDE and the system can handle the Cybook as storage device. The HAL and pmount are installed.

When the Cybook is plugged in, the following error message from the Cybook:

Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/calibre/gui2/device.py", line 106, in detect_device
dev.open()
File "/usr/lib64/python2.6/site-packages/calibre/devices/usbms/device.py", line 527, in open
self.open_linux()
File "/usr/lib64/python2.6/site-packages/calibre/devices/usbms/device.py", line 500, in open_linux
%self.__class__.__name__)
DeviceError: Unable to detect the CYBOOKG3 disk drive.

Any idea how I can fix this?
I am using the gentoo distro.
Hanselda is offline   Reply With Quote
Old 07-31-2009, 04:30 AM   #2
sysco
Member
sysco began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Location: Spain
Device: cybook gen3 x 2
Me too, my error msg is...



link hasn't been detected!
link hasn't been detected!
Unable to open device
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/gui2/device.py", line 106, in detect_device
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 528, in open
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 501, in open_linux
DeviceError: No se puedo detectar la unidad de disco CYBOOKG3.



No problem in windons xp, only in linux debian...

calibre-debug -d
USB devices on system: [(3034, 1795, 306), (1507, 1814, 38706), (7531, 2, 518), (7531, 1, 518)]
Looking for CYBOOKG3
Device Connected: <calibre.devices.cybookg3.driver.CYBOOKG3 object at 0x9f6c10c>
Trying to open device...
Traceback (most recent call last):
File "/tmp/init.py", line 45, in <module>
File "/home/kovid/work/calibre/src/calibre/debug.py", line 160, in main
File "/home/kovid/work/calibre/src/calibre/debug.py", line 123, in debug_device_driver
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 528, in open
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 501, in open_linux
calibre.devices.errors.DeviceError: No se puedo detectar la unidad de disco CYBOOKG3.


Any idea?
sysco is offline   Reply With Quote
Advert
Old 07-31-2009, 06:35 AM   #3
Hanselda
Enthusiast
Hanselda began at the beginning.
 
Posts: 42
Karma: 12
Join Date: Feb 2008
Device: CyBook, Sony PRS 600
calibre-debug -d

USB devices on system: [(3034, 1795, 306), (7531, 2, 518), (2652, 8449, 852), (7531, 1, 518), (7531, 1, 518), (7531, 1, 518), (2760, 49922, 256), (7531, 2, 518), (7531, 1, 518), (7531, 1, 518)]
Looking for BEBOOK
Looking for BEBOOK_MINI
Looking for BLACKBERRY
Looking for CYBOOKG3
Device Connected: <calibre.devices.cybookg3.driver.CYBOOKG3 object at 0x41a82d0>
Trying to open device...
Traceback (most recent call last):
File "/usr/bin/calibre-debug", line 8, in <module>
load_entry_point('calibre==0.6.0', 'console_scripts', 'calibre-debug')()
File "/usr/lib64/python2.6/site-packages/calibre/debug.py", line 160, in main
debug_device_driver()
File "/usr/lib64/python2.6/site-packages/calibre/debug.py", line 123, in debug_device_driver
dev.open()
File "/usr/lib64/python2.6/site-packages/calibre/devices/usbms/device.py", line 527, in open
self.open_linux()
File "/usr/lib64/python2.6/site-packages/calibre/devices/usbms/device.py", line 500, in open_linux
%self.__class__.__name__)
calibre.devices.errors.DeviceError: Unable to detect the CYBOOKG3 disk drive.

The same problem here.
Hanselda is offline   Reply With Quote
Old 07-31-2009, 08:43 AM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
What Distro and version are you using?
user_none is offline   Reply With Quote
Old 07-31-2009, 12:53 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
These are again most likely because of outdated kernels (and hence outdated /sysfs )
kovidgoyal is offline   Reply With Quote
Advert
Old 07-31-2009, 03:47 PM   #6
sysco
Member
sysco began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Location: Spain
Device: cybook gen3 x 2
Quote:
Originally Posted by kovidgoyal View Post
These are again most likely because of outdated kernels (and hence outdated /sysfs )
Sure, debian version stable, kernel 2.6.26.2 amd-64


But, no problem whit versions 0.5.14
sysco is offline   Reply With Quote
Old 08-01-2009, 02:08 PM   #7
markaw
Junior Member
markaw began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2009
Device: Sony PRS-505
Try this. Before opening Calibre, see if you can browse the device (Konquerer\Dolphin\Naultilis etc). If you can see internal memory\SD card then try opening Calibre.

Mark
markaw is offline   Reply With Quote
Old 08-03-2009, 02:37 AM   #8
sysco
Member
sysco began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Location: Spain
Device: cybook gen3 x 2
Quote:
Originally Posted by markaw View Post
Try this. Before opening Calibre, see if you can browse the device (Konquerer\Dolphin\Naultilis etc). If you can see internal memory\SD card then try opening Calibre.

Mark

Nothing happen...


Don't worry, the possible problem is my debian system.

grep SYSFS /boot/config-`uname -r`
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_SYSFS=y



zcat /proc/config.gz | grep SYSFS
gzip: /proc/config.gz: No such file or directory



Thanks for help
sysco is offline   Reply With Quote
Old 08-03-2009, 11:59 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre's device detection wont work with the deprecated SYSFS interface.
kovidgoyal is offline   Reply With Quote
Old 08-04-2009, 12:49 PM   #10
Hanselda
Enthusiast
Hanselda began at the beginning.
 
Posts: 42
Karma: 12
Join Date: Feb 2008
Device: CyBook, Sony PRS 600
I tried to recompile the kernel without
CONFIG_SYSFS_DEPRECATED
and
CONFIG_SYSFS_DEPRECATED_V2

And this works. Thanks kovidgoyal!
Hanselda is offline   Reply With Quote
Old 08-04-2009, 03:09 PM   #11
sysco
Member
sysco began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2009
Location: Spain
Device: cybook gen3 x 2
Me too, compiled kernel without
CONFIG_SYSFS_DEPRECATED
and
CONFIG_SYSFS_DEPRECATED_V2

And work again, thanks kovidgoyal and all menbers!!

I' happy !!!
sysco is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't detect Cybook Gen 3 minca Calibre 4 08-09-2010 08:50 AM
Calibre can't detect Nexus One bryantsai Calibre 25 03-28-2010 01:27 AM
PRS-600 Linux kernel doesn't detect PRS-600 external memory sinkpen Sony Reader 4 10-30-2009 01:50 PM
calibre does not detect hp ipaq hx2750 wm2003 on linux reup Calibre 2 07-31-2009 08:34 PM
"Unable to detect PRS505 disk drive" in Linux sarchar Sony Reader 5 01-25-2009 03:52 PM


All times are GMT -4. The time now is 09:27 PM.


MobileRead.com is a privately owned, operated and funded community.