Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But this is very confusing. Who is the sound chip manufacturer? Silicon Integrated Systems (SIS) or C-Media?
Also, from 'lspci -vv':
Code:
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
Subsystem: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at da00 [size=256]
Region 1: Memory at f3fff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=55mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
This is the only reference to audio in lspci output run as root. I could open my machine (a desktop) case and examine the numbers of all the chips I encounter there, but this would be a rather cumbersome operation. I ought to get this information by use of the console alone, I think. Any suggestion will be welcome.
The 9738 seems to be the driver'codec that ALSA is using... Why? It could be because the SiS driver'codec requires payment and the C-Media is free and usable? This is a shot in the dark as to 'why'.
Mine says...
Card: HDA Intel
Chip: Realtek ALC272
...And I believe Realtek and Intel are distinct?
Last edited by cin_; 01-18-2011 at 02:51 AM.
Reason: gramm'err
Looking at the lsmod output, snd_trident is the main driver in use and as already stated by cin trident license SiS7018.
Quote:
And is the sound card a chip?
A card is never a chip. Chips are part of the card.
Have a look at the output of the following: cat /proc/asound/cards and cat /proc/asound/pcm. The output of the first command shows the card that is being used, the output of the second command shows the chip that is being used.
druuna,
Is it correct to think that cat'ing the processes associated with sound would only tell you what interfacing software is running, or being used; even if the hardware was different or incompatible?
It seems like a great way to investigate sound errors but you would have to look elsewhere to find out about the hardware... ?
Last edited by cin_; 01-18-2011 at 04:00 AM.
Reason: gramm'err
Trident is the licensing of the SiS7018...
AC97 looks like it could be shorthand for CMI9738...
But still, that nagging 'why'
What are you using the info for?
I've been reading an article about SiS630, which is one of the devices detected by lspci, and it is a single-chip chipset which includes AC'97 codec. Perhaps this implies that the sis7018 is a subchip of the sis630.
I have a problem with ALSA. Each time I run a audio player, say aplay, the volume goes to 100%. And I must run alsamixer to lower it. It's no use to do 'alsactl store'. Furthermore, setting the volume to zero with amixer is ignored. As it's been a long time I have been investigating this problem, I thought I should begin from the beginning and see what is the hardware (integrated circuits) I have in my motherboard and skim through the data sheets.
==========================================
@druuna: Thank you for your reply.
Code:
root@darkstar:~# cat proc/asound/cards
cat: proc/asound/cards: No such file or directory
root@darkstar:~# cat /proc/asound/cards
0 [SI7018 ]: SI7018 - SiS SI7018
SiS SI7018 PCI Audio at 0xda00, irq 11
root@darkstar:~# cat proc/asound/pcm
cat: proc/asound/pcm: No such file or directory
root@darkstar:~# cat /proc/asound/pcm
00-01: trident_dx_nx IEC958 : Trident 4DWave IEC958 : playback 1
00-00: trident_dx_nx : Trident 4DWave : playback 32 : capture 1
root@darkstar:~#
So perhaps, the integrated circuit (IC) is SiS630 which would include SI7018 which, in turn, would include IEC958. But where is CMI9738. For alsamixer mentions it, as stated in post #1.
druuna,
Is it correct to think that cat'ing the processes associated with sound would only tell you what interfacing software is running, or being used; even if the hardware was different or incompatible?
It seems like a great way to investigate sound errors but you would have to look elsewhere to find out about the hardware... ?
Answer to both questions: Yes.
I'm not sure if the drivers et al are loaded when they are incompatible with the hardware, I do assume errors will show up in the log files.
Most distro's enable all the available modules in the kernel and during boot the correct one is (hopefully) loaded. I have seen this go "wrong" (with network cards), the loaded module worked, but a better one was skipped. No show-stopper, but something to keep in mind.
Quote:
Originally Posted by stf92
So perhaps, the integrated circuit (IC) is SiS630 which would include SI7018 which, in turn, would include IEC958. But where is CMI9738. For alsamixer mentions it, as stated in post #1.
In /usr/share/alsa I have alsa.conf and smixer.conf. They're basically chinese for me. I suppose I'll have to wait until I have a full understanding of ALSA to solve this problem. Regards.
Maybe it's a configurable from the audio player.
Try debugging it with something really lightweight to see if change still occurs...
Code:
# alsamixer -g
*SET MASTER TO 17
# # mpg123 Beethoven.Pathetique.Adagio.1.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.12.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 17 of 17: Beethoven.Pathetique.Adagio.1.mp3 ...
Title: BEETHOVEN/Pno Sonata op13 (b) Artist: Emil Gilels, piano
Comment: Karadar's Mp3 are FREE!! Album: http://www.karadar.it
Year: 2002 Genre: Classical
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
^Z
[2]+ Stopped mpg321 Beethoven.Pathetique.Adagio.1.mp3
# alsamixer -g
*STILL AT 17
#
Last edited by cin_; 01-18-2011 at 09:15 AM.
Reason: gramm'err
It's a pity. In alsamixer 1.0.14, the one I have, -g sets color to black and white (checked by the manual). Also, I presume that in the third line of your code I must omit the '#'.
Yeah, sorry, I use the hash to distinguish my command input from output.
I use the -g because I like the black and white version. ...Also encouraging you into the man page if you didn't recognise the parameter...
Did you try mpg123? Did it reset your volume to 100?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.