Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 01:34
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Touchscreen HOWTO
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 6 [83 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Fri 24 Dec 2010, 00:43    Post subject:  

Yes, I can see it's getting confusing. So here are the complete steps:
Boot to the Puppy 5.1 CD, and install toughbooksmk-k2.6.33.2.pet
Now load the toughbooksmk module, plus evdev module -
Code:
modprobe toughbooksmk
modprobe evdev

It may be necessary to add this to /etc/modules.conf -
Code:
alias char-major-13-67 evdev

It wouldn't hurt.
Now modify your /etc/X11/xorg.conf file;
Add these two new InputDevice sections -
Code:
Section "InputDevice"
    Identifier "touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/ttyS2"
    Option "DeviceName" "touchscreen"
    Option "MinX" "82"
    Option "MinY" "146"
    Option "MaxX" "4036"
    Option "MaxY" "3999"
    Option "SendCoreEvents" "On"
EndSection

Section "InputDevice"
    Identifier "dummy"
    Driver "void"
    Option "Device" "/dev/input/mice"
EndSection

Notice ttyS2.
In Section "ServerLayout" find the line:
InputDevice "Mouse0" "CorePointer"
and below that line add this -
Code:
InputDevice "touchscreen" "CorePointer"
InputDevice "dummy"

Now it's time to restart the X server.
Ctrl<Alt>Backspace will exit X and leave you at the command prompt.

UPDATE: before relaunching X, it's very important to run this command -
Code:
inputattach -smk /dev/ttyS2


Now you can launch X with "xwin"

Last edited by tempestuous on Mon 27 Dec 2010, 22:46; edited 1 time in total
Back to top
View user's profile Send private message 
CoronelN

Joined: 22 Dec 2010
Posts: 68

PostPosted: Fri 24 Dec 2010, 04:44    Post subject:  

Thanks mate

It did not start and had to run the xorg wizard...
Looks like i will need that compiled kernel... if only i knew how to do it myself.


Merry Xmas
N
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Mon 27 Dec 2010, 22:48    Post subject:  

CoronelN, I'm back from Christmas break, but before I compile the modified kernel, I realise that it's very important to run the "inputattach ..." command before X is launched.
I have updated the instructions two posts earlier. Can you try this? You might be lucky and not need a modified kernel.
Back to top
View user's profile Send private message 
CoronelN

Joined: 22 Dec 2010
Posts: 68

PostPosted: Tue 28 Dec 2010, 15:00    Post subject:  

Tempestuos, thanks you very much i hope you spent a nice xmas and the next year be all that you expect! (my way of best wishes in my esp-fran-glish..)

I tried as you suggested and X11 doenst starts.

maybe i need that kernel after all... one question thou... whenever i update to a newer version of puppy lets say lupu-518 or 520... i will need to apply the kernel ?
I mean as far as i undersand the kernel doesnt necessarly changes between versoins... or i am wrong ?

my question is because if i need a new kernel each time i'd rather ask you to show me how to compile it than brother you every update...

Thanks again ! a 1000 thanks!
N
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Tue 28 Dec 2010, 18:51    Post subject:  

Hi,

I am completely new to Linux and obviously Puppy 5.1.1 and have spent the last 2 days working out how to create a Puppy LiveUSB and install Java and run a Java app. I finally got that all working and now the problem i have is getting my Elo touchscreen working correctly. I run the xorg wizard and probed for a suitable driver and then used xvidtune to fill out the space. So the display is working fine but its the touch input that i'm having the trouble with.

This thread has brought some light to my situation. i have read through it thourghly and have a small understanding of what I need to do but still don't really know where to start.

I put the command into the console;
modprobe elo and got a warning: deprecated config file so i renamed the file with a .OLD extention as advised by another website.

Then i entered the command again which seemed to work correctly. Then i entered modprobe elographics_drv and got error FATAL: Module elographics_drv not found. The module is definately there as I have found it in a search of files.

If anyone would be able to give me some help or guide me through this process, I would be extremely grateful.

Thanks,

Anthony
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Tue 28 Dec 2010, 22:22    Post subject:  

mcelmeel wrote:
now the problem i have is getting my Elo touchscreen working correctly.

I can give you some advice regarding this particular touchscreen driver, but I cannot guarantee it's actually the correct touchscreen driver for you.
You should really tell us exactly what your computer hardware is.

mcelmeel wrote:
i have read through it thourghly and have a small understanding of what I need to do but still don't really know where to start.

Well assuming the elo touchscreen driver is correct, you should refer to the earlier post in this thread
"HOWTO - serial touchscreens"
http://www.murga-linux.com/puppy/viewtopic.php?p=295651#295651
Your kernel module would be elo and your Xorg input plugin would be elographics or elo2300 (the "_drv" extension should not be used in the xorg.conf file).

mcelmeel wrote:
I put the command into the console;
modprobe elo and got a warning: deprecated config file

That error message is trivial. Your elo kernel module would have loaded just fine ... but is the elo module really correct for you?

mcelmeel wrote:
Then i entered modprobe elographics_drv and got error FATAL: Module elographics_drv not found.

No, no. "elographics_drv" is an Xorg input plugin, not a kernel module. It's not loaded by the modprobe command, it's loaded by the Xorg server, after being configured in the xorg.conf file.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Tue 28 Dec 2010, 22:29    Post subject:  

CoronelN, I have sent you information regarding a modified kernel by private message.
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 06:14    Post subject:  

Hi tempestuous,

Thank-you very much for your reply. The exact monitor I'm using is a Elo Entuitive 1746L/1749L. The computer hardware is a Neoware Thin Client (Neoware CA19).

I have checked the Elo website for drivers and they provide drivers for the popular Linux OS but not for Puppy.
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 06:50    Post subject:  

Hi,

I think I may mis understood the instructions at the start of the thread. Do i enter into the console;

modprobe elo
modprobe evdev ## (i thought this was part of the fijitsu example only)
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5234
Location: Australia

PostPosted: Wed 29 Dec 2010, 07:11    Post subject:  

Yes, both.
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 07:23    Post subject:  

I have done that and am in the middle of editing the xorg.conf file. I set the driver as elographics but i have found another thread where a guy has got his elo touchscreen to work using driver evtouch. Do you think i should try this instead? Thanks.
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 07:25    Post subject:  

just realised that it was an ubuntu forum, so maybe just stick with the elographics. I was looking for the minX settings, do you think they will be the same as a different Linux distro?
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 14:04    Post subject:  

OK, I'm still trying to get the touchscreen input working and am getting closer and learning more but just can't get it right.

Its a usb input so i'm using the usbtouchscreen kernel module and evtouch xorg file.

i followed the instructions very carefully and edited the xorg.conf file correctly with the new device data copied exactly from the post as well as the code into System Layout.

Everytime i do it and then reboot, it says that X has not worked correctly or something and that I have to run xorgwizard again.

I have tried several times with no joy. Have you any idea what I may be doing wrong?

Also, each time i start the first instruction;

modprobe usbtouchscreen
modprobe evdev ##

i get the error: deprecated file /etc/modprobe.conf and i have to rename the file .OLD. Would this have anything to do with it not working as the same error message displays during the reboot right befire the X thing?
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 16:33    Post subject:  

Hi, I have tried the whole process again with still the same outcome, X will not run and i have to run the xorgwizard again everytime.

I deleted my lupusave file so that all settings were reset (i think thats what happens) and then i started the whole install again with the same outcome.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message 
mcelmeel

Joined: 27 Dec 2010
Posts: 33

PostPosted: Wed 29 Dec 2010, 17:31    Post subject:  

sorry guys if i seem to be filling this thread up with just my posts but i want to give as much info as possible incase someone is able to help.

what is happening is that when i follow the instructions and add all the code to xorg.conf, then when i restart the x server the following happens

FATAL: deprecated etc/modprobe.conf something something /etc/modprobe.d/

Starting X...
Exiting X
xwin [f95|wnm] to start x
If x did not start, enter xorgwizard. poweroff or reboot.

i get this everytiime or something like this as it is all from memory as i can not copy it. I have to run the xorgwizard each time to get the system working again and when this is done, all the code entered into xorg.conf is gone.

Also, there is reaction from the mouse pointer via touch but it is well off calibration but i can not change this since the code is gone inc MinX,MinY etc.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 6 [83 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0891s ][ Queries: 12 (0.0097s) ][ GZIP on ]