A quest, get the CF-19 front keys working!

Due to overwhelming demand, we have created a forum just dedicated to Toughbook users who use Linux!
Post Reply
Message
Author
glitch
Posts: 61
Joined: Sun Dec 07, 2014 2:39 pm
Location: Around Kansas City

A quest, get the CF-19 front keys working!

#1 Post by glitch »

Took a break from study to look at the "Button" issue plaguing 19's.

Did a little digging and I found:

cateee.net/lkddb/web-lkddb/PANASONIC_LAPTOP.html

talking about modules which lead me to search my computer.

I found Panasonic in:
/sys/class/backlight
/sys/devices/virtual/backlight
/usr/src/linux-headers ... /include/config
/sys/bus/acpi/drivers
/sys/modules
//etc/acpi/events

Do not get excited about acpi events, try this in a terminal:

you@yourcomputer:~$ acpi_listen

It will show the events as keys are pressed, notice that the
light keys get listed, the keys we want to work, don't.

So then I found this:

https://github.com/heiher/panasonic-hbtn

Downloaded zip, ran make, no love. :damnit:

But its a clue in the quest to make these darn buttons work.
I will document any findings here, feel free to help with clues or a solution.
glitch

CF-19 Mk-1 / CF-M34 / CF-27 / CF-28 / CF-29 Mk-1 / CF-H1 Field/Health

“The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way.” Heraclitus ~5 bc

User avatar
toughasnails
Toughbooktalk Moderator
Posts: 2644
Joined: Sat Mar 28, 2009 7:59 pm
Location: "TOUGHBOOK LAND" ME ,USA / NB . CANADA

Re: A quest, get the CF-19 front keys working!

#2 Post by toughasnails »

So you must have W7 installed ??
:spinny: Blair :spinny:
___________________
CF-19 MK1, 2, 5 Emissive Keyboard, Samsung 240GB SSD, 12GB Ram, W7 64 bit, GPS *
CF-28 MK2, 3
CF-30 MK2 , Intel SSD, 4GB , GPS, W7 Ultimate , Bluetooth, Emissive Keyboard
CF-51 MK3LL Core 2 Duo T7600 Mod , W7, 4GB Ram, 160GB 7200RPM HDD, Finger Print Reader
CF-52MK1 Core2Duo 2GHz, Intel SSD X25 Series ,4GB , BT with dock
CF-52 MK4 i5‑2540M 2.60GHz, ATI Discrete Graphics, Intel 120GB SSD, 16GB,W7 Pro 64bit
CF-53MK1 i5/2520, Kingston Hyper X SSD 240GB, 16GB memory, W7 Pro 64bit with dock
CF-54 MK2 Samsung SSD512GB, 16GB memory
And the little guys CF-M34 MK3 and MK7
Infologix / MediSlate 10.4" tablet
Cel Samsung Note 8
Member of:
http://thessdreview.com/
http://www.toughbooktalk.com

User avatar
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: A quest, get the CF-19 front keys working!

#3 Post by Shawn »

What about that extra stuff I found for Emporer? It's tailored for Linux on Toughbooks.
Life will beat you into submission.

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: A quest, get the CF-19 front keys working!

#4 Post by SHEEPMAN! »

xrandr
I was never able to trace the electric impulse? from a button push...where does it go? Forget what Linux commands I tried.

Had a crazy idea about loading front button drivers in .wine, never tried it.

Are the buttons not simply on/off? We need to hack the rotation driver in W$ and see what it's doing in English.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

UNCNDL1
Posts: 509
Joined: Wed Nov 16, 2011 8:01 pm
Location: New England

Re: A quest, get the CF-19 front keys working!

#5 Post by UNCNDL1 »

you guys are very funny....now that i might have more time on my hands, and I have a CF-19 at my fingertips....let's dig in....this where you lead me??
Panasonic Tablet Button driver
* (C) 2012 Heiher <admin@heiher.info>
*
* derived from panasonic-laptop.c, Copyright (C) 2002-2004 John Belmonte
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publicshed by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield

glitch
Posts: 61
Joined: Sun Dec 07, 2014 2:39 pm
Location: Around Kansas City

Re: A quest, get the CF-19 front keys working!

#6 Post by glitch »

Sorry I fell off the grid, stuff got crazy.

From what I can tell, when you push the button an event does happen, but not in acpi, it is going to the kernel. The stuff I downloaded from github didn't work as advertised and in fact messed with my power settings. I cannot completely log off, it goes into some sort of weird sleep mode. Of course I was pushing lots of (software) buttons and messing with lots of stuff in the background, its not the first time I have nuked a perfectly good install. :)

I am caught up as of today and will start looking at it again.
glitch

CF-19 Mk-1 / CF-M34 / CF-27 / CF-28 / CF-29 Mk-1 / CF-H1 Field/Health

“The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way.” Heraclitus ~5 bc

glitch
Posts: 61
Joined: Sun Dec 07, 2014 2:39 pm
Location: Around Kansas City

Re: A quest, get the CF-19 front keys working!

#7 Post by glitch »

Oh and its not just a button on off thing, most things inside a computer are like signals,

"button pressed", (micro seconds later) "button released" -- events.

Its not simply a momentary button, (physically it is) but how the system reads it. It goes to a buffer and then is picked up by the OS to respond to the users desires.
glitch

CF-19 Mk-1 / CF-M34 / CF-27 / CF-28 / CF-29 Mk-1 / CF-H1 Field/Health

“The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way.” Heraclitus ~5 bc

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: A quest, get the CF-19 front keys working!

#8 Post by kode-niner »

I am getting deja vu. I think we already went through this somehow, or found another site with a custom module somewhere.
Daily drives a CF-31

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: A quest, get the CF-19 front keys working!

#9 Post by SHEEPMAN! »

Many have tried.

I don't hear anyone bragging about success.

Glitch is young.....it's not the correct answer/ it's the quest that makes it fun. :)

Carry on.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

devyl
Posts: 1
Joined: Sun Feb 28, 2016 1:41 pm
Location: Germany

Re: A quest, get the CF-19 front keys working!

#10 Post by devyl »

it's no problem to get it to work. just compile and than use "sudo insmod ...ko" to activate/test.
further informations: https://en.wikipedia.org/wiki/Modprobe

i got it to work with opensuse leap, but i don't know how to map the virtual keyboard i use or an rotate-script :(

Post Reply

Return to “The LINUX forum!!!”