Codice: Seleziona tutto
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Impossibile aprire il device audio per la riproduzione. Il device è utilizzato da un'altra applicazioneCodice: Seleziona tutto
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Impossibile aprire il device audio per la riproduzione. Il device è utilizzato da un'altra applicazioneCodice: Seleziona tutto
sudo apt-get install gnome-alsamixerCodice: Seleziona tutto
Impossibile aprire il device audio per la riproduzione. Il device è utilizzato da un'altra applicazioneCodice: Seleziona tutto
ERROR: Module saa7134_alsa is in useERROR: Module saa7134_dvb does not exist in /proc/modulesERROR: Module saa7134 is in use by saa7134_alsaWARNING: All config files need .conf: /etc/modprobe.d/aliases, it will be ignored in a future release.WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release.
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/marco/.tvtime/tvtime.xml
sox FAIL formats: can't open input `hw:2,0': snd_pcm_open error: Device or resource busyHo provato a lanciare anch'io gstreamer-properties e, se faccio il test dell'input, non mi da erroremarcobh5 ha scritto: edit:
forse non è nemmeno quello se non non andrebbe nemmeno a te, non ho idea di dove sia il problema quindi torno indietro, a te dando gstreamer-properties mettendo su output alsa da errore? a me da cosi sempre ALSA - Advanced Linux Sound Architecture:se impostato su hdmi.Codice: Seleziona tutto
Impossibile aprire il device audio per la riproduzione. Il device è utilizzato da un'altra applicazione


Lo script si blocca perchè vede saa7134_alsa in uso e quindi anche il device hw:2,0 (la scheda tv) che sfrutta quel driver ::)marcobh5 ha scritto: ho rifatto il tuo script che nel 9.04 andava da dio ecco l'output:il problema è nelle ultime 2 righe secondo me che ne pensi?Codice: Seleziona tutto
ERROR: Module saa7134_alsa is in useERROR: Module saa7134_dvb does not exist in /proc/modulesERROR: Module saa7134 is in use by saa7134_alsaWARNING: All config files need .conf: /etc/modprobe.d/aliases, it will be ignored in a future release.WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release. Running tvtime 1.0.2. Reading configuration from /etc/tvtime/tvtime.xml Reading configuration from /home/marco/.tvtime/tvtime.xml sox FAIL formats: can't open input `hw:2,0': snd_pcm_open error: Device or resource busy
Codice: Seleziona tutto
sox -r 32000 -t alsa hw:2,0 -t alsa hw:1,3 & tvtimeCodice: Seleziona tutto
sox -r 32000 -t alsa hw:2,0 -t alsa default & tvtimeCodice: Seleziona tutto
gedit /etc/modprobe.d/alsa-base.conf???options saa7134-alsa index=
options snd-pcsp index=
options snd-hda-intel model=
Codice: Seleziona tutto
sox FAIL formats: can't open input `hw:2,0': snd_pcm_open error: Device or resource busyah...ahn! Prova ad aggiungere in coda a /etc/modprobe.d/alsa-base.conf questo:marcobh5 ha scritto: questo koala sta rompendo troppo! l'anno non è iniziato bene nell'installare ubuntu 9.04 su un hard disk vecchio è morto (bad). non mi sono perso di coraggio l'ho installato su chiave usb e... lentissimo... ma tvtime con questo sox -r 32000 -t alsa hw:2,0 -t alsa hw:1,3 & tvtime l'audio va! dall'hdmi. stesse impostazioni del koala. questo invece sox -r 32000 -t alsa hw:2,0 -t alsa default & tvtime no. spento e riacceso il 9.10 non va ne con uno ne con l'altro script. che ..... ha koala?è tutto identico! per di più non da errori quando lancio sox. dove si ferma?
questo è quello che c'è in /etc/modprobe.d/alsa-base.conf
options saa7134-alsa index=-2
options snd-pcsp index=-2
l'ultimo non l'ho, ho questo options snd-hda-intel power_save=10 power_save_controller=N
aspetto news
edit:
lanciando sox -r 32000 -t alsa hw:2,0 -t alsa hw:1,3 & tvtime che è quello giusto rispettando arecord -l e aplay -l da questoho provato anche un pkill sox ma idem.. ho smanettato troppo?Codice: Seleziona tutto
sox FAIL formats: can't open input `hw:2,0': snd_pcm_open error: Device or resource busy
Codice: Seleziona tutto
options snd-hda-intel model=6stack-digALC883/888
==========
3stack-dig (3-jack with SPDIF I/O)
6stack-dig (6-jack digital with SPDIF I/O)
3stack-6ch (3-jack 6-channel)
3stack-6ch-dig (3-jack 6-channel with SPDIF I/O)
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
acer-aspire-4930g Acer Aspire 4930G
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
fujitsu-xa3530 (Fujitsu AMILO XA3530)
3stack-6ch-intel (Intel DG33* boards)
auto auto-config reading BIOS (default)
Codice: Seleziona tutto
# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=NCodice: Seleziona tutto
alsamixer -c 1Codice: Seleziona tutto
alsamixer -c 0Codice: Seleziona tutto
[1] 4391
Running tvtime 1.0.2.
Input File : 'hw:2,0' (alsa)
Channels : 2
Sample Rate : 32000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0 Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/marco/.tvtime/tvtime.xml
In:0.00% 00:00:51.58 [00:00:00.00] Out:1.65M [ -===|===- ] Clip:0Codice: Seleziona tutto
[1] 2438
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/marco/.tvtime/tvtime.xml
hw:2,0: (alsa)
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 32000Hz
Replaygain: off
Duration: unknown Codice: Seleziona tutto
sudo adduser $USER videoCodice: Seleziona tutto
#!/bin/sh
gksudo rmmod saa7134_alsa
sleep 0.25
gksudo rmmod saa7134_dvb
sleep 0.25
gksudo rmmod saa7134
sleep 0.25
gksudo modprobe saa7134 card=149 i2c_scan=1
sleep 0.5
sox -r 32000 -t alsa hw:2,0 -t alsa hw:1,3 & tvtime
pkill sox
exit 0Codice: Seleziona tutto
sudo chmod 755 TV.shCodice: Seleziona tutto
./TV.shVisualizzano questa sezione: federicogalimberti e 7 ospiti