You are not logged in.
I recently had to reinstall arch to do a dual boot with mac osx for the wifey. I pulled all my configs down from my github but strangely the multimedia keys, XF86Audio{Prev,Play,Next} weren't working.
.xbindkeysrc
"xbacklight -dec 5"
m:0x0 + c:232
"xbacklight -inc 5"
m:0x0 + c:233
"kbdlight up"
m:0x0 + c:238
"kbdlight down"
m:0x0 + c:237
"/usr/bin/pulseaudio-ctl up"
m:0x0 + c:123
"/usr/bin/pulseaudio-ctl down"
m:0x0 + c:122
"/usr/bin/pulseaudio-ctl mute"
m:0x0 + c:121
"ncmpcpp toggle"
m:0x10 + c:172
XF86AudioPlay
"ncmpcpp next"
m:0x10 + c:171
XF86AudioNext
"ncmpcpp prev"
m:0x10 + c:173
XF86AudioPrevI did run showkey and the keycode in order is 165,164,163.
xev output:
Outer window is 0x2200001, inner window is 0x2200002
PropertyNotify event, serial 8, synthetic NO, window 0x2200001,
atom 0x27 (WM_NAME), time 1367489, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x2200001,
atom 0x22 (WM_COMMAND), time 1367489, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x2200001,
atom 0x28 (WM_NORMAL_HINTS), time 1367489, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x2200001,
parent 0x2200001, window 0x2200002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x2200001,
atom 0x13b (WM_PROTOCOLS), time 1367489, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200002, override NO
ConfigureNotify event, serial 23, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, (0,0), width 178, height 178,
border_width 1, above 0x14000b8, override NO
ConfigureNotify event, serial 23, synthetic YES, window 0x2200001,
event 0x2200001, window 0x2200001, (0,25), width 178, height 178,
border_width 1, above 0x0, override NO
ConfigureNotify event, serial 27, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, (2880,25), width 178, height 178,
border_width 1, above 0x14000b8, override NO
PropertyNotify event, serial 27, synthetic NO, window 0x2200001,
atom 0x16e (WM_STATE), time 1367489, state PropertyNewValue
ConfigureNotify event, serial 28, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, (0,25), width 178, height 178,
border_width 1, above 0x14000b8, override NO
ConfigureNotify event, serial 28, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, (8,33), width 710, height 857,
border_width 1, above 0x14000b8, override NO
ConfigureNotify event, serial 28, synthetic YES, window 0x2200001,
event 0x2200001, window 0x2200001, (8,33), width 710, height 857,
border_width 1, above 0x0, override NO
ConfigureNotify event, serial 29, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, (8,33), width 710, height 857,
border_width 1, above 0x1400004, override NO
MapNotify event, serial 29, synthetic NO, window 0x2200001,
event 0x2200001, window 0x2200001, override NOI ran journalctl -f to see what is happening when I press the three buttons:
└─╼ journalctl -f
-- Logs begin at Sat 2015-01-24 22:08:04 PST. --
Jan 27 13:12:44 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:44 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:45 AetherX kernel: ncmpcpp[27980]: segfault at 0 ip 000000000053e01b sp 00007fffdd7e0840 error 4 in ncmpcpp[400000+1ce000]
Jan 27 13:12:45 AetherX systemd-coredump[27981]: Process 27980 (ncmpcpp) of user 1000 dumped core.
Jan 27 13:12:45 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:45 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:46 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:46 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:47 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:47 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:49 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:49 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:50 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:50 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:50 AetherX kernel: ncmpcpp[28164]: segfault at 0 ip 000000000053e01b sp 00007fff28e943f0 error 4 in ncmpcpp[400000+1ce000]
Jan 27 13:12:50 AetherX systemd-coredump[28165]: Process 28164 (ncmpcpp) of user 1000 dumped core.
Jan 27 13:12:51 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:51 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:51 AetherX kernel: ncmpcpp[28203]: segfault at 0 ip 000000000053e01b sp 00007fff25251120 error 4 in ncmpcpp[400000+1ce000]
Jan 27 13:12:52 AetherX systemd-coredump[28204]: Process 28203 (ncmpcpp) of user 1000 dumped core.
Jan 27 13:12:52 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:52 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:53 AetherX kernel: ncmpcpp[28248]: segfault at 0 ip 000000000053e01b sp 00007fffa9eb8aa0 error 4 in ncmpcpp[400000+1ce000]
Jan 27 13:12:53 AetherX systemd-coredump[28249]: Process 28248 (ncmpcpp) of user 1000 dumped core.
Jan 27 13:12:54 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:54 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:55 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:55 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)
Jan 27 13:12:56 AetherX kernel: ERROR @wl_dev_intvar_get : error (-1)
Jan 27 13:12:56 AetherX kernel: ERROR @wl_cfg80211_get_tx_power : error (-1)I even tried xmodmap to no avail:
keycode 165 = XF86AudioPrev
keycode 164 = XF86AudioPlay
keycode 163 = XF86AudioNextWhat gives? The other xbindkeys work well. What is causing the ncmpcpp segfault or how do I go about finding out more info?
This is on a macbook 2013 6,2 on
└─╼ uname -a
Linux AetherX 3.18.3-1-ck #1 SMP PREEMPT Fri Jan 16 15:46:26 EST 2015 x86_64 GNU/LinuxLast edited by frank604 (2015-01-30 07:44:30)
Offline
Wow I feel dumb. Seems like ncmpcpp changed quite a bit since I last used it (around last Sept!?). Looks like we use mpc instead, example "mpc next" "mpc prev" "mpc toggle". Marking as solved.
Offline