PDA

View Full Version : Hello! I have a LT c-500 with ubuntu 6.10 o



JosefS
04-04-2007, 11:53 PM
Hello!


I have a LT c-500 with ubuntu 6.10 on it. It runs really fast and looks like a charm :-) (before I had WindowsXP on it).

Unfortunately, like stated on http://www.neurath.org/stylistic_lt_c500/ there exists no device called /dev/ttyS4. Only 0-3.

If I do the "setserial" procedure on these ports, the X server gets some input from the touchscreen, but jumps around randomly.



mknod -m 666 /dev/ttyS4 c 4 68
Created the node, but it seems to be an invalid device:


josef@prometheus:~$ setserial /dev/ttyS4 autoconfig
/dev/ttyS4: No such device or address


Is some linux-expert out there? Or has someone a similar system?
Thanks
Josef

JosefS
04-05-2007, 02:15 AM
(Also posted on http://ubuntuforums.org)

Argh, everytime I give up on the problem and post for help, I find the solution. After two days of tinkering around and trying every possible combination, I found the solution.

If somebody has the same problem at a later point:
http://www.die.net/doc/linux/man/man4/fpit.4.html
Helped me. The correct settings are:



setserial /dev/ttyS3 autoconfig
setserial /dev/ttyS3 uart 16450 irq 5 port 0xfd68


And in xorg.conf:



Section "InputDevice"
Identifier "mouse0"
Driver "fpit"
Option "Device" "/dev/ttyS3"
Option "BaudRate" "9600"
Option "MaximumXPosition" "4070"
Option "MaximumYPosition" "4020"
Option "MinimumXPosition" "0"
Option "MinimumYPosition" "0"
Option "Passive"
Option "SendCoreEvents"
EndSection