Thread
:
Mouse support in Maemo: Preliminary support
View Single Post
jolouis
2008-03-20 , 14:59
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#
54
[quote}On some elements, the click event seems either ignored, or at least only processed with the pressure data[/quote]
Ahhh alright that makes sense then, I knew it was something strange like that. Yea, it's probably not really worth messing around with the X-server settings; biggest reason being if you do something wrong/for some reason the x-server launch command gets messed up you've essentially bricked your tablet and will need to re-flash the entire thing (short of modding up your own serial-based console...). So long and short of it is that it's not worth messing with; if you want that, add it manually as Benson pointed out in the link, and be aware of the risks you're taking.
Oh and on the non-rebooting thing... yea I looked into that as well; theoretically you should be able to restart the x-server without actually power cycling the tablet, but if you look at it it's actually quite silly and difficult. First of all the x-server is launched through another app (the name of which I presently forget and am too lazy to go and lookup) that essentially says "when x-server quits issue the reboot command", so you'd have to circumvent that (not difficult, but one more thing to do). Secondly, when you look at the boot order... x-server is one of the first things to load, so since most other init files are adding applications and features to x-server it really doesn't make sense to restart the x-server without reloading all of those init scripts... which at the end of the day means for all the work, you are basically simulating a reboot except for the initial hardware detection; is it possible? yup, is it worth actually doing compared to just rebooting? probably not...
In terms of a BT mouse, the only difference is that the udev rules are setup to fire for USB events right now (I don't have a BT mouse to test with, so I don't even know if udev gets fired when you pair BT devices or not), so you need to make sure you manually launch the start and stop scripts after pairing the mouse.
To start:
open xterm, gainroot, and launch /usr/sbin/mouseStart.sh
when you're done, go back to xterm as root and launch /usr/sbin/stopMouse.sh
Glad to hear that it works properly in KDE though, that's neat! One step closer to a mini-laptop...
Thanks,
-Rob
Last edited by jolouis; 2008-03-20 at
15:06
.
Quote & Reply
|
The Following User Says Thank You to jolouis For This Useful Post:
missaghi
jolouis
View Public Profile
Send a private message to jolouis
Find all posts by jolouis