Intel HDA low sound volume

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Intel HDA low sound volume

Postby setuid » Sun Jun 03, 2007 4:02 pm

Hi, I've got Thinkpad R60 and current build of OpenSolaris. I've also Installed lastest oss drivers.

The problem is that max. volume here is more than twice lower than in Linux with ALSA.

If i try to get it louder the maximum value of mixer is 25. Does anybody know how to set it louder?
Code: Select all
% ossmix vmix0-vol 100
Value of mixer control vmix0-vol set to 25


Thanks for your answers.
The Network is The Computer
setuid
New Member
 
Posts: 3
Joined: Sun Jun 03, 2007 3:56 pm
Location: Novosedly, Czech Republic

Re: Intel HDA low sound volume

Postby dev » Sun Jun 03, 2007 4:21 pm

setuid wrote:Hi, I've got Thinkpad R60 and current build of OpenSolaris. I've also Installed lastest oss drivers.

The problem is that max. volume here is more than twice lower than in Linux with ALSA.

If i try to get it louder the maximum value of mixer is 25. Does anybody know how to set it louder?
Code: Select all
% ossmix vmix0-vol 100
Value of mixer control vmix0-vol set to 25


Thanks for your answers.


The volume is in decibels so you need to try something like ossmix vol 1000
and that will set it to the max value.


best regards
Dev mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: Intel HDA low sound volume

Postby setuid » Sun Jun 03, 2007 8:20 pm

Known controls are:
connector.line-out.function <play> (currently play-front)
connector.line-out <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-out <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.headphone-out.functio <play> (currently play-front)
connector.headphone-out <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.mono-out.src <play> (currently play-front)
connector.mono-out <monovol> (currently 76.4 dB)
connector.mic-front.function <mic> (currently mic-in)
connector.mic-front <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-in.function <play> (currently play-front)
connector.line-in <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-in <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.black2.function <mic> (currently mic-in)
connector.pink.function <play> (currently play-front)
connector.pink <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.pink <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.white.function <mic> (currently mic-in)
record.record <both>[:<rightvol>] (currently 19.4:19.4 dB)
record.record.src <mic> (currently mic-mix)
misc.pcbeep-sel <monovol> (currently 38.9 dB)
misc.pcbeep-sel.src <digital> (currently digital-beep)
misc.frontmix-amp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.mic-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.linein-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.lineout-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.aux-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.micrear-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.cd-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.mic-front-mute.mute ON|OFF (currently OFF)
misc.mic-rear-mute.mute ON|OFF (currently OFF)
vmix0-src <Fast> (currently Fast)
vmix0-vol <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 89:85)
vmix0-out.dsp3 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 89:85)
vmix0-out.dsp4 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.dsp5 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.dsp6 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-in <leftVU>:<rightVU>] (currently 0:0)

any idea which of them should I use?

Thanks for the ansewr
The Network is The Computer
setuid
New Member
 
Posts: 3
Joined: Sun Jun 03, 2007 3:56 pm
Location: Novosedly, Czech Republic

Re: Intel HDA low sound volume

Postby dev » Sun Jun 03, 2007 10:10 pm

setuid wrote:Known controls are:
connector.line-out.function <play> (currently play-front)
connector.line-out <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-out <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.headphone-out.functio <play> (currently play-front)
connector.headphone-out <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.mono-out.src <play> (currently play-front)
connector.mono-out <monovol> (currently 76.4 dB)
connector.mic-front.function <mic> (currently mic-in)
connector.mic-front <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-in.function <play> (currently play-front)
connector.line-in <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.line-in <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.black2.function <mic> (currently mic-in)
connector.pink.function <play> (currently play-front)
connector.pink <both>[:<rightvol>] (currently 29.9:29.9 dB)
connector.pink <both>[:<rightvol>] (currently 76.4:76.4 dB)
connector.white.function <mic> (currently mic-in)
record.record <both>[:<rightvol>] (currently 19.4:19.4 dB)
record.record.src <mic> (currently mic-mix)
misc.pcbeep-sel <monovol> (currently 38.9 dB)
misc.pcbeep-sel.src <digital> (currently digital-beep)
misc.frontmix-amp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.mic-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.linein-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.lineout-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.aux-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.micrear-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.cd-mixamp <both>[:<rightvol>] (currently 38.9:38.9 dB)
misc.mic-front-mute.mute ON|OFF (currently OFF)
misc.mic-rear-mute.mute ON|OFF (currently OFF)
vmix0-src <Fast> (currently Fast)
vmix0-vol <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 89:85)
vmix0-out.dsp3 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 89:85)
vmix0-out.dsp4 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.dsp5 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.dsp6 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-in <leftVU>:<rightVU>] (currently 0:0)

any idea which of them should I use?

Thanks for the ansewr



Hi,

Not a clue - but I would recommend that you run ossxmix and turn up the levels for all Sliders.

We are trying to get a proper understanding of what the common HD Audio controls among all the vendors - seems like each vendor is implementing their own standard.

Sometimes I wish I could string up the Intel engineers by their toenails for designing such a mess of a audio architecture.
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Bad mixer device

Postby setuid » Mon Jun 04, 2007 7:59 pm

blackbox% ossinfo
Version info: OSS 4.0 (build 1002/200704100916) (0x00040002)
Platform: SunOS/i86pc 5.11 opensol-20070528

Number of audio devices: 3
Number of audio engines: 7
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: hdaudio0 Intel HD Audio
1: sadasupport0 SADA compatibility layer
2: oss0 OSS core services
3: ossusb0 USB audio/MIDI device
4: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: Intel HD Audio AD1981 (Mixer 0 of device object 0)

Audio devices
/dev/oss/hdaudio0/spdout0 Intel HD Audio spdif output (device index 0)
/dev/oss/hdaudio0/pcm0 Intel HD Audio play-front output (device index 1)
/dev/oss/hdaudio0/pcmin0 Intel HD Audio record input (device index 2)


# Could it be probloem of bad selected mixer device? Or something like it?
I tried to set all controls to maximum but still my cdrom device is louder than Linkin Park on the full volume :-)
The Network is The Computer
setuid
New Member
 
Posts: 3
Joined: Sun Jun 03, 2007 3:56 pm
Location: Novosedly, Czech Republic

Re: Bad mixer device

Postby dev » Tue Jun 05, 2007 9:03 pm

setuid wrote:blackbox% ossinfo
Version info: OSS 4.0 (build 1002/200704100916) (0x00040002)
Platform: SunOS/i86pc 5.11 opensol-20070528

Number of audio devices: 3
Number of audio engines: 7
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: hdaudio0 Intel HD Audio
1: sadasupport0 SADA compatibility layer
2: oss0 OSS core services
3: ossusb0 USB audio/MIDI device
4: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: Intel HD Audio AD1981 (Mixer 0 of device object 0)

Audio devices
/dev/oss/hdaudio0/spdout0 Intel HD Audio spdif output (device index 0)
/dev/oss/hdaudio0/pcm0 Intel HD Audio play-front output (device index 1)
/dev/oss/hdaudio0/pcmin0 Intel HD Audio record input (device index 2)


# Could it be probloem of bad selected mixer device? Or something like it?
I tried to set all controls to maximum but still my cdrom device is louder than Linkin Park on the full volume :-)


Hi,


What application are you using to play audio?. It looks like on your machine pcm0 is a SPDIF device and pcm1 is the front output - if you use XMMS try to switch to OSS API mode and set the outptu device to /dev/dsp1 (or you can use ossctl to set /dev/dsp1 as the default device - just move it up and make it the first device)


regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby Rynor » Sun Oct 14, 2007 11:29 pm

Hello,

I'm also experiencing the same problem, volume is way too low in OSS4 instead of ALSA or under Windows.

Volume seems to be fine when using /dev/dsp4 which is the PCM device instead of the front output.

I have the same issue with the ossmix command to set volume higher then 25.

I'm using onboard nVidia HD audio.

Code: Select all
Version info: OSS 4.0 (b1006/200708291246) (0x00040002)
Platform: Linux/i686 2.6.20-16-lowlatency #2 SMP PREEMPT Sun Sep 23 19:54:02 UTC 2007 (poseidon)

Number of audio devices:        10
Number of audio engines:        14
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
0: osscore0 OSS core services
1: hdaudio0 nVidia HD Audio
2: ossusb0 USB audio core services
3: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: nVidia HD Audio ALC882 (Mixer 0 of device object 1)

Audio devices
/dev/oss/hdaudio0/pcm0  nVidia HD Audio play-front output  (device index 0)
/dev/oss/hdaudio0/pcm1  nVidia HD Audio play-rear output  (device index 1)
/dev/oss/hdaudio0/pcm2  nVidia HD Audio play-center/LFE output  (device index 2)
/dev/oss/hdaudio0/pcm3  nVidia HD Audio play-side output  (device index 3)
/dev/oss/hdaudio0/spdout0       nVidia HD Audio digital-out output  (device index 4)
/dev/oss/hdaudio0/pcm4  nVidia HD Audio pcm output  (device index 5)
/dev/oss/hdaudio0/pcmin0        nVidia HD Audio rec1 input  (device index 6)
/dev/oss/hdaudio0/pcmin1        nVidia HD Audio rec2 input  (device index 7)
/dev/oss/hdaudio0/pcmin2        nVidia HD Audio rec3 input  (device index 8)
/dev/oss/hdaudio0/spdin0        nVidia HD Audio digital-in input  (device index 9)
Rynor
New Member
 
Posts: 1
Joined: Sun Oct 14, 2007 11:24 pm

Postby seawright » Mon Oct 15, 2007 4:21 pm

25dBs is probably maximum for vmix0-out but it is likely that there are other controls inline.

Use ossxmix and put all sliders to maximum before checking volume. If the output is noisy you may then have to reduce some sliders to zero to remove unwanted noise.
Last edited by seawright on Sat Dec 15, 2007 12:26 am, edited 2 times in total.
regards
Clive
seawright
Member
 
Posts: 88
Joined: Sat Jan 06, 2007 9:10 pm
Location: Hampshire UK

possible clue...

Postby rmf » Fri Dec 14, 2007 11:28 pm

It seems like even this linux people have problems with this. Doing a little looking resulted in this:
http://ubuntuforums.org/archive/index.php/t-235640.html

Of particular notice is the post by naaman on Jan 3, 2007. So I guess the hw is expecting different data than other cards.

-r
rmf
New Member
 
Posts: 3
Joined: Fri Dec 14, 2007 11:19 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest

cron