Hallo liebe Leute,
ich habe schon ewige Zeiten damit verbracht nach Lösungen zu suchen und war dem wohl auch schon ganz nahe, nun muss ich hier fragen, da ich im debianforum.de schon über geraume Zeit keinerlei Feedback erhalten habe... Ich hoffe dieses Forum hier passt. Ich denke es liegt irgendwie an XFCE... Falls nicht, bitte korrigiert mich ☺
Also:
An meinem Lenovo ThinkPad E325 sind die wohl bekannten Funktionstasten in der Tastatur verbaut. Nach allem was ich bisher rausfinden konnte, funktioniert bei diesen das Regulieren der Bildschirmhelligkeit (inkl. OSM) und das Schalten der Wlan Antenne.
Nun wollte ich die drei Tasten für die Lautstärkeregelung zum laufen kriegen und habe dabei folgendes heraus gefunden:
Mein System generell:
philip@Erdling:~$ lsb_release -d Description: Debian GNU/Linux 7.6 (wheezy) philip@Erdling:~$ uname -r 3.2.0-4-amd64
Die Ausgabe zu meinen Tasten:
philip@Erdling:~$ xev Outer window is 0x2c00001, inner window is 0x2c00002 PropertyNotify event, serial 8, synthetic NO, window 0x2c00001, atom 0x27 (WM_NAME), time 2707584, state PropertyNewValue PropertyNotify event, serial 9, synthetic NO, window 0x2c00001, atom 0x22 (WM_COMMAND), time 2707584, state PropertyNewValue PropertyNotify event, serial 10, synthetic NO, window 0x2c00001, atom 0x28 (WM_NORMAL_HINTS), time 2707584, state PropertyNewValue CreateNotify event, serial 11, synthetic NO, window 0x2c00001, parent 0x2c00001, window 0x2c00002, (10,10), width 50, height 50 border_width 4, override NO PropertyNotify event, serial 14, synthetic NO, window 0x2c00001, atom 0x14c (WM_PROTOCOLS), time 2707585, state PropertyNewValue MapNotify event, serial 15, synthetic NO, window 0x2c00001, event 0x2c00001, window 0x2c00002, override NO PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x15a (_NET_WM_STATE), time 2707595, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x1ef (_WIN_STATE), time 2707595, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x1f0 (_WIN_WORKSPACE), time 2707595, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x154 (_NET_WM_DESKTOP), time 2707595, state PropertyNewValue ConfigureNotify event, serial 18, synthetic NO, window 0x2c00001, event 0x2c00001, window 0x2c00001, (0,0), width 178, height 178, border_width 0, above 0x300036f, override NO ReparentNotify event, serial 18, synthetic NO, window 0x2c00001, event 0x2c00001, window 0x2c00001, parent 0x1007e90, (1,22), override NO ConfigureNotify event, serial 18, synthetic NO, window 0x2c00001, event 0x2c00001, window 0x2c00001, (1,22), width 178, height 178, border_width 0, above 0x1007e9f, override NO ConfigureNotify event, serial 18, synthetic YES, window 0x2c00001, event 0x2c00001, window 0x2c00001, (594,292), width 178, height 178, border_width 0, above 0x1007e90, override NO MapNotify event, serial 18, synthetic NO, window 0x2c00001, event 0x2c00001, window 0x2c00001, override NO VisibilityNotify event, serial 18, synthetic NO, window 0x2c00001, state VisibilityUnobscured Expose event, serial 18, synthetic NO, window 0x2c00001, (0,0), width 178, height 10, count 3 Expose event, serial 18, synthetic NO, window 0x2c00001, (0,10), width 10, height 58, count 2 Expose event, serial 18, synthetic NO, window 0x2c00001, (68,10), width 110, height 58, count 1 Expose event, serial 18, synthetic NO, window 0x2c00001, (0,68), width 178, height 110, count 0 PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x178 (WM_STATE), time 2707624, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x1d7 (_NET_WM_ALLOWED_ACTIONS), time 2707624, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x15a (_NET_WM_STATE), time 2707624, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x1ef (_WIN_STATE), time 2707624, state PropertyNewValue FocusIn event, serial 18, synthetic NO, window 0x2c00001, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 18, synthetic NO, window 0x0, keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x151 (_NET_FRAME_EXTENTS), time 2707624, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x15a (_NET_WM_STATE), time 2707624, state PropertyNewValue PropertyNotify event, serial 18, synthetic NO, window 0x2c00001, atom 0x1ef (_WIN_STATE), time 2707624, state PropertyNewValue PropertyNotify event, serial 35, synthetic NO, window 0x2c00001, atom 0x1da (_NET_WM_ICON_GEOMETRY), time 2707760, state PropertyNewValue KeyPress event, serial 36, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2714328, (771,-291), root:(1365,1), state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2714339, (771,-291), root:(1365,1), state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2714678, (771,-291), root:(1365,1), state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2714769, (771,-291), root:(1365,1), state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2714987, (771,-291), root:(1365,1), state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2715073, (771,-291), root:(1365,1), state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False MappingNotify event, serial 39, synthetic NO, window 0x0, request MappingKeyboard, first_keycode 8, count 248 KeyPress event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2715577, (771,-291), root:(1365,1), state 0x0, keycode 220 (keysym 0x1008ff8f, XF86WebCam), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 39, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2715577, (771,-291), root:(1365,1), state 0x0, keycode 220 (keysym 0x1008ff8f, XF86WebCam), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 40, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2715882, (771,-291), root:(1365,1), state 0x0, keycode 235 (keysym 0x1008ff59, XF86Display), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2715882, (771,-291), root:(1365,1), state 0x0, keycode 235 (keysym 0x1008ff59, XF86Display), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False MappingNotify event, serial 40, synthetic NO, window 0x0, request MappingKeyboard, first_keycode 8, count 248 FocusOut event, serial 40, synthetic NO, window 0x2c00001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 40, synthetic NO, window 0x2c00001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 40, synthetic NO, window 0x0, keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VisibilityNotify event, serial 41, synthetic NO, window 0x2c00001, state VisibilityPartiallyObscured FocusOut event, serial 41, synthetic NO, window 0x2c00001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 41, synthetic NO, window 0x2c00001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 41, synthetic NO, window 0x0, keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MappingNotify event, serial 41, synthetic NO, window 0x0, request MappingKeyboard, first_keycode 8, count 248 KeyPress event, serial 41, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2716773, (771,-291), root:(1365,1), state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 41, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2716774, (771,-291), root:(1365,1), state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False MappingNotify event, serial 42, synthetic NO, window 0x0, request MappingKeyboard, first_keycode 8, count 248 KeyPress event, serial 42, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717066, (771,-291), root:(1365,1), state 0x0, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 43, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717156, (771,-291), root:(1365,1), state 0x0, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 43, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717371, (771,-291), root:(1365,1), state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 43, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717461, (771,-291), root:(1365,1), state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 43, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717724, (771,-291), root:(1365,1), state 0x0, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 43, synthetic NO, window 0x2c00001, root 0x14f, subw 0x0, time 2717810, (771,-291), root:(1365,1), state 0x0, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False VisibilityNotify event, serial 43, synthetic NO, window 0x2c00001, state VisibilityUnobscured Expose event, serial 43, synthetic NO, window 0x2c00001, (0,41), width 10, height 27, count 2 Expose event, serial 43, synthetic NO, window 0x2c00001, (68,41), width 110, height 27, count 1 Expose event, serial 43, synthetic NO, window 0x2c00001, (0,68), width 178, height 75, count 0 ClientMessage event, serial 43, synthetic YES, window 0x2c00001, message_type 0x14c (WM_PROTOCOLS), format 32, message 0x14a (WM_DELETE_WINDOW)
Also scheinen bis auf die Mirkofontaste, alle zumindest korrekt benannt zu sein.
Das hier gibt es zu meinem Soundsystem zu Wissen:
philip@Erdling:~$ lspci -nnk | grep -iA2 audio 00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314] Subsystem: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314] Kernel driver in use: snd_hda_intel 00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] Family 14h Processor Root Port [1022:1513] -- 00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) [1002:4383] (rev 40) Subsystem: Lenovo Device [17aa:21f0] Kernel driver in use: snd_hda_intel
philip@Erdling:~$ aplay -l **** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: Generic [HD-Audio Generic], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: SB [HDA ATI SB], Gerät 0: CONEXANT Analog [CONEXANT Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0
philip@Erdling:~$ lsmod | grep "snd" snd_hda_codec_conexant 45307 1 snd_hda_codec_hdmi 30824 1 snd_hda_intel 26259 2 snd_hda_codec 78031 3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_conexant snd_hwdep 13186 1 snd_hda_codec snd_pcm 68083 3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi snd_page_alloc 13003 2 snd_pcm,snd_hda_intel snd_seq 45126 0 snd_seq_device 13176 1 snd_seq snd_timer 22917 2 snd_seq,snd_pcm snd 52893 16 thinkpad_acpi,snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_conexant soundcore 13065 1 snd
freigeist@Erdling:/proc/asound$ less modules 0 snd_hda_intel 1 snd_hda_intel 29 thinkpad_acpi
freigeist@Erdling:/proc/asound$ less cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xf0344000 irq 43 1 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0340000 irq 16 29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control ThinkPad Console Audio Control at EC reg 0x30, fw unknown
freigeist@Erdling:/proc/asound$ less devices 1: : sequencer 2: [29] : control 3: [ 0- 3]: digital audio playback 4: [ 0- 0]: hardware dependent 5: [ 0] : control 6: [ 1- 0]: digital audio playback 7: [ 1- 0]: digital audio capture 8: [ 1- 0]: hardware dependent 9: [ 1] : control 33: : timer
Damit mein Ton überhaupt läuft musste ich in /etc/ die Datei asound.conf erstellen. Die sieht so aus:
pcm.snd_card { type hw card "SB" } ctl.snd_card { type hw card "SB" } pcm.dmixer { type dmix ipc_key 1024 ipc_perm 0666 slave.pcm "snd_card" slave { period_time 0 period_size 1024 buffer_size 4096 rate 48000 channels 2 } bindings { 0 0 1 1 } } pcm.dsnooper { type dsnoop ipc_key 2048 ipc_perm 0666 slave.pcm "snd_card" slave { period_time 0 period_size 1024 buffer_size 4096 rate 48000 channels 2 } bindings { 0 0 1 1 } } pcm.duplex { type asym playback.pcm "dmixer" capture.pcm "dsnooper" } pcm.!default { type plug slave.pcm "duplex" }
Zwischenfrage, wieso funktioniert mein Ton nicht wenn ich statt
card "SB"
card 1 device 0
angebe. Damit spreche ich doch aus die "SB" an oder?
Naja, weiter im eigentlichen Text:
Bei meiner Suche bin ich hier gelandet:
http://askubuntu.com/questions/130927/h ... in-xubuntu
und habe mich daran versucht. Also per console den xfce4-setting-editor aufgerufen und herausgefunden, dass ich das im Link beschriebene Problem habe. Der xfce4-mixer hatte als "active-card" den Wert "HDAudioGenericAlsamixer" statt "HDAATISBAlsamixer". Ich habe das korrigiert die "SB" Karte als "active-card" gesetzt.
Tadaaa, meine Lautstärketasten inkl. OSM funktionierten. Prima, Problemlösung aufgeschrieben in meine immer größer werdenden persönlichen Debian Dokumentation. Neustart. Wieder kaputt.... Die Werte des xfce4-mixer sind die gleichen geblieben. Ich verzweifel, war ja nicht der erste Lösungsversuch.
Jemand ne Idee?
Danke!
Bearbeitet von Antiqua:
Debian ist kein Ubuntu, deshalb Versionsauswahl auf "kein Ubuntu" korrigiert.