OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: ArchiMark on March 31, 2008, 05:53:35 pm
-
For fun would like to get XFCE4 working properly now that I've Debian EABI working OK...
IceWM is OK, but I do like XFCE....
I apt-get install xfce4 and it seems to have installed OK.
However, when I do 'startxfce4' it opens but it's rotated 90 degrees.
Also, screen calibration is way off...
So, I logged out and did 'ts_calibrate' which worked OK and I could use XFCE4 but with rotated display...
So, then tried doing what I read in other posts to get screen rotated properly, but so far hasn't worked for me and now screen calibration is way off again, so I can't open anything by tapping on it's icon....
So.....any advice as to the right way to get this working properly???
Thanks!
Mark
-
comment out icewm-session in ur .xinitrc file and add under it startxfce4
for rotation add xrandr -o right before startxfce4 in the same file
then use startx to start xfce4
-
comment out icewm-session in ur .xinitrc file and add under it startxfce4
for rotation add xrandr -o right before startxfce4 in the same file
then use startx to start xfce4
THANKS, born2wonder!
XFCE4 starts up now in correct orientation....
Only issue now is that my stylus calibration is way off, so, can't access anything in XFCE using stylus....
Tried exiting XFCE and using 'ts_calibrate' from login shell, calibrated screen and then started up XFCE again, but stylus is still way off!!
Any suggestions to fix this problem????
Thanks,
Mark
-
Try:
rmmod mousedev
If it says it can't be removed because it's in use, then reboot and do it again.
Also add this command to /etc/rc.local
-
Try:
rmmod mousedev
If it says it can't be removed because it's in use, then reboot and do it again.
Also add this command to /etc/rc.local
Thanks for your help, ZDevil...
Did ' rmmod mousedev' and added this to /etc/rc.local...then did startx....
XFCE opened but now stylus taps have no effect on cursor location at all....ie, Z does not respond at all to screen taps....
Didn't reboot though, maybe try that???
-
Oops, forgot to mention earlier that I edited the '/etc/ts.conf' file per post #36 in this thread:
Debian Post Install per Cortez (https://www.oesf.org/forum/index.php?showtopic=24994&hl=screen%20calibration&st=30)
However, now I'm not sure which item(s) should be commented out or not....
So, wondering if this caused the problem????
-
From what ive seen
rmmod mousedev has to be done outside x . It doesn't need a reboot AFAIK
It can be also be blacklisted by being added to /etc/modrpobe.d/blacklist so it doesn't load automatically by adding this to the end of the file .
blacklist mousedev
a restart is required for blacklisting .
after mousedev isn't loaded (u can check by typing lsmod|grep mouse) do
ts_calibrate and then startx.
-
From what ive seen
rmmod mousedev has to be done outside x . It doesn't need a reboot AFAIK
It can be also be blacklisted by being added to /etc/modrpobe.d/blacklist so it doesn't load automatically by adding this to the end of the file .
blacklist mousedev
a restart is required for blacklisting .
after mousedev isn't loaded (u can check by typing lsmod|grep mouse) do
ts_calibrate and then startx.
OK, works great now, born2wonder!!
THANKS to you and ZDevil!
PS. I also went back into 'ts.conf' and commented out the first item and uncommented the corgi line.....
PPS. Also, FWIW, I did look at OESF Debian Wiki page, section on post-Debian install....some very good info there...
Debian - Post-Install Info (https://www.oesf.org/index.php?title=1-For_Debian_EABI)
-
UPDATE
Not sure what happened other than maybe when I did 'apt-get upgrade' something got installed to change things....
But now when I start XFCE4, the cursor does not respond like what happened before in my earlier post....No response if I tap on screen with stylus....
Also, now when I try to do 'ts_calibrate' nothing happens, get message:
#ts_calibrate
ts_open: No such file or directory
Any ideas as to how to get cursor in XFCE4 working again???
Thanks for any help.
-
[size=]UPDATE[/size][/color][/b]
Have read and re-read all the posts (and Debian wiki...) that I can find on touchscreen/XFCE/IceWM, etc and have checked all the related files that I'm aware of on my 3200, but still can't get touchscreen working again!
As mentioned before, touchscreen was working fine before, then something happenened and now it does not work.
Also, now when I try to do 'ts_calibrate', I get the following:
#ts_calibrate
ts_calibrate: error while loading shared libraries: libts-1.0.so.0: cannot open shared object file: No such file or directory
Any suggestions????
Thanks for any and all help!
Mark
Frustrated Debian EABI user.....
-
Easy:
First check what you have:
ls -l /usr/lib/ts
In fact most knowledge required is for Debian in general. So in the end you will become a skilled Debian user.
-
After installing your packages, I have similar issues:
1. taps on the screen correspond to the "rotated" coordinates.
2. ts_calibrate looks for tslib-0.0-0 and the one installed by the package is tslib 1.0-0
-
After installing your packages, I have similar issues:
1. taps on the screen correspond to the "rotated" coordinates.
2. ts_calibrate looks for tslib-0.0-0 and the one installed by the package is tslib 1.0-0
So did you install these? https://www.oesf.org/forum/index.php?showtopic=25701 (https://www.oesf.org/forum/index.php?showtopic=25701)
-
Easy:
First check what you have:
ls -l /usr/lib/ts
#ls -l /usr/lib/ts
arctic2.so
collie.so
corgi.so
dejitter.so
h3600.so
input.so
linear.so
linear_h2200.so
mk712.so
pthres.so
ucb1x00.so
variance.so
How's that look????
In fact most knowledge required is for Debian in general. So in the end you will become a skilled Debian user.
As usual, you're right, ZDevil!.....it would be very nice to become a 'skilled Debian user'.....
-
Also, now when I try to do 'ts_calibrate', I get the following:
#ts_calibrate
ts_calibrate: error while loading shared libraries: libts-1.0.so.0: cannot open shared object file: No such file or directory
Hmm... That's strange, because ts_calibrate is in the "libts-bin" package, which looks for /usr/lib/libts-0.0.so.0 and not /usr/lib/ibts-1.0.so.0.
See if it works for you when you "apt-get install libts-bin" and run "ts_calibrate" again.
-
Also, now when I try to do 'ts_calibrate', I get the following:
#ts_calibrate
ts_calibrate: error while loading shared libraries: libts-1.0.so.0: cannot open shared object file: No such file or directory
Hmm... That's strange, because ts_calibrate is in the "libts-bin" package, which looks for /usr/lib/libts-0.0.so.0 and not /usr/lib/ibts-1.0.so.0.
See if it works for you when you "apt-get install libts-bin" and run "ts_calibrate" again.
OK, installed 'libts-bin.....
Tried running 'ts_calibrate'....get message:
#ts_calibrate
ts_open: No such file or directory
?????
-
@ZDevil: Yes, this happened after installing the new tslib packages from your post.
-
Hmmm...just saw ShiroiKuma's post #93 over on the HTC Universal Debian thread
Additional issues with X
I've installed X according to http://yonggun.tistory.com/54 (http://yonggun.tistory.com/54) and applied the "2. Use your normal user under X" hack on https://www.oesf.org/index.php?title=1-For_Debian_EABI (https://www.oesf.org/index.php?title=1-For_Debian_EABI)
Now, the situation is as follows, if I don't enable xdm via /etc/init.d/, first login as root, then /etc/init.d/xdm start, xdm starts, I can login as a regular use fine and the system works.
If I enable xdm via /etc/init.d/, even if I log in as root or the regular user in the xdm login, X starts, but the display doesn't react to touch. It seems xdm doesn't read the .xinitrc from either /root or /home/theuser when started this way and so TSLIB_TSDEVICE is not set among others.
His 3rd paragraph describes what is happening with my 3200 too...
Now, I just tried logout and log back in as root to see what happens....
If I try to start XFCE4, I get the following error message:
#startxfce4
/usr/bin/startxfce4: Starting X server
/root/.xserverrc: line 2: /usr/bin/Xfbdev: No such file or directory
/root/.xserverrc: line2: exec: /usr/bin/Xfbdev: cannot execute: No such file or directory
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error
Get same thing if I type in 'startx' too....
Also, I just tried to run 'ts_calibrate now and it opened up for a second or two, then quit and I was back at console screen. But here's what it says:
#ts_calibrate
tsdev (compaq touchscreen emulation) is scheduled for removal.
See documentation/feature-removal-schedule.txt for details.
xres = 480, yres = 640
selected device is not a touchscreen I understand
Took 1 samples...
Top left : X = 1073852404 Y = 24
Took 1 samples...
Top right : X = 1073852404 Y = 24
Took 1 samples...
Bot right : X = 1073852404 Y = 24
Took 1 samples...
Bot left : X = 1073852404 Y = 24
Took 1 samples...
Center : X = 1073852404 Y = 24
-1.600000 -0.000000 10.066667
-1.600000 -0.000000 13.400000
Calibration constants: -104857 0 -104857 0 878182 65536
So, something strange is going on here.....
????????
Thanks.
-
Archimark, apologies if you've already answered this question, did you actually replace the microdrive with your A-Data CF card?
f you did and the Debian installs you have been doing worked with the swapped card it might be worth publicising. The A-Data cards are usually quite a bit cheaper than, for example, my Sandisk Extreme.
-
Archimark, apologies if you've already answered this question, did you actually replace the microdrive with your A-Data CF card?
f you did and the Debian installs you have been doing worked with the swapped card it might be worth publicising. The A-Data cards are usually quite a bit cheaper than, for example, my Sandisk Extreme.
Not yet....had thought that I'd wait until I have Debian EABI working properly and then do swap....
However, as noted in my posts above, I'm not there yet due to touchscreen problem.....more I think about it, think it started when I installed xdm to be able to login as regular user instead of just as root.....