OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: ZDevil on April 13, 2008, 05:08:32 am

Title: Mod Libdirectfb & Libts Packages
Post by: ZDevil 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:
Title: Mod Libdirectfb & Libts Packages
Post by: ArchiMark 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.
Title: Mod Libdirectfb & Libts Packages
Post by: ZDevil 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).
Title: Mod Libdirectfb & Libts Packages
Post by: ArchiMark 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.
Title: Mod Libdirectfb & Libts Packages
Post by: ZDevil 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.
Title: Mod Libdirectfb & Libts Packages
Post by: ArchiMark 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.
Title: Mod Libdirectfb & Libts Packages
Post by: rogalian on April 14, 2008, 09:16:09 am
Please tell me you'll be submitting the patches to Debian upstream?