Page 1 of 8

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

Posted: Sun Feb 14, 2016 9:14 pm
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.

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

Posted: Sun Feb 14, 2016 9:37 pm
by toughasnails
So you must have W7 installed ??

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

Posted: Sun Feb 14, 2016 10:27 pm
by Shawn
What about that extra stuff I found for Emporer? It's tailored for Linux on Toughbooks.

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

Posted: Mon Feb 15, 2016 8:29 am
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.

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

Posted: Wed Feb 17, 2016 8:42 pm
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
*
*/

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

Posted: Fri Feb 26, 2016 11:20 am
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.

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

Posted: Fri Feb 26, 2016 11:24 am
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.

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

Posted: Fri Feb 26, 2016 11:50 am
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.

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

Posted: Fri Feb 26, 2016 3:06 pm
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.

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

Posted: Tue Mar 01, 2016 2:29 pm
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 :(