Guest ejtagle Posted February 13, 2012 Report Posted February 13, 2012 Yep .. the compiled and the source lib does indeed give sound ... nice one ... BUT .... and there sadly always is a but ... the video seems to slow down when its viewed over HDMI ... the sound is sloooow, talking sounds like a movie where something bad is about to happen and they go running towards the victim and shout noooooooooooo in a way thats never ever going to result in something good happening ;) http://pastebin.com/FD8FJR96 EDIT - ok seems fixed now ... seems changing sampling rate to 48000 for SPDIF resolves the problem, sound and video is as we'd expect it to be .. #define MM_SPDIF_SAMPLING_RATE 48000 See anything adverse with doing this ? edit 2 -- all appears fine --- Alpha3 has been released here Cheers Cass There are no problems changing SPDIF sampling rate... ;) -- I am still working on RIL for the 3G modem... Seems it will take some time ... ;)
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 (edited) There are no problems changing SPDIF sampling rate... ;) -- I am still working on RIL for the 3G modem... Seems it will take some time ... ;) No probs mate .. take your time ... Give us something to put into Alpha4 :) edit .. pm dude .. cheers Cass Edited February 13, 2012 by Cass67
Guest the_corvus Posted February 13, 2012 Report Posted February 13, 2012 There are no problems changing SPDIF sampling rate... ;) -- I am still working on RIL for the 3G modem... Seems it will take some time ... ;) What modem Vega has? Corvus.
Guest ejtagle Posted February 13, 2012 Report Posted February 13, 2012 What modem Vega has? Corvus. It has a Huawei EM770W ... And there is also an alternate modem that can be fitted in the mini-PCIe connector ... There is a huawei generic RIL, but seems to be outdated and has several memory leaks ... I am trying to clean it up and update to the latest RIL specification ;)
Guest the_corvus Posted February 13, 2012 Report Posted February 13, 2012 It has a Huawei EM770W ... And there is also an alternate modem that can be fitted in the mini-PCIe connector ... There is a huawei generic RIL, but seems to be outdated and has several memory leaks ... I am trying to clean it up and update to the latest RIL specification ;) Same as Wetab.... I am trying to fix it for some time... all my work is based in: https://github.com/DerArtem/huaweigeneric-ril and https://github.com/DerArtem/android_device_toshiba_betelgeuse That seems to be the most updated source. I'm waiting for some other changes to make a new image, but the first one works (i tested it), but android doesnt recognice the ppp0 link without the second one (the changes to fix GSM) and i didnt test it already... but seems that might work. Some modifications was to send RFSWITCH=1 because C+FUN=1 doesnt works and dont activate Radio and this one: https://github.com/rbraken/wetab-ICS-device-tree/commit/a65b62a41b0273f7548103b42212cf68bd73bdf2 because signal gives us wrong command. Anyway, any advance we will do on this will send to you. Corvus.
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 (edited) Eduardo, We are getting reports of random reboots .. looks like a kernel panic.. http://pastebin.com/KEUXe5kM http://pastebin.com/zrb6pG9J Ive received 2 logs on this both with the same problem ... looks like the wifi device is playing up somewhere .. Can you take a look .. Edit - make that 6 logs .. all the same .... edit 2 -- lovely crash when testing out a game ... http://pastebin.com/pjJLsi4U low memory ? Cheers Cass Edited February 13, 2012 by Cass67
Guest BillyBobJoe Posted February 13, 2012 Report Posted February 13, 2012 Eduardo, We are getting reports of random reboots .. looks like a kernel panic.. http://pastebin.com/KEUXe5kM http://pastebin.com/zrb6pG9J Ive received 2 logs on this both with the same problem ... looks like the wifi device is playing up somewhere .. Can you take a look .. Edit - make that 6 logs .. all the same .... edit 2 -- lovely crash when testing out a game ... http://pastebin.com/pjJLsi4U low memory ? Cheers Cass Hi Cass & Ed, Just had a quick look at the logs and there seems to be some reference to kmalloc which could be a causing a himem type of issue. Should we not be using vmalloc instead to avoid any restrictions? I could be way off track but just a thought. Billy..
Guest ejtagle Posted February 13, 2012 Report Posted February 13, 2012 Eduardo, We are getting reports of random reboots .. looks like a kernel panic.. http://pastebin.com/KEUXe5kM http://pastebin.com/zrb6pG9J Ive received 2 logs on this both with the same problem ... looks like the wifi device is playing up somewhere .. Can you take a look .. Edit - make that 6 logs .. all the same .... edit 2 -- lovely crash when testing out a game ... http://pastebin.com/pjJLsi4U low memory ? Cheers Cass WiFi problems seem to be related to some commands sent to the WiFi card before suspension that are not cancelled when the sdhci bus driver itself enters suspend... But, the sdhci driver then expects to get an answer ... Seems as a sdhci bug... Or perhaps, it is us that we keep WiFI and/or bluetooth on while suspended... Will try to get a fix for it ;)
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 WiFi problems seem to be related to some commands sent to the WiFi card before suspension that are not cancelled when the sdhci bus driver itself enters suspend... But, the sdhci driver then expects to get an answer ... Seems as a sdhci bug... Or perhaps, it is us that we keep WiFI and/or bluetooth on while suspended... Will try to get a fix for it Thought I removed the sysfs option to keep on in suspend.. was in Vega postboot script..
Guest Scanno Posted February 13, 2012 Report Posted February 13, 2012 (edited) Thought I removed the sysfs option to keep on in suspend.. was in Vega postboot script.. Hi cass, you mean that commenting out the line in the /etc/vega_postboot.sh: echo 1 > /sys/devices/platform/shuttle-pm-wlan/keep_on_in_suspend could be the solution to the reboot problem? edit: Well just had a reboot without having a suspend, but i will comment the line out just to see if it helps. regards, scanno Edited February 13, 2012 by Scanno
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 Doubt its the solution but it can't hurt..
Guest Scanno Posted February 13, 2012 Report Posted February 13, 2012 Doubt its the solution but it can't hurt.. You're right. It is not the solution >_>
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 (edited) You're right. It is not the solution >_> Its also not just related to sleep as im seeing while using tapatalk and terminal.. wfi messages are still apparent.. weird.. Edited February 13, 2012 by Cass67
Guest treznorx Posted February 13, 2012 Report Posted February 13, 2012 Eduardo, We are getting reports of random reboots .. looks like a kernel panic.. http://pastebin.com/KEUXe5kM http://pastebin.com/zrb6pG9J Ive received 2 logs on this both with the same problem ... looks like the wifi device is playing up somewhere .. Can you take a look .. Edit - make that 6 logs .. all the same .... edit 2 -- lovely crash when testing out a game ... http://pastebin.com/pjJLsi4U low memory ? Cheers Cass I had the same problem on Gtab. I solved it by passing the .built-in flag to the mmc stack in the board sdhci file. I no longer get those errors, however I can also no longer turn off the wifi from the rom and turn it back on. Once it's off it stays off.
Guest Cass67 Posted February 13, 2012 Report Posted February 13, 2012 I had the same problem on Gtab. I solved it by passing the .built-in flag to the mmc stack in the board sdhci file. I no longer get those errors, however I can also no longer turn off the wifi from the rom and turn it back on. Once it's off it stays off. Does that include resuming from sleep? Cheers Cass
Guest BillyBobJoe Posted February 14, 2012 Report Posted February 14, 2012 Its also not just related to sleep as im seeing while using tapatalk and terminal.. wfi messages are still apparent.. weird.. Cass not sure if it helps but there is a typo in the init.harmony.rc on device-removed-/sys/block/sda umount /mnt/usbdrive It should be unmount it may have nothing to do with the problem but I can't correct it right now. Billy.. PS crashing all the time now lasts only 5-10 minutes
Guest Cass67 Posted February 14, 2012 Report Posted February 14, 2012 Cass not sure if it helps but there is a typo in the init.harmony.rc on device-removed-/sys/block/sda umount /mnt/usbdrive It should be unmount it may have nothing to do with the problem but I can't correct it right now. Billy.. PS crashing all the time now lasts only 5-10 minutes Yeah the crashing is a pita, but it appears app specific .. im running for hours now in stock browser doing all my posting on it with 0 crash... in tapatalk i can almost crash at will... seems not tied specifically to wifi access , more how the app used it id say... in this test anyway... Never seen that unmount command, ill look into it but usually its umount.. maybe i was subliminally tinking unix when it sould have been something else ;)
Guest brucelee666 Posted February 14, 2012 Report Posted February 14, 2012 (edited) Re. umount, I seen that in a log it came up command not recognised I think. Didn't mention it because if you look in system/xbin as part of busybox umount is in there so I thought it was correct. edit:- it was in one of the above pastebin logs "init: /init.harmony.rc: 192: invalid command 'umount'" Edited February 14, 2012 by brucelee666
Guest BillyBobJoe Posted February 14, 2012 Report Posted February 14, 2012 Yeah the crashing is a pita, but it appears app specific .. im running for hours now in stock browser doing all my posting on it with 0 crash... in tapatalk i can almost crash at will... seems not tied specifically to wifi access , more how the app used it id say... in this test anyway... Never seen that unmount command, ill look into it but usually its umount.. maybe i was subliminally tinking unix when it sould have been something else ;) Cass, Is there any chance that you will back out the squashFS as this may be causing a number of problems. If the are write errors due to the RO nature of the FS. And frustrating as ever for poeople like me who can't mess about easily. Billy..
Guest Cass67 Posted February 14, 2012 Report Posted February 14, 2012 (edited) Cass, Is there any chance that you will back out the squashFS as this may be causing a number of problems. If the are write errors due to the RO nature of the FS. And frustrating as ever for poeople like me who can't mess about easily. Billy.. Umm nope wont back out of it unless i see proof there is issues caused by it.. nothing should be writing to those filesystems at all, they are read only by default in normal devices... id need to remove a lot of stuff in aosp bui,d to make it fit and i dont want to have to do that if its not needed. What makes you think the squashing is causing problems as i see 0 evidence to support this? Its not so hard to work with really either, if your struggling i can send you the commands i use to get around... i use linux but there should be equivalents for windows if you use that OS. Cass Edited February 14, 2012 by Cass67
Guest pizzaboy75 Posted February 14, 2012 Report Posted February 14, 2012 Cass, Is there any chance that you will back out the squashFS as this may be causing a number of problems. If the are write errors due to the RO nature of the FS. And frustrating as ever for poeople like me who can't mess about easily. Billy.. I second that. At least for the alpha stage. it's a pain to make changes to the fs in order to test things out right now.
Guest BillyBobJoe Posted February 14, 2012 Report Posted February 14, 2012 Umm nope wont back out of it unless i see proof there is issues caused by it.. nothing should be writing to those filesystems at all, they are read only by default in normal devices... id need to remove a lot of stuff in aosp bui,d to make it fit and i dont want to have to do that if its not needed. What makes you think the squashing is causing problems as i see 0 evidence to support this? Its not so hard to work with really either, if your struggling i can send you the commands i use to get around... i use linux but there should be equivalents for windows if you use that OS. Cass Its not a biggy just in the last couple of hours I've been enjoying the ics build but I'm picking out a few typos that could be easily corrected. In the in it.rc: on early-init # Set init and its forked children's oom_adj. write /proc/1/oom_adj -16 Should change to oom_score_adj Like I said just little things. Billy..
Guest Cass67 Posted February 14, 2012 Report Posted February 14, 2012 I second that. At least for the alpha stage. it's a pain to make changes to the fs in order to test things out right now. Its a pain to strip out stuff thats not needed and still have a usable rom ;) What do you need to change thats not writable? I can upload a raw image from aosp for you to play in that may fit but it wont have any gapps inside.. or indeed most of the stock apps.. id need to recompile aosp and remove the languages to stand a chance of getting it all in there and even then i doubt it will fit ... Its a tradeoff .. get the tools to work with what we have or not have any niceties and build a bear on your own.. i prefer from my perspective to have it all in there and work with the limitations.. Cass
Guest Cass67 Posted February 14, 2012 Report Posted February 14, 2012 (edited) Its not a biggy just in the last couple of hours I've been enjoying the ics build but I'm picking out a few typos that could be easily corrected. In the in it.rc: on early-init # Set init and its forked children's oom_adj. write /proc/1/oom_adj -16 Should change to oom_score_adj Like I said just little things. Billy.. Thats the boot.img.. no matter what its always 100% read only in all devices... Heh Nvidia put that line in too, no change from me.. Edited February 14, 2012 by Cass67
Guest ejtagle Posted February 14, 2012 Report Posted February 14, 2012 I also think there is no need to unsquash things... even /system/lib contents can be overriden by /system/vendor/lib ... So, no real need to build a nosquash system... And if you REALLY need RW access, there is a way using an overlay filesystem over the squashfs ... Google it, you will find it. But, it should be used just for development, and not as a daily feature, as, as Cass said, by default, device roms have /system mounted as RO. Speaking of more interesting things, i have been looking at the Wifi errors while the tablet goes to suspend. This seems to be a bug of the Atheros driver, that is not honoring the suspend request, and keeps posting commands to the wifi card even after telling linux it is suspended... The sdhci stack has no provisions to deal with that, and tries to honor the commands by sending them... But the sdhci controller IS suspended, so it can't and it ends giving the errors we see... Will have to study the Atheros driver a bit...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now