View previous topic :: View next topic |
Author |
Message |
pablo_supertux Advocate


Joined: 25 Jan 2004 Posts: 2958 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Wed Aug 25, 2004 1:19 pm Post subject: /dev/mouse immer weg |
|
|
Ich hab grad bei mir gentoo neu installiert und dieses Mal udev und Xorg installiert. Mein Xorg startet nicht, weil /dev/mouse nicht existiert. Dann habe ich gemerkt, dass es gar nicht gab. Dann hab ich ln -s /dev/psaux /dev/mouse gemacht und somit hat es funktioniert. Wenn ich den Computer neustarte, dann ist /dev/mouse wieder verschwunden. Wieso? Wie kann ich das lösen? Naja, ist auch nicht schlimm, ich hab die xorg.conf Datei geändert und Device auf /dev/psaux geändert. Aber warm verschindet immer /dev/mouse? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
 |
AbsturZ Tux's lil' helper


Joined: 16 Sep 2003 Posts: 90
|
Posted: Wed Aug 25, 2004 2:52 pm Post subject: |
|
|
aus dem udev guide:
"[...] If device nodes are not created when a module is loaded from /etc/modules.autoload.d/kernel-2.6 but they appear when you load the module manually with modprobe then you should try upgrading to sys-apps/baselayout-1.8.12 or later. [...]"
übersetzen musste selber  _________________ Es steht niemandem frei, Christ zu werden: man wird zum Christentum nicht "bekehrt" - man muss krank genug dazu sein ...
[F.W. Nietzsche: "Der Antichrist"] |
|
Back to top |
|
 |
pablo_supertux Advocate


Joined: 25 Jan 2004 Posts: 2958 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Wed Aug 25, 2004 2:57 pm Post subject: |
|
|
Das habe ich auch gemacht
Code: |
sys-apps/baselayout
Latest version available: 1.10.4
Latest version installed: 1.10.4
Size of downloaded files: 115 kB
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
License: GPL-2
|
Und soweit ich weiß, ist 1.10.4 ist größer als 1.8.12, oder?
Alle andere Devices scheinen in Ordnung zu sein, nur /etc/mouse verschwindet. _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
 |
Neo_0815 l33t


Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Wed Aug 25, 2004 3:36 pm Post subject: |
|
|
Da du udev nimmst recht simple.
Änder in der /etc/udev/rules.d/50-udev.rules die folg. Zeile:
KERNEL="psaux", NAME="misc/%k", SYMLINK="%k"
in
KERNEL="psaux", NAME="misc/%k", SYMLINK="%k mouse" .
Und siehe da, /dev/mouse ist da
Oder du legst eine:
10-local.rules Datei an in der steht:
KERNEL="psaux", SYMLINK="mouse" .
das geht auch.
Dann ein "udevstart" und alles passt.
MfG _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
 |
pablo_supertux Advocate


Joined: 25 Jan 2004 Posts: 2958 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Wed Aug 25, 2004 4:12 pm Post subject: |
|
|
cool, danke
ich hatte KERNEL="psaux", NAME="misc/%k", SYMLINK="%k".
Ich werde es später versuchen.
Gibt es eine man Seite, wo ich mehr über diese Datei ( /etc/udev/rules.d/50-udev.rules) und Syntax erfahren kann? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
 |
Neo_0815 l33t


Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
|
Back to top |
|
 |
pablo_supertux Advocate


Joined: 25 Jan 2004 Posts: 2958 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Sun Aug 29, 2004 6:43 pm Post subject: |
|
|
Neo_0815 wrote: |
KERNEL="psaux", NAME="misc/%k", SYMLINK="%k mouse" .
|
so hat es leider nicht funktioniert, ich werde die andere Variante versuchen
PS: ich hab grad die andere Variante probiert und so funktioniert es, danke.
Aber wieso ging es mit der ersten nicht? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
 |
Neo_0815 l33t


Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Sun Aug 29, 2004 9:22 pm Post subject: |
|
|
Variante 1 muss gehen:
Code: | aus der manpage:
SYMLINK
The name of a symlink targeting the node. Multiple symlinks may
be specified by separating the names by the space character.
|
Bsp auf Manpage:
KERNEL="ttyUSB1", NAME="pda", SYMLINK="palmtop handheld"
Dort werden auch 2 Symlinks so angelegt ... sehr komisch.
MfG _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
 |
|