Re: Audio Boost for Sndio

2015-07-23 Thread Geoff Steckel

Some sound cards have two volume controls: one is for the specific
source and the other is for the whole card. Both must be at 100%
for maximum output.

On 07/23/2015 06:55 AM, ropers wrote:

I'm talking out my arse here, but:
To me, your submission vaguely reminds me of the CD Loudness War 
https://en.wikipedia.org/wiki/Loudness_war.
It sounds to me as if your hardware may be inherently a bit too quiet, but
to an extent it's possible to compensate for that by pre-processing the
signal in a similar way Loudness War CD vendors did when producing their
master – but this reduces dynamic range. It may well be that those Windows
drivers are doing just that, to compensate for buggy, craptastic audio
hardware.
But again, I really don't know; I just thought I'd mention this since
nobody else has.

On 11 July 2015 at 17:30, tekk t...@parlementum.net wrote:


On 07/11/2015 08:24 AM, Jan Stary wrote:


On Jul 10 19:15:31, h...@stare.cz wrote:


On Jul 10 06:01:17, t...@parlementum.net wrote:


I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.)
Audio
is just a bit too quiet to be comfortable even when I have everything
maxed
out. I had a similar problem on Linux


Are you sure the audio hardware is actually capable

of playing louder than it does? How exactly are you playing what?

  I'm pretty sure. I mainly see it when playing youtube videos via mpv,

https://www.youtube.com/watch?v=d3IidGmVLo4 was giving me trouble for
example. I know for sure that the hardware is capable of being much
louder since I'm able to play it at a good volume in Windows and Linux
(both Pulseaudio and ALSA, after I add a boost device to ALSA.)




Re: Audio Boost for Sndio

2015-07-23 Thread ropers
I'm talking out my arse here, but:
To me, your submission vaguely reminds me of the CD Loudness War 
https://en.wikipedia.org/wiki/Loudness_war.
It sounds to me as if your hardware may be inherently a bit too quiet, but
to an extent it's possible to compensate for that by pre-processing the
signal in a similar way Loudness War CD vendors did when producing their
master – but this reduces dynamic range. It may well be that those Windows
drivers are doing just that, to compensate for buggy, craptastic audio
hardware.
But again, I really don't know; I just thought I'd mention this since
nobody else has.

On 11 July 2015 at 17:30, tekk t...@parlementum.net wrote:

 On 07/11/2015 08:24 AM, Jan Stary wrote:

 On Jul 10 19:15:31, h...@stare.cz wrote:

 On Jul 10 06:01:17, t...@parlementum.net wrote:

 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.)
 Audio
 is just a bit too quiet to be comfortable even when I have everything
 maxed
 out. I had a similar problem on Linux

 Are you sure the audio hardware is actually capable
 of playing louder than it does? How exactly are you playing what?

  I'm pretty sure. I mainly see it when playing youtube videos via mpv,
 https://www.youtube.com/watch?v=d3IidGmVLo4 was giving me trouble for
 example. I know for sure that the hardware is capable of being much
 louder since I'm able to play it at a good volume in Windows and Linux
 (both Pulseaudio and ALSA, after I add a boost device to ALSA.)



Re: Audio Boost for Sndio

2015-07-22 Thread Артур Истомин
On Fri, Jul 17, 2015 at 11:11:20AM -0700, tekk wrote:
 On Fri, Jul 17, 2015 at 07:47:16AM -0700, Артур Истомин wrote:
  
  On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
   I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) 
   Audio
   is just a bit too quiet to be comfortable even when I have everything 
   maxed
   out. I had a similar problem on Linux and I was able to create a boost
   device to feed audio through before it went to the speakers, could I do 
   the
   same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
   output, not sure if anything else is needed. I remember reading that there
   was already some boost by default as well, but it defaulted to being maxed
   for me so it's not much help.
  
  I have the same troubles (with the same hardware). In most cases this is due
  to sound channels of movie clip - 6 or more channels. 2 channels' movies
  almost always playing perfect for me. Here is my solution for mplayer:
  
  mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
  (see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)
  
  If it does not help, try to enable software mixer:
  
  mplayer -softvol -softvol-max 1000
  (but it damage sound when player's volume is max)
  
  If you will find another solution for OpenBSD, please email me. 
  
 
 I'm certain it's not an issue of sound channels since most of what I'm using 
 sound
 for is stereo videos on youtube. I'll give the -softvol parameter a shot next 
 time
 I'm on OpenBSD; hopefully mpv has it since it's an mplayer fork, but an 
 actual way
 to fix this would be ideal; the fact that my mix device is capping out at 174 
 rather
 than 255 is very suspicious to me. Do you actually experience the same? When 
 you run
 mixerctl it should say something like inputs.mix-0-2: 174,174 when you have 
 your
 volume turned all the way up. I don't remember the device name exactly but 
 it's along
 those lines.

It is very strong correlation for me between 2 channel and 6 (better known as 
5.1 channel,
often for DVD-disk) or even more channels. Magic with my first example - it 
re-route
6 channels to 2. And yes, it was the same problem on Linux for me (and for many 
many 
users. And trouble is worse for laptop users. But you know this).

I suspect that there is no problem on Windows platform because there is 
automatic sound
normalization by players or Windows OS. And I don't see how to normilize sound 
with mplayer
without re-encoding video clip with mencoder.

My settings, but there are no difference as I can say:

$ mixerctl -av
inputs.dac-0:1=174,174 
inputs.dac-2:3=174,174 
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=248,248 
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=248,248 
inputs.mix_source=beep  { mic beep }
inputs.mix_mic=248,248 
inputs.mix_beep=120,120 
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
outputs.spkr_source=mix3  [ mix2 mix3 ]
outputs.spkr_mute=off  [ off on ]
outputs.spkr_eapd=on  [ off on ]
inputs.mic=255,255 
outputs.mic_dir=input  [ none output input ]
outputs.hp_source=mix2  [ mix2 mix3 ]
outputs.hp_mute=off  [ off on ]
outputs.hp_boost=on  [ off on ]
record.adc-2:3_source=mix  [ mic beep mix ]
record.adc-0:1_source=mic,beep,mix  { mic beep mix }
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp  { hp }
outputs.master=255,255 
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp  { dac-0:1 dac-2:3 spkr mic hp }
record.volume=255,255 
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-0:1,adc-2:3  { adc-0:1 adc-2:3 mic }

$ cat /etc/mixerctl.conf
outputs.master=255



Re: Audio Boost for Sndio

2015-07-17 Thread Артур Истомин
On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
 is just a bit too quiet to be comfortable even when I have everything maxed
 out. I had a similar problem on Linux and I was able to create a boost
 device to feed audio through before it went to the speakers, could I do the
 same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
 output, not sure if anything else is needed. I remember reading that there
 was already some boost by default as well, but it defaulted to being maxed
 for me so it's not much help.

I have the same troubles (with the same hardware). In most cases this is due
to sound channels of movie clip - 6 or more channels. 2 channels' movies
almost always playing perfect for me. Here is my solution for mplayer:

mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
(see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)

If it does not help, try to enable software mixer:

mplayer -softvol -softvol-max 1000
(but it damage sound when player's volume is max)

If you will find another solution for OpenBSD, please email me. 



Re: Audio Boost for Sndio

2015-07-17 Thread tekk
On Fri, Jul 17, 2015 at 07:47:16AM -0700, Артур Истомин wrote:
 
 On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
  I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
  is just a bit too quiet to be comfortable even when I have everything maxed
  out. I had a similar problem on Linux and I was able to create a boost
  device to feed audio through before it went to the speakers, could I do the
  same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
  output, not sure if anything else is needed. I remember reading that there
  was already some boost by default as well, but it defaulted to being maxed
  for me so it's not much help.
 
 I have the same troubles (with the same hardware). In most cases this is due
 to sound channels of movie clip - 6 or more channels. 2 channels' movies
 almost always playing perfect for me. Here is my solution for mplayer:
 
 mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
 (see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)
 
 If it does not help, try to enable software mixer:
 
 mplayer -softvol -softvol-max 1000
 (but it damage sound when player's volume is max)
 
 If you will find another solution for OpenBSD, please email me. 
 

I'm certain it's not an issue of sound channels since most of what I'm using 
sound
for is stereo videos on youtube. I'll give the -softvol parameter a shot next 
time
I'm on OpenBSD; hopefully mpv has it since it's an mplayer fork, but an actual 
way
to fix this would be ideal; the fact that my mix device is capping out at 174 
rather
than 255 is very suspicious to me. Do you actually experience the same? When 
you run
mixerctl it should say something like inputs.mix-0-2: 174,174 when you have your
volume turned all the way up. I don't remember the device name exactly but it's 
along
those lines.



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 08:23 AM, Jan Stary wrote:



I've tried playing with inputs.dac-0:1 and other values since and
the inputs.dac-* actually *do* max out at 174 for me.

So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?


Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.



Re: Audio Boost for Sndio

2015-07-11 Thread Andy Bradford
Thus said tekk on Sat, 11 Jul 2015 08:30:00 -0700:

  So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?
 
 Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.

It would be  more helpful if instead of describing  the problem that you
would just copy/paste the result of  running the command and report that
in an email.

For example:

$ mixerctl -v record.adc-0:1=255
record.adc-0:1: 120,120 - 248,248

Thanks,

Andy
-- 
TAI64 timestamp: 400055a14376



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 08:24 AM, Jan Stary wrote:

On Jul 10 19:15:31, h...@stare.cz wrote:

On Jul 10 06:01:17, t...@parlementum.net wrote:

I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
is just a bit too quiet to be comfortable even when I have everything maxed
out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?


I'm pretty sure. I mainly see it when playing youtube videos via mpv,
https://www.youtube.com/watch?v=d3IidGmVLo4 was giving me trouble for
example. I know for sure that the hardware is capable of being much
louder since I'm able to play it at a good volume in Windows and Linux
(both Pulseaudio and ALSA, after I add a boost device to ALSA.)



Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 10 11:12:31, t...@parlementum.net wrote:
 On 07/10/15 13:15, Jan Stary wrote:
 Please show the output of mixerctl -av
 This is hardly 'maxed out'.
 Same for the other settings.
 
 
 Sorry about that, I'd asked in IRC about it and was given a few devices to
 try, and they didn't work. I know for sure that a couple got reset at least
 (I remember setting hp_boost for example, since it was named like something
 relevant.)

The hp stands for headphones.
man azalia

 I've tried playing with inputs.dac-0:1 and other values since and
 the inputs.dac-* actually *do* max out at 174 for me.

So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?

 $ mixerctl -av
 inputs.dac-0:1=174,174
 inputs.dac-2:3=174,174
 record.adc-2:3_mute=off  [ off on ]
 record.adc-2:3=124,124
 record.adc-0:1_mute=off  [ off on ]
 record.adc-0:1=124,124
 inputs.mix_source=mic2,beep  { mic2 beep }
 inputs.mix_mic2=120,120
 inputs.mix_beep=120,120
 inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
 inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
 inputs.mic=85,85
 outputs.spkr_source=mix3  [ mix2 mix3 ]
 outputs.spkr_mute=off  [ off on ]
 outputs.spkr_eapd=on  [ off on ]
 outputs.hp_source=mix2  [ mix2 mix3 ]
 outputs.hp_mute=off  [ off on ]
 outputs.hp_boost=on  [ off on ]
 outputs.hp_eapd=on  [ off on ]
 outputs.mic2_source=mix2  [ mix2 mix3 ]
 outputs.mic2_mute=off  [ off on ]
 inputs.mic2=85,85
 outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50
 input-vr80 input-vr100 ]
 record.adc-0:1_source=mic2,beep,mix,mic  { mic2 beep mix mic }
 record.adc-2:3_source=mic2,beep,mix  { mic2 beep mix }
 outputs.hp_sense=unplugged  [ unplugged plugged ]
 outputs.mic2_sense=unplugged  [ unplugged plugged ]
 outputs.spkr_muters=hp,mic2  { hp mic2 }
 outputs.master=255,255
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp  { dac-0:1 dac-2:3 spkr hp
 mic2 }
 record.volume=124,124
 record.volume.mute=off  [ off on ]
 record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 mic mic2 }
 
 (after some playing around)



Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 10 19:15:31, h...@stare.cz wrote:
 On Jul 10 06:01:17, t...@parlementum.net wrote:
  I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
  is just a bit too quiet to be comfortable even when I have everything maxed
  out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/2015 12:24 PM, Andy Bradford wrote:

Thus said tekk on Sat, 11 Jul 2015 08:30:00 -0700:


So e.g. mixerctl -v inputs.dac-0:1=255 sets it to 174,174?


Exactly. inputs.dac-{0:1,2:3}=$value_above_174 simply sets it to 174.

It would be  more helpful if instead of describing  the problem that you
would just copy/paste the result of  running the command and report that
in an email.

For example:

$ mixerctl -v record.adc-0:1=255
record.adc-0:1: 120,120 - 248,248

Thanks,

Andy
I probably would've, but I'm in Linux right now with some backups 
running. I should be a bit more helpful once I'm able to reboot.




Re: Audio Boost for Sndio

2015-07-11 Thread Jan Stary
On Jul 11 08:30:37, t...@parlementum.net wrote:
 On 07/11/2015 08:24 AM, Jan Stary wrote:
 On Jul 10 19:15:31, h...@stare.cz wrote:
 On Jul 10 06:01:17, t...@parlementum.net wrote:
 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
 is just a bit too quiet to be comfortable even when I have everything maxed
 out. I had a similar problem on Linux
 Are you sure the audio hardware is actually capable
 of playing louder than it does? How exactly are you playing what?
 
 I'm pretty sure. I mainly see it when playing youtube videos
 ^^

Mainly. So not always?
Do you experience this low volume when playing
just regular audio? For example, if you have sox installed,
try playing 'play -n synth 10 sin 220' (which is a saturated sin wave).

 via mpv https://www.youtube.com/watch?v=d3IidGmVLo4
 was giving me trouble for example.

mpv (or any other player, for that matter)
can have its own volume settings. If these are set low,
maxing out outputs.master will not help you much.
So how is mpv's volume set during this playback?

 I know for sure that the hardware is capable of being much
 louder since I'm able to play it at a good volume in Windows and Linux
 (both Pulseaudio and ALSA, after I add a boost device to ALSA.)

I don't know what an ALSA boost device is,
but the name suggests some kind of amplification.



Re: Audio Boost for Sndio

2015-07-11 Thread tekk

On 07/11/15 15:49, Jan Stary wrote:

On Jul 11 08:30:37, t...@parlementum.net wrote:

On 07/11/2015 08:24 AM, Jan Stary wrote:

On Jul 10 19:15:31, h...@stare.cz wrote:

On Jul 10 06:01:17, t...@parlementum.net wrote:

I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
is just a bit too quiet to be comfortable even when I have everything maxed
out. I had a similar problem on Linux

Are you sure the audio hardware is actually capable
of playing louder than it does? How exactly are you playing what?


I'm pretty sure. I mainly see it when playing youtube videos

  ^^

Mainly. So not always?
Do you experience this low volume when playing
just regular audio? For example, if you have sox installed,
try playing 'play -n synth 10 sin 220' (which is a saturated sin wave).
If the source is loud enough I can hear it. When volume is maxed out the 
sine wave is certainly audible,
but I wouldn't call it loud. Playing around with the value of 
outputs.master while the wave is actually running
showed something odd though: levels above 175 don't matter. I guess this 
is related to the inputs stopping at 174 (inputs.dac-0:1=174,174)

via mpv https://www.youtube.com/watch?v=d3IidGmVLo4
was giving me trouble for example.

mpv (or any other player, for that matter)
can have its own volume settings. If these are set low,
maxing out outputs.master will not help you much.
So how is mpv's volume set during this playback?

mpv's volume is at 100%

I know for sure that the hardware is capable of being much
louder since I'm able to play it at a good volume in Windows and Linux
(both Pulseaudio and ALSA, after I add a boost device to ALSA.)

I don't know what an ALSA boost device is,
but the name suggests some kind of amplification.

Yes, it's meant to increase the volume of sounds before they actually 
reach the sound card. I need it when using ALSA
but not when using Pulseaudio. The same issue may be underlying Linux 
ALSA though. Maybe some weird vendor thing
where the sound card is too quiet when you're not using the 
manufacturer's special Windows driver? I've noticed that

under Windows the laptop can get *really* loud if you set the volume high.

Sorry it took so long, lots of large files over a slow network.



Audio Boost for Sndio

2015-07-10 Thread tekk
I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) 
Audio is just a bit too quiet to be comfortable even when I have 
everything maxed out. I had a similar problem on Linux and I was able to 
create a boost device to feed audio through before it went to the 
speakers, could I do the same in OpenBSD? I've thrown in dmesg as well 
as mixerctl and audioctl output, not sure if anything else is needed. I 
remember reading that there was already some boost by default as well, 
but it defaulted to being maxed for me so it's not much help.


OpenBSD 5.7-stable (GENERIC) #0: Tue Jun 30 00:19:46 EDT 2015
r...@hetalia.tekk.in:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8237068288 (7855MB)
avail mem = 8013918208 (7642MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (69 entries)
bios0: vendor LENOVO version G1ETA2WW (2.62 ) date 01/10/2014
bios0: LENOVO 2344BZU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT 
FPDT ASF! UEFI UEFI MSDM SSDT SSDT DMAR UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) 
EHC1(S3) EHC2(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 1197.52 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1107 serial 24045 type LION oem LGC
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2601, 2600, 2500, 2400, 2300, 
2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
xhci0 at pci0 dev 20 function 0 Intel 7 Series xHCI rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 Intel xHCI root hub rev 3.00/1.00 addr 1
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 Intel 7 Series KT rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address 
28:d2:44:1a:f1:25

ehci0 at pci0 dev 26 function 0 Intel 7 Series USB rev 0x04: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 7 Series HD Audio rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 7 Series PCIE rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 Ricoh 5U822 SD/MMC rev 0x07: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 Intel 7 Series PCIE rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel Centrino Advanced-N 6205 rev 0x34: 
msi, MIMO 2T2R, MoW, address 6c:88:14:cd:ca:98

ehci1 at pci0 dev 29 function 0 Intel 7 Series USB rev 0x04: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel QM77 LPC rev 0x04
ahci0 at pci0 dev 31 function 2 Intel 7 Series AHCI rev 0x04: msi, 
AHCI 1.3

scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: ATA, WDC WD10S12X-55J, 01.0 SCSI3 
0/direct fixed naa.50014ee659a322a0

sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus1 targ 1 lun 0: PLDS, DVD-RW DS8A8SH, KU54 ATAPI 5/cdrom 
removable
ichiic0 at pci0 dev 31 function 3 Intel 7 Series SMBus rev 0x04: apic 
2 int 18

iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 

Re: Audio Boost for Sndio

2015-07-10 Thread tekk

On 07/10/15 13:15, Jan Stary wrote:

Please show the output of mixerctl -av
This is hardly 'maxed out'.
Same for the other settings.


Sorry about that, I'd asked in IRC about it and was given a few devices 
to try, and they didn't work. I know for sure that a couple got reset at 
least (I remember setting hp_boost for example, since it was named like 
something relevant.) I've tried playing with inputs.dac-0:1 and other 
values since and the inputs.dac-* actually *do* max out at 174 for me.


$ mixerctl -av
inputs.dac-0:1=174,174
inputs.dac-2:3=174,174
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=124,124
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=124,124
inputs.mix_source=mic2,beep  { mic2 beep }
inputs.mix_mic2=120,120
inputs.mix_beep=120,120
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
inputs.mic=85,85
outputs.spkr_source=mix3  [ mix2 mix3 ]
outputs.spkr_mute=off  [ off on ]
outputs.spkr_eapd=on  [ off on ]
outputs.hp_source=mix2  [ mix2 mix3 ]
outputs.hp_mute=off  [ off on ]
outputs.hp_boost=on  [ off on ]
outputs.hp_eapd=on  [ off on ]
outputs.mic2_source=mix2  [ mix2 mix3 ]
outputs.mic2_mute=off  [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 
input-vr80 input-vr100 ]

record.adc-0:1_source=mic2,beep,mix,mic  { mic2 beep mix mic }
record.adc-2:3_source=mic2,beep,mix  { mic2 beep mix }
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.mic2_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,mic2  { hp mic2 }
outputs.master=255,255
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp  { dac-0:1 dac-2:3 spkr hp 
mic2 }

record.volume=124,124
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 mic mic2 }

(after some playing around)



Re: Audio Boost for Sndio

2015-07-10 Thread Jan Stary
On Jul 10 06:01:17, t...@parlementum.net wrote:
 I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.) Audio
 is just a bit too quiet to be comfortable even when I have everything maxed
 out. I had a similar problem on Linux and I was able to create a boost
 device to feed audio through before it went to the speakers, could I do the
 same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
 output, not sure if anything else is needed. I remember reading that there
 was already some boost by default as well, but it defaulted to being maxed
 for me so it's not much help.

 azalia0 at pci0 dev 27 function 0 Intel 7 Series HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
 audio0 at azalia0

Please show the output of mixerctl -av

 inputs.dac-0:1=174,174

This is hardly 'maxed out'.
Same for the other settings.

 inputs.dac-2:3=174,174
 record.adc-2:3_mute=off
 record.adc-2:3=124,124
 record.adc-0:1_mute=off
 record.adc-0:1=124,124
 inputs.mix_source=mic2,beep
 inputs.mix_mic2=120,120
 inputs.mix_beep=120,120
 inputs.mix2_source=dac-0:1,mix
 inputs.mix3_source=dac-2:3,mix
 inputs.mic=85,85
 outputs.spkr_source=mix3
 outputs.spkr_mute=off
 outputs.spkr_eapd=on
 outputs.hp_source=mix2
 outputs.hp_mute=off
 outputs.hp_boost=off
 outputs.hp_eapd=on
 outputs.mic2_source=mix2
 outputs.mic2_mute=off
 inputs.mic2=85,85
 outputs.mic2_dir=input-vr80
 record.adc-0:1_source=mic2,beep,mix,mic
 record.adc-2:3_source=mic2,beep,mix
 outputs.hp_sense=unplugged
 outputs.mic2_sense=unplugged
 outputs.spkr_muters=hp,mic2
 outputs.master=255,255
 outputs.master.mute=off
 outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp
 record.volume=124,124
 record.volume.mute=off
 record.volume.slaves=adc-2:3,adc-0:1