Subject: Re: Trouble with wscons/XFree
To: None <kehoea@parhasard.net>
From: None <wulf@ping.net.au>
List: port-i386
Date: 08/07/2003 20:52:20
I'm using a Logitech Optical wheel mouse with the following XF86Config
entries:

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "wsmouse"
    Option "Device"      "/dev/wsmouse"
    Option "ZAxisMapping" "4 5"

[...]

cheerio Berndt

> 
> 
>  Ar an 7ú lá de mí 8, scríobh Benjamin Walkenhorst :
> 
>  > 1) I don't get the mouse to run. My XF86Config wants to use /dev/wsmouse,
>  > but this is apparently not configured; when I start XFree, and I move the
>  > mouse, it exits immediately, complaining about the mouse it can't
>  > find. How do I configure the mouse for wscons? Can I get the mouse wheel
>  > to work?
> 
> I use /dev/wsmouse0 in my XF86Config without any problems; /dev/wsmouse*
> looks like this;
> 
> crw-------  1 root  wheel  65, 0 Jun  9 00:28 /dev/wsmouse
> crw-------  1 root  wheel  49, 0 Jun  9 00:28 /dev/wsmouse0
> crw-------  1 root  wheel  49, 1 Jun  9 00:28 /dev/wsmouse1
> crw-------  1 root  wheel  49, 2 Jun  9 00:28 /dev/wsmouse2
> crw-------  1 root  wheel  49, 3 Jun  9 00:28 /dev/wsmouse3
> 
> 
>  > 2) After XFree exits, the wscons-screens are so *dark*, I cannot read
>  > them any more. Turning up monitor brightness to 100% makes it just
>  > readable, a restart also helps, but I am almost sure this is not the way
>  > it's supposed to work.
> 
> You'll need to patch some source to solve this issue, something along the
> lines of what is done at 
> 
> http://f15.aaacafe.ne.jp/~xiangyan/txt/smi_driver.c.diff.4.2.1.txt
> 
> would do it. Basically, it's a matter of finding the driver which is used
> for your card, and changing any references to VGA_SR_MODE to VGA_SR_ALL
> in that file. 
> 
> -- 
> "These are the prettiest looking witnesses we have had in a long time. I
> imagine you are all married. If not, you could be if you wanted to be."
>