diff --git a/src/calibre/linux.py b/src/calibre/linux.py index d0ac82e319..331783c775 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -313,7 +313,7 @@ class PostInstall: with open(os.path.join(base, '95-calibre.rules'), 'wb') as udev: self.manifest.append(udev.name) udev.write('''# Sony Reader PRS-500\n''' - '''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="%s"\n'''%(group,) + '''SUBSYSTEMS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="%s"\n'''%(group,) ) except: if self.opts.fatal_errors: diff --git a/src/calibre/manual/develop.rst b/src/calibre/manual/develop.rst index f061100f6d..ca067e45bc 100644 --- a/src/calibre/manual/develop.rst +++ b/src/calibre/manual/develop.rst @@ -152,7 +152,7 @@ Linux development environment used in windows and OS X. Alternatively, you can install |app| from source. Instructions for setting up a development environment from source are in the INSTALL file in the source tree. Here we will address using the binary a runtime. -Install the |app| using the binary installer. The opena terminal and change to the previously checked out |app| code directory, for example:: +Install the |app| using the binary installer. Then open a terminal and change to the previously checked out |app| code directory, for example:: cd /home/kovid/work/calibre