Re: Thinkpad A285 mouse issues

2019-05-10 Thread Carlos Cardenas
On Fri, May 10, 2019 at 03:30:41PM +0100, Oriol Demaria wrote:
> Actually both things fix the issue. Seems to be better just changing the
> timecounter, rather than running on just one core. I noticed by the way that
> when I run sysupgrade, or upgrade as before the SP kernel is the one
> installed. And I have to change manually and reboot. Also I noticed that
> when I run dmesg both kernels output data. Can't recall if this was the
> usual behavior.
> 
> So, are there any advise against running with acpihpet0 timecounter instead
> of tsc? I'm attaching my dmesg.

On AMD hardware, it's best to use acpihpet0 as your timecounter.

+--+
Carlos

> 
> timecounters:
> 
> sysctl kern.timecounter
> kern.timecounter.tick=1
> kern.timecounter.timestepwarnings=0
> kern.timecounter.hardware=acpihpet0
> kern.timecounter.choice=i8254(0) tsc(2000) acpihpet0(1000) acpitimer0(1000)
> dummy(-100)
> 
> Regards,
> 
> ---
> Oriol Demaria
> 2FFED630C16E4FF8
> 
> On 10/05/2019 01:15, Jonathan Gray wrote:
> > On Thu, May 09, 2019 at 04:17:40PM +0100, Oriol Demaria wrote:
> > > I have this laptop and I'm having issues with this laptop. Wireless
> > > has to
> > > be replaced and basically have to wait till the graphics card is
> > > properly
> > > supported, right now is running X with the UEFI framebuffer. So this
> > > issues
> > > are expected.
> > > 
> > > But I'm having a very annoying bug on X. The mouse stops working,
> > > specially
> > > Firefox seems to be a problem, but other apps too (perhaps I notice
> > > more
> > > here as others I mainly use the keyboard). When I run xprop to try
> > > to figure
> > > out something I get the error "Can't grab the mouse" and won't run.
> > > Seems
> > > that some event holds the mouse, and prevents you from "clicking".
> > > 
> > > Changed the touchpad to synaptics to see if it makes difference,
> > > seems to
> > > improve a bit, but still the problem comes back. The other mouse
> > > devices are
> > > using ws driver. Has someone got a workaround for this? Similar
> > > experience?
> > 
> > Try a non-mp kernel or sysctl kern.timecounter.hardware=acpihpet0



Re: Thinkpad A285 mouse issues

2019-05-10 Thread Jonathan Gray
On systems with tsc desychronised between cores acpihpet is preferable.
There is no code to detect this and automatically select acpihpet or try
to sychronise tsc between cores currently.

This often comes up on AMD based systems but not Intel ones.

On Fri, May 10, 2019 at 03:30:41PM +0100, Oriol Demaria wrote:
> Actually both things fix the issue. Seems to be better just changing the
> timecounter, rather than running on just one core. I noticed by the way that
> when I run sysupgrade, or upgrade as before the SP kernel is the one
> installed. And I have to change manually and reboot. Also I noticed that
> when I run dmesg both kernels output data. Can't recall if this was the
> usual behavior.
> 
> So, are there any advise against running with acpihpet0 timecounter instead
> of tsc? I'm attaching my dmesg.
> 
> timecounters:
> 
> sysctl kern.timecounter
> kern.timecounter.tick=1
> kern.timecounter.timestepwarnings=0
> kern.timecounter.hardware=acpihpet0
> kern.timecounter.choice=i8254(0) tsc(2000) acpihpet0(1000) acpitimer0(1000)
> dummy(-100)
> 
> Regards,
> 
> ---
> Oriol Demaria
> 2FFED630C16E4FF8
> 
> On 10/05/2019 01:15, Jonathan Gray wrote:
> > On Thu, May 09, 2019 at 04:17:40PM +0100, Oriol Demaria wrote:
> > > I have this laptop and I'm having issues with this laptop. Wireless
> > > has to
> > > be replaced and basically have to wait till the graphics card is
> > > properly
> > > supported, right now is running X with the UEFI framebuffer. So this
> > > issues
> > > are expected.
> > > 
> > > But I'm having a very annoying bug on X. The mouse stops working,
> > > specially
> > > Firefox seems to be a problem, but other apps too (perhaps I notice
> > > more
> > > here as others I mainly use the keyboard). When I run xprop to try
> > > to figure
> > > out something I get the error "Can't grab the mouse" and won't run.
> > > Seems
> > > that some event holds the mouse, and prevents you from "clicking".
> > > 
> > > Changed the touchpad to synaptics to see if it makes difference,
> > > seems to
> > > improve a bit, but still the problem comes back. The other mouse
> > > devices are
> > > using ws driver. Has someone got a workaround for this? Similar
> > > experience?
> > 
> > Try a non-mp kernel or sysctl kern.timecounter.hardware=acpihpet0
> > 
> > > 
> > > Thanks in advance.
> > > 
> > > Relevant part of the xorg log file:
> > > 
> > > [ 18193.428] (II) XINPUT: Adding extended input device "/dev/wskbd"
> > > (type:
> > > KEYBOARD, id 6)
> > > [ 18193.925] (II) config/wscons: checking input device /dev/wsmouse0
> > > [ 18193.925] (**) /dev/wsmouse0: Applying InputClass "wsmouse
> > > touchpad"
> > > [ 18193.925] (II) LoadModule: "synaptics"
> > > [ 18193.927] (II) Loading
> > > /usr/X11R6/lib/modules/input/synaptics_drv.so
> > > [ 18193.929] (II) Module synaptics: vendor="X.Org Foundation"
> > > [ 18193.929]compiled for 1.19.7, module version = 1.9.1
> > > [ 18193.929]Module class: X.Org XInput Driver
> > > [ 18193.929]ABI class: X.Org XInput driver, version 24.1
> > > [ 18193.929] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
> > > [ 18193.929] (**) /dev/wsmouse0: always reports core events
> > > [ 18193.929] (**) Option "Device" "/dev/wsmouse0"
> > > [ 18194.831] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676
> > > resolution 45
> > > [ 18194.831] (--) synaptics: /dev/wsmouse0: y-axis range 1094 - 4760
> > > resolution 69
> > > [ 18194.832] (**) /dev/wsmouse0: always reports core events
> > > [ 18194.835] (II) XINPUT: Adding extended input device "/dev/wsmouse0"
> > > (type: TOUCHPAD, id 7)
> > > [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now
> > > constant
> > > deceleration 2.5
> > > [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now
> > > 1.75
> > > [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is
> > > now 0.035
> > > [ 18194.836] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
> > > [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration profile 1
> > > [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
> > > [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
> > > [ 18195.340] (II) config/wscons: checking input device /dev/wsmouse
> > > [ 18195.340] (II) LoadModule: "ws"
> > > [ 18195.341] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> > > [ 18195.342] (II) Module ws: vendor="X.Org Foundation"
> > > [ 18195.342]compiled for 1.19.7, module version = 1.3.0
> > > [ 18195.342]Module class: X.Org XInput Driver
> > > [ 18195.342]ABI class: X.Org XInput driver, version 24.1
> > > [ 18195.343] (II) Using input driver 'ws' for '/dev/wsmouse'
> > > [ 18195.343] (**) /dev/wsmouse: always reports core events
> > > [ 18195.343] (II) ws: /dev/wsmouse: debuglevel 0
> > > [ 18195.343] (**) Option "Device" "/dev/wsmouse"
> > > [ 18195.343] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> > > [ 18195.343] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 

Re: Thinkpad A285 mouse issues

2019-05-10 Thread Oriol Demaria
Actually both things fix the issue. Seems to be better just changing the 
timecounter, rather than running on just one core. I noticed by the way 
that when I run sysupgrade, or upgrade as before the SP kernel is the 
one installed. And I have to change manually and reboot. Also I noticed 
that when I run dmesg both kernels output data. Can't recall if this was 
the usual behavior.


So, are there any advise against running with acpihpet0 timecounter 
instead of tsc? I'm attaching my dmesg.


timecounters:

sysctl kern.timecounter
kern.timecounter.tick=1
kern.timecounter.timestepwarnings=0
kern.timecounter.hardware=acpihpet0
kern.timecounter.choice=i8254(0) tsc(2000) acpihpet0(1000) 
acpitimer0(1000) dummy(-100)


Regards,

---
Oriol Demaria
2FFED630C16E4FF8

On 10/05/2019 01:15, Jonathan Gray wrote:

On Thu, May 09, 2019 at 04:17:40PM +0100, Oriol Demaria wrote:
I have this laptop and I'm having issues with this laptop. Wireless 
has to
be replaced and basically have to wait till the graphics card is 
properly
supported, right now is running X with the UEFI framebuffer. So this 
issues

are expected.

But I'm having a very annoying bug on X. The mouse stops working, 
specially
Firefox seems to be a problem, but other apps too (perhaps I notice 
more
here as others I mainly use the keyboard). When I run xprop to try to 
figure
out something I get the error "Can't grab the mouse" and won't run. 
Seems

that some event holds the mouse, and prevents you from "clicking".

Changed the touchpad to synaptics to see if it makes difference, seems 
to
improve a bit, but still the problem comes back. The other mouse 
devices are
using ws driver. Has someone got a workaround for this? Similar 
experience?


Try a non-mp kernel or sysctl kern.timecounter.hardware=acpihpet0



Thanks in advance.

Relevant part of the xorg log file:

[ 18193.428] (II) XINPUT: Adding extended input device "/dev/wskbd" 
(type:

KEYBOARD, id 6)
[ 18193.925] (II) config/wscons: checking input device /dev/wsmouse0
[ 18193.925] (**) /dev/wsmouse0: Applying InputClass "wsmouse 
touchpad"

[ 18193.925] (II) LoadModule: "synaptics"
[ 18193.927] (II) Loading 
/usr/X11R6/lib/modules/input/synaptics_drv.so

[ 18193.929] (II) Module synaptics: vendor="X.Org Foundation"
[ 18193.929]compiled for 1.19.7, module version = 1.9.1
[ 18193.929]Module class: X.Org XInput Driver
[ 18193.929]ABI class: X.Org XInput driver, version 24.1
[ 18193.929] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
[ 18193.929] (**) /dev/wsmouse0: always reports core events
[ 18193.929] (**) Option "Device" "/dev/wsmouse0"
[ 18194.831] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676
resolution 45
[ 18194.831] (--) synaptics: /dev/wsmouse0: y-axis range 1094 - 4760
resolution 69
[ 18194.832] (**) /dev/wsmouse0: always reports core events
[ 18194.835] (II) XINPUT: Adding extended input device "/dev/wsmouse0"
(type: TOUCHPAD, id 7)
[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now 
constant

deceleration 2.5
[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 
1.75
[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 
0.035

[ 18194.836] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration profile 1
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[ 18195.340] (II) config/wscons: checking input device /dev/wsmouse
[ 18195.340] (II) LoadModule: "ws"
[ 18195.341] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[ 18195.342] (II) Module ws: vendor="X.Org Foundation"
[ 18195.342]compiled for 1.19.7, module version = 1.3.0
[ 18195.342]Module class: X.Org XInput Driver
[ 18195.342]ABI class: X.Org XInput driver, version 24.1
[ 18195.343] (II) Using input driver 'ws' for '/dev/wsmouse'
[ 18195.343] (**) /dev/wsmouse: always reports core events
[ 18195.343] (II) ws: /dev/wsmouse: debuglevel 0
[ 18195.343] (**) Option "Device" "/dev/wsmouse"
[ 18195.343] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[ 18195.343] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[ 18195.343] (**) ws: /dev/wsmouse: associated screen: 0
[ 18195.372] (II) ws: /dev/wsmouse: minimum x position: 0
[ 18195.372] (II) ws: /dev/wsmouse: maximum x position: 1919
[ 18195.372] (II) ws: /dev/wsmouse: minimum y position: 0
[ 18195.372] (II) ws: /dev/wsmouse: maximum y position: 1079
[ 18195.372] (==) ws: /dev/wsmouse: Buttons: 7
[ 18195.404] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[ 18195.404] (II) XINPUT: Adding extended input device "/dev/wsmouse" 
(type:

MOUSE, id 8)
[ 18195.436] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration profile 0
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration threshold: 4

wsconsctl | grep mouse

Re: Thinkpad A285 mouse issues

2019-05-09 Thread Jonathan Gray
On Thu, May 09, 2019 at 04:17:40PM +0100, Oriol Demaria wrote:
> I have this laptop and I'm having issues with this laptop. Wireless has to
> be replaced and basically have to wait till the graphics card is properly
> supported, right now is running X with the UEFI framebuffer. So this issues
> are expected.
> 
> But I'm having a very annoying bug on X. The mouse stops working, specially
> Firefox seems to be a problem, but other apps too (perhaps I notice more
> here as others I mainly use the keyboard). When I run xprop to try to figure
> out something I get the error "Can't grab the mouse" and won't run. Seems
> that some event holds the mouse, and prevents you from "clicking".
> 
> Changed the touchpad to synaptics to see if it makes difference, seems to
> improve a bit, but still the problem comes back. The other mouse devices are
> using ws driver. Has someone got a workaround for this? Similar experience?

Try a non-mp kernel or sysctl kern.timecounter.hardware=acpihpet0

> 
> Thanks in advance.
> 
> Relevant part of the xorg log file:
> 
> [ 18193.428] (II) XINPUT: Adding extended input device "/dev/wskbd" (type:
> KEYBOARD, id 6)
> [ 18193.925] (II) config/wscons: checking input device /dev/wsmouse0
> [ 18193.925] (**) /dev/wsmouse0: Applying InputClass "wsmouse touchpad"
> [ 18193.925] (II) LoadModule: "synaptics"
> [ 18193.927] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
> [ 18193.929] (II) Module synaptics: vendor="X.Org Foundation"
> [ 18193.929]compiled for 1.19.7, module version = 1.9.1
> [ 18193.929]Module class: X.Org XInput Driver
> [ 18193.929]ABI class: X.Org XInput driver, version 24.1
> [ 18193.929] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
> [ 18193.929] (**) /dev/wsmouse0: always reports core events
> [ 18193.929] (**) Option "Device" "/dev/wsmouse0"
> [ 18194.831] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676
> resolution 45
> [ 18194.831] (--) synaptics: /dev/wsmouse0: y-axis range 1094 - 4760
> resolution 69
> [ 18194.832] (**) /dev/wsmouse0: always reports core events
> [ 18194.835] (II) XINPUT: Adding extended input device "/dev/wsmouse0"
> (type: TOUCHPAD, id 7)
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant
> deceleration 2.5
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.75
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 0.035
> [ 18194.836] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration profile 1
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
> [ 18195.340] (II) config/wscons: checking input device /dev/wsmouse
> [ 18195.340] (II) LoadModule: "ws"
> [ 18195.341] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> [ 18195.342] (II) Module ws: vendor="X.Org Foundation"
> [ 18195.342]compiled for 1.19.7, module version = 1.3.0
> [ 18195.342]Module class: X.Org XInput Driver
> [ 18195.342]ABI class: X.Org XInput driver, version 24.1
> [ 18195.343] (II) Using input driver 'ws' for '/dev/wsmouse'
> [ 18195.343] (**) /dev/wsmouse: always reports core events
> [ 18195.343] (II) ws: /dev/wsmouse: debuglevel 0
> [ 18195.343] (**) Option "Device" "/dev/wsmouse"
> [ 18195.343] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> [ 18195.343] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
> [ 18195.343] (**) ws: /dev/wsmouse: associated screen: 0
> [ 18195.372] (II) ws: /dev/wsmouse: minimum x position: 0
> [ 18195.372] (II) ws: /dev/wsmouse: maximum x position: 1919
> [ 18195.372] (II) ws: /dev/wsmouse: minimum y position: 0
> [ 18195.372] (II) ws: /dev/wsmouse: maximum y position: 1079
> [ 18195.372] (==) ws: /dev/wsmouse: Buttons: 7
> [ 18195.404] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
> [ 18195.404] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type:
> MOUSE, id 8)
> [ 18195.436] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration profile 0
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration threshold: 4
> 
> wsconsctl | grep mouse
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1266,5676,1094,4760,0,45,69
> mouse.tp.tapping=0
> mouse.tp.scaling=0.160
> mouse.tp.swapsides=0
> mouse.tp.disable=0
> mouse.tp.edges=0.0,5.0,10.0,5.0
> mouse1.type=ps2
> mouse2.type=usb
> 
> 
> -- 
> Oriol Demaria
> 2FFED630C16E4FF8
> 



Re: Thinkpad A285 mouse issues

2019-05-09 Thread Ulf Brosziewski
Could you please post a dmesg and your xorg.conf, and be a bit more
specific about your observations?  Does the problem only affect the
touchpad, or all wsmouse devices?  Does it occur regularly, always,
sometimes?  Does the mouse pointer just freeze, or is there random
movement, or sluggish movement? In which way is it application-dependent?

On 5/9/19 5:17 PM, Oriol Demaria wrote:
> I have this laptop and I'm having issues with this laptop. Wireless has to be 
> replaced and basically have to wait till the graphics card is properly 
> supported, right now is running X with the UEFI framebuffer. So this issues 
> are expected.
> 
> But I'm having a very annoying bug on X. The mouse stops working, specially 
> Firefox seems to be a problem, but other apps too (perhaps I notice more here 
> as others I mainly use the keyboard). When I run xprop to try to figure out 
> something I get the error "Can't grab the mouse" and won't run. Seems
> that some event holds the mouse, and prevents you from "clicking".
> 
> Changed the touchpad to synaptics to see if it makes difference, seems to 
> improve a bit, but still the problem comes back. The other mouse devices are 
> using ws driver. Has someone got a workaround for this? Similar experience?
> 
> Thanks in advance.
> 
> Relevant part of the xorg log file:
> 
> [ 18193.428] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: 
> KEYBOARD, id 6)
> [ 18193.925] (II) config/wscons: checking input device /dev/wsmouse0
> [ 18193.925] (**) /dev/wsmouse0: Applying InputClass "wsmouse touchpad"
> [ 18193.925] (II) LoadModule: "synaptics"
> [ 18193.927] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
> [ 18193.929] (II) Module synaptics: vendor="X.Org Foundation"
> [ 18193.929]    compiled for 1.19.7, module version = 1.9.1
> [ 18193.929]    Module class: X.Org XInput Driver
> [ 18193.929]    ABI class: X.Org XInput driver, version 24.1
> [ 18193.929] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
> [ 18193.929] (**) /dev/wsmouse0: always reports core events
> [ 18193.929] (**) Option "Device" "/dev/wsmouse0"
> [ 18194.831] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676 
> resolution 45
> [ 18194.831] (--) synaptics: /dev/wsmouse0: y-axis range 1094 - 4760 
> resolution 69
> [ 18194.832] (**) /dev/wsmouse0: always reports core events
> [ 18194.835] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: 
> TOUCHPAD, id 7)
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant 
> deceleration 2.5
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.75
> [ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 0.035
> [ 18194.836] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration profile 1
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
> [ 18194.836] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
> [ 18195.340] (II) config/wscons: checking input device /dev/wsmouse
> [ 18195.340] (II) LoadModule: "ws"
> [ 18195.341] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> [ 18195.342] (II) Module ws: vendor="X.Org Foundation"
> [ 18195.342]    compiled for 1.19.7, module version = 1.3.0
> [ 18195.342]    Module class: X.Org XInput Driver
> [ 18195.342]    ABI class: X.Org XInput driver, version 24.1
> [ 18195.343] (II) Using input driver 'ws' for '/dev/wsmouse'
> [ 18195.343] (**) /dev/wsmouse: always reports core events
> [ 18195.343] (II) ws: /dev/wsmouse: debuglevel 0
> [ 18195.343] (**) Option "Device" "/dev/wsmouse"
> [ 18195.343] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> [ 18195.343] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
> [ 18195.343] (**) ws: /dev/wsmouse: associated screen: 0
> [ 18195.372] (II) ws: /dev/wsmouse: minimum x position: 0
> [ 18195.372] (II) ws: /dev/wsmouse: maximum x position: 1919
> [ 18195.372] (II) ws: /dev/wsmouse: minimum y position: 0
> [ 18195.372] (II) ws: /dev/wsmouse: maximum y position: 1079
> [ 18195.372] (==) ws: /dev/wsmouse: Buttons: 7
> [ 18195.404] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
> [ 18195.404] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: 
> MOUSE, id 8)
> [ 18195.436] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration profile 0
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
> [ 18195.436] (**) /dev/wsmouse: (accel) acceleration threshold: 4
> 
> wsconsctl | grep mouse
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1266,5676,1094,4760,0,45,69
> mouse.tp.tapping=0
> mouse.tp.scaling=0.160
> mouse.tp.swapsides=0
> mouse.tp.disable=0
> mouse.tp.edges=0.0,5.0,10.0,5.0
> mouse1.type=ps2
> mouse2.type=usb
> 
> 



Thinkpad A285 mouse issues

2019-05-09 Thread Oriol Demaria
I have this laptop and I'm having issues with this laptop. Wireless has 
to be replaced and basically have to wait till the graphics card is 
properly supported, right now is running X with the UEFI framebuffer. So 
this issues are expected.


But I'm having a very annoying bug on X. The mouse stops working, 
specially Firefox seems to be a problem, but other apps too (perhaps I 
notice more here as others I mainly use the keyboard). When I run xprop 
to try to figure out something I get the error "Can't grab the mouse" 
and won't run. Seems that some event holds the mouse, and prevents you 
from "clicking".


Changed the touchpad to synaptics to see if it makes difference, seems 
to improve a bit, but still the problem comes back. The other mouse 
devices are using ws driver. Has someone got a workaround for this? 
Similar experience?


Thanks in advance.

Relevant part of the xorg log file:

[ 18193.428] (II) XINPUT: Adding extended input device "/dev/wskbd" 
(type: KEYBOARD, id 6)

[ 18193.925] (II) config/wscons: checking input device /dev/wsmouse0
[ 18193.925] (**) /dev/wsmouse0: Applying InputClass "wsmouse touchpad"
[ 18193.925] (II) LoadModule: "synaptics"
[ 18193.927] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
[ 18193.929] (II) Module synaptics: vendor="X.Org Foundation"
[ 18193.929]compiled for 1.19.7, module version = 1.9.1
[ 18193.929]Module class: X.Org XInput Driver
[ 18193.929]ABI class: X.Org XInput driver, version 24.1
[ 18193.929] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
[ 18193.929] (**) /dev/wsmouse0: always reports core events
[ 18193.929] (**) Option "Device" "/dev/wsmouse0"
[ 18194.831] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676 
resolution 45
[ 18194.831] (--) synaptics: /dev/wsmouse0: y-axis range 1094 - 4760 
resolution 69

[ 18194.832] (**) /dev/wsmouse0: always reports core events
[ 18194.835] (II) XINPUT: Adding extended input device "/dev/wsmouse0" 
(type: TOUCHPAD, id 7)
[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now 
constant deceleration 2.5

[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.75
[ 18194.835] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 
0.035

[ 18194.836] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration profile 1
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[ 18194.836] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[ 18195.340] (II) config/wscons: checking input device /dev/wsmouse
[ 18195.340] (II) LoadModule: "ws"
[ 18195.341] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[ 18195.342] (II) Module ws: vendor="X.Org Foundation"
[ 18195.342]compiled for 1.19.7, module version = 1.3.0
[ 18195.342]Module class: X.Org XInput Driver
[ 18195.342]ABI class: X.Org XInput driver, version 24.1
[ 18195.343] (II) Using input driver 'ws' for '/dev/wsmouse'
[ 18195.343] (**) /dev/wsmouse: always reports core events
[ 18195.343] (II) ws: /dev/wsmouse: debuglevel 0
[ 18195.343] (**) Option "Device" "/dev/wsmouse"
[ 18195.343] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[ 18195.343] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[ 18195.343] (**) ws: /dev/wsmouse: associated screen: 0
[ 18195.372] (II) ws: /dev/wsmouse: minimum x position: 0
[ 18195.372] (II) ws: /dev/wsmouse: maximum x position: 1919
[ 18195.372] (II) ws: /dev/wsmouse: minimum y position: 0
[ 18195.372] (II) ws: /dev/wsmouse: maximum y position: 1079
[ 18195.372] (==) ws: /dev/wsmouse: Buttons: 7
[ 18195.404] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[ 18195.404] (II) XINPUT: Adding extended input device "/dev/wsmouse" 
(type: MOUSE, id 8)

[ 18195.436] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration profile 0
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[ 18195.436] (**) /dev/wsmouse: (accel) acceleration threshold: 4

wsconsctl | grep mouse
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1266,5676,1094,4760,0,45,69
mouse.tp.tapping=0
mouse.tp.scaling=0.160
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse.tp.edges=0.0,5.0,10.0,5.0
mouse1.type=ps2
mouse2.type=usb


--
Oriol Demaria
2FFED630C16E4FF8