NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Script update



Hello Isac,

First script version works, second fails:



netbsd-raspa4$ ./vol1 get
91%%


netbsd-raspa4$ ./vol2 get
: not found
: not found
usage: vol up
       vol down
       vol get
: not found
: not found
: not found
 does not exist outputs.master
(standard_in) 1: illegal character: ^M
(standard_in) 1: syntax error
%
: not found
: not found
" unexpected (expecting "in")d "in
netbsd-raspa4$

Regards.

Ramiro.





El 26/3/26 a las 10:12, Isac Monção escribió:
On Thu, 26 Mar 2026 08:28:42 +0000 (UTC)
RVP <rvp%SDF.ORG@localhost> wrote:

See mixerctl(1) for the `-n' flag.
Thank you! I didn't notice that while reading the manual.

The max value typically is 255; don't know why your HW presents 248?
Is the step increment 7 on your sound HW? (mixerctl -av)
The maximum value mine reaches is 248... But after running
"mixerctl -v" I I noticed that the delta value is 8, so I guess
that's the reason...

```sh
$ mixerctl -v outputs.master
outputs.master=248,248 volume delta=8
```
I'm sure you know this already: if increment is 1, then you can just
use:

  	mixerctl -w master.output++
  	mixerctl -w master.output--

Yes yes, I defined that variable in case someone wants to
increase/decrease the volume more quickly.


Thank you for your response, RVP.

Best regards,
Isac



Home | Main Index | Thread Index | Old Index