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/.
Heja,
Mam taki wynalazek:
**** List of PLAYBACK Hardware Devices **** card 1: P780 [Plantronics GameCom 780], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
Z powodu błędu jądra nie działała alsa poprawnie więc zainstalowałem pulse. Teraz poprawiłem sterownik, na 2 maszynach działa ok, bo nie było pulse, na 3 było pulse, po usunięciu nie ma dźwięku.
alsamixer zwraca:
cannot open mixer: Nie ma takiego pliku ani katalogu
speaker-test:
speaker-test 1.0.28 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: Nie ma takiego pliku ani katalogu ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: Nie ma takiego pliku ani katalogu ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: Nie ma takiego pliku ani katalogu ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: Nie ma takiego pliku ani katalogu ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default Playback open error: -2,Nie ma takiego pliku ani katalogu
aplay -L:
null Discard all samples (playback) or generate zero samples (capture) sysdefault:CARD=P780 Plantronics GameCom 780, USB Audio Default Audio Device front:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio Front speakers surround21:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 4.0 Surround output to Front and Rear speakers surround41:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers dmix:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio Direct sample mixing device dsnoop:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio Direct sample snooping device hw:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio Direct hardware device without any conversions plughw:CARD=P780,DEV=0 Plantronics GameCom 780, USB Audio Hardware device with all software conversions
żadnego asound.conf nie ma, śmieci z pulse usunięte. Ma ktoś pomysł gdzie szukać błędu?
Ostatnio edytowany przez mati75 (2014-11-10 11:06:58)
Offline
Musisz skonfigurować porządnie kartę w /etc/asound.conf, bez tego nic nie zdziałasz.
Poza tym daj pełny zrzut ze skryptu alsa-info:
https://forum.dug.net.pl/viewtopic.php?pid=164151#p164151
Bez tego to i tak jest tylko gdybologia stosowana.
Ja aktualnie jadę na takim konfigu (snd-hda-intel):
http://jacekalex.sh.dug.net.pl/asound.conf
jakośtam działa, dźwięk jest ok.
Szykuję się jednak z przeprowadzką Skypa z PA na Apulse, a to będzie dodatkowa jazda, na razie Skype nic nie wie, o mikrofonie.
Ostatnio edytowany przez Jacekalex (2014-11-10 13:11:12)
Offline
http://www.alsa-project.org/db/?f=6531fbd7970aba9b0 … cb75e0d2f3ac2
Na razie po chamsku ustawiłem:
defaults.ctl.card 1 defaults.pcm.card 1
i niby działa. Teraz będę z 7.1 jeszcze kombinował.
Offline
Dziwna sprawa:
Widzi tylko jedną kartę na USB:
1 [P780 ]: USB-Audio - Plantronics GameCom 780 Plantronics Plantronics GameCom 780 at usb-0000:00:1a.0-1.3, full speed
ale ładuje do niej (a może nie do niej) 4 stery:
snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2
Jeżeli ruszyła po wskazaniu karty w ~/.asoundrc, to po prostu trzeba ten dźwięk sensownie skonfigurować.
Offline
A nie wystarczy wywalić:
options snd-usb-audio index=-2
Przecież ten zapis jest tam właśnie po to by karta USB (i kilka innych) nie miała numeru 0.
Offline
Jak wywalisz to nie ma dźwięku, już z tym kombinowałem.
Offline
Jacekalex napisał(-a):
Dziwna sprawa:
Bardzo dziwna, dlaczego nie widzi podstawowej karty ? [moze odlaczyl dodatkowa (jezeli byla) a integra jest nieaktywowana w BIOS ]
cat /proc/asound/cards cat /proc/asound/modules
...
speaker-test -c2 -Dplug:front -t wav
Masz GC780+game ?
Offline
mati75 napisał(-a):
Jak wywalisz to nie ma dźwięku, już z tym kombinowałem.
Jak wywalisz, to wtedy ta karta będzie domyślną. Obecność tego wpisu jest teraz zupełnie bez sensu.
Offline
Nie chce marudzic, ale "wyrzucanie" pulseaudio nie jest universalnym rozwiazaniem na wszystkie problemy audio. Nie trzeba deinstalowac pulseaudio aby przetestowac ALSA.
Pulseaudio moze funcjonowac jako daemon, ktory zatrzymujesz na czas zrobienia testow.
Jezeli nie ma audio, to nie znaczy, ze to jest wina pulseaudio. http://www.freedesktop.org/wiki/Software/PulseAudio … efaultDevice/
citation napisał(-a):
How to set the default device
If you, for example, plug in a new sound card and want it to be the default device from now on, you can tell PulseAudio to change the fallback sink to the new sound card, but that will only have effect on programs that PulseAudio hasn't seen before. For this particular use case the current (as of 2010-01-23) state-of-the-art method to move everything to the new sound card is to use gnome-volume-control version 2.28, which modifies the stream-restore database when you set some device as the default.
The second alternative is to use pavucontrol to move streams to the new sound card whenever you notice that some program is playing to a wrong sound card.
The third alternative is to first set the fallback device, then stop PulseAudio, then erase the stream-restore database by deleting the file containing the string "stream-volumes" in its name in the ~/.pulse directory, and finally restarting PulseAudio.
There is also the fourth option to make default sink and source to work to all applications by disabling stream target device reading from the stream cache. Simply modify the load-module module-stream-restore line that should already be in your /etc/pulse/default.pa, so that it looks like this:
load-module module-stream-restore restore_device=false
Then restart PulseAudio.
Now all opened streams will open to default sink or source even in the case that there is a record in the stream-volumes for the stream. Now you can plug an USB audio device and set it as default sink and source and all opened streams (new and or already seen) will go to the new device. Only streams that are open need to be moved by pavucontrol or re-opened.
Offline
darius napisał(-a):
Bardzo dziwna, dlaczego nie widzi podstawowej karty ? [moze odlaczyl dodatkowa (jezeli byla) a integra jest nieaktywowana w BIOS ]
Zintegrowana karta na płycie jest wyłączona w biosie, bo była nie potrzebna. Jutro będę się nad tym jeszcze znęcał, zobacze co wyjdzie.
Offline