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

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 12-01-2022, 08:06 AM   #1
NoobieWanKenobie
Junior Member
NoobieWanKenobie began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2022
Device: Kindle Paperwhite
Talking Calibre doesn't recognise Kindle on Linux [SOLUTION]

I run into this every time I reinstall Linux and I've seen people asking around about this so I'm leaving this post for future reference.

If "lsusb" command detects kindle but calibre doesn't recognise it then try calibre > preferences > miscellinious > debug device detection.
If you get the following error or something mentioning udisks:
Code:
jeepney.wrappers.DBusErrorResponse: [org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain] ('Not authorized to perform operation',)
Udisks mount call failed:
Try the following steps:

1. Make sure you have "udisks2" and "gvfs" installed.
2. Add the following rule to "/etc/polkit-1/rules.d/50-udisks.rules". (Replace wheel with your suitable group.
https://wiki.archlinux.org/title/Udisks#Permissions
https://github.com/coldfix/udiskie/wiki/Permissions
Code:
polkit.addRule(function(action, subject) {
  var YES = polkit.Result.YES;
  var permission = {
    // required for udisks1:
    "org.freedesktop.udisks.filesystem-mount": YES,
    "org.freedesktop.udisks.luks-unlock": YES,
    "org.freedesktop.udisks.drive-eject": YES,
    "org.freedesktop.udisks.drive-detach": YES,
    // required for udisks2:
    "org.freedesktop.udisks2.filesystem-mount": YES,
    "org.freedesktop.udisks2.encrypted-unlock": YES,
    "org.freedesktop.udisks2.eject-media": YES,
    "org.freedesktop.udisks2.power-off-drive": YES,
    // required for udisks2 if using udiskie from another seat (e.g. systemd):
    "org.freedesktop.udisks2.filesystem-mount-other-seat": YES,
    "org.freedesktop.udisks2.filesystem-unmount-others": YES,
    "org.freedesktop.udisks2.encrypted-unlock-other-seat": YES,
    "org.freedesktop.udisks2.eject-media-other-seat": YES,
    "org.freedesktop.udisks2.power-off-drive-other-seat": YES
  };
  if (subject.isInGroup("wheel")) {
    return permission[action.id];
  }
});
NoobieWanKenobie 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
chromebook doesn't recognise Kindle Bridman Devices 10 11-08-2021 07:14 AM
Calibre doesn't recognise kobo firmware bionicgeekgrrl Devices 2 12-18-2018 04:45 AM
Calibre Doesn't recognise my device gpjo Devices 3 04-06-2014 10:52 AM
Margins are enormous; calibre doesn't yet recognise Vox jeather Kobo Tablets 18 09-02-2012 02:47 PM
Calibre doesn't recognise Veiwsonic reader TonyTerra Calibre 3 03-06-2010 06:58 PM


All times are GMT -4. The time now is 09:55 AM.


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