Author Topic: Mod Libdirectfb & Libts Packages  (Read 6115 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Mod Libdirectfb & Libts Packages
« on: April 13, 2008, 05:08:32 am »
Those who are using my rootfs tarball, which contains lots of goodies made by 2or0, may encounter errors while doing apt-get dist-upgrade because of some differences in the dependencies in 2or0's repackaged Angstrom .debs and the packages from the Debian repos, which causes conflicts and subsequently failure in the upgrading process.

I've repackaged the .debs from the Debian feeds, basically just changing the versions in the Depends line and the package versions.
Using these will prevent such error from showing up.  Have tested in on two rootfs and the trick works.  

How?
Super easy. Just install these two packages BEFORE apt-get dist-upgrade:

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Mod Libdirectfb & Libts Packages
« Reply #1 on: April 13, 2008, 02:52:00 pm »
Quote from: ZDevil
Those who are using my rootfs tarball, which contains lots of goodies made by 2or0, may encounter errors while doing apt-get dist-upgrade because of some differences in the dependencies in 2or0's repackaged Angstrom .debs and the packages from the Debian repos, which causes conflicts and subsequently failure in the upgrading process.

I've repackaged the .debs from the Debian feeds, basically just changing the versions in the Depends line and the package versions.
Using these will prevent such error from showing up.  Have tested in on two rootfs and the trick works.  

How?
Super easy. Just install these two packages BEFORE apt-get dist-upgrade:


Thanks, ZDevil for this....

Just installed the 2 debs....

When I installed the second deb (libts_1.0_0_2.0_1_armel.deb) it asked me whether I wanted to keep the current 'ts.conf' file or use the one in the package.

I assumed that I should use the 'ts.conf' file in your new package, so replaced file with new one. Was that correct to do?

Started up XFCE4, it started up rotated for portrait not landscape now....

Also, does not respond to stylus taps....

Was I supposed to do anything else after installing these 2 packages?

Thanks.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Mod Libdirectfb & Libts Packages
« Reply #2 on: April 13, 2008, 03:15:30 pm »
Yes, better use the ts.conf from the package.
Tell me what you have in ~/.profile. It should contain a line about your touchscreen setup. This is mine:
Code: [Select]
export TSLIB_TSDEVICE="/dev/input/ts0"Also make sure that /usr/lib/ts and the files under it are present.
To rotate the screen is easy: xrandr -o right (= landscape); xrandr -o normal (= portrait). If that's not the case for you just play with the xrandr option (left, right, normal, inverted).

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Mod Libdirectfb & Libts Packages
« Reply #3 on: April 13, 2008, 04:24:40 pm »
Quote from: ZDevil
Yes, better use the ts.conf from the package.
Tell me what you have in ~/.profile. It should contain a line about your touchscreen setup. This is mine:
Code: [Select]
export TSLIB_TSDEVICE="/dev/input/ts0"

Ummm... I don't have a '.profile' file....I have the following in my ~ directory:
Code: [Select]
  
.ICEauthority
.Xauthority
.bash_history
.bash_logout
.bash_profile
.bashrc
[quote].cache
.dbus
.local
.xsession
.xsession-errors

I did check the .bash_profile and .bashrc, but don't see anything in those files about the touchscreen....



Quote
Also make sure that /usr/lib/ts and the files under it are present.

That directory is there and has the following files in it:

artic2.so
collie.so
corgi.so
dejitters.so
h8600.so
input.so
linear.so
linear_h2200.so
mk712.so
pthres.so
ucb1x00.so
variance.so


Quote
To rotate the screen is easy: xrandr -o right (= landscape); xrandr -o normal (= portrait). If that's not the case for you just play with the xrandr option (left, right, normal, inverted).

Yes, understand and have used 'xrandr -o right' somewhere, don't remember which file right now.... my point about this was that it was rotated correctly before, but now it's not....

Thanks.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Mod Libdirectfb & Libts Packages
« Reply #4 on: April 13, 2008, 04:52:25 pm »
Quote from: ArchiMark
Quote from: ZDevil
Yes, better use the ts.conf from the package.
Tell me what you have in ~/.profile. It should contain a line about your touchscreen setup. This is mine:
Code: [Select]
export TSLIB_TSDEVICE="/dev/input/ts0"
Ummm... I don't have a '.profile' file....
Then just create ~/.profile and put the line there.
Log out and log in again.
Run "ts_calibrate".
Start X again.
See if stylus works.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Mod Libdirectfb & Libts Packages
« Reply #5 on: April 13, 2008, 06:08:00 pm »
Quote from: ZDevil
Quote from: ArchiMark
Quote from: ZDevil
Yes, better use the ts.conf from the package.
Tell me what you have in ~/.profile. It should contain a line about your touchscreen setup. This is mine:
Code: [Select]
export TSLIB_TSDEVICE="/dev/input/ts0"
Ummm... I don't have a '.profile' file....
Then just create ~/.profile and put the line there.
Log out and log in again.
Run "ts_calibrate".
Start X again.
See if stylus works.

OK, I created '.profile' as you instructed, logged out and back in....

Tried to run 'ts_calibrate' and get the following:

Code: [Select]
#ts_calibrate
ts_calibrate: error while loading shared libraries:
libts-1.0.s0.0: can't open shared object file: No such file or directory

?????

Thanks.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

rogalian

  • Newbie
  • *
  • Posts: 22
    • View Profile
Mod Libdirectfb & Libts Packages
« Reply #6 on: April 14, 2008, 09:16:09 am »
Please tell me you'll be submitting the patches to Debian upstream?