Summary: | udev should care about dvb devices. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Jenisch <nt> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | genstef, lordvan |
Priority: | High | ||
Version: | 2004.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
DVB patch for udev configuration
Ebuild with added DVB patch Diff to ebuild with DVB patch |
Description
Alexander Jenisch
2004-11-11 09:36:54 UTC
a quick grep over the source of udev gave these results: etc/udev/udev.permissions.debian:dvb/*:root:video:0660 etc/udev/udev.rules.debian:KERNEL="dvb*", PROGRAM="/etc/udev/dvb.sh %k", NAME="%c" extras/dvb.sh:echo $1 | sed -e 's#^dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\)#dvb/adapter\1/\2\3#' I really wonder why functionallity that is persent in udev is not present in gentoo. Porting it do gentoo should be just adding the above rules and extras/dvb.sh. Care to attach a patch to do this? And is the dvb support for sysfs now in the main kernel tree? is anyone doing it? i'm not really good at writing udev rules or patches... Please try to do it yourself, its just copying the debian rules(and adjusting script path) and make the ebuild install the dvb.sh script. Um, I need a patch for this, otherwise this bug is closed. If you do generate one, please reopen it and attach it. i really don't know how do that (yet). i'll probably look into it, if i have can find the time. maybe someone with a little more experience could handle this? i just wonder if i'm the only one having issues with that... I modified udev configuration according to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139097 about a month ago, when I bought a DVB card. It works OK since then. Now I've accidentally found this bugreport, so I created the patch and also a modified ebuild for latest version of udev (050). It adds the patch and also copies dvb.sh to /etc/udev/scripts. (I hope someone will notice this, otherwise I'll file a new bug after a few days) Created attachment 49836 [details, diff]
DVB patch for udev configuration
Created attachment 49837 [details]
Ebuild with added DVB patch
please attach a diff to the ebuild Created attachment 49990 [details, diff]
Diff to ebuild with DVB patch
Will be fixed in next version of the udev release, thanks for the patches. |