Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 8 times | Joined on Mar 2017
#121
Originally Posted by TheKit View Post
Could you please confirm your revision? Is it V3, V5 or something else? Check the digit after letter "V" in serial number at the back of the tablet.
Ahh.. yes, you're right, it shuld be a V5. The full string is:

P820DBFBV5A01619

So, any chance I can bring the sound back? Thanks!

Last edited by Flos; 2017-03-05 at 14:54.
 

The Following User Says Thank You to Flos For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#122
Originally Posted by Flos View Post
Ahh.. yes, you're right, it shuld be a V5. The full string is:

P820DBFBV5A01619

So, any chance I can bring the sound back? Thanks!
No easy way, since it's a known issue due to V5 having different sound codec. I didn't see those errors before though. Could you please provide full dmesg log after boot (upload as file or to pastebin) and DSDT tables dump:
Code:
cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
 

The Following 2 Users Say Thank You to TheKit For This Useful Post:
Posts: 3 | Thanked: 8 times | Joined on Mar 2017
#123
Hi TheKit, please kindly find the file in the attachment. Thanks!
Attached Files
File Type: gz log.tar.gz (159.7 KB, 89 views)
 

The Following 3 Users Say Thank You to Flos For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#124
Originally Posted by Flos View Post
Hi TheKit, please kindly find the file in the attachment. Thanks!
Thanks for the logs. I did some investigation in spare time. DSDT is almost the same with V3. I downloaded Android firmwares for both revisions and compared their kernels with BinDiff to see if there are changes in sound codec or SST drivers. Surprisingly, there are no obvious differences in code, which means it might be data that's different.

I compared rt5640_init_reg array in kernel binaries and found exactly one change:
Code:
	{RT5640_HPO_MIXER, 0xc000},	/*HPVOL -> HPOLMIX */
	/*{RT5640_HPO_MIXER, 0xa000},//DAC1 -> HPOLMIX*/
V3 sets RT5640_HPO_MIXER to 0xc000 and V5 sets it to 0xa000 instead, which was present, but commented out in available kernel source tree.

I presume this won't be the only change, but I want V5 owners to test this kernel and post dmesg before I go further.
Code:
devel-su
mkdir /boot/esp
mount /dev/mmcblk0p1 /boot/esp
mv /boot/esp/bzImage /boot/esp/bzImage-old
cp bzImage /boot/esp/bzImage
reboot
 

The Following 3 Users Say Thank You to TheKit For This Useful Post:
Posts: 172 | Thanked: 353 times | Joined on Nov 2014
#125
Originally Posted by TheKit View Post
I want V5 owners to test this kernel and post dmesg before I go further.
Here's pastebin from mine.
I just want to say, I really appreciate what you're doing here!
 

The Following 2 Users Say Thank You to tmi For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#126
Originally Posted by tmi View Post
Here's pastebin from mine.
I just want to say, I really appreciate what you're doing here!
Thank you! Now that's different from other devices, rt5642 codec isn't detected on I2C. Could you please also upload your DSDT?
Code:
cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
 

The Following 2 Users Say Thank You to TheKit For This Useful Post:
Posts: 172 | Thanked: 353 times | Joined on Nov 2014
#127
Originally Posted by TheKit View Post
Could you please also upload your DSDT?
Sure. /10char
Attached Files
File Type: gz dsdt.tar.gz (19.8 KB, 86 views)
 

The Following 2 Users Say Thank You to tmi For This Useful Post:
Posts: 9 | Thanked: 27 times | Joined on Jan 2017
#128
Hi,

find attached anoterh dmesg and dsdt from an Onda V5.
Attached Files
File Type: zip dmesg.zip (51.4 KB, 79 views)
 

The Following 3 Users Say Thank You to tmichel For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#129
@tmi, @tmichel your device has rt5651 codec, as opposed to rt5642 on V3 (and some other V5?). Newer kernel has driver for rt5651 codec, but likely it won't be easy to backport to 3.10. Wish there was a way to get actual kernel source used for the tablet.
 

The Following 2 Users Say Thank You to TheKit For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#130
here's mine, as usual i just added the extension because of the filesize edit: experimental kernel with audio
Attached Files
File Type: deb dmesgoutput.deb (144.3 KB, 86 views)

Last edited by smatkovi; 2017-03-17 at 11:03.
 

The Following 3 Users Say Thank You to smatkovi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:05.