I'm getting used to FreeBSD and the way it does things, and I'm having a little trouble following the instructions given in the installation of deskutils/calibre. I installed it using
So, not quite solved yet! I added the first snippet to /usr/local/etc/PolicyKit/PolicyKit.confand then rebooted (making sure I changed the user in the snippet to my user account), but Calibre still gives me this error:
UPDATE: polkit-gnome-manage, hald, and dbus-daemon are thraping the CPUs when the e-reader is plugged in, according to top, edited to better fit forum guidelines.
pkg install calibre and post install it gave these instructions:
Code:
NOTE: Calibre requires Hal to be running for access to devices. The user who
is running Calibre also needs to be able to mount devices. For non-root users,
this means modifying %25%25PREFIX%25%25/etc/PolicyKit/PolicyKit.conf and adding the
policy there.
To allow a single user named "example" to mount removable devices, add the
following:
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="example">
<return result="yes" />
</match>
</match>
Additional users will each need their own <match user="user"> block with a
"yes" return result.
To permit all accounts to mount removable devices (allowing a denial of access
attack) add the following:
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes" />
</match>
So, not quite solved yet! I added the first snippet to /usr/local/etc/PolicyKit/PolicyKit.confand then rebooted (making sure I changed the user in the snippet to my user account), but Calibre still gives me this error:
Code:
Unable to open device <calibre.devices.nook.driver.NOOK_COLOR object at 0x3041722c>
Traceback (most recent call last):
File "/usr/local/lib/calibre/calibre/gui2/device.py", line 194, in do_connect
dev.open(detected_device, self.current_library_uuid)
File "/usr/local/lib/calibre/calibre/devices/usbms/device.py", line 872, in open
self.open_freebsd()
File "/usr/local/lib/calibre/calibre/devices/usbms/device.py", line 812, in open_freebsd
raise DeviceError(_('Unable to mount the device'))
DeviceError: Unable to mount the device
UPDATE: polkit-gnome-manage, hald, and dbus-daemon are thraping the CPUs when the e-reader is plugged in, according to top, edited to better fit forum guidelines.