Linux prs 500 udev rule: Use SUBSYSTEMS instead of the deprecated BUS

This commit is contained in:
Kovid Goyal 2010-05-10 11:50:27 -06:00
parent f659f06ed5
commit 5e5a613b8f
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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