[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xorg pointer (mouse)



Hello,
I had the same issue. I solved it with the follwing lines in my xorg:

Section "ServerFlags"
Option "AllowEmptyInput" "false"
EndSection

Section "InputDevice"
Identifier               "Default mouse"
Driver                   "mouse"
Option "Device"          "/dev/ums0"
Option "Protocol"        "auto"
Option "SendCoreEvents"  "true"
EndSection

It seems to be a bug in hal.

Guillermo


2010/1/30 Alan BRASLAU <alan.braslau@cea.fr>:
> Hello,
>
> I newly installed kfreebsd-i386, fairly successfully,
> using the mini.iso debian installer. However, I have not
> been able to get the X11 core pointer (usb mouse) to work:
> 1. neither "by default" using hal
> 2. nor using a very minimal xorg.conf
>
> I have seen some discussion in bug reports,
> but the little information that I have found on the web seems outdated.
> So I suspect that my problem is not so general
> and I am just missing something rather simple.
>
> Please advise.
>
> Alan
>
>
>
> dmesg:
>
> ums0: <vendor 0x045e product 0x00b9, class 0/0, rev 2.00/0.17, addr 2> on
> usbus0
> ums0: 5 buttons and [XYZ] coordinates ID=17
>
> lshal: does not show anything mouse-related
>
> (non-hal variant of /etc/X11/xorg.conf):
>
> Section "Device"
>  Identifier      "Default mga Device 0"
>  Driver  "mga"
> EndSection
>
> Section "Screen"
>  Identifier      "Default mga Screen 0"
>  Device          "Default mga Device 0"
> EndSection
>
> Section "InputDevice"
>  Identifier               "Default mouse"
>  Driver                   "mouse"
>  Option "Device"          "/dev/sysmouse" # See below... "/dev/ums0"
>  Option "Protocol"        "auto"
>  Option "SendCoreEvents"  "true"
> EndSection
>
> Section "ServerLayout"
>  Identifier               "Default Server"
>  Screen                   "Default mga Screen 0"
>  InputDevice              "Default mouse"
>  Option "AllowEmptyInput" "off"
>  Option "AutoAddDevices"  "off"
> EndSection
>
> Yields: /var/log/Xorg.0.log
>
> (**) Option "Protocol" "auto"
> (**) Default mouse: Device: "/dev/sysmouse"
> (**) Default mouse: Protocol: "auto"
> (**) Option "SendCoreEvents" "true"
> (**) Default mouse: always reports core events
> (**) Option "Device" "/dev/sysmouse"
> (==) Default mouse: Emulate3Buttons, Emulate3Timeout: 50
> (**) Default mouse: ZAxisMapping: buttons 4 and 5
> (**) Default mouse: Buttons: 9
> (**) Default mouse: Sensitivity: 1
> (II) XINPUT: Adding extended input device "Default mouse" (type: MOUSE)
> (**) Default mouse: (accel) keeping acceleration scheme 1
> (**) Default mouse: (accel) acceleration profile 0
> (II) Default mouse: SetupAuto: hw.iftype is 4, hw.model is 0
> (II) Default mouse: SetupAuto: protocol is SysMouse
> (**) Default mouse: Device: "/dev/sysmouse"
> (**) Default mouse: Protocol: "auto"
> (**) Option "SendCoreEvents" "true"
> (**) Option "CorePointer"
> (**) Default mouse: always reports core events
> (**) Option "Device" "/dev/sysmouse"
> (==) Default mouse: Emulate3Buttons, Emulate3Timeout: 50
> (**) Default mouse: ZAxisMapping: buttons 4 and 5
> (**) Default mouse: Buttons: 9
> (**) Default mouse: Sensitivity: 1
> (II) XINPUT: Adding extended input device "Default mouse" (type: MOUSE)
> (**) Default mouse: (accel) keeping acceleration scheme 1
> (**) Default mouse: (accel) acceleration profile 0
> (II) Default mouse: SetupAuto: hw.iftype is 4, hw.model is 0
> (II) Default mouse: SetupAuto: protocol is SysMouse
>
>
> Replacing /dev/sysmouse with /dev/ums0 yields:
>
> (**) Option "Device" "/dev/ums0"
> (EE) xf86OpenSerial: Cannot open device /dev/ums0
>        Device or resource busy.
> (EE) Default mouse: cannot open input device
> (EE) PreInit failed for input device "Default mouse"
> (II) UnloadModule: "mouse"
>
>
> --
> To UNSUBSCRIBE, email to debian-bsd-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: