OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Usb Mouse?
0xDEADBEEF
post Jul 18 2006, 01:04 PM
Post #1





Group: Members
Posts: 52
Joined: 4-December 05
Member No.: 8,660



It works in kernel. Works with GPM. Doesnt work in X server. From my kdrive code analysis it looks that if the touchscreen #ifdef is enabled the touchscreen code completely obscures underlying mouse driver.

Does anyone know if it was fixed in newer kdrive? Mouse works just fine in pdaXrom X server. What X server do they use?
Go to the top of the page
 
+Quote Post
CoreDump
post Jul 18 2006, 01:19 PM
Post #2





Group: Members
Posts: 715
Joined: 25-July 04
From: .de
Member No.: 4,094



QUOTE(0xDEADBEEF @ Jul 18 2006, 11:04 PM)
It works in kernel. Works with GPM. Doesnt work in X server. From my kdrive code analysis it looks that if the touchscreen #ifdef is enabled the touchscreen code completely obscures underlying mouse driver.

Does anyone know if it was fixed in newer kdrive? Mouse works just fine in pdaXrom X server. What X server do they use?
*


For starters it would help to know which machine you are using.

USB mice work just fine w/ SL-Cxx00, dunno about our other USB Host models, tho.
There are quite a few config changes required to make a USB mouse work out of the box.

Since you had a go at the code, I can tell you this:
Yes, kdrive is bugged in regards to input devices. In a perfect world it should work just fine with multiple input devices at once and transparently so.

However, currently only either the touchscreen or the USB mouse will be useable.

The input device has to be configured on kdrive launch (check /etc/X11/Xserver for all options supplied). Usually it is hard-wired to the touchscreen but that can be changed.

SL-Cxx00 has udev, xserver-common and tslib (and one or two more ) changes applied which allow a user to plug in his USB mouse, restart X and use the mouse w/o touching a single config.

Hint: If you do not set any input device on kdrive launch, /dev/psaux will be used which enables your USB mouse. And no, setting the input device to "/dev/psaux" will not work....
Go to the top of the page
 
+Quote Post
0xDEADBEEF
post Jul 18 2006, 02:04 PM
Post #3





Group: Members
Posts: 52
Joined: 4-December 05
Member No.: 8,660



QUOTE(CoreDump @ Jul 18 2006, 02:19 PM)
For starters it would help to know which machine you are using.

USB mice work just fine w/ SL-Cxx00, dunno about our other USB Host models, tho.
There are quite a few config changes required to make a USB mouse work out of the box.

Since you had a go at the code, I can tell you this:
Yes, kdrive is bugged in regards to input devices. In a perfect world it should work just fine with multiple input devices at once and transparently so.

However, currently only either the touchscreen or the USB mouse will be useable.

The input device has to be configured on kdrive launch (check /etc/X11/Xserver for all options supplied). Usually it is hard-wired to the touchscreen but that can be changed.

SL-Cxx00 has udev, xserver-common and tslib (and one or two more ) changes applied which allow a user to plug in his USB mouse, restart X and use the mouse w/o touching a single config.

Hint: If you do not set any input device on kdrive launch, /dev/psaux will be used which enables your USB mouse. And no, setting the input device to "/dev/psaux" will not work....


Thanks

C3100

Thanks, I nuked the X server with ctrl-alt-backspace with mouse connected and it works. I thought that login screen restarts the x server but apparently it doesnt.

The mouse works and the touchscreen kinda works - now it is in some kind of relative mode.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th July 2014 - 03:11 AM