LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-06-2013, 11:54 AM   #1
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Rep: Reputation: Disabled
No Audio on HDMI on intel CE4100


I ported the XBMC app to IntelCE baord. And trying to play audio by connecting board to HDMI port.

When an audio file is played i get the error "Failed to innitialise device Please check audio settings".

Follwoing details may help in providing the solution:

# xbmc --version
XBMC Media Center 11.0-BETA2 Git:Unknown
Copyright © 2005-2011 Team XBMC - http://www.xbmc.org


# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IntelCE310041 [], device 0: pcm_0 [pcm_0]
Subdevices: 1/1
Subdevice #0: subdevice #0

pleaes let me know how to overcome this problem
 
Old 01-06-2013, 02:20 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Is that your only audio device? Is there an onboard soundcard as well as hdmi.
 
Old 01-06-2013, 10:19 PM   #3
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi bussiness kid,

Onboard we have this card only.to board we have HMDI port.

I connected HDMI port to TV and trying to play the audio file via XBMC player(by launching the XBMX app in board).

Please let me know how i need to get ridoff this audio issue?

Regards,
Garry

Last edited by garryhk; 01-06-2013 at 10:21 PM.
 
Old 01-07-2013, 03:00 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Have you unmuted the card in alsamixer? Run alsamixer, and use 'm' to mute/unmute and arrows to vary other things. Then run 'sudo alsactl store'
 
Old 01-07-2013, 03:28 AM   #5
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
we don't have alsa mixer in the board.we have PCM on the board.

In /etc/asounds.conf file folowing settings are used:

pcm.!default {
type plug
slave.pcm "dmixer"

}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
rate 48000


}
bindings {
0 0
1 1
}

}

ctl.dmixer {
type hw
card 0
}


Following lines are present in log file:

00:33:23 T:3062356528 ERROR: Creating a Null Audio Renderer, Check your audio
00:35:17 T:3062356528 ERROR: Previous line repeats 1 times.
00:35:17 T:3062356528 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event co
00:36:22 T:3062356528 WARNING: Previous line repeats 3 times.
00:36:22 T:3062356528 ERROR: Creating a Null Audio Renderer, Check your audio
00:37:06 T:3007396720 WARNING: CreateLoader - Unsupported protocol(addons) in ad
00:40:35 T:3062356528 WARNING: Previous line repeats 1 times.
00:40:35 T:3062356528 ERROR: Creating a Null Audio Renderer, Check your audio
00:41:30 T:3062356528 WARNING: CLinuxInputDevice::RelEvent: Unknown rel event co
00:41:46 T:3013606256 WARNING: Previous line repeats 4 times.
00:41:46 T:3013606256 WARNING: Create - Unsupported protocol(newsmartplaylist) i
00:41:46 T:3013606256 WARNING: CreateLoader - Unsupported protocol(newsmartplayl
 
Old 01-07-2013, 03:30 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
post the output of
Quote:
cat asound.state
or just copy & paste it.
 
Old 01-07-2013, 04:25 AM   #7
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
i Didn't find asound.state

# find -name asound*
./opt/camore/XBMC/share/xbmc/system/asound.conf
./opt/canmore/XBMC.wrking.butcrashing/share/xbmc/system/asound.conf
./opt/canmore/XBMC.latest/system/asound.conf
./opt/canmore/XBMC.latest/share/xbmc/system/asound.conf
./opt/canmore/XBMC/system/asound.conf.xbmcorg
./opt/canmore/XBMC/system/asound.conf
./opt/canmore/XBMC/share/xbmc/system/asound.conf
./opt/canmore/XBMC.nothing/share/xbmc/system/asound.conf
./opt/canmore/XBMC.new/share/xbmc/system/asound.conf
./proc/asound
./etc/asound.conf
 
Old 01-07-2013, 10:11 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
I imagine it must be asound.conf. Mine has this sort of thing
Quote:
bash-4.2$ cat /etc/asound.state
state.PCH {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 71
value.1 71
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 -1200
dbvalue.1 -1200
}
}
for each control in the sound card - there's usually a dozen or so virtual devices in there.
try 'ls -l /etc/asound.state'
note the date/time, and run 'sudo alsactl store'. Then ls -l it again and see if the time has updated. Grok it and see what's enabled/disabled and post that.
 
Old 01-07-2013, 09:55 PM   #9
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
below are Contents of asound.conf

pcm.!default {
type plug
slave.pcm "dmixer"

}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
rate 48000


}
bindings {
0 0
1 1
}

}

ctl.dmixer {
type hw
card 0
}
 
Old 01-08-2013, 04:00 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
That's not what I was hoping for, but it may be the problem. I have 22 controls in /etc/asound.state.

Run alsamixer. If you haven't got alsamixer, install alsa-utils. Then set volumes on anything you can see. I don't know XBMC, and I'd get sound going before I start with some unknown app. If you know it, that's ok. After alsamixer exits (esc) immediately run 'alsactl store'

Then go looking for /etc/asound.state.
 
Old 01-24-2013, 07:28 AM   #11
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi All,

Today finally got break through the audio problem over HDMI.
we needed to run /bin/audio_setup_outputs which will eventually configure the HDMI port.

This solution is specific to intelCE boards.

Thanks all for sharing the idea on the issue.



Quote:
Originally Posted by business_kid View Post
That's not what I was hoping for, but it may be the problem. I have 22 controls in /etc/asound.state.

Run alsamixer. If you haven't got alsamixer, install alsa-utils. Then set volumes on anything you can see. I don't know XBMC, and I'd get sound going before I start with some unknown app. If you know it, that's ok. After alsamixer exits (esc) immediately run 'alsactl store'

Then go looking for /etc/asound.state.
 
Old 01-24-2013, 09:09 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
mark this solved, then & thanks for telling us
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
HDMI audio on puppy rojalq Puppy 6 05-29-2012 07:13 AM
nVidia HDMI Audio sherb114 Linux - Hardware 8 04-06-2012 06:42 AM
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM
HDMI Audio with 12.2 Woodsman Slackware 27 09-04-2009 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration