[Mandrake 10] /dev/input/event0 is er pas na inpluggen muis

Pagina: 1
Acties:

  • Hark
  • Registratie: Februari 2001
  • Laatst online: 08-07-2025
Ik heb Mandrake 10 geinstalleerd op mijn laptop. Het werkt over het algemeen zonder problemen, zelfs ACPI en mijn wireless kaart doen het nu. Hier wil ik ook een soort kleine handleiding over schrijven.

Ik heb echter veel problemen gehad met mijn Synaptics touchpad in combinatie met mijn USB muis. Nu werkt het bijna goed. Het enige probleem is nu nog dat ik /dev/input/event0 gebruik als handler voor het touchpad, maar event0 bestaat niet als ik mijn computer opstart zonder muis ingeplugd. Zodra ik mijn muis inplug wordt event0 aangemaakt en werkt mijn touchpad perfect, ook als ik mijn USB muis er weer uit haal (de muis zelf wordt event2).

Dit is /proc/bus/input/devices voordat ik mijn muis inplug:

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
H: Handlers=mouse0
B: EV=b
B: KEY=6420 0 670000 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7

En dit is hem als ik mijn USB muis heel even heb ingeplugd en weer losgekoppeld:

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
H: Handlers=mouse0 ts0 event0
B: EV=b
B: KEY=6420 0 670000 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event1
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7

De vraag is dus hoe ik kan zorgen dat event0 gewoon automatisch wordt aangemaakt, zonder dat ik mijn muis hoef in te pluggen. Voor de duidelijkheid, ik kan de mouse0 handler (die wel meteen bestaat) niet gebruiken. Als ik dat doe werkt het in principe wel, maar dan werkt het touchpad echt als muis, dus dingen als 'tapping' en scrollen werkt dan niet.

  • ajvdvegt
  • Registratie: Maart 2000
  • Laatst online: 04-12-2025
Ik gebruik /dev/misc/psaux voor m'n touchpad, en /dev/input/mice voor m'n USB-muis. Ik heb nu twee USB muizen aan m'n laptop die allebij werken, en een werkend touchpad. Muizen kan ik inpluggen wanneer ik wil en in welke poort ik maar wil.

I don't kill flies, but I like to mess with their minds. I hold them above globes. They freak out and yell "Whooa, I'm *way* too high." -- Bruce Baum


  • Hark
  • Registratie: Februari 2001
  • Laatst online: 08-07-2025
En welk protocol gebruik je dan? 'event' of 'PS/2' of wat anders? Misschien kan je voor de duidelijkheid ook even het relevante deel in je XFree86Config posten.

Ik kan het overigens helaas pas vanavond testen als ik weer thuis ben.

  • ajvdvegt
  • Registratie: Maart 2000
  • Laatst online: 04-12-2025
Ok, hier is /etc/X11/XF86Config-4 van m'n Debian bak (de config file kan anders heten in Mandrake):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Section "InputDevice"
        Identifier      "Mousepad"
        Driver          "synaptics"
        Option          "Device"                "/dev/misc/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "LeftEdge"              "1900"
        Option          "RightEdge"             "5400"
        Option          "TopEdge"               "1900"
        Option          "BottomEdge"            "4000"
        Option          "FingerLow"             "25"
        Option          "FingerHigh"            "30"
        Option          "MaxTapTime"            "180"
        Option          "MaxTapMove"            "220"
        Option          "VertScrollDelta"       "100"
        Option          "MinSpeed"              "0.02"
        Option          "MaxSpeed"              "0.18"
        Option          "AccelFactor"           "0.0010"
        Option          "SHMConfig"             "on"
#       Option          "Repeater"              "/dev/ps2mouse"
EndSection
                                                                                
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

I don't kill flies, but I like to mess with their minds. I hold them above globes. They freak out and yell "Whooa, I'm *way* too high." -- Bruce Baum


  • Hark
  • Registratie: Februari 2001
  • Laatst online: 08-07-2025
Helaas, het werkt ook niet als ik /dev/misc/psaux gebruik. XFree wil ook dan niet opstarten tot ik een muis (heel even) heb ingeplugd. Hetzelfde probleem dus als wanneer ik /dev/input/event0 gebruik.