View Single Post
Old 01-18-2012, 08:37 PM   #1
piojosnos
Junior Member
piojosnos began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: PRS-T1
Calibre and Linux / PRS-T1 / Cannot send: No device is connected

Hello,

Whenever I try to send a book to my Sony PRS-T1 I get a dialog with:

Code:
Cannot send: No device is connected
(Actually if copied to the clipboard the message reads:

Code:
calibre, version 0.8.35
ERROR: No device: Cannot send: No device is connected
My current logs are:

Spoiler:

[dmi@cyrano ~]$ /usr/local/calibre/calibre/bin/calibre-debug -g
Starting up...
Started up in 0.966720104218 with 3 books
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= PRST1 oncard= None
DEBUG: 0.0 USBMS: dirs are: /media/usb0/
Job: 1 Get device information finished
No details available.
DEBUG: 0.0 USBMS: scan from root False /media/usb0/
DEBUG: 0.1 USBMS: count found in cache: 32, count of files in metadata: 32, need_sync: False
DEBUG: 0.1 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 0.1 SQLite DB Path: /media/usb0/Sony_Reader/database/books.db
DEBUG: 0.1 Device Offset: 0 ms
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.


And my debug device detection is:

Spoiler:

Version: 0.8.35
USB devices on system:
[['0x5c8', '0x11c', '0x104', 'Foxlink', 'HP Webcam', ''],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1a.0'],
['0x138a', '0x1', '0x372', '', '', ''],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1d.2'],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1d.1'],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1d.3'],
['0x54c',
'0x5c2',
'0x226',
'Sony',
'Sony Digital Book Reader',
'148427381012948'],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.32-5-686-bigmem ehci_hcd',
'EHCI Host Controller',
'0000:00:1d.7'],
['0x3f0', '0x171d', '0x100', 'Broadcom Corp', 'HP Integrated Module', ''],
['0x45e',
'0x9d',
'0x41',
'Microsoft',
'Microsoft Wireless Optical Desktop\xc2\xae 2.10',
''],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1d.0'],
['0x1d6b',
'0x1',
'0x206',
'Linux 2.6.32-5-686-bigmem uhci_hcd',
'UHCI Host Controller',
'0000:00:1a.1'],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.32-5-686-bigmem ehci_hcd',
'EHCI Host Controller',
'0000:00:1a.7']]
Available plugins: ADAM ALEX ALURATEK_COLOR ANDROID ARCHOS7O AVANT AZBOOKA BAMBOOK
BLACKBERRY BOEYE_BDX BOEYE_BEX BOOQ BOOX COBY COOL_ER CYBOOK DBOOK E52
E71X EB511 EB600 EBK52 ECLICTO EDGE EEEREADER ELONEX ESLICK EX124G
FOLDER_DEVICE_FOR_CONFIG GEMEI GER2 HANLINV3 HANLINV5 ILIAD INVESBOOK
IPAPYRUS IREXDR1000 IREXDR800 IRIVER_STORY ITALICA JETBOOK
JETBOOK_MINI KINDLE KINDLE2 KINDLE_DX KINDLE_FIRE KOBO LIBREAIR
LUMIREAD MENTOR MOOVYBOOK N516 N770 N810 NEWSMY NEXTBOOK NOOK
NOOK_COLOR NUUT2 ODYSSEY ORIZON PALMPRE PDNOVEL PDNOVEL_KOBO PICO
PLAYBOOK POCKETBOOK301 POCKETBOOK360 POCKETBOOK360P POCKETBOOK602
POCKETBOOK701 PRS505 PRST1 README S60 SHINEBOOK SNE SOVOS SPECTRA
STASH SUNSTECH_EB700 SWEEX TECLAST_K3 THEBOOK TREKSTOR USER_DEFINED
VELOCITYMICRO WEBOS WEXLER

Looking for devices...
(1356, 1474, 550, 'Sony', 'Sony Digital Book Reader', '148427381012948')
Detected possible device PRST1

Devices possibly connected: SONY PRST1 and newer Device Interface,
Trying to open SONY PRST1 and newer Device Interface ... OK
Main memory: '/media/usb0/'
Total space: (1512022016L, 0, 0)


Apparently, Calibre is detecting the device, and in fact it's mounting it automatically (I'm not mounting it, I just plug the device and it gets mounted):

Code:
[dmi@cyrano ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
... other things ...
/dev/sdb               1476584    460164   1016420  32% /media/usb0
/dev/sdd                 10202      2258      7944  23% /media/usb3
I have the following two entries in fstab:

Code:
[dmi@cyrano ~]$ cat /etc/fstab
... other stuff...
/dev/sdb        /media/usb0     auto    user,noauto  0       0
/dev/sdd        /media/usb3     auto    user,noauto  0       0
Notice that before adding the second entry in the fstab (the sdd one) I got the following error in the logs:

Spoiler:

[dmi@cyrano ~]$ /usr/local/calibre/calibre/bin/calibre-debug -g
Starting up...
Started up in 0.952822208405 with 3 books
Udisks mount call failed:
Traceback (most recent call last):
File "site-packages/calibre/devices/usbms/device.py", line 616, in do_mount
File "site-packages/calibre/devices/udisks.py", line 61, in mount
File "site-packages/calibre/devices/udisks.py", line 40, in mount
File "site-packages/dbus/proxies.py", line 68, in __call__
File "site-packages/dbus/proxies.py", line 140, in __call__
File "site-packages/dbus/connection.py", line 630, in call_blocking
DBusException: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
Unable to mount card (Error code: 1)
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= PRST1 oncard= None
DEBUG: 0.0 USBMS: dirs are: /media/usb0/
DEBUG: 0.1 USBMS: scan from root False /media/usb0/
DEBUG: 0.3 USBMS: count found in cache: 32, count of files in metadata: 32, need_sync: False
DEBUG: 0.3 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 0.3 SQLite DB Path: /media/usb0/Sony_Reader/database/books.db
DEBUG: 0.4 Device Offset: 0 ms
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
Job: 1 Get device information finished
No details available.

(And even before that I had another error in the logs that changed when I installed policykit-1, By the way, I'm in debian with fluxbox a simple install, no gnome whatsoever)

At that moment I tried with:

https://bbs.archlinux.org/viewtopic.php?id=111974

and something like:

https://wiki.archlinux.org/index.php...ve_in_Nautilus

with no luck, and finally adding sdd to fstab solved the error message.

From the beginning see the device button in the toolbar when it's connected, I can fetch the list of books in the device and can copy a book from the device to my collection, but I just can't send a book from my collection to the device.

I really don't know what else to do, any help is appreciated

Thanks!
Demián

PS: Sorry for the long post, I tried to give as much information as possible.
piojosnos is offline   Reply With Quote