| freemangordon | tmlind: I see around 100 mW higher power usage on 6.12(I started from clean pvrsrvkm-6.12, as I want to clean-up the patch mess). I think I pulled all the relevant patches, but as soon as I modprobe mdm6600 phy, usage increases from ~100 mW to ~ 200mW, on leste with wifi on. any idea where to look at? | 08:29 |
|---|---|---|
| freemangordon | also, I see couple of ehci-omap patches from you , why are they needed? | 08:30 |
| freemangordon | Mind you, I didn't pull serdev-ngsm patches, but that should not increase power usage, no. | 09:09 |
| tmlind | freemangordon: on modprobe mdm6600 phy driver powers up the modem, it should idle after a few minutes, if not, see if touch /dev/ttyUSB4 idles thing | 11:06 |
| tmlind | freemangordon: the ehci-omap changes are for the mdm9600 on the mz617 tablets | 11:06 |
| mkf | hello! | 11:31 |
| mkf | got leste running on a23 tablet | 11:31 |
| mkf | touch doesnt work | 11:32 |
| mkf | how can one extract touch firmware (it lacks android, but i've got the images) | 11:34 |
| Wizzup | mkf: nice going, what steps did you take so far? | 11:39 |
| Wizzup | it is possible our kernel doesn't have the ts driver | 11:40 |
| Wizzup | (that you need) | 11:40 |
| mkf | compiled uboot, used linux-sunxi kernel. :( | 11:40 |
| mkf | grabbed sunxi image from downloaded, glue'd with linux-sunxi and uboot | 11:41 |
| mkf | i've disabled wifi in uboot (i think?) dts but not sure if effects linux. | 11:43 |
| Wizzup | sunxi kernel being 3.4? | 11:46 |
| freemangordon | mkf: you should boot android to get TS firmware | 11:47 |
| freemangordon | tmlind: idles after few minutes? hmm | 11:48 |
| freemangordon | ok, lemme wait a bit longer | 11:48 |
| Wizzup | I think he said he didn't have a working android | 11:49 |
| freemangordon | ah | 11:49 |
| mkf | wizzup: 5.8 | 11:50 |
| mkf | freemangordon: yeah, volume buttons are borken, android doesn't boot and i can't get it into fel mode to flash another android. | 11:51 |
| freemangordon | lemme try to remember what I did back then | 11:51 |
| freemangordon | mkf: do you know TS model? | 11:54 |
| mkf | no :( | 11:55 |
| mkf | it's a q8h v1.5 if that helps | 11:55 |
| mkf | oh | 11:56 |
| freemangordon | ok, but you should see it in dmesg | 11:56 |
| mkf | sunxi wiki says it's Touchscren: GSL1680 | 11:56 |
| freemangordon | perfect | 11:56 |
| freemangordon | now, in dmesg, which FW file it tries to load? | 11:56 |
| mkf | hm | 11:56 |
| mkf | lemme take a video, since i dont have uart either. | 11:57 |
| freemangordon | you should see something like GSL1680E_700_FW.fw | 11:57 |
| freemangordon | mkf: https://github.com/onitake/gslx680-acpi | 11:58 |
| freemangordon | https://github.com/onitake/gsl-firmware/tree/master/firmware :) | 11:58 |
| mkf | wonderful. :) | 11:58 |
| mkf | okay, let me recompile stuff | 12:00 |
| freemangordon | recompile? why? | 12:00 |
| freemangordon | you didn;t enable TS driver? | 12:00 |
| mkf | apperently not. | 12:01 |
| freemangordon | heh :) | 12:01 |
| Wizzup | mkf: oh, sunxi kernel being the one on m-l github? | 12:03 |
| mkf | https://github.com/linux-sunxi/linux-sunxi | 12:18 |
| mkf | btw did you guys got your screen working without issues on mainline? | 12:19 |
| freemangordon | haven't try for a while, but I had to patch simple-panel back then to have it working properly | 12:25 |
| mkf | how did it behaved otherwise? | 12:27 |
| mkf | https://cloud9p.org/usr/mkf/tmp/a23-screen.mp4 <- here is what i get via mainline kernel (with no patches) | 12:28 |
| freemangordon | yep, exactly the same :) | 12:29 |
| freemangordon | lemme try to find the patch | 12:29 |
| freemangordon | mkf: https://pastebin.com/8SCYXTQj | 12:40 |
| freemangordon | dts shall be patches too, but I can;t find what I did back then | 12:41 |
| freemangordon | also, this is for my tablet, yours may differ | 12:41 |
| freemangordon | also, make sure you have panel-simple enabled | 12:41 |
| mkf | freemangordon: mine seems to be 800 480, should i change the values? | 12:55 |
| freemangordon | then perhaps you don't need the patch at all | 13:09 |
| freemangordon | just make sure panel-simple is enabled in config | 13:09 |
| freemangordon | and that there is (enabled) panel in board dts | 13:09 |
| freemangordon | if that does not help, maybe ask on #linux-sunxi | 13:10 |
| freemangordon | BTW, if you can open it, there is a chance that panel model is written on it | 13:11 |
| mkf | doesn't work. :( | 13:39 |
| mkf | it shows one frame after like 2 minutes once kernel is loaded | 13:39 |
| mkf | but that's it | 13:39 |
| freemangordon | ask for help on #linux-sunxi | 14:11 |
| freemangordon | BTW, you enabled lima, right? | 14:11 |
| tmlind | freemangordon: hmm unlikely but maybe some ngsm uart features are also needed to idle the modem? | 14:19 |
| freemangordon | yeah | 14:19 |
| freemangordon | mayeb | 14:19 |
| freemangordon | ok, will pull them as well | 14:20 |
| mkf | freemangordon: no lima. | 14:24 |
| mkf | how to do so? | 14:24 |
| mkf | Wizzup, freemangordon: any idea how to get a shell or something over usb port in allwinner? | 15:58 |
| freemangordon | no, sorry | 16:09 |
| freemangordon | mkf: really, you should ask on #linux-sunxi, usually you get answers there, I can be of little help as it was more than 2 years I played with allwinner | 16:11 |
| mkf | okay, thank you. :) | 16:21 |
| mkf | oh | 17:00 |
| mkf | i think i've got it now | 17:00 |
| mkf | where should i install the kernel modules? /lib/modules? | 17:05 |
| freemangordon | mhm | 17:05 |
| freemangordon | well... | 17:05 |
| freemangordon | /lib/modules/$kernel_release | 17:05 |
| mkf | it's been a while since i used linux, so sorry for stupid questions. :) | 17:06 |
| freemangordon | I usually do make -j4 modules_install INSTALL_MOD_PATH=../ INSTALL_MOD_STRIP=1 on the host | 17:06 |
| freemangordon | which installs them in ../lib/modules/... | 17:06 |
| mkf | ah. | 17:06 |
| freemangordon | and then copy from there to the target | 17:06 |
| freemangordon | do you build on device? | 17:07 |
| mkf | no, but my build system is a bit cursed. | 17:07 |
| mkf | can i add the fw to the kernel image somehow? | 17:09 |
| freemangordon | no idea, but why don;t just copy it to rootfs? | 17:13 |
| mkf | done that. not sure why it still doesn't work. :( | 17:16 |
| freemangordon | "it"? display? TS? | 17:25 |
| mkf | TS. display works perfectly. | 17:28 |
| freemangordon | dmesg? | 17:28 |
| freemangordon | this is with mainline kernel? | 17:29 |
| freemangordon | 6.12? | 17:29 |
| mkf | can't get a dmesg, basically the only input method i have atm is power button. :) | 17:30 |
| freemangordon | cool | 17:30 |
| freemangordon | morse? | 17:30 |
| mkf | i'll prob. get a better soldering iron tomrrow and try to get a uart soldered on it. | 17:30 |
| freemangordon | could you try to capture a video? | 17:31 |
| freemangordon | also, if it has usb bort, perhaps you can enable host mode on it | 17:31 |
| freemangordon | and attach a keyboard | 17:31 |
| freemangordon | *usb port | 17:31 |
| mkf | will the module be loaded in early boot or late boot? | 17:32 |
| mkf | by late i mean after open rc | 17:33 |
| freemangordon | you can make it build-in in zImage if you have concerns | 17:33 |
| mkf | beause before open rc it's too fast, (even slow mo can't capture it properly) | 17:33 |
| freemangordon | ah, sorry | 17:33 |
| freemangordon | didn't get the queston | 17:33 |
| freemangordon | you should really enable usb dual role and attach a keyboard | 17:34 |
| mkf | hm. | 17:34 |
| mkf | this is linux-sunxi btw. | 17:35 |
| freemangordon | still | 17:35 |
| mkf | and as for usb, it doesn't seem to work either. | 17:35 |
| freemangordon | usb host mode was working properly with my A33 | 17:35 |
| mkf | sunxi_defconfig should have it enabled, right? | 17:35 |
| freemangordon | no | 17:35 |
| freemangordon | IIRC | 17:36 |
| freemangordon | and you need uUSB cable with proper ID pin | 17:36 |
| mkf | ok. | 17:36 |
| mkf | i have bunch of otg cables/hubs that worked fine with pi | 17:36 |
| mkf | so hopefully they will work | 17:36 |
| freemangordon | they should | 17:36 |
| mkf | hm | 17:48 |
| mkf | recompiled kernel with otg, with no avail. | 17:48 |
| freemangordon | tmlind: please have a look if I am missing something obvious https://github.com/maemo-leste/droid4-linux/commits/leste/maemo-6.12.y-wip/ | 17:49 |
| mkf | oh | 20:53 |
| mkf | kernel saves dmesg automatically. | 20:54 |
| mkf | cool. | 20:54 |
| mkf | [ 12.472346] silead_ts 0-0040: Direct firmware load for silead/gsl1688.fw failed with error -2 | 21:30 |
| mkf | woohoo \o/ | 21:30 |
| mkf | got it to work! :D | 21:54 |
| mkf | or i believe so? | 21:55 |
| mkf | it's quite a bit slow. how can i enable lima? | 21:56 |
| Wizzup | if you have a dts we can make leste imgs | 22:03 |
| mkf | i have a dts. (from mainline) | 22:04 |
| mkf | tho kernel isnt from mainline (yet), due to simplefb issues? | 22:05 |
| mkf | is there an image somewhere with ready to use lima? | 22:13 |
| Wizzup | I think our kernel has lima | 22:34 |
| arno11 | maybe xorg conf is wrong, no ? | 22:38 |
| freemangordon | tmlind: ok, after pulling serdev_ngsm patches power usage seems back to normal, however, I wonder why+ | 22:51 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!