LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-29-2008, 12:27 AM   #1
praveenya
LQ Newbie
 
Registered: May 2007
Posts: 11

Rep: Reputation: 0
My alsamixer is missing PCM,Master and some other controls


Hai!

We work on customized linux distribution. We used our own gui to control volume. We used to change volume by command
amixer -c 0 set PCM 20% like that. Recently we changed our sound card, we are using realtek hda ALC262. I enabled the support for this card by enabling intel hda options in kernel. Now amixer is working, sound is coming but there is one problem, the Gui which we used to control volume is not working because the amixer control PCM is not there. Instead of PCM the volume is controllable using Front control. When I saw output of amixer I did not see some important controls like PCM and Master, instead I find new controls like Front and Line. Why this happened? How to get PCM an Master and other controls, so that there would be no need to change my program to set volume. I am sending my amixer output and oss_mixer file in proc.

amixer output:

Simple mixer control 'Front',0
Capabilities: pvolume pswitch

Playback channels: Front Left - Front Right

Limits: Playback 0 - 31

Mono:

Front Left: Playback 6 [19%] [on]

Front Right: Playback 6 [19%] [on]

Simple mixer control 'Front Mic',0

Capabilities: pvolume pswitch

Playback channels: Front Left - Front Right

Limits: Playback 0 - 31

Mono:

Front Left: Playback 0 [0%] [off]

Front Right: Playback 0 [0%] [off]

Simple mixer control 'Front Mic Boost',0

Capabilities: volume

Playback channels: Front Left - Front Right

Capture channels: Front Left - Front Right

Limits: 0 - 3

Front Left: 0 [0%]

Front Right: 0 [0%]

Simple mixer control 'Line',0

Capabilities: pvolume pswitch

Playback channels: Front Left - Front Right

Limits: Playback 0 - 31

Mono:

Front Left: Playback 0 [0%] [on]

Front Right: Playback 0 [0%] [on]

Simple mixer control 'Mic',0

Capabilities: pvolume pswitch

Playback channels: Front Left - Front Right

Limits: Playback 0 - 31

Mono:

Front Left: Playback 31 [100%] [on]

Front Right: Playback 31 [100%] [on]

Simple mixer control 'Mic Boost',0

Capabilities: volume

Playback channels: Front Left - Front Right

Capture channels: Front Left - Front Right

Limits: 0 - 3

Front Left: 0 [0%]

Front Right: 0 [0%]

Simple mixer control 'IEC958',0

Capabilities: pswitch pswitch-joined cswitch cswitch-joined

Playback channels: Mono

Capture channels: Mono

Mono: Playback [on] Capture [off]

Simple mixer control 'Capture',0

Capabilities: cvolume cswitch

Capture channels: Front Left - Front Right

Limits: Capture 0 - 31

Front Left: Capture 0 [0%] [on]

Front Right: Capture 0 [0%] [on]

Simple mixer control 'Capture',1

Capabilities: cvolume cswitch

Capture channels: Front Left - Front Right

Limits: Capture 0 - 31

Front Left: Capture 0 [0%] [on]

Front Right: Capture 0 [0%] [on]

Simple mixer control 'Capture',2

Capabilities: cvolume cswitch

Capture channels: Front Left - Front Right

Limits: Capture 0 - 31

Front Left: Capture 0 [0%] [on]

Front Right: Capture 0 [0%] [on]

Simple mixer control 'Input Source',0

Capabilities: enum

Items: 'Mic' 'Front Mic' 'Line'

Item0: 'Mic'

Simple mixer control 'Input Source',1

Capabilities: enum

Items: 'Mic' 'Front Mic' 'Line'

Item0: 'Mic'

Simple mixer control 'Input Source',2

Capabilities: enum

Items: 'Mic' 'Front Mic' 'Line'

Item0: 'Mic'



/proc/asound/card0/oss_mixer:

VOLUME "Front" 0

BASS "" 0

TREBLE "" 0

SYNTH "" 0

PCM "" 0

SPEAKER "" 0

LINE "Line" 0

MIC "Mic" 0

CD "" 0

IMIX "" 0

ALTPCM "" 0

RECLEV "" 0

IGAIN "Capture" 0

OGAIN "" 0

LINE1 "" 0

LINE2 "" 0

LINE3 "" 0

DIGITAL1 "IEC958" 0

DIGITAL2 "" 0

DIGITAL3 "" 0

PHONEIN "" 0

PHONEOUT "" 0

VIDEO "" 0

RADIO "" 0

MONITOR "" 0



Thanks in advance!
 
Old 08-30-2008, 04:47 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Probably your software was working in previous versions of ALSA. Since the time it work and not now, ALSA has revised the controls to better suit users. Having a program that is fixed to a certain device handler is not smart. You should provide that handler as user definable. If you do not, you will have to change the code every time a setting is changed. No offense it is stupid are your part.

BTW, please next time do not mix we and I because it is hard to read and understand.
 
  


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
Alsa don't work, can show alsamixer but no PCM or Master jazzi Linux - Hardware 3 07-23-2008 08:48 PM
No PCM in alsamixer (fresh Deb. Etch 4.02 on Powerbook G3 Lombard) coindood Linux - Laptop and Netbook 0 01-14-2008 02:57 PM
Slack 11 / Alsa 1.0.13 + Master (Yes) PCM (NO) Daedra Slackware 3 12-14-2006 03:58 AM
No Master or PCM volume working J_stuart Ubuntu 2 10-17-2005 03:43 PM
No PCM or Master mixer after ALSA install LloydM Linux - Hardware 12 06-24-2005 12:28 PM

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

All times are GMT -5. The time now is 05:04 PM.

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