Page 3 of 3

Re: Kali linux on cf-19 mk3

Posted: Tue Apr 14, 2015 7:46 am
by kode-niner
That's great!!!
Thanks to the kernel module, the buttons can now be intercepted as standard input events.
The lock button is:

Code: Select all

XF86ScreenSaver
The rotate button is:

Code: Select all

XF86RotateWindows
The enter button is the same as the enter key

Code: Select all

Return
I get nothing for the soft keyboard button, though.

I can finally use my window manager's (Openbox) hotkeys to run whatever script or application for these events. Many thanks!

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 11:47 am
by scottie4442
how did you figure out that the rotate button was x86rotatewindows. I can see the acpi codes, but my the keyboard and rotate buttons do not show up under xev (key scancode program) at all. I am looking into how to setup acpi button events to run a script, when I have figure this out I will post my results, as you can see from my post before I have the script already written, just not sure how to apply it yet. Also I am trying to figure out what I want to do with the return button, do not need a button to press enter.

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 12:57 pm
by kode-niner
xev works for me. Are you sure the little white window is in the foreground when you hit the buttons?

Since I use Openbox, it's a trivial matter to run anything I want with the front buttons. Does your desktop manager have some sort of hotkey functionality? For the return button/key, you might have to modify the source code since it now acts the same as the enter key on your keyboard.

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 1:11 pm
by scottie4442
xev works but does not show the keyboard and rotation button scan codes, I am going to figure out how to get these two buttons working and then figure out what to do with the return button.

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 1:12 pm
by kode-niner
Keyboard doesn't work for me but rotation does.

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 1:31 pm
by scottie4442
must be my windows/desktop manager. Kali uses gnome mate, this might be the issue with the screen rotation

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 1:32 pm
by kode-niner
So you're sticking with Kali on the 'ole 19, eh? Hehehe.

Re: Kali linux on cf-19 mk3

Posted: Wed Apr 15, 2015 1:42 pm
by scottie4442
at least for the moment, until I figure out which one I like better for my network business. then I am going to convert the other to just plain debian or mint.