LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 03-10-2007, 09:17 PM   #61
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15

james_jenkins post with with everything needed to get the touchscreen working with a 2.4 kernel is in another, clearer thread here:
http://www.linuxquestions.org/questi...36#post2664436
The same results can be got with a recent 2.6 kernel but it requires a re-compile of the psmouse module for anything other than the cf-18, with the changes to lifebook.c as described by Azizcoos near the start of the thread and also above.
There are a few other changes that can be made to lifebook.c and psmouse-base.c to get more info on the signal needed to switch modes.
PPaFin, glad you got what you needed sorted out, even if it is the opposite of what most of this thread was looking in to. Fits the title though For the 3G card, there may already be another thread for it but these 2 links claim it works 100% :
http://mybroadband.co.za/vb/showthread.php?t=21726
http://wiki.clug.org.za/wiki/3G_card_on_Linux
Could james_jenkins either post or mail the output of "od /dev/psaux" when switching between pad and screen. The output from the 2.4 kernel should make it much easier to check if the screen is using exactly the same controller as the lifebook.
Thanks,
Stan

Last edited by stan.distortion; 03-10-2007 at 09:41 PM.
 
Old 03-11-2007, 12:59 AM   #62
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by Azizcoos
I do, in fact, although I wouldn't call it "a spare" One question first though; James- what kernel version are you using?
Some info:

ToughBook: CF-28MBFGZDM
Pentium III 600MHz, 12.1" SVGA-TouchScreen, 20MB HD, 128MB Ram, FDD, 56K, LAN, Win2000 Pro, Transflective TouchScreen.

Distro: Slackware 11 downloaded from website. Plain as can be install.

Code:
james@Slack-CF28:~$ uname -a
Linux Slack-CF28 2.4.33.3 #6 Fri Sep 1 04:15:45 CDT 2006 i686 pentium3 i386 GNU/Linux
james@Slack-CF28:~$

BTW, your CF-29:

Code:
model number:
CF-29HWLGZBM 

Pentium M 738-1.4G LV (Centrino), 13.3" TouchScreen XGA, 256MB Ram, 60GB HD, 
Intel 802.11a+b+g Wlan, WinXP SP2, Rubber Backlit keyboard.

MSP: $4,823.00 
Status: DISCONTINUED
Do you have a SPARE CF-29??? That is kind of funny, huh?

I will check my other, (not spare), CF-28 in a little bit to see which 2.6 kernel it has. I didn't have any luck getting it to work though.

James
 
Old 03-11-2007, 01:57 AM   #63
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by stan.distortion
Could james_jenkins either post or mail the output of "od /dev/psaux" when switching between pad and screen. The output from the 2.4 kernel should make it much easier to check if the screen is using exactly the same controller as the lifebook.
Thanks,
Stan
Stan,

Try this. This is six (6) swipes, left-to-right:

TouchScreen
Pad
TouchScreen
Pad
TouchScreen
Pad

Hope this helps.

James



Code:
root@Slack-CF28:/home/james# od /dev/psaux
0000000 136104 042223 112274 136504 042225 113276 142504 042235
0000020 117306 144104 042237 120712 146504 042244 123320 151504
0000040 042250 125726 155104 042256 130735 160504 042264 133744
0000060 164104 042272 136753 167104 042300 141762 173104 042306
0000100 144772 176504 052314 147401 002524 052323 153011 007124
0000120 052331 156023 013524 052337 161034 020524 052345 164046
0000140 026124 052353 167062 034124 052361 172076 042124 052367
0000160 175113 051124 052374 177131 060224 112000 001550 067624
0000200 112006 004167 077224 112013 007206 107224 112021 012226
0000220 117224 112027 015246 127224 112034 017265 136224 112040
0000240 021303 144624 112044 022717 151624 112045 022726 154624
0000260 110044 022331 077504 042340 156201 102504 042334 157211
0000300 107104 042341 161623 114504 042345 164640 123504 042356
0000320 171657 134504 042370 175704 150504 042374 175734 163504
0000340 042372 175363 177504 052373 176012 012124 052373 175037
0000360 024524 052372 175063 037124 052373 176111 051524 112375
0000400 000135 064624 112003 003163 076624 112007 003206 107624
0000420 112004 001631 122224 112004 003257 134624 112012 007703
0000440 146624 112025 016330 161224 112042 022752 171224 112050
0000460 025371 001244 122056 031015 015244 122066 035050 031644
0000500 122076 041101 047244 122106 044131 060244 122111 045145
0000520 064644 122114 047156 071244 122117 050166 074644 122121
0000540 051174 077644 122123 052201 102244 122126 053610 106244
0000560 122131 055222 113644 122133 056233 117644 122134 056243
0000600 123644 122136 063646 121644 122155 072641 121244 120201
0000620 100642 137204 102116 046676 137604 102115 046700 141204
0000640 102114 046304 143204 102114 046307 144604 102114 045714
0000660 147204 102112 044721 152204 102110 044330 156204 102110
0000700 044740 162204 102112 046351 167204 102116 047763 174604
0000720 102120 050777 002624 112122 051413 010624 112125 053430
0000740 017224 112131 056044 025624 112136 060062 034624 112142
0000760 062100 043224 112146 064115 052224 112152 066133 061224
0001000 112156 070551 070224 112164 073566 076624 112172 076604
0001020 105224 112200 101620 113224 112206 104234 121224 112212
0001040 106250 127224 112216 110664 134624 112223 112676 141624
0001060 112227 114710 146224 112233 116321 153224 112235 117332
0001100 157624 112237 120344 164624 112242 122355 171224 112246
0001120 124367 175624 112252 125777 001644 122254 126407 006244
0001140 122255 126420 012244 122256 127030 016644 122257 130041
0001160 023244 122260 130452 027244 122261 130462 033244 122261
0001200 130472 037244 122261 130502 043244 122261 130512 047244
0001220 122261 130522 053244 122261 130532 056644 122261 130541
0001240 062244 122261 130550 065644 122261 130556 070644 122261
0001260 130563 072644 122260 127566 073644 122257 127170 074644
0001300 120255 126571 076204 102013 004174 076204 102005 002177
0001320 101604 102003 000607 105604 102001 001220 113204 102002
0001340 001233 120604 102002 002247 126604 102005 001666 142204
0001360 102003 002322 160204 102006 004760 177204 112013 004414
0001400 016224 112005 001456 041224 112005 004525 063224 112017
0001420 011165 102624 112020 010632 130224 112026 016704 153224
0001440 112042 020745 171224 122037 015000 010644 122026 013447
0001460 036244 122027 014517 057244 122032 014152 072644 122023
0001500 007200 105644 122010 001227 121544 062377 177257 133544
0001520 062374 175701 145144 062372 175324 156544 062372 174346
0001540 167544 062367 173367 000564 072367 174420 020164 072373
0001560 176056 034564 072373 174104 046164 072367 173122 054164
0001600 072366 172535 060164 072365 172542 060564 072366 174136
0001620 056164 072372 175532 054564 072373 175530 053164 072374
0001640 177525 052264 130005 002524 110604 102007 003622 112204
0001660 102007 003626 114604 102010 004234 117604 102010 004643
0001700 123604 102012 005653 130204 102014 006664 134604 102016
0001720 007676 141604 102021 011310 146604 102023 012322 154204
0001740 102026 014336 162604 102032 016354 171604 102035 017372
0001760 000624 112037 020011 010624 112042 022032 021624 112046
0002000 024055 033624 112052 026101 045624 112056 030125 060224
0002020 112062 032153 072624 112066 034200 105624 112072 036227
0002040 121224 112076 040256 134624 112103 042704 150224 112107
0002060 044734 164224 112113 046763 176624 122117 050407 011244
0002100 122123 052435 024244 122127 054463 036644 122133 056510
0002120 051644 122137 060135 063644 122141 061162 076244 122143
0002140 062607 110644 122146 063633 122644 122150 064657 134644
0002160 122152 065302 145644 122153 066324 156644 122155 067346
0002200 167244 122157 070366 177244 132161 070406 007264 132162
0002220 071026 017264 132162 071446 026664 132163 071465 036264
0002240 132164 072102 044264 132164 072116 051664 132164 072127
0002260 055664 132164 071536 060264 130162 071140 104104 042263
0002300 126606 103504 042250 122207 104104 042240 117612 106104
0002320 042235 116216 110104 042234 116224 114104 042234 116236
0002340 122504 042234 117654 131504 042242 122272 140504 042247
0002360 125710 150504 042257 131334 165104 042267 136366 177504
0002400 052277 141010 012124 052307 145042 030124 052313 147076
0002420 046124 052321 152134 065124 052326 153565 077124 052331
0002440 156207 110524 052337 161234 124124 052343 162264 141124
0002460 052344 161317 155124 052341 160345 170124 052341 161773
0002500 004144 062346 164024 020544 062353 166460 037144 062356
0002520 167113 053544 062354 165541 065544 062353 165564 076144
0002540 062353 165604 106144 062353 165626 120544 062354 166656
0002560 135544 062354 164307 151144 062344 161335 164144 062341
0002600 160362 176544 072341 161012 014564 072350 162450 031164
0002620 072340 157070 036164 072335 156076 037564 072333 155503

root@Slack-CF28:/home/james#

Last edited by james_jenkins; 03-11-2007 at 03:23 AM.
 
Old 03-11-2007, 05:11 AM   #64
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by stan.distortion
PPaFin, glad you got what you needed sorted out, even if it is the opposite of what most of this thread was looking in to. Fits the title though
You're right. I am certainly looking also to touch configuration, but I need pad working for those experiments

Quote:
Originally Posted by stan.distortion
For the 3G card, there may already be another thread for it but these 2 links claim it works 100% :
Thanks, first one was pcmcia version. Toughbook CF-Y5 has integrated 3G/HSDPA module, so second seems to be more for that. In my early tests, I got serial connection to module with speed 213kpbs and 115kbps with minicom, but I began to think that if module can download up to 3.6MBit/s, is this serial speed a limiting data transfer?
 
Old 03-11-2007, 06:50 AM   #65
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
james_jenkins, thanks for the output, its just what I was looking for. Firstly, there is no switching bit. The good thing is there is a bit registering "untouched" at 110044, 120201, 120255, 130005 and 130162. It is a 0 on the 6th bit from the left, on all the all the others it is set to 1 which fits in with both fujitsu's info and all the previous working drivers.
With the differences in the output for the cf-18 from PPaFin, either the screen controller is different (unlikely) or the output is being altered by the psmouse driver.
For now it should be possible to do a cludge on the lbtouch driver to switch modes when this bit is seen. It would result in:
a: the driver switching modes when either the pad or screen are touched. (annoying but kind of usable)
or b: getting stuck in relative mode as it is looking for a different switch to change it back to absolute (should be the 5th bit from the left)
Hopefully it would be the second as the first would be nearly impossible to write a driver for. With the second it wont be simple to do as the driver has to unload and reset the controller for each touch, all the info so far says this is slow.
It would be simpler to try this with the 2.4 kernel first as the output from od seems to be more accurate and the lbtouch driver doesn't need a kernel module, it is in user space. I'll try and do something with the lbtouch driver later, its above my programing skills though.
JettCRX, if the offer is still open could you post?
Cheers,
Stan
 
Old 03-12-2007, 01:14 PM   #66
dtor
Member
 
Registered: Jun 2004
Location: Indiana, US
Distribution: Used to be RedHat 8
Posts: 43

Rep: Reputation: 15
Guys,

Could you please try tis patch:

http://www.geocities.com/dt_or/tmp/l...-last.patch.gz

and let me know if it allows using touchpad together with the touchscreen?

Thanks!
 
Old 03-12-2007, 02:02 PM   #67
Azizcoos
Member
 
Registered: Nov 2004
Location: KHIE
Distribution: Debian et al
Posts: 81

Rep: Reputation: 16
dtor said:
Quote:
Could you please try tis patch:

http://www.geocities.com/dt_or/tmp/l...-last.patch.gz

and let me know if it allows using touchpad together with the touchscreen?
Is that for 2.4 or 2.6 kernels?
The url is not working from here.
 
Old 03-12-2007, 04:26 PM   #68
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
I have had some trouble with links recently too, the shortened link is coming up instead of the full address. Add the http://www. part:
geocities.com/dt_or/tmp/lifebook-probe-last.patch.gz
The patch is for psmouse-base.c . It allows other PS/2 devices to load before the lifebook touchscreen is identified.
If I keep adding my 2c the bank will be calling me up.
IMHO the driver needs to be set to wait for a change in resolution when the screen is released (the 6th bit from the left of byte 0 normally used for the middle button). According to the Fujitsu info this will reset the controller to relative mode awaiting a resolution setting or the input to switch to absolute mode followed by a (useless) resolution setting.
When the controller is in this state it will still give output but is waiting for a command. I am guessing here but I expect the output to include either the 5th bit set if the pad is touched to switch to relative or the 6th bit set if the screen is touched to switch to absolute as confirmed for the cf-28 by James's output with the 2.4 kernel.
It looks like this needs to be done every time the screen or pad is released to allow a change of modes for the next touch.
Cheers,
Stan

Last edited by stan.distortion; 03-12-2007 at 04:27 PM.
 
Old 03-12-2007, 05:49 PM   #69
dtor
Member
 
Registered: Jun 2004
Location: Indiana, US
Distribution: Used to be RedHat 8
Posts: 43

Rep: Reputation: 15
1. The patch is for 2.6 kernel, the tip of Linus's tree. However there weren't many changes to lifebook driver so it should work for older kernels as well. The patch should reside at:

Code:
    www.geocities.com/dt_or/tmp/lifebook-probe-last.patch.gz
2. Do not try to analyze data steam coming from /dev/psaux on 2.6 kernels. What you see is not a raw datastream but emulated [Explorer] PS/2 protocol reconstructed from however many input devices present in the system by the kernel. If you really need to see the raw data stream coming from a PS/2 port you need to load serio_raw module and manually bind it to approproate serio port via sysfs.

3. If you make your touchscreen work (you will most likely need the patch above to resolve issue with multiple PS/2 ports present) please send your dmidata to dtor@insightbb.com

Thanks!
 
Old 03-15-2007, 12:20 PM   #70
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
Thank Dmitry. Just got my cf-28 and tried the patch, screen and pad were both in absolute mode. I'll give it a try with a 2.6.20 kernel later just to be sure.
Thanks again,
Stan
 
Old 03-15-2007, 01:54 PM   #71
dtor
Member
 
Registered: Jun 2004
Location: Indiana, US
Distribution: Used to be RedHat 8
Posts: 43

Rep: Reputation: 15
Quote:
Originally Posted by stan.distortion
Thank Dmitry. Just got my cf-28 and tried the patch, screen and pad were both in absolute mode.
Hm, can I please get a full dmesg from booting with "i8042.debug log_buf_len=131072"? You can send it directly to dtor@insightbb.com

Thanks!
 
Old 03-17-2007, 02:47 PM   #72
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by stan.distortion
Thank Dmitry. Just got my cf-28 and tried the patch, screen and pad were both in absolute mode. I'll give it a try with a 2.6.20 kernel later just to be sure.
Same here with my CF-18, with 2.6.20 kernel.
 
Old 03-20-2007, 08:29 PM   #73
pawpaw
LQ Newbie
 
Registered: Mar 2007
Distribution: RHEL WS3 & WS4
Posts: 1

Rep: Reputation: 0
CF-30 touchscreen

Quote:
Originally Posted by Nobles
It is a bit of a conspiracy isn't it. I had a CF-30 in for demo and it uses the same touchscreen drivers in Windows XP as the CF-29 (at least CF-29 Windows XP Ghost image booted up and let the touchscreen work so I assume the magic code that lets the touchpad/touchscreen work should be the same for this model as for the older models). Our only hope is that if enough Toughbook models use same the sequence and using Linux on them becomes a more popular choice that somebody will figure it out for free or perhaps Panasonic will start supporting Linux on them.
I have a CF-30CT on which I am attempting to get the Touchscreen to work using RHEL WS3 (2.4.21-47). The CF-30 has a "Fujitsu Component USB Touch Panel", which is not what is on the CF-29ET's and CF-29NT's that I have.

I don't know what WinXP uses.

If anybody has a working Linux touchscreen driver for the CF-30, let me know.
 
Old 03-27-2007, 12:39 AM   #74
dtor
Member
 
Registered: Jun 2004
Location: Indiana, US
Distribution: Used to be RedHat 8
Posts: 43

Rep: Reputation: 15
Hi guys,

I have 3 patches for PS/2 Fujitsu touchscreens that I am thinking about sending for 2.6.22 and it would be great if they receive some testing. The patches are called lifebook-*.patch and located here:

http://www.kernel.org/pub/linux/kernel/people/dtor/

Remember that evtouch X driver is recommended for use with touchscreens.

Thank you in advance.
 
Old 03-27-2007, 01:20 AM   #75
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Rep: Reputation: 15
Dmitry,

The CF-28 I would like to try your patches on has Suse 10.1 on it. It has kernel 2.6.16.21-0.25. I have imaged the drive, so all I'm out is the time I dick with it and the hour it takes to re-image if it nukes. Stan sent me a module and asked for the output of "modinfo psmouse", but my machine gave me "modinfo: could not find module psmouse". I have tried other patches in the past on this machine for the touchscreen, but not had any success. I have been assuming it was because of something that Suse was doing that was slightly "Non-Standard", but without proof one way or another, I still get unexpected errors while trying to apply patches. Needless to say, I don't end up with the expected results.

I was wondering if it was possible for you to list step-by-step how you think your patches should be applied, and recompiled through reboot. That way anyone should be able to succeed in applying them, and if I have the same issues I've had in the past, we know where things are failing on Suse, and maybe someone can assist me in getting past them.

While I succeeded in 2.4 with Slackware, I failed miserably with 2.6 and Suse. I don't mind going through the pain again, but I would like to know I have some backup this time. My end goal is having a working touchscreen under Suse.

Thanks.
James
 
  


Reply

Tags
cf, panasonic, touchscreen, toughbook


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchscreen - Panasonic Toughbook CF-29 Azizcoos Linux - Hardware 14 04-26-2007 07:51 AM
Linux/GUI suggestions for Panasonic toughbook CF-71 1,000_naymes Linux - Laptop and Netbook 5 07-12-2006 08:21 PM
Panasonic ToughBook Wireless ultrabots2002 MEPIS 1 06-01-2005 11:34 AM
Sound on Panasonic CF-27 Toughbook erraticassassin Linux - Hardware 2 12-02-2004 02:32 PM
Replacing Mandrake with Slack on a Panasonic Toughbook erraticassassin Slackware 5 07-04-2004 02:49 PM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration