Debian and LCD Touch Screen

Started by David Goadby, October 27, 2012, 05:45:16 AM

Previous topic - Next topic

David Goadby

I am running my A13 Android 4 ok. I am now going to run Debian from the SD card supplied. Debian runs with the serial console as standard which is ok for now. However, I need to run the LCD and touch screen. Question:

1) How do I set Debian to use the VGA and/or LCD?
2) Is there a driver or option for the touch screen or do I have to write one?
3) I tried to read script.bin as this seems to have the start-up configuration but it is not an ordinary text file. How do I edit script.bin?

David.




olimex

Dimitar Gamishev successfully enabled the touchscreen under linux
will ask him to post here the details

HeHoPMaJIeH

Quote from: David Goadby on October 27, 2012, 05:45:16 AM
I am running my A13 Android 4 ok. I am now going to run Debian from the SD card supplied. Debian runs with the serial console as standard which is ok for now. However, I need to run the LCD and touch screen. Question:

1) How do I set Debian to use the VGA and/or LCD?
2) Is there a driver or option for the touch screen or do I have to write one?
3) I tried to read script.bin as this seems to have the start-up configuration but it is not an ordinary text file. How do I edit script.bin?

David.
1. It is not a problem, but LCD and VGA resolutions will be same ex. 640x480 in lcd will be 640x480 on vga. That may confuse some old monitors.
2. Yes, tomorrow i will post configuration to Wiki site.
3.Use sunxi-tools to decompile bin file http://linux-sunxi.org/Sunxi-tools
./bin2fex script.bin > foo
and to compile
./fex2bin foo > script.bin

~Best
D.Gamishev

David Goadby

I checked the wiki today but could not see the configuration for the touch screen LCD. Is there a problem with it?