|
|
Quellcode |
1 2 3 |
logitech_applet -s 800 002/003 046D/C01D M-BS81A MX510 Optical Mouse Cruise Control / Smart Scroll: Disabled |
|
|
Quellcode |
1 2 |
$ cat .xprofile /usr/sbin/logitech_applet -e -s 800 |
|
|
Quellcode |
1 2 |
/etc/udev/rules.d/99-logitech.mx500
KERNEL=="event*" ACTION=="add" SYSFS{idVendor}=="046d" SYSFS{product}=="*Mouse*" RUN+="/usr/sbin/logitech_applet -e -s 800" SYMLINK="input/mx500"
|
Das war als Beispiel gedacht. Hier mal ein netter Link zu einer guten Beschreibung. Mit der bekommt man das hin.
Zitat
(In reply to comment #20)
>
> Anyway I somehow feel that stabilizing a udev-ebuild which -in a way- depends
> on baselayout-2 is not a good move. (But then, what do I know about Gentoo
> development.
Well, it does not depend on baselayout-2. udev generally depends on any
baselayout version to be started at all (sounds logical).
And udev does support all baselayout-versions around. It just contains
different code-pathes for them.
for baselayout-1 it uses so called rc-addons - small files executed by a shell:
/lib/rcscripts/addons/udev-{start,stop}.sh
for baselayout-2 it uses init-scripts
/etc/init.d/{udev,udev-mount,udev-dev-tarball}
So far udev is perfectly usable on baselayout-1.
Nobody needs to directly run these init-scripts (behind the scenes both pathes
above share code but that is not relevant here).
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Michi« (17. Februar 2010, 10:17)
|
|
Quellcode |
1 2 |
udevadm control --reload-rules udevadm trigger |
|
|
Quellcode |
1 2 |
/etc/init.d/udev status * status: stopped |
Ne, das ist schon richtig, baselayout-2 und openrc sind aktuell noch im testing Zweig.Also so wie ich das verstanden habe, kann ich nicht zu Baselayout 2 wechseln ohne maskierte Pakete zu nehmen, oder sehe ich das falsch?
Datenbanken Geforce-MX-4000 Anwendungen Externe Geräte Rezepte Flohmarkttermine Forumskonventionen Lob & Kritik Kontaktanzeigen Stadtpläne Suchfunktion Neueste Mitglieder Emerge Probleme Online Preise vergleichen Tutorials,Tipps & Tricks imbisswagen Spiele Drucker Winterurlaub Andere Architekturen Arthrose Installation WLAN Probleme Linux-Onlineshop