Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Cześć,
Mam problem z dźwiękiem poprzez ALSA. Sam dźwięk jest, odtwarzam muzykę przez MPD, jednak za żadne skarby nie jestem w stanie sterować głośnością. W /dev/sndstat mam linię "Mixers: NOT ENABLED IN CONFIG", stąd zapewne przyczyna problemów.
pawel@hermony:~$ cat /dev/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code) Kernel: Linux hermony 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: HDA ATI SB at 0xfe7f4000 irq 16 HDA ATI HDMI at 0xfe9e8000 irq 19 Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 31: system timer Mixers: NOT ENABLED IN CONFIG
Oto link do wyniku działania skryptu alsa-info.sh:
http://www.alsa-project.org/db/?f=2159729a70a6de425 … 98e04d34f2735
Offline
Nie wiem czy dokładnie w tym problem ale radze zajrzeć tutaj:
http://alsa.opensrc.org/How_to_use_softvol_to_contr … master_volume
Podobno nie wszystkie sprzęty/ster mają zaimplementowany kanał master i stąd takie jaja. - pytanie, co się dzieje jak chcesz wywołać np alsamixer?
Offline
alsamixer co ciekawe wyświetla paski do regulacji, poruszanie nimi jednak nie zmienia głośności.
Dzięki za przykład z softvol, spróbuję wieczorem.
pawel@hermony:~$ amixer Simple mixer control 'Master Front',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 9 [29%] [-21.00dB] [on] Front Right: Playback 6 [19%] [-25.50dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 42 Mono: Front Left: Playback 28 [67%] [-21.00dB] [on] Front Right: Playback 28 [67%] [-21.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 42 Mono: Front Left: Playback 28 [67%] [-21.00dB] [on] Front Right: Playback 28 [67%] [-21.00dB] [on] Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Front Mic Boost',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 42 Mono: Front Left: Playback 0 [0%] [-63.00dB] [on] Front Right: Playback 36 [86%] [-9.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 42 Mono: Playback 39 [93%] [-4.50dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 42 Mono: Playback 26 [62%] [-24.00dB] [on] Simple mixer control 'Side',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 42 Mono: Front Left: Playback 28 [67%] [-21.00dB] [on] Front Right: Playback 28 [67%] [-21.00dB] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 7 [23%] [-24.00dB] [off] Front Right: Playback 7 [23%] [-24.00dB] [off] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 19 [61%] [12.00dB] [on] Front Right: Capture 19 [61%] [12.00dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 31 [100%] [30.00dB] [on] Front Right: Capture 31 [100%] [30.00dB] [on] Simple mixer control 'Independent HP',0 Capabilities: enum Items: 'OFF' 'ON' Item0: 'ON' Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Stereo Mixer' 'Mic' 'Front Mic' 'Line' Item0: 'Mic' Simple mixer control 'Smart 5.1',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on]
Offline