Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gateway Keyboard Hotkeys
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Sat Nov 13, 2004 4:15 am    Post subject: Gateway Keyboard Hotkeys Reply with quote

Hey, thanks for the help in advance.

I've finished getting the base for my linux system up and hopefully stable, so now I've started moving on to the more difficult things. The first thing I want to do is get my hotkeys at the top of the keyboard doing something. I have 4 CD control buttons, volume controls and mute, four random keys labeled "Messages, Phone, TV, and Radio" that I'll probably just use for something else, and a Sleep button. My goal is to get control of these keys to do stuff - perhaps XMMS controls for the CD controls or something similar, volume for the volume, and just keyboard shortcuts for common applications (Firefox, SciTE) on the hotkeys... and probably some dialog box to ask if I want to shutdown on the sleep button.

I've seen this program called hotkeys that looks very promising - I like the idea of the on screen display, as it's similar to what I could do in windows. I'll take what I can get though. Anyways, the issue I think I'm having at the moment is that when I run xev to find what the heck these keys are sending, I'm getting keycodes that overlap. I'll press a button and a few KeyPress events for keycode 52, or the letter z, and when I release it I get three release events for Super_L, Control_L, and z. Basically, I have no idea whats going on or how I can get these keys to do anything.

I'm using the kbd driver in xorg-x11 and the pc104 model.

Anyone have some ideas? Thanks again.

-Monkey
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Sat Nov 13, 2004 3:46 pm    Post subject: Reply with quote

I also just tried my Dell USB multimedia keyboard, and it doesn't work either... xev says nothing for the 7 hotkeys at the top, and gives an event for the sleep button, with keycode 2xx (I forget the x's).

Can someone help me get my keycodes working? :)
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Sun Dec 12, 2004 9:41 pm    Post subject: Reply with quote

-- Bump --

Using evdev, while it seems that trying it as the keyboard device crashes X (haven't investigated far), there's some promise - when I cat /dev/input/event1, I get garbage pressing on the keys in my keyboard, but nothing from the hotkeys. When I cat /dev/input/event2, I only get garbage pressing on each of the hotkeys. Is this something I can work with? Will I ever get these hotkeys working?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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