OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: ca1eb on January 29, 2008, 04:15:35 am

Title: [done] Use Debian Official Xorg And Tslib!
Post by: ca1eb on January 29, 2008, 04:15:35 am
Well, everything is Debian official except xserver-xorg-input-tslib.  
UPDATE: xserver-xorg-input-tslib is in Debian official now!

You may download the xserver-xorg-input-tslib deb here (http://packages.debian.org/xserver-xorg-input-tslib).

You may get xserver-xorg-input-tslib's upstream source here (http://www.pengutronix.de/software/ptxdist/temporary-src/).
(Get those named xf86-input-tslib*.)

NOTICE:
1. It is hard coded to use only /dev/event0 now. You may link /dev/input/event1 or the device you are using to it.
2. It works fine with default resolution 480x640. I have not solve the screen rotation issue yet.
3. My working /etc/X11/xorg.conf section:
Section "InputDevice"
   Identifier "Configured Mouse"
   Driver   "tslib"
   Option   "CorePointer"
   Option   "Device"   "/dev/input/event1"
   Option   "Protocol"   "Auto"
EndSection
Title: [done] Use Debian Official Xorg And Tslib!
Post by: scottlfa on January 31, 2008, 02:37:44 pm
Does this solve the twitchy mouse issue that xfbdev seems to have (especially when mousedev is loaded)?
Title: [done] Use Debian Official Xorg And Tslib!
Post by: urkden on February 08, 2008, 05:35:30 pm
Quote from: scottlfa
Does this solve the twitchy mouse issue that xfbdev seems to have (especially when mousedev is loaded)?

Any news on the flickering effect?
Title: [done] Use Debian Official Xorg And Tslib!
Post by: judecn on February 08, 2008, 05:38:26 pm
X.org is a lot more bloated than Xfbdev...do you notice it at all?
Title: [done] Use Debian Official Xorg And Tslib!
Post by: jpmatrix on February 16, 2008, 08:20:06 am
Quote from: urkden
Quote from: scottlfa
Does this solve the twitchy mouse issue that xfbdev seems to have (especially when mousedev is loaded)?

Any news on the flickering effect?

the flickering effect has gone out with latest 2.6.24 kernel of yonggun! (with rmmod mousedev)
what is the benefit of using this official Xorg and Tslib ?
Title: [done] Use Debian Official Xorg And Tslib!
Post by: ca1eb on February 16, 2008, 10:58:40 am
Quote from: jpmatrix
what is the benefit of using this official Xorg and Tslib ?
No benefit.
I just like my Zaurus uses only Debian official packages.
Title: [done] Use Debian Official Xorg And Tslib!
Post by: henrysviper on February 27, 2008, 07:42:49 am
Hello

I am a bit confused:
This package is for use with xserver-xorg and xserver-xorg-video-fbdev, right?
Or is another video driver needed? (like xserver-xorg-video-vesa or xserver-xorg-video-vga)

If xf86-input-tslib is installed do we still need the packages libts, tslib-conf, tslib-calibrate (from yongun I think)?

And the last question: is it working? ;-) (I mean the "full" xorg)

Thank you for any answers, Debian on Zaurus is fun!
Title: [done] Use Debian Official Xorg And Tslib!
Post by: ca1eb on February 27, 2008, 04:52:12 pm
Quote from: henrysviper
This package is for use with xserver-xorg and xserver-xorg-video-fbdev, right?
Yes.

Quote from: henrysviper
Or is another video driver needed?
xserver-xorg-video-fbdev is enough.

Quote from: henrysviper
If xf86-input-tslib is installed do we still need the packages libts, tslib-conf, tslib-calibrate (from yongun I think)?
You can just use Debian official tslib.
They are libts-bin and libts-0.0-0 now.

Quote from: henrysviper
And the last question: is it working? ;-) (I mean the "full" xorg)
Yes. It works fine.
Title: [done] Use Debian Official Xorg And Tslib!
Post by: henrysviper on February 29, 2008, 03:28:46 pm
Thank ca1eb for your answers!

I couldn't wait for the official package, so I compiled xf86-input-tslib myself (it is fun using the debian package building tools on the Z - it makes the Z feel like a "real" computer).
I installed xserver-xorg-video-fbdev, xserver-xorg-input-kbd and xserver-xorg-core and tweaked xorg.conf a bit (added a section for the touchscreen, and removed the line with the "rotate" option).
For a desktop environment I installed matchbox-desktop. It is already nicely configured, it is lightweight and I feel is a good fit for the small screen of the Z.
I added "matchbox-session" to my .xinitrc and run "startx".

And the result is cool! A real X server on the Z.

However, I have some problems:
- The Fn key is not working (in X)
- Everything is slow
- Clicking behaviour is erratic: it seems that matchbox responds to the "previous" click (I have to check if this happens with other environments)
- Rotation does not work: if I try xrandr I get the error "Failed to change the screen configuration!"

It looks promising, but right now it's not really usable. Maybe it has to do with C750 being slower compared to the pxa270 clamshells or maybe the full xserver is just too much. I 'll try other window managers (like icewm) and report...

ca1eb: could you please post your xorg.conf or any tip for the Fn key?
Title: [done] Use Debian Official Xorg And Tslib!
Post by: ca1eb on March 01, 2008, 10:48:09 am
Quote from: henrysviper
- Everything is slow
It is fast enough on my SL-C3200. I use jwm and evilwm,

Quote from: henrysviper
- Clicking behaviour is erratic
I have no this problem. I think it is WM dependant.

I am still using kdrive from Ångström for daily use (as a scummvm game console).
Current xserver-xorg-input-tslib is not very useful for Zaurus.

I would like to hack it when I am not so busy, but it is impossible recently.  
Patches are very welcome. You can paste diffs here or send it to Debian Bug Tracking System.
Title: [done] Use Debian Official Xorg And Tslib!
Post by: rogalian on April 03, 2008, 09:45:44 am
Quote from: henrysviper
ca1eb: could you please post your xorg.conf or any tip for the Fn key?

henrysviper: could you post your xorg.conf please ?