[Gta04-owner] QtMoko mic volume

Boudewijn w_b_k at xs4all.nl
Fri Aug 10 23:35:26 CEST 2012


Sorry list, I just found out I sent my half of the conversation just to Radek 
(and wondered when my messages would arrive in the list...); Radek, thanks for 
replying to the list!

On Friday 10 August 2012 16:56:15 Radek wrote:
> On Friday, August 10, 2012 01:05:03 AM Boudewijn wrote:
> > With the mic being deaf, I installed the v46 UBI image to flash. I
> 
> Hmm i dont recomend using UBI/NAND - it does not work reliably on GTA04.
> Use SD card instead...

Logs in this mail are from a relatively fresh install to uSD; installed the 
day before yesterday, apt-get update/grade'd, and the deaf mic. 

> > it still got the wrong value for the UART in /etc/bluetooth/uart, shall I
> > file a bug in the issuetracker at Github or is another place preferred?
> What is wrong value? 3000000 is the only correct value. If you are using
> low speed (115200) you should permanently increase it to 3000000 as
> described here:
> 	http://projects.goldelico.com/p/gta04-kernel/page/Wireless/
115200 indeed; back with v44 it helped me get past the "clock"/restarting QPE 
after boot. 

> > 0x77 (-16) [  845.632934] i2c i2c-2: Failed to register i2c client bmp085
> > at 0x77 (-16)
> 
> Hmm maybe there is some problem with bmp085 chip on your HW. You can try
> edit /etc/modules and remove it.
I only noticed it while running from NAND, so I'll throw it together with 
other vague nandy things.

> > Is there any logging I can turn on or supply to get a clearer image of
> > the problem?
> 
> Hmm the errors should go to log without enabling categories. But still it
> might be interesting to enable "Audio state" category.

I did and made a call from another device to GTA04 (A3, so software routing). 
I echo'd some hints about what was happening in between; the first few lines 
are the last bit from a previous call

Aug 10 20:37:11 neo Qtopia: AudioState :  SpeakerAudioState::leave() 
Aug 10 20:37:11 neo Qtopia: AudioState :  SpeakerAudioState::enter() isPhone 
false 
Aug 10 20:37:11 neo Qtopia: AudioState :  alsactl  ("-f", 
"/opt/qtmoko/etc/alsa/speaker.state", "restore") 
Aug 10 20:37:11 neo Qtopia: AudioState :  QAudioStateManager::stateChanged 
Aug 10 20:37:11 neo Qtopia: AudioState :  From State: QAudioStateInfo( true , 
"Media" , "MediaSpeaker" , "Speaker" , 100 ) QFlags(0x2) 
Aug 10 20:37:11 neo Qtopia: AudioState :  To State: QAudioStateInfo( true , 
"Media" , "MediaSpeaker" , "Speaker" , 100 ) QFlags(0x2) 

about to receive call now
Aug 10 20:42:36 neo kernel: [51251.646606] 3G Wakeup
Aug 10 20:42:36 neo Qtopia: rumble open: No such file or directory

picking up
Aug 10 20:42:49 neo last message repeated 4 times
Aug 10 20:42:52 neo Qtopia: AudioState :  Finding highest priority state for 
domain: "Phone" and capability: 2 
Aug 10 20:42:52 neo Qtopia: AudioState :  AudioState found was: 
QAudioStateInfo( true , "Phone" , "PhoneEarpiece" , "Earpiece" , 100 ) 
Aug 10 20:42:52 neo Qtopia: AudioState :  SpeakerAudioState::leave() 
Aug 10 20:42:52 neo Qtopia: AudioState :  EarpieceAudioState::enter() isPhone 
true 
Aug 10 20:42:52 neo Qtopia: AudioState :  alsactl  ("-f", 
"/opt/qtmoko/etc/alsa/gsmearpiece.state", "restore") 
Aug 10 20:42:52 neo Qtopia: AudioState :  starting gsm-voice-routing pid  1665 
Aug 10 20:42:52 neo Qtopia: AudioState :  QAudioStateManager::stateChanged 
Aug 10 20:42:52 neo Qtopia: AudioState :  From State: QAudioStateInfo( true , 
"Media" , "MediaSpeaker" , "Speaker" , 100 ) QFlags(0x2) 
Aug 10 20:42:52 neo Qtopia: AudioState :  To State: QAudioStateInfo( true , 
"Phone" , "PhoneEarpiece" , "Earpiece" , 100 ) QFlags(0x2) 
Aug 10 20:42:52 neo Qtopia: gsm-voice-routing started
Aug 10 20:42:52 neo Qtopia: voice routing started

switch to speaker
Aug 10 20:43:13 neo Qtopia: AudioState :  Trying to set profile to: 
"PhoneSpeaker" 
Aug 10 20:43:13 neo Qtopia: AudioState :  EarpieceAudioState::leave() 
Aug 10 20:43:13 neo Qtopia: AudioState :  terminating gsm-voice-routing pid  
1665 
Aug 10 20:43:13 neo Qtopia: gsm-voice-routing ending - signal 15
Aug 10 20:43:13 neo Qtopia: AudioState :  SpeakerAudioState::enter() isPhone 
true 
Aug 10 20:43:13 neo Qtopia: AudioState :  alsactl  ("-f", 
"/opt/qtmoko/etc/alsa/gsmspeaker.state", "restore") 
Aug 10 20:43:13 neo Qtopia: AudioState :  starting gsm-voice-routing pid  1668 
Aug 10 20:43:13 neo Qtopia: AudioState :  QAudioStateManager::stateChanged 
Aug 10 20:43:13 neo Qtopia: AudioState :  From State: QAudioStateInfo( true , 
"Phone" , "PhoneEarpiece" , "Earpiece" , 100 ) QFlags(0x2) 
Aug 10 20:43:13 neo Qtopia: AudioState :  To State: QAudioStateInfo( true , 
"Phone" , "PhoneSpeaker" , "Speaker" , 150 ) QFlags(0x2) 
Aug 10 20:43:14 neo Qtopia: gsm-voice-routing started
Aug 10 20:43:14 neo Qtopia: voice routing started

switch back to earpiece
Aug 10 20:43:33 neo Qtopia: AudioState :  Trying to set profile to: 
"PhoneEarpiece" 
Aug 10 20:43:33 neo Qtopia: AudioState :  SpeakerAudioState::leave() 
Aug 10 20:43:33 neo Qtopia: AudioState :  terminating gsm-voice-routing pid  
1668 
Aug 10 20:43:33 neo Qtopia: gsm-voice-routing ending - signal 15
Aug 10 20:43:33 neo Qtopia: AudioState :  EarpieceAudioState::enter() isPhone 
true 
Aug 10 20:43:33 neo Qtopia: AudioState :  alsactl  ("-f", 
"/opt/qtmoko/etc/alsa/gsmearpiece.state", "restore") 
Aug 10 20:43:33 neo Qtopia: AudioState :  starting gsm-voice-routing pid  1671 
Aug 10 20:43:33 neo Qtopia: AudioState :  QAudioStateManager::stateChanged 
Aug 10 20:43:33 neo Qtopia: AudioState :  From State: QAudioStateInfo( true , 
"Phone" , "PhoneSpeaker" , "Speaker" , 150 ) QFlags(0x2) 
Aug 10 20:43:33 neo Qtopia: AudioState :  To State: QAudioStateInfo( true , 
"Phone" , "PhoneEarpiece" , "Earpiece" , 100 ) QFlags(0x2) 
Aug 10 20:43:34 neo Qtopia: gsm-voice-routing started
Aug 10 20:43:34 neo Qtopia: voice routing started

hangup
Aug 10 20:43:50 neo Qtopia: AudioState :  Finding highest priority state for 
domain: "Media" and capability: 2 
Aug 10 20:43:50 neo Qtopia: AudioState :  AudioState found was: 
QAudioStateInfo( true , "Media" , "MediaSpeaker" , "Speaker" , 100 ) 
Aug 10 20:43:50 neo Qtopia: AudioState :  EarpieceAudioState::leave() 
Aug 10 20:43:50 neo Qtopia: AudioState :  terminating gsm-voice-routing pid  
1671 
Aug 10 20:43:50 neo Qtopia: gsm-voice-routing ending - signal 15
Aug 10 20:43:50 neo Qtopia: AudioState :  SpeakerAudioState::enter() isPhone 
false 
Aug 10 20:43:50 neo Qtopia: AudioState :  alsactl  ("-f", 
"/opt/qtmoko/etc/alsa/speaker.state", "restore") 
Aug 10 20:43:50 neo Qtopia: AudioState :  QAudioStateManager::stateChanged 
Aug 10 20:43:50 neo Qtopia: AudioState :  From State: QAudioStateInfo( true , 
"Phone" , "PhoneEarpiece" , "Earpiece" , 100 ) QFlags(0x2) 
Aug 10 20:43:50 neo Qtopia: AudioState :  To State: QAudioStateInfo( true , 
"Media" , "MediaSpeaker" , "Speaker" , 100 ) QFlags(0x2) 
end of call
root at neo:/var/log# 

To my untrained eye, the listed state changes confirm what I see happening in 
alsamixer during the call. 

If I were to do software routing by hand, which capture- and playback devices 
should I pull to 100% to at least get noise? Or 30%, to get a whisper at 
first? In your case, did you get the volume back after moving down to 4 
instead of 5, or did you have to reinstall something or leave power off?

Best regards,

Boudewijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1969 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120810/7524ce7b/attachment-0001.bin>


More information about the Gta04-owner mailing list