Tiny Core Linux
		General TC => General TC Talk => Topic started by: fmayhewubh on March 08, 2013, 08:46:25 PM
		
			
			- 
				simple question? Has anyone actually gotten a serial tablet working?
Im working on M-275 tablets. with the input-tablet-touchscreen drivers, xorg, and the xorg.conf.d from a working tablet im not getting cursor movement. the device (dev/ttyS1) gives some output in cat with some movements across the screen. 
			 
			
			- 
				Hi fmayhewubh
Have you looked through   /var/log/Xorg.0.log   for possible clues or errors?
			 
			
			- 
				looks like logging is not setup. but that is a good idea. do you know how to get logging in TC, if so i will setup and retry
			
 
			
			- 
				Hi fmayhewubh
If the file is not there then Xorg is probably not running. Does the first line in your  /home/tc/.xsession  file
say Xorg or xvesa?
			 
			
			- 
				Quick search brought up
http://forums.justlinux.com/showthread.php?143956-Linux-on-a-gateway-M275-Tablet-PC&s=3d8a36510a2e55fce36a6135cd871619&p=835984#post835984
			 
			
			- 
				
Quick search brought up
http://forums.justlinux.com/showthread.php?143956-Linux-on-a-gateway-M275-Tablet-PC&s=3d8a36510a2e55fce36a6135cd871619&p=835984#post835984
already have that, as a 50-wacom.conf
Hi fmayhewubh
If the file is not there then Xorg is probably not running. Does the first line in your  /home/tc/.xsession  file
say Xorg or xvesa?
well, what do you know. XVersa. I've got Xorg 7.5 downloaded so how do i configure this? change my Xorg.conf.versa to a Xorg.conf ?
			 
			
			- 
				Hi fmayhewubh
Copy /etc/X11/xorg.conf.vesa to /etc/X11/xorg.conf and make any changes you need to that.
Add the xorg.conf file to your backup. Press Ctrl-Alt-Backspace and then run startx
If Xorg plays nice with your hardware, you'll see your desktop.
			 
			
			- 
				
Hi fmayhewubh
Copy /etc/X11/xorg.conf.vesa to /etc/X11/xorg.conf and make any changes you need to that.
Add the xorg.conf file to your backup. Press Ctrl-Alt-Backspace and then run startx
If Xorg plays nice with your hardware, you'll see your desktop.
Xvesa is still in the .xsession (xvesa -br -screen 1024x786x32... etc) should i change this or will xorg set itself?
			 
			
			- 
				Hi fmayhewubh
I don't remember what makes the change in .xsession. Change the first line to:
/usr/local/bin/Xorg -nolisten tcp &
			 
			
			- 
				
Hi fmayhewubh
I don't remember what makes the change in .xsession. Change the first line to:
/usr/local/bin/Xorg -nolisten tcp &
 
still no input from pen. i cant seem to remove xorg.conf.vesa it keeps coming back
			 
			
			- 
				Hi fmayhewubh
xorg.conf.vesa is just a sample, Xorg does not look at it. Is Xorg running? Open a terminal and run  top
Is Xorg or xvesa listed?
			 
			
			- 
				Xorg is running. ^.^
pen still shows no action... and an
lsmod | grep wacom 
 shows nothing (maybe i am missing the wacom driver :/ )
are there excess tce's needed for module loading. 
			 
			
			- 
				also my udev might not have wacom rules. 
			
 
			
			- 
				Hi fmayhewubh
Code: [Select]
lsmod | grep wacom 
 shows nothing (maybe i am missing the wacom driver :/ )
Maybe you need to install   input-tablet-touchscreen-3.0.21-tinycore.tcz ?
			 
			
			- 
				input-tablet-touchscreen-3.0.21 is downloaded and set as onboot. 
			
 
			
			- 
				Since you have the serial device, kernel and udev are fine. It looks like you're only missing the wacom Xorg driver - we don't have that in the repo currently.
Compiling it should be fairly easy with compiletc and Xorg-7.6-dev.
			 
			
			- 
				im using xorg 7.5, should that cause problems?
			
 
			
			- 
				and if you mean wacom.ko.gz i have that. it came w/input-tablet-touchscreen
			
 
			
			- 
				I mean xf86-input-wacom. If using 7.5, then you need Xorg-7.5-dev ;)
			
 
			
			- 
				downloaded the xf86input, unziped, downloaded gcc, 
checking to see whether the C compiler works... no
...
configure error: C compiler cannot create executables
			 
			
			- 
				Use the compiletc extension.
			
 
			
			- 
				
error: package requirements (xorg-server >= 1.7.0 xproto xext kbproto inputproto randrproto) were not met
			 
			
			- 
				Hi fmayhewubh
Did you install  Xorg-7.5-dev.tcz ?
			 
			
			- 
				Yep, set for on boot, 
			
 
			
			- 
				needed pixman, and udev lib/dev
did a make and sudo make install... testing.
			 
			
			- 
				lost x after restart. couldn't read output unfortunately command line also having problems, when i Ctrl+Alt+Backspace i get a blank screen, i can still startx but i cant see the prompt
			
 
			
			- 
				as quoted from Xorg.log 
(II) LoadModule: "wacom"
(WW) Warning, couldn't open module wacom
(II) UnloadModule: "wacom"
(EE) Failed to load module "wacom" (module does not exist, 0)
do i need to unzip the gz'd module. it was included in input-tablet-touchscreen
			 
			
			- 
				I dont understand! there is a wacom.ko.gz in just about every location that its expected but Xorg cant find the driver >.<
			
 
			
			- 
				when i modprobe i get a "cannot find" error when i sudo modprobe it, it will load the module but when i reload x Xorg.log still says the driver dosen't exist.
			
 
			
			- 
				Then try adding a modprobe to your bootlocal.sh
/sbin/modprobe wacom
reboot to test
			 
			
			- 
				okay, wacom now active but xorg cant find it. 
			 
			
			- 
				I don't have a tablet but I wonder if you are trying to use only a renamed vesa with a tweak?  Have you exit to prompt and tried
sudo su
Xorg -configure
if so you may be able to hold down the shift key and press page up to scroll thru any messages that might help the gurus here who may be sleeping?
if it worked with no errors then 
su tc
startx
then add 
etc/X11/xorg.conf to filetool.lst
			 
			
			- 
				I know for certin that xorg is running. its in my .xsession at the top.(i think the code i used is in this thread) but i will check. 
			
 
			
			- 
				
ps|grep X
			 
			
			- 
				Oh dear, now i have a new problem... GUI failure. i get a black box in a green/red/etc box. all i did was remove Xorg-7.6-lib (thought it was conflicting w/xorg7.5) replaced it w/ Xorg-7.5-lib (didn't get installed :/ ) and than replace  Xorg-7.6-lib when wait for X started failing... so short detour from this problem to >> forum.tinycorelinux.net/index.php/topic,15028.0.html  
I am not abandoning this thread.
			 
			
			- 
				NM, xorg-7.5-lib removed screen working. continuing quest for wacom.
			 
			
			- 
				
ps|grep X
6627 root /usr/local/bin/Xorg -nolisten tcp
7033 tc grep X