Help - Search - Members - Calendar
Full Version: Mod Libdirectfb & Libts Packages
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Debian
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. wink.gif

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

ArchiMark
QUOTE(ZDevil @ Apr 13 2008, 02:08 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. wink.gif

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.
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
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).
ArchiMark
QUOTE(ZDevil @ Apr 13 2008, 12:15 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
export TSLIB_TSDEVICE="/dev/input/ts0"


Ummm... I don't have a '.profile' file....I have the following in my ~ directory:
CODE
  
.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.
ZDevil
QUOTE(ArchiMark @ Apr 13 2008, 10:24 PM) *
QUOTE(ZDevil @ Apr 13 2008, 12:15 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
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.
ArchiMark
QUOTE(ZDevil @ Apr 13 2008, 01:52 PM) *
QUOTE(ArchiMark @ Apr 13 2008, 10:24 PM) *
QUOTE(ZDevil @ Apr 13 2008, 12:15 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
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
#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.
rogalian
Please tell me you'll be submitting the patches to Debian upstream? smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.