Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: badhon_raj on March 12, 2013, 01:18:29 AM
-
Hello, here I'm again with new problem.
I can't get any audio out of my pc. Please help.
I couldn't get sound out my pc.
Installed alsa, alsamixergui, gnome-mplayer.
I've followed the guide about setting_up_sound.
But still I can't hear any sound. :(
tc@box:~$ lsmod | grep snd
snd_hda_codec_hdmi 24576 1
snd_hda_codec_realtek 196608 1
snd_hda_intel 20480 0
snd_hda_codec 49152 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 12288 1 snd_hda_codec
snd_pcm 45056 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 20480 1 snd_pcm
snd 32768 7 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
snd_page_alloc 12288 2 snd_hda_intel,snd_pcm
tc@box:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
blacklist=snd_hda_codec_hdmi doesn't help.
I change audio output to ALSA in gnome-mplayer preference. It only plays video. No audio. Audacious won't play anything at all. If I change output plugin to "Null", then it plays audio.
-
Hi badhon_raj
The files you attached are empty.
-
The two files you attached are zero bytes in size?
It would helpful if you could give more details on your hardware:
name
output from lspci concerning your sound hardware
output from "aplay -l"
..note that alsa often starts up with all sound muted, in which case you need to un-mute it with amixer
-
sorry that was probably my browser/connection bug.
I included the text file in post.
-
Does
speaker-test -t sine=use
produce any audible sound?
-
badhon_raj
hope you don't mind another question
how do you play sound, what are your using? internal speaker or 3.55 mm jack to speakers or hdmi cable to speakers?
2) what happens if you click into alsamixergui and raise Master, Head and Front to max?
3) Describe your actual computer, count up the coloured jacks or holes (=stacks) and leaping ahead here are some strings to try
ALC882/883/885/888/889
======================
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
targa Targa T8, MSI-1049 T8
asus-a7j ASUS A7J
asus-a7m ASUS A7M
macpro MacPro support
mb5 Macbook 5,1
macmini3 Macmini 3,1
mba21 Macbook Air 2,1
mbp3 Macbook Pro rev3
imac24 iMac 24'' with jack detection
imac91 iMac 9,1
w2jc ASUS W2JC
3stack-2ch-dig 3-jack with SPDIF I/O (ALC883)
alc883-6stack-dig 6-jack digital with SPDIF I/O (ALC883)
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
acer-aspire-6530g Acer Aspire 6530G
acer-aspire-7730g Acer Aspire 7730G
acer-aspire-8930g Acer Aspire 8930G
medion Medion Laptops
targa-dig Targa/MSI
targa-2ch-dig Targa/MSI with 2-channel
targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
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-m540r Clevo M540R (6ch + digital)
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
fujitsu-xa3530 Fujitsu AMILO XA3530
3stack-6ch-intel Intel DG33* boards
intel-alc889a Intel IbexPeak with ALC889A
intel-x58 Intel DX58 with ALC889
asus-p5q ASUS P5Q-EM boards
mb31 MacBook 3,1
sony-vaio-tt Sony VAIO TT
auto auto-config reading BIOS (default)
-
Does
speaker-test -t sine=use
produce any audible sound?
no sound.
Do I need to use blacklist=snd_hda_codec_hdmi ?
If I use this bootcode, a new column named "PCM" appears in alsamixergui.
badhon_raj
hope you don't mind another question
how do you play sound, what are your using? internal speaker or 3.55 mm jack to speakers or hdmi cable to speakers?
no no, please ask if you need to know anything.
I'm using 3.55mm jack to speakers.
All of the columns that are not raised in the s/shot won't move a bit.
Nothing happens if I raise all moveable columns to max.
3. that would be 3stack-6ch-intel Intel DG31PR board
-
Just to make sure, are any hardware audio controls unmuted/volume raised?
-
PCM is what you want to see, so it looks like you will need to add a bootcode to your bootloader.
Now raise it, speakers green is unmuted which is good
Do I need to use blacklist=snd_hda_codec_hdmi
yes ...EDIT changed my mind
All of the columns that are not raised in the s/shot won't move a bit.
then quit alsamixergui then use terminal command alsamixer command
remember press the key
m = mute or unmute output volume
space bar = mute or unmute (activate) mic inputs
page up or down = raise volumes fast
up or down arrows = raise slower
and your speaker lead is using the green hole
good luck
this has been editted
-
PCM is what you want to see, so it looks like you will need to add a bootcode to your bootloader.
Now raise it, speakers green is unmuted which is good
Do I need to use blacklist=snd_hda_codec_hdmi
yes ...EDIT changed my mind
All of the columns that are not raised in the s/shot won't move a bit.
then quit alsamixergui then use terminal command alsamixer command
remember press the key
m = mute or unmute output volume
space bar = mute or unmute (activate) mic inputs
page up or down = raise volumes fast
up or down arrows = raise slower
and your speaker lead is using the green hole
good luck
this has been editted
I've added blacklist bootcode to syslinux.cfg
now PCM is raised and works in alsamixergui as well.
Now I can hear sound in command
speaker-test -t sine=use
but still no sound in gnome-mplayer or audacious.
-
Good, means alsa basically works :)
As for those 2 apps mentioned, I haven't used any of them, but at least what concerns Mplayer-nodeps, there is no alsa support compiled in, so it would work under alsa with oss emulation.
You could try
mplayer -ao help
-
I have not used those apps either but I do use vlc and it has an option to use alsa.....plays most video and audio formats
In case I have not shown enough care for those with low specs or low DSL, pls look at the total download before considering if vlc is to be tested.
good luck
-
You could try
mplayer -ao help
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v412 V412 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output.
vlc is pretty large download. :(
-
Well, try oss output, alsa should use oss emulation via kernel modules - alternatively you can install alsa-oss.tcz and start apps as "aoss appname".
-
Well, try oss output,
didn't work.
alsa should use oss emulation via kernel modules
how do I do that?
alternatively you can install alsa-oss.tcz and start apps as "aoss appname".
ok trying.
-
alsa's oss emulation modules should get auto loaded when using an oss app.
check with:
lsmod|grep oss
-
alsa's oss emulation modules should get auto loaded when using an oss app.
audioucious and mplayer is working if I run them via "aoss appname". But it is quite annoying to type that every time. :(
vlc is working normally. But that is a huge app. :(
What is difference betwee vlc and vlc-full?
check with:
lsmod|grep oss
this is showing nothing.
-
You could try to manually modprobe the snd*oss modules, but not so sure that would be a good idea.
I'd always prefer aoss because it gets around apps blocking the soundcard by exclusivity.
Alternatively you could try OSS instead of alsa and see if it fits your needs better.
-
Alternatively you could try OSS instead of alsa and see if it fits your needs better.
I thought that too. But not now. Will try that later.
-
I'd always prefer aoss because it gets around apps blocking the soundcard by exclusivity.
Is it possible to edit some file of wbar so that, when I click "Audacious" icon on wbar, it will execute "aoss audacious"?
-
You could try to start the whole session under aoss (prefix the DESKTOP line in .xsession).
-
Haha, interesting concept, why did I never think about that? ;D
Wondering if there could be any chance of overhead though
-
Did a test as follows:
killall jwm
aoss jwm &
Then in 2 separate aterms running mplayer on 2 different .mp3's:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
DVB card number must be between 1 and 4
appears in second one :'(
Starting multiple mplayer instances with "aoss" prefix prevents blocking.
-
Just to be sure, those aterms were started from jwm and not some other way?
-
Good catch, actually they were started from rox ("Terminal Here"), so I repeated the experiment with starting aterms from jwm, but result is same.