[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-30 Thread Arnaud Jeansen
The input.x11_driver value is set by a fdi file, based on reported
capabilities.

On the laptop, the capabilites for the mouse are :
info.capabilities = {'input', 'input.keys', 'input.mouse', 'button', 
'access_control'} (string list)

Whereas on the PS3, the capabilities are :
info.capabilities = {'input', 'input.keypad', 'input.keys', 'input.mouse', 
'input.touchpad', 'button', 'access_control'} (string list)

There is an extra input.keypad and another extra input.touchpad. The
second by responsible for the assignment to the synaptics driver.

Now what sets info.capabilities ??

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-30 Thread Arnaud Jeansen
From the code in hal (lhald/linux/device.c), a device is set to input.touchpad 
based on its abs bitmask and its key bitmask.
If abs has bits ABS_X (0x00) and ABS_Y (0x01) and abs has bit ABS_PRESSURE 
(0x18)
OR
If abs has bits ABS_X (0x00) and ABS_Y (0x01) and key has bit BTN_TOUCH 
(0x14a)

Based on the content of /proc/bus/input/devices on both machines, the
mouse on the laptop has:

B: EV=1f
B: KEY=837fff 42c332f bf08 0 0 ff0001 1f84 8a37cc00 667bfa dd71dfed 9e 
0 0 0
B: REL=1c3
B: ABS=1 0
B: MSC=10

Whereas the mouse on the PS3 has :
B: EV=1f
B: KEY=837fff042c332f bf08 ff0001 1f848a37cc00 667bfadd71dfed 
9e 0
B: REL=1c3
B: ABS=1
B: MSC=10

At many points in these lines, there is an additional 7 '0' instead of a
space character. This probably breaks the detection code...

If anyone well informed in hal and linux can have a look, I don't even
know where this bug belongs now...

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-29 Thread Arnaud Jeansen

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/24486429/Dependencies.txt

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-29 Thread Arnaud Jeansen
And the laptop xorg log

** Attachment added: Xorg.0.log on laptop, jaunty
   http://launchpadlibrarian.net/24486472/DELL-jaunty-Xorg.0.log

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-29 Thread Arnaud Jeansen
Adding the PS3 xorg log

** Attachment added: Xorg.0.log on PS3, jaunty
   http://launchpadlibrarian.net/24486459/PS3-jaunty-Xorg.0.log

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-29 Thread Arnaud Jeansen
Adding lshal.log

** Attachment added: output of lshal
   http://launchpadlibrarian.net/24487900/lshal.log

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351059] Re: Mouse wheel of Logitech LX710 doesn't work on powerpc

2009-03-29 Thread Arnaud Jeansen
On the PS3, manually changing the x11 driver from synaptics to evdev
makes the mouse wheel work in X.

I ran the following line, then restarted gdm and logged in again
hal-set-property --udi 
/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1_logicaldev_input
 \
--key input.x11_driver --string evdev

-- 
Mouse wheel of Logitech LX710 doesn't work on powerpc
https://bugs.launchpad.net/bugs/351059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs