On Thu, Mar 4, 2010 at 12:56 AM, Niels Heyvaert <[email protected]>wrote:
> > Hi, > > I've managed to perform the routines as suggested by Tom. I'll do some > actual sound testing tomorrow, but in the meantime, there seems to be a > syntax error in the capturehandset.state file and the mdbus routine refused > to save 2 scenarios while the alsactl routine did not throw any errors. > > The details are mentioned below. > > What is going wrong? > > Niels. > --- > > What I've done: > > 1. Taken the state files from September 09 from /usr/share/shr/scenarii and > prepared a tarball from those. > 2. Copied these to the FR and unpacked these in > /usr/share/shr/scenarii/Sept09 > 3. Installed mdbus2 using opkg (first did opkg update) > > Files are: > capturehandset.state > gsmheadset.state > gsmbluetooth.state > gsmspeakerout.state > stereoout.state > gsmhandset.state > headset.state > voip-handset.state > > 4. Performed the alsactl restore -f and mdbus2 routine for each of the > scenarios and saw the following: > > alsactl restore -f capturehandset.state > > ALSA lib conf.c:1589:(snd_config_load1) _toplevel_:6196:7779:Unexpected end > of file > alsactl: load_state:1562: snd_config_load error: Invalid argument > No idea. > > alsactl restore -f gsmbluetooth.state -> OK > alsactl restore -f gsmheadset.state -> OK > alsactl restore -f gsmhandset.state -> OK > alsactl restore -f gsmspeakerout.state -> OK > alsactl restore -f headset.state -> OK > alsactl restore -f stereoout.state -> OK > alsactl restore -f voip-handset.state -> OK > > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario catpurehandset -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario gsmbluetooth -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario gsmheadset -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario gsmhandset -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario gsmspeakerout > > org.freesmartphone.InvalidParameter: Scenario not available > gsmspeakerout got renamed to gsmspeaker > > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario headset -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario stereoout -> OK > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario voip-handset > > org.freesmartphone.InvalidParameter: Scenario not available > voip-handset got renamed to voiphandset. I'm not sure it really got renamed or this was the name from the start, but now those are the names. For more info: mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio org.freesmartphone.Device.Audio.GetAvailableScenarios > > -- > Microsoft gives you windows, Linux gives you the whole house. > > > > > > ________________________________ > > Date: Tue, 2 Mar 2010 01:27:29 +0200 > > Subject: Re: [Shr-User] Convert sound config of September 09 build to > current > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > > > On Mon, Mar 1, 2010 at 11:52 PM, Niels Heyvaert> wrote: > > > > > > > >> > > > >>> Would it be possible to "convert" the old into the new, keeping the > actual values? > > > > > > > >>> _________________________________________________________________ > > > >> > > > >>> Please look in the history of this ML, it was already discussed. > > > >> > > > >> > > > >> > > > >> Must have overlooked those in that case. Any possibility to point me to > the thread url? > > > >> > > > >> > > > >> > > > >> Thanks, > > > >> > > > >> > > > >> > > > >> Niels. > > > >> > > > >> > > > >> > > > >> _________________________________________________________________ > > > >> If I only knew... (Hard to search, no idea, will try to search tomorrow, > it's a bit late now). > > > >> -- > > > >> Tom. > > > > > > > > Anyone else with some explanation how to do this? People can not > understand a word I'm saying and have enormous ego of their own voice. This > wasn't the case in the old build. It's just a matter of porting the old > state files to the new layout, I hope. > > > > > > > > > > Did not find anything on the Wiki or the SHR manual pages. > > > > > > > > Thanks, > > > > > > > > Niels. > > > > Actually, just remembered of an easy way to do it, sorry about the delay > :P > > Just load the state (alsactl restore -f YOURSTATE), and then issue: > > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > org.freesmartphone.Device.Audio.SaveScenario NAME_OF_STATE > > > > For instance: > > alasctl restore -f gsmhandset.state > > mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio > > org.freesmartphone.Device.Audio.SaveScenario gsmhandset > > _________________________________________________________________ > Speel samen met je vrienden de spelletjes die Windows Live je aanbiedt! > http://www.messengerbillboard.be/nl/play > _______________________________________________ > Shr-User mailing list > [email protected] > http://lists.shr-project.org/mailman/listinfo/shr-user > -- Tom.
_______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
