Author Topic: [done] Use Debian Official Xorg And Tslib!  (Read 11547 times)

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« 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.

You may get xserver-xorg-input-tslib's upstream source here.
(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
« Last Edit: February 27, 2008, 04:42:30 pm by ca1eb »
My OESF account is caONEeb, not caLeb.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
[done] Use Debian Official Xorg And Tslib!
« Reply #1 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)?
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi

urkden

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #2 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?

judecn

  • Newbie
  • *
  • Posts: 11
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #3 on: February 08, 2008, 05:38:26 pm »
X.org is a lot more bloated than Xfbdev...do you notice it at all?

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
[done] Use Debian Official Xorg And Tslib!
« Reply #4 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 ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #5 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.
My OESF account is caONEeb, not caLeb.

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
[done] Use Debian Official Xorg And Tslib!
« Reply #6 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!
« Last Edit: February 27, 2008, 07:43:35 am by henrysviper »
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #7 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.
« Last Edit: April 01, 2008, 03:20:05 am by ca1eb »
My OESF account is caONEeb, not caLeb.

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
[done] Use Debian Official Xorg And Tslib!
« Reply #8 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?
« Last Edit: February 29, 2008, 05:00:27 pm by henrysviper »
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

ca1eb

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #9 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.
My OESF account is caONEeb, not caLeb.

rogalian

  • Newbie
  • *
  • Posts: 22
    • View Profile
[done] Use Debian Official Xorg And Tslib!
« Reply #10 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 ?