Silverstone LC16m front buttons

Linux support for Soundgraph iMON USB IR/VFD modules used in Ahanix, Silverstone, Uneed, Accent and other cases.

Moderator: Venky

fairuser
Posts: 1
Joined: Sun Oct 08, 2006 7:23 am

I had to run xev as root to get output:

Post by fairuser » Sun Oct 08, 2006 7:35 am

I put my comments in ALL CAPS to remind me which button is which.

SKIP BACK
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 534243, (622,449), root:(626,477),
state 0x10, keycode 144 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 534403, (622,449), root:(626,477),
state 0x10, keycode 144 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

SKIP FORWARD
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 535275, (622,449), root:(626,477),
state 0x10, keycode 153 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 535491, (622,449), root:(626,477),
state 0x10, keycode 153 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

STOP
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 536067, (622,449), root:(626,477),
state 0x10, keycode 164 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 536283, (622,449), root:(626,477),
state 0x10, keycode 164 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

PLAY/PAUSE
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 536795, (622,449), root:(626,477),
state 0x10, keycode 162 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 537011, (622,449), root:(626,477),
state 0x10, keycode 162 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

MUTE
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 537491, (622,449), root:(626,477),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 537683, (622,449), root:(626,477),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

VOL UP
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 538203, (622,449), root:(626,477),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 538411, (622,449), root:(626,477),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

VOL DOWN
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 538851, (622,449), root:(626,477),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x4c, subw 0x0, time 539059, (622,449), root:(626,477),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:

IndieRockSteve
Posts: 16
Joined: Tue Nov 15, 2005 9:13 am

Post by IndieRockSteve » Sun Oct 08, 2006 12:59 pm

awesome!!

here's my .xmodmaprc I'm using with Myth.

!Skip Back
keycode 144 = Left
!Skip Forward
keycode 153 = Right
!Stop
keycode 164 = Escape
!PlayPause
keycode 162 = P
!VolUp
keycode 176 = Up
!VolDn
keycode 174 = Down


I'd like to figure out how to make a keycode pass something like "Ctrl-P", though I wasn't able to figure it out.

oliver
Posts: 6
Joined: Thu Sep 07, 2006 6:46 pm

Re: Silverstone LC16m front buttons

Post by oliver » Thu Oct 08, 2009 6:15 pm

Because my 0b38:0010 that came with my LC16M combined with the iMon 15c2:ffdc came with slightly different keycodes, here my remappings. I really dind't want to install xev on my bare box, but since the keycodes posted didn't work, i did it anyway.

Code: Select all

freevo@erin ~ $ cat .Xmodmap 
!Freevo default keymapping.
!XF86AudioPrev
keycode 173 = Left
!XF86AudioNext
keycode 171 = Right
!XF86AudioStop
keycode 174 = Escape
!XF86AudioPlay
keycode 172 = p
!XF86AudioMute
keycode 121 = F3
!XF86AudioRaiseVolume
keycode 123 = m
!XF86AudioLowerVolume
keycode 122 = n

Post Reply