Hi, I have just installed LinuxMCE 0704 using the Quick Install DVD on my 2nd PC which is using a GA-K8N Pro-SLI which uses a Realtek ALC850 Audio AC'97 Codec sound card. When I booted it up into LMCE there was no sound except for the beep thing (its doing some tunes not just the usual beep I'm ok noise so I am guessing thats LMCE not just the BIOS). I have not had any problems with previous Ubuntu or even PCLinuxOS installs on this machine and tested it on a PCLinuxOS boot disk I had floating around and the sound works fine (although it is coming out of the Rear Speaker Out port rather than Front Speaker Out port).
I stumbled across a control panel in PCLinuxOS that told me I was using a driver called "Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455 (snd-intel8x0 [ALSA])" however I am not able to find anything in LMCE that will tell me what driver I am using. Could you please help me out? Thanks
As I know LMCE uses ALSA to for audio. Recently I spent some time to configure SPDIF audio on my Plutohome installation. I found that SMP kernel has old version of ALSA. That's why my sound card was recognized correctly (I saw only analog output not digital). So, you can use the same commands to check your card:
1. aplay -L - display a list of playback hardware devices. Actually, you can find there your card.
2. alsaconfig - console configuration utility for ALSA
3. alsamixer - console mixer for ALSA. Note that SPDIF out is muted by default. To use it run the mixer and unmute it.
4. alsactrl <command> - allows to run some ALSA command, actually you need 'store' to save your configuration.
5. cat /proc/asound/version - display a version of ALSA installed on your PC.
When I run the first command the terminal outputs the following:
QuotePCM list:
hw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
plughw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
}
plug {
@args.0 SLAVE
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}
shm {
@args.0 SOCKET
@args.1 PCM
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}
tee {
@args.0 SLAVE
@args.1 FILE
@args.2 FORMAT
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm $SLAVE
file $FILE
format $FORMAT
}
file {
@args.0 FILE
@args.1 FORMAT
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm null
file $FILE
format $FORMAT
}
null {
type null
}
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
side 'cards.pcm.side'
surround40 'cards.pcm.surround40'
surround41 'cards.pcm.surround41'
surround50 'cards.pcm.surround50'
surround51 'cards.pcm.surround51'
surround71 'cards.pcm.surround71'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
modem 'cards.pcm.modem'
phoneline 'cards.pcm.phoneline'
default 'cards.pcm.default'
dmix 'cards.pcm.dmix'
dsnoop 'cards.pcm.dsnoop'
spdif_playback {
type plug
slave convert48k
}
asym_spdif {
type asym
playback.pcm spdif_playback
capture.pcm plughw:0
}
When I run your second command I get the error message "bash: alsaconfig: command not found".
I hadn't noticed this earlier but on the LinuxMCE Launch Manager on the Audio tab the box next to "Audio driver:" is blank
Well, possible you don't install it. Try apt-get install alsaconf. Check also the rest commands: alsamixer and asound version. Also, it seems that you run aplay -L not aplay -l :)
I have just rerun all the commands the results are as follows:
aplay -l
Quotecard 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
apt-get install alsaconf
QuoteReading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package alsaconf
I ran apt-get update and repeated the install request and the result was the same
alsactrl store
Quotebash: alsactrl: command not found
cat /proc/asound/version
QuoteAdvanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
Hi!
I'm sitting with the same problem.
I Have a Gigabyte GA-K8NE card with Realtec ALC850 Chip. After trying the solution stated here, It stil didnt give out any sound. Then I installed Linux drivers from Realtec, and sound worked in KUBUNTU/KDE playing DVD and giving sound throu SPDIF, but I cant get it to work in MCE, there I get no sound. The Drivers are ALSA drivers.
All the commands worked after I installed the new drivers.
I hope we can find a solution for this problem.
I had the same problem, rectified it (in earlier thread) by disabling onboard sound in my bios.
For some reason LMCE was defaulting to using the onboard sound rather than my soundcard, resulting in no sound in LMCE but sound in Kubuntu.
Hit delete on system boot to enter bios, find something that mentions 'Audio' and change it from 'Auto' to 'Disabled'
Hi! The thing is, we want to use the onboard sound card, and we don't have any external/PCI sound card...
Try seeing if your card comes up if you type
sudo asoundconf list
If so, put this in
sudo asoundconf set-default-card yourcard
(where yourcard is the name of the onboard sound that came up under asoundconf list)
the result of asoundconf list is as follows
QuoteNames of available sound cards:
CK804
when I run the command sudo asoundconf set-default-card CK804 it didn't show any errors so I assume there wasn't one however there is still no sound
Hi Mat
I am having the same problem as you no sound on my CK804 onboard sound card. I have checked everything, I get a PCM indicator on my receiver but no sound. Did you have any luck fixing the problem?
Thanks
Paul
No unfortunately I haven't, I don't have the knowledge to do all that much without a lot of help. I think I might download and install Kubuntu and see if it has the same problems.
the reason is that this onboard chipset was not supported in linuxmce.
only the normal output should work, but no spdif or coaxial will work.
dont ask me why. i found it somewhere in the forum (developers i think).
i bought a new soundcard, disabled the one oneboard and the problem
was fixed (sound comes now through spdif ).
I am trying to use the normal sound output, although I am beginning to think that it might be easier just to buy a new sound card even though its going to have to be a cheapy
I have managed to get audio out from the optical output on my onboard CK804 (nvidia) soundcard using aplay and mpeg123. There is, however, no sound from linuxMCE (playing dvd or using the setup wizards).
What I did was (on the MD):
sudo alsactl store
sudo vi /var/lib/alsa/asound.state
<edit control.35 so that the value is 0, not 3 as it is by default>
<save file>
sudo alsactl restore
If you get an error with " ... Cannot write control ..." it means that you have software using alsa running. Stop the MD software, and retry the last command.
Test the result using aplay (installed) or mpeg123 (found on the internet).
So, What do I need to do to get linuxMCE to use my working optical output ?