Re: ALSA

Previous thread: Re: Bad Customer support from Truebox.com about a Broken Battery by ankostis on Wednesday, December 10, 2008 - 8:20 am. (8 messages)

Next thread: Service commands by Atilla Filiz on Wednesday, December 10, 2008 - 2:27 pm. (7 messages)
From: Clemens Dörrhöfer
Subject: ALSA
Date: Wednesday, December 10, 2008 - 1:23 pm

Is there any useful Information in the net, which tells me a little 
something about the big mistery ALSA on openmoko? After installing the 
pymixer I can no longer use my moko as phone because I neither have 
sound nor microfone. All information I find about this topic is more or 
less useless.

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Marcel
Subject: Re: ALSA
Date: Wednesday, December 10, 2008 - 1:44 pm

Did pymixer maybe simply minimize some relevant controls?

--
Marcel

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Clemens Dörrhöfer
Subject: Re: ALSA
Date: Wednesday, December 10, 2008 - 2:34 pm

>
I am trying to find out what the relevant controls are and how I need to 
adjust them to be able to use the moko as phone. The states are still a 
little confusing for me. At least some alsa settings seem to change when 
I start the dialer and begin a call.

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Al Johnson
Subject: Re: ALSA
Date: Wednesday, December 10, 2008 - 5:00 pm

See timo's post for the relevant wiki pages. They describe what each state 
file does, which alsa channels change important volume settings in them, and 
which package contains them so that you can reinstall the package to get back 
to defaults.

When you start or end a call the dialler app will switch state files. At rest 
you will probably be using stereoout.state so that when the phone rings the 
sound will go to the speaker. When you answer the call it will switch to 
gsmhandset.state, or perhaps gsmheadset.state if you have the headset plugged 
in. pymixer will reflect the changes in the settings made by loading a new 
state file.



_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Timo Juhani Lindfors
Subject: Re: ALSA
Date: Wednesday, December 10, 2008 - 1:44 pm

http://wiki.openmoko.org/wiki/Neo1973_Audio_Subsystem has a useful
block diagram and
wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem the changes that
were made in freerunner.



_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Clemens Dörrhöfer
Subject: Re: ALSA
Date: Thursday, December 11, 2008 - 3:05 am

Thanks you all for the help I think I can go on from here.

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Angus Ainslie
Subject: Re: ALSA
Date: Thursday, December 11, 2008 - 9:23 am

To restore the settings just reinstall the alsa state files using opkg.

pymixer will only save the state if you ask it to and should only
change the controls relevant to that state. If you find it has
different behavior please send me a bug report.

Angus

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Timo Juhani Lindfors
Subject: Re: ALSA
Date: Thursday, December 11, 2008 - 4:56 pm

Would it be possible to make pymixer take the path to alsa state files
as an argument? Configuration stuff should not be written to /usr.


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Angus Ainslie
Subject: Re: ALSA
Date: Thursday, December 11, 2008 - 10:19 pm

On Thu, Dec 11, 2008 at 4:56 PM, Timo Juhani Lindfors

It could be changed but seeing as the current files are in
/usr/share/openmoko/scenarios/ I'm not sure what the objective would
be. pymixer doesn't do the state transitions it only changes the mixer
values relevant to a state and then saves those for the system.

Angus

-- 
Angus Ainslie
http://www.handheldshell.com/

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
From: Timo Juhani Lindfors
Subject: Re: ALSA
Date: Thursday, December 11, 2008 - 11:46 pm

I keep them under /etc.

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
Previous thread: Re: Bad Customer support from Truebox.com about a Broken Battery by ankostis on Wednesday, December 10, 2008 - 8:20 am. (8 messages)

Next thread: Service commands by Atilla Filiz on Wednesday, December 10, 2008 - 2:27 pm. (7 messages)