Advent Vega kernel source code now available!
#2721
Posted 14 December 2012 - 02:57 AM
#2722
Posted 15 December 2012 - 10:02 PM
Daedric1383, on 14 December 2012 - 02:57 AM, said:
48Mhz... is the base clock used to derive all internal clockings...
https://www.paypal.c...G.gif:NonHosted
#2723
Posted 17 December 2012 - 12:01 AM
#2724
Posted 19 December 2012 - 02:19 PM
It seems like when an audio stream is opened, volume changes are not applied to the current open audio stream... Cold that be possible?
Edited by Scanno, 19 December 2012 - 04:19 PM.
#2725
Posted 20 December 2012 - 02:36 AM
Scanno, on 19 December 2012 - 02:19 PM, said:
It seems like when an audio stream is opened, volume changes are not applied to the current open audio stream... Cold that be possible?
Strange... unless audio volume is setting the volume of something different, such as voice volume...
https://www.paypal.c...G.gif:NonHosted
#2726
Posted 23 December 2012 - 04:12 AM
Attached Files
https://www.paypal.c...G.gif:NonHosted
#2727
Posted 23 December 2012 - 11:20 AM
ejtagle, on 20 December 2012 - 02:36 AM, said:
Strange... unless audio volume is setting the volume of something different, such as voice volume...
It seems it is setting a different volume.
#2728
Posted 23 December 2012 - 11:21 AM
ejtagle, on 23 December 2012 - 04:12 AM, said:
#2729
Posted 24 December 2012 - 06:46 AM
Attached Files
https://www.paypal.c...G.gif:NonHosted
#2730
Posted 24 December 2012 - 06:52 AM
Attached Files
https://www.paypal.c...G.gif:NonHosted
#2731
Posted 28 December 2012 - 09:08 PM
ejtagle, on 23 December 2012 - 04:12 AM, said:
With this new audio_hw.c, i am not getting any sound out of my tablet. Putting back the original audo_hw.c and i got sound back. Doing a diff between the files, shows that there are many many differences.
This is the audio_hw,c that i am using and is working fine (except for the big crackle when th card gets initialized the first time):
audio_hw.c.zip 9.78K
4 downloadsBut offcourse the microphone is not working.
Edited by Scanno, 28 December 2012 - 09:09 PM.
#2732
Posted 29 December 2012 - 06:55 AM
#2733
Posted 30 December 2012 - 02:02 AM
Scanno, on 28 December 2012 - 09:08 PM, said:
With this new audio_hw.c, i am not getting any sound out of my tablet. Putting back the original audo_hw.c and i got sound back. Doing a diff between the files, shows that there are many many differences.
This is the audio_hw,c that i am using and is working fine (except for the big crackle when th card gets initialized the first time):
But offcourse the microphone is not working.
The changes you see were required to make the mic work again in jb4.2. The problem was that Google redefined the constants used to select the audio source. Before the redefinition, each audio source had an associated bit in the audio source bitfield, and that bit was unique. But, after the redefinition, each audio source has a unique bit, but also a shared bit that tells that is is an input source. So, expressions such as
(source & MIC_SOURCE), that previously were true only when dealing with the mic, now are always true for all input sources. The result was that Bt audiop was selected as audio input source, instead of mic. What i did was to mask out the offending bit (that tells we are dealing with an input source). That way, the audio driver is able to again properly select the audio source as requested by the framework.
I redid the porting on thedriver you posted. Hope this time it works!
Attached Files
https://www.paypal.c...G.gif:NonHosted
#2734
Posted 30 December 2012 - 12:33 PM
ejtagle, on 30 December 2012 - 02:02 AM, said:
(source & MIC_SOURCE), that previously were true only when dealing with the mic, now are always true for all input sources. The result was that Bt audiop was selected as audio input source, instead of mic. What i did was to mask out the offending bit (that tells we are dealing with an input source). That way, the audio driver is able to again properly select the audio source as requested by the framework.
I redid the porting on thedriver you posted. Hope this time it works!
Thanks i will give it a try
Edit: it seems to be working
Edited by Scanno, 31 December 2012 - 06:54 PM.
#2735
Posted 02 January 2013 - 11:41 PM
I have also started porting 4.2 to the Folio 100. You did an amazing job! Thanks
For the audio driver I have switched to use the audio lib of the Asus Grouper / Nexus 7:
https://android.goog...4.2.1_r1/audio/
It looks very nice and the configuration is done in mixer_paths.xml instead of the source.
It only lacks HDMI output but this should not be a problem to add. Maybe you should use this too?
#2736
Posted 03 January 2013 - 01:34 AM
DerArtem, on 02 January 2013 - 11:41 PM, said:
I have also started porting 4.2 to the Folio 100. You did an amazing job! Thanks
For the audio driver I have switched to use the audio lib of the Asus Grouper / Nexus 7:
https://android.goog...4.2.1_r1/audio/
It looks very nice and the configuration is done in mixer_paths.xml instead of the source.
It only lacks HDMI output but this should not be a problem to add. Maybe you should use this too?
The problem ,unfortunately, will be the hdmi audio..
https://www.paypal.c...G.gif:NonHosted
#2737
Posted 04 January 2013 - 06:41 PM
DerArtem, on 02 January 2013 - 11:41 PM, said:
I have also started porting 4.2 to the Folio 100. You did an amazing job! Thanks
For the audio driver I have switched to use the audio lib of the Asus Grouper / Nexus 7:
https://android.goog...4.2.1_r1/audio/
It looks very nice and the configuration is done in mixer_paths.xml instead of the source.
It only lacks HDMI output but this should not be a problem to add. Maybe you should use this too?
I have already done the implementation for us here https://github.com/n...7007a05248c858c
Actually currently I am using modified version of latest ejtangle, since I like some of the improvements he has
#2738
Posted 12 January 2013 - 03:26 PM
#2739
Posted 13 January 2013 - 04:32 AM
docck, on 12 January 2013 - 03:26 PM, said:
The problem we have is that the Atheros bluetooth chip uses the BCSP protocol instead of the H4 protocol to communicate the bt stack thru the Tegra UART to the bluetooth chipset. This protocol is a bluecore proprietary protocol that encapsulates the H4 protocol into packets with header and checksum, and implements a retry if failed mechanism that the H4 protocol does not implement.
Most bluetooth chipsets use the H4 protocol, so they will work with the broadcom stack. But our bluecore based bluetooth chipset only accepts BCSP,that the broadcom stack does not implement. I havent finished the implementation yet, but it should not be an impossible task.... I am still working on it...
https://www.paypal.c...G.gif:NonHosted
#2740
Posted 13 January 2013 - 10:31 AM
ejtagle, on 13 January 2013 - 04:32 AM, said:
The problem we have is that the Atheros bluetooth chip uses the BCSP protocol instead of the H4 protocol to communicate the bt stack thru the Tegra UART to the bluetooth chipset. This protocol is a bluecore proprietary protocol that encapsulates the H4 protocol into packets with header and checksum, and implements a retry if failed mechanism that the H4 protocol does not implement.
Most bluetooth chipsets use the H4 protocol, so they will work with the broadcom stack. But our bluecore based bluetooth chipset only accepts BCSP,that the broadcom stack does not implement. I havent finished the implementation yet, but it should not be an impossible task.... I am still working on it...
Thanks that you are still working on BT
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users







Sign In
Create Account

Back to top










