libera/#maemo-leste/ Friday, 2024-12-13

tmlindfreemangordon: flash_mode patch found and rebased on mdm9600 changes and your wake patch: http://muru.com/linux/d4/mdm6600-flash-mode.patch05:11
tmlindfreemangordon: i tested with v6.12 on d4 flashing once and it worked, will try also on mz617 at some point05:12
tmlindsee the patch for instructions, you need only bp.img for mdm6600 repackaged into a zip file05:13
tmlindhmm need to find also the phy-cpcap-usb patch for bp mode since sounds like you're using it for ofono, just muxes the lines so mdm6600 is routed to the micro-a connector05:14
tmlindfreemangordon: looks like no changes were needed for the wakeirq, did not check if something needs to be added for the mdm9600 on mz617..05:16
freemangordontmlind: thanks, will try09:09
freemangordoncannot find that updater-script though09:10
freemangordonor, what is it, python?09:10
dsc_https://plak.infrapuin.nl/selif/odpvev3w.mp409:28
dsc_gradient chat bg thing (optional)09:28
dsc_works with a shader so its fast09:28
freemangordondsc_: try on n900, before drawing conclusions if something is fast :)09:40
freemangordonoh, I just mount it09:44
dsc_n900 can do shaders and this one is rather simple, I dont expect issues09:45
dsc_n900 can also do some 3d :)09:45
freemangordonsure09:46
tmlindfreemangordon: a binary in the radio firmware image, unpack it and rezip10:10
freemangordonI already did10:12
freemangordonhow to run updater-binary?10:12
freemangordonwhat paameters?10:12
tmlindsee the commit desc10:13
freemangordonI saw, but it just says "And then run the update-binary:"10:13
freemangordonjust running it produces "wrong number of arguments"10:14
freemangordonlook slike it requires 3 arguments10:14
freemangordonsome api version, fd and lication of the script10:14
freemangordon*location of the zip10:14
tmlindoh i'll check tonight.. 3 and the zip are two of the args10:14
freemangordonok, will try stdout then as second parameter10:15
tmlindprobably /dev/ttyUSB010:15
tmlindon d4, will check later10:16
dsc_freemangordon: do you like such a layout? https://plak.infrapuin.nl/selif/f5eqp01k.png10:17
dsc_nvm the other was better10:25
dsc_https://plak.infrapuin.nl/selif/9vkeazaq.png10:26
freemangordontmlind: I think I have a success10:26
freemangordonat least with flashing10:26
freemangordon"Flashing codegroup 2, addr 0, length 25631804"10:26
freemangordonseems to take a while though10:27
freemangordonbut unfortunately the issue is still there :D10:35
freemangordondsc_: sorry, trying to recover my devices, can't look now10:38
dsc_not important10:40
tmlindfreemangordon: update-binary 3 1 ${file} then have to restart the modem a few times by reloading the ohci-platform and the mdm6600 phy driver10:41
tmlindbbl later today10:41
freemangordondid it10:45
freemangordongoing to check nvram in the meanwhle10:46
freemangordonfortunatley, seems I have a backup10:46
inkyi bought bionic. if it reaches me okay, it has no issues like d3, right? it will work just like d4.11:58
Wizzupyes12:15
freemangordonok, one of the devices is recovered13:54
freemangordonlets see the other one13:54
freemangordonthe other one as well14:19
freemangordontmlind: thanks a lot!14:19
freemangordonhmm, still something weird14:37
freemangordonI wonder if minicom does strange things14:37
freemangordonoh, usbtty4 behaves weird without SIM14:42
freemangordoneven basic commands are refused14:42
Wizzupfreemangordon: yay15:10
Wizzupfreemangordon: maybe this needs to go on the wiki15:11
inkyWizzup:  i can give you my 6.11 config for pinephone, would you update the kernel then?15:26
inky(i use megi's kernel orangepi bratch, that's the correct branch to use for pinephone)15:26
inkymegi said so15:26
tmlindfreemangordon: ok good to hear :) the nvram gets reset too when you reflash it15:31
freemangordontmlind: ok, I suspect also some PEBCAK16:32
freemangordonor  combination of 3 things:16:32
freemangordonthat command I issued is switching to some strange echo mode, but I also didn;t have SIM card and that seems to disable most of the commands (including AT&V)16:34
freemangordonand on top of that, either minicom or kernel queue some data and send it to the modem on reconnect16:34
freemangordonWizzup: never edited wiki, not sure I want to waste time on that now16:36
freemangordontmlind: anyway, seems AT interface supports +CMUX16:37
freemangordonat+cmux=? +CMUX: (1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, F, 0),(1, 2)16:37
freemangordonat+cmux?16:38
freemangordon +CMUX: C,216:38
freemangordondo you have any idea what all those channels are?16:38
* freemangordon looks in etsi specs16:40
tmlindfreemangordon: no idea.. looks like some channels yeah16:44
freemangordonWizzup: did you rebuild the kernel?17:03
WizzupNo, I can do it now. experimental?17:12
freemangordontmlind: ok, AT+CMUX=0 works over ttyUSB417:32
freemangordonI used some ngsm usermode tool found on github17:33
freemangordonnow when I open /dev/ttyGSM1 it create and try to type, I get U1234:ERROR=2 :D17:33
freemangordonso, we don;t need UART it seems17:34
freemangordonnow, I have no clue if that's useful17:35
freemangordonlike, does using ttyUSB4 instead of modem UART makes any difference in terms of n_gsm/serdev_ngsm17:36
freemangordonso, is it possible to open serial device from kernel module?17:38
freemangordonlike, can I do tty_find_driver("ttyUSB4") and then set the line discipline to n_gsm?17:40
freemangordonaccording to chatgpt I should be able to do   ret = tty_set_ldisc(tty, N_GSM);17:44
Wizzupfreemangordon: to chimaera-experimental?18:06
freemangordonWizzup: to -devel19:15
Wizzupok19:21
Wizzupfreemangordon: and ofono? can come later?19:21
Wizzupor at the same time?19:21
freemangordonofono will come later19:22
freemangordonkernel is compatible with current ofono19:23
freemangordonon Sunday or Monday I will try to package it19:23
freemangordonunless you want to do it19:23
Wizzupokay, sounds good19:25
WizzupI will do kernel19:25
WizzupI can do ofono potentially, let's see how I feel tomorrow :D19:26
Wizzupwe already have packaging for it so it should not be a lot of work19:26
siceloand ofono can potentially be easily built from phone. kernel is a different story19:26
Wizzupok19:26
Wizzupsry, didn't get to kernel yet, will do it later tonight20:28

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!