Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have Gateway P-7807u laptop with Ubuntu 9.10 installed, it has HDMI output and I use it to connect to my TV-set. The problem is - not working sound via HDMI, in sound preferences I've chosen duplex digital output, but no success, but picture works well.
From what I am reading the digital audio for HDMI using nVidia graphics gets screwed up when the nVidia module gets loaded. I suggest try loading ALSA after nVidia module gets loaded. This could also be set in /etc/modules.conf to make sure ALSA modules loads up after nVidia modules. Next, use "alsamixer -V all" to check if HDMI is used for digital output or similar option. I suggest use mplayer and output a video that has AC-3 or DTS audio channel to make digital audio over HDMI to work. Not all consumer electronics will accept a non-HDCP signal. Some are strict so they will never let a non-HDCP to be used. You can try the following.
The "-channels 2" makes sure the audio is two channels when being sent over SPDIF connection like HDMI. The "XXXX" could be anything such as iec958, spdif, or hdmi. You may have to use a hardware device that designates certain device on the desire sound card such as hw=0.3. This relates to the first sound card and its fourth device which could digital. I suggest run "aplay -l" to list sound cards and their devices.
To use digital sound all the time, you will have to edit $HOME/.asoundrc to make ALSA convert or format sound in a certain way that is compatible with SPDIF and your hardware.
I tested digital audio over HDMI on a AMD 780G chip set on a Sony SXRD rear projection TV, so it will be different for your setup. Digital audio was not reliable during and while scanning through the video.
I have a feeling that the HDMI port is connected directly to the graphics card and thus does not contain sound info. If I am right you would need to output sound using something else, maybe the S/PDIF port.
Make sure to check the TV options so that it inputs digital audio from the HDMI (if it has it).
I don't understand how to specify file to play in that command :
mplayer -ac hwdts,hwac3,dvdpcm, -channels 2 -ao alsa:device=XXXX dvd://
how to set path to file after dvd:// ?
And aplay gives me:
I think you have a Conexant Hermosa. You can find out by doing
grep Codec /proc/asound/card0/codec#0
I have one of these and I can't get it to work with ALSA. I think ALSA has a bug. This is why I use oss. I know it works in W Vista.
Saying the sound card works with Vista is not helping because this is Linux. Using a commercial project will not help fix the issue because it will cause more problems. ALSA has backwards compatibility with OSS. The Conexant based sound cards should work if using the latest kernel or the latest ALSA modules. If analog output works, then it works. Setting up digital is painful in Linux. Digital output is a trial-n-error.
You will need your pci.ids updated if you want the human readable output that states your hardware to be printed correctly. Look for the vendor ID and product ID when using "lspci -nn" because this information is used for the module to recognize the hardware. The following is what I got from ALSA version 22.214.171.124 in alsa-kernel/pci/hda/patch_conexant.c
I am not sure what ALSA version 126.96.36.199 relates to the kernel. Also most distributions will leave out support for hardware if they can not test it or they do not have space to provide support. If analog output works and digital output does not work, it is probably nVidia's fault.
For me digital audio over HDMI using AMD 780G on-board graphics does not work all the time. I recommend use only analog output.
I suggest compile ALSA with its debug option on and include the option model=test in /etc/modules.conf. Then you can find out what mixer option works and what mixer option does not work. Next post the information to ALSA bug reports. Again I recommend load the sound module after the nVidia module is loaded. The following is the syntax to add the options model=test to /etc/modules.conf
options snd-hda-intel model=test
Originally Posted by barboolian
Commercial? They publish the source code. I compiled it myself.
I know ALSA should work. So do all the other people for whom it doesn't work. We've tried everything. There has been a bug report in the ALSA bug place for ages.
4FrontTechnologies did produce only commercial code. Also using OSS is going to make most programs to not work. Flash is written with only ALSA.