diff options
author | Michael Hunold <devnull@localhost> | 2004-08-11 09:44:45 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-08-11 09:44:45 +0000 |
commit | aad50aad46ee16967a58231ee98f94c1d5baaddb (patch) | |
tree | cafe8e05c7bfe611bf6748cdd229512381b1385d /linux | |
parent | 8616576f988431ab7949ae80dcb8fc0cb68322c6 (diff) | |
download | mediapointer-dvb-s2-aad50aad46ee16967a58231ee98f94c1d5baaddb.tar.gz mediapointer-dvb-s2-aad50aad46ee16967a58231ee98f94c1d5baaddb.tar.bz2 |
- don't instruct users to add the rules to the main rule file, but tell them
to create a separate dvb.rule file
Diffstat (limited to 'linux')
-rw-r--r-- | linux/Documentation/dvb/udev.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/linux/Documentation/dvb/udev.txt b/linux/Documentation/dvb/udev.txt index 8ef0616ed..68ee224b6 100644 --- a/linux/Documentation/dvb/udev.txt +++ b/linux/Documentation/dvb/udev.txt @@ -28,17 +28,19 @@ So, create a new file /etc/udev/scripts/dvb.sh and add the following: Don't forget to make the script executable with "chmod". -1. You need to add a proper rule to your udev rule file. The main -udev configuration file /etc/udev/udev.conf will tell you the -directory of the rules, most likely it's /etc/udev/rules.d/ - -Edit the main rule file and add the following rule to the end -of the file. +1. You need to create a proper udev rule that will create the device nodes +like you know them. All real distributions out there scan the /etc/udev/rules.d +directory for rule files. The main udev configuration file /etc/udev/udev.conf +will tell you the directory where the rules are, most likely it's /etc/udev/rules.d/ +Create a new rule file in that directory called "dvb.rule" and add the following line: +------------------------------schnipp------------------------------------------------ KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c" +------------------------------schnipp------------------------------------------------ + +If you want more control over the device nodes (for example a special group membership) +have a look at "man udev". For every device that registers to the sysfs subsystem with a "dvb" prefix, the helper script /etc/udev/scripts/dvb.sh is invoked, which will then -create the proper device name. - -Now udev will create the device node in your /dev/ device tree. +create the proper device node in your /dev/ directory. |