You are not logged in.

1

Friday, October 7th 2005, 10:08pm

script to run KMix; strange stoggling effects

To All:

2 problems.

1st problem:

I am having trouble writing a script to setup the
"Sound Mixer" (Xandros version of KMix) settings.
The script uses the command, amixer, e.g.,

#!/bin/sh
amixer set 'Master" 31 capture
...
amixer set 'Mic Select' capture
...
...

All the changes show up in alsamixer, but they do
*NOT* show up in Sound Mixer (KMix). Even worse,
the microphone does not work until I have all the
right settings in Sound Mixer (KMix), not in
alsamixer. I know I am using ALSA because I defined
it in the Control Center. How can I make the script
to work in Sound Mixer (KMix)?

[dcop kmix ... does not work because I need to turn
off IEC958.]


2nd problem:

When I setup my settings in KMix, I noticed I needed
to

a) toggle 'Mic Select' off, and then, on
b) toggle 'Mic Boost (+20db) on, and then, off
c) toggle 'IEC958' on, and then, off

Why do all this extra togglings make the microphone
work? Strange.

Thanks in advance for any help.

Sheng-Chieh

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

2

Saturday, October 8th 2005, 3:49pm

Try using 'aumixer' instead of 'amixer'

3

Saturday, October 8th 2005, 10:06pm

Thank you for replying.

i can't seem to find aumixer. It's not a Xandros package. It's
not on the debian site (debian.org). And a search for aumixer
on google yield nothing useful. Do you know the web address
of main's site for aumixer?

Also, what is the difference between amixer and aumixer?

Sheng-Chieh