00:09
Pali has quit [Ping timeout: 256 seconds]
02:11
cockroach has quit [Quit: leaving]
04:45
joerg has quit [Ping timeout: 246 seconds]
04:46
joerg has joined #maemo-leste
05:05
xmn has quit [Quit: ZZZzzz…]
05:43
mardy has joined #maemo-leste
07:38
Danct12 has quit [Quit: Quitting]
08:02
norayr has left #maemo-leste [Error from remote client]
08:06
Danct12 has joined #maemo-leste
08:07
Pali has joined #maemo-leste
08:09
norayr has joined #maemo-leste
08:46
norayr has left #maemo-leste [#maemo-leste]
08:55
norayr has joined #maemo-leste
09:26
vagag has joined #maemo-leste
10:30
norayr has left #maemo-leste [Error from remote client]
10:30
norayr has joined #maemo-leste
12:39
<
Wizzup >
sicelo: so the current -devel kernel has the regmap hacks
12:39
<
Wizzup >
let's see if we can get audio to work for us using those on d4?
13:58
Daanct12 has joined #maemo-leste
14:01
Danct12 has quit [Ping timeout: 260 seconds]
14:03
<
Wizzup >
ok n900 serial up and running
14:04
<
Wizzup >
let's try this uboot patch :)
14:09
Twig has joined #maemo-leste
14:13
Daanct12 has quit [Read error: Connection reset by peer]
14:13
Daaanct12 has joined #maemo-leste
14:26
Daaanct12 has quit [Remote host closed the connection]
14:27
<
sicelo >
Oh sweet ;-)
14:27
<
sicelo >
And the OFF mode test from tmlind
14:28
<
Wizzup >
sicelo: which one is that?
14:28
<
Wizzup >
sicelo: and yes, let's please get others serial modules. we can spend some money on it too.
14:29
<
sicelo >
let me find it. it's about echoing a value (0?) to something related to compaction
14:29
<
sicelo >
echo 0 > /proc/sys/vm/compaction_proactiveness
14:29
<
sicelo >
from his email Re: Nokia N900 not hitting OFF mode since 5.9 is caused by proactive memory compaction, dated Tue, 12 Apr 2022 12:53:45 +0300
14:34
<
Wizzup >
hmm, what test do you need here?
14:35
<
Wizzup >
I missed the email but I am pretty sure I already confirmed this to be a problem
14:35
<
Wizzup >
or did they finally fix compaction?
14:36
<
sicelo >
you should have got it (mail), as it actually address you specifically. i can forward it if you like
14:36
<
sicelo >
it mentions a commit, 65d759c8f9f5 ("mm: compaction: support triggering of
14:36
<
sicelo >
proactive compaction by user")
14:37
<
sicelo >
that should hopefully resolve the issue for us
14:37
<
sicelo >
just forwarded it
14:38
<
Wizzup >
sicelo: ok I see
14:46
<
Wizzup >
sicelo: ok, but where is that commit merged?
14:47
<
sicelo >
i can see it on my hdd, but my git-fu is bad for now. i can't tell what tree it's in
14:47
<
Wizzup >
got a date for me?
14:47
<
Wizzup >
it might be in our tree already, I can check a bit later, too many things going on atm :)
14:48
<
Wizzup >
I want to do u-boot first
14:48
<
sicelo >
however, the commit is from Sept 2, so it should probably be in 5.17 at least
14:48
<
sicelo >
commit 65d759c8f9f57b96c199f3fe5cfb93ac7da095e9
14:48
<
sicelo >
Author: Charan Teja Reddy <charante@codeaurora.org>
14:48
<
sicelo >
Date: Thu Sep 2 14:59:59 2021 -070
14:50
<
Wizzup >
ok, so we don't have that yet
14:50
<
Wizzup >
I believe?
14:50
<
Wizzup >
yeah we're on 5.15
14:51
<
Wizzup >
dreamer: btw I get 2 days on m-l on the chinese knockoff battery you gave me
14:51
<
sicelo >
mentioning 5.17 was just a worst case scenario (looking at the dates). the commit might even be in 5.15
14:52
<
dreamer >
I need to dist-upgrade soon. see how that goes :)
14:53
<
sicelo >
heh, git -C ~/Git/linux-kernel/ name-rev 65d759c
14:53
<
sicelo >
65d759c tags/v5.15-rc1~107^2~23
14:53
<
Wizzup >
sicelo: hm, I am pretty sure I tried that specific fix though
14:53
<
Wizzup >
pretty sure it wasn't in whatever I was messing with at the time
14:56
<
Wizzup >
then I am pretty sure it didn't work, but I will retest at a later time
14:57
jr-logbot has quit [*.net *.split]
14:57
Kabouik has quit [*.net *.split]
14:57
sixwheeledbeast has quit [*.net *.split]
14:57
zmatt has quit [*.net *.split]
14:57
r3boot has quit [*.net *.split]
14:57
enyc has quit [*.net *.split]
14:57
juiceme_ has quit [*.net *.split]
14:57
Kabouik has joined #maemo-leste
14:57
jr-logbot has joined #maemo-leste
14:57
zmatt has joined #maemo-leste
14:57
r3boot has joined #maemo-leste
14:57
juiceme_ has joined #maemo-leste
14:57
enyc has joined #maemo-leste
14:57
sixwheeledbeast has joined #maemo-leste
15:03
<
Wizzup >
ok latest u-boot master boots
15:03
<
Wizzup >
and serial works
15:03
<
Wizzup >
let's try pali's patch
15:10
<
Wizzup >
Pali: yes, that works
15:17
<
Wizzup >
Pali: wrt musb -> musb-new, I should test usbtty I guess?
15:20
<
Wizzup >
It looks like on pandaboard they just disabled usbtty
15:23
<
Pali >
Hello! Thank you for testing DM serial patch.
15:23
<
Pali >
Ad musb-new, this needs to be somehow extended to allow compilation of just peripheral/device code, meaning to completely disable host mode code.
15:25
<
Pali >
And I'm not sure if musb-new is working at all. Old musb code which now in use, is working correctly, more than yeat ago I sent tons of patches for (old) musb code.
15:27
<
Wizzup >
I see some people moved other devices over, like in usb: musb-new: Add glue driver for ST-Ericsson Ux500
15:27
<
Wizzup >
so I think it should be a matter of porting drivers/usb/musb/omap3.c to drivers/usb/musb-new/omap3 or so
15:28
<
Wizzup >
well, if I'm lucky at least :)
15:28
<
Pali >
So maybe this f_acm could be a possible replacement for usbtty; usage of f_acm instead of porting usbtty to musb-new driver
15:29
<
Pali >
But whole new usb code is device tree only for now, so first it would be needed to add support for plat data
15:44
<
Wizzup >
I don't really know where to start for that
15:52
<
Pali >
Maybe ask Tom, how he imagine what needs to be done?
15:52
<
Pali >
I really do not know as since last year, more parts in u-boot was changed
15:53
<
Wizzup >
he said it would be mostly 'mechanical'
15:57
<
Wizzup >
I'm trying to hunt for similar mechanical operations
16:20
Twig has quit [Remote host closed the connection]
16:41
arno11 has joined #maemo-leste
16:45
xmn has joined #maemo-leste
17:23
branon has quit [Ping timeout: 250 seconds]
17:31
branon has joined #maemo-leste
17:53
elastic_dog has quit [Ping timeout: 250 seconds]
17:58
elastic_dog has joined #maemo-leste
18:33
arno11 has left #maemo-leste [#maemo-leste]
18:36
<
buZz >
something weird is happening for me on trying to connect to data
18:39
<
buZz >
every time i start icd2 i either do or dont see my cellular connection, sometimes every one and the other, sometimes i gotta restart icd2 3 or 4 times before i see the cellular connection again
18:40
<
buZz >
but everytime, it wont connect
18:40
<
freemangordon >
ofono on d4 has issues, afaik
18:40
<
buZz >
right, but it was working just days ago :P
18:41
<
buZz >
May 7 20:36:43 localhost icd2 0.98[6746]: connecting iap 0x4d0068 in state ICD_IAP_STATE_SCRIPT_PRE_UP: interface is '(null)'
18:41
<
buZz >
May 7 20:36:45 localhost icd2 0.98[6746]: Removing active IAP 0x498050/(nil)/(nil)/(nil)
18:41
<
buZz >
this '(null)' and '(nil)' looks weird to me
18:42
<
freemangordon >
I see no logs from ofono module
18:42
<
buZz >
/var/log/maemo/ofono* ?
18:42
<
freemangordon >
do you start icd2 woth debug log level?
18:42
<
freemangordon >
*with
18:42
<
buZz >
oh, i can do that? :D
18:42
<
freemangordon >
mhm
18:43
<
buZz >
ofono's output is supersparse too, does it have one too?
18:43
<
freemangordon >
as root:
18:43
<
freemangordon >
run-standalone.sh /usr/sbin/icd2 -l0
18:43
<
buZz >
ah, nice, ty
18:44
<
freemangordon >
make sure to /etc.init.d/icd2 stop first
18:45
<
buZz >
eh wow, icd2 seems to behave differently with -l0 :O
18:45
<
buZz >
still unable to connect, but the connection entry doesnt disappear each time
18:52
<
buZz >
hmmm, until i resave the entry in 'internet connections' with a empty APN field
18:54
<
buZz >
zero succes :(
18:57
<
buZz >
oh eh, wtf, i now have two gprs connection profiles
18:57
<
Wizzup >
two icd2 running?
18:58
<
buZz >
also, editting one, and saving it, made it one profile
18:59
<
buZz >
but alas, still no connections :)
19:06
<
buZz >
i'll go stand straight under a celltower in a bit, try if its reception issues
19:12
Treebeard has joined #maemo-leste
19:12
Treebeard has quit [Changing host]
19:12
Treebeard has joined #maemo-leste
19:14
BenLand100 has quit [Ping timeout: 246 seconds]
19:14
Treebeard is now known as BenLand100
19:27
<
buZz >
lol yeah, right under a mast it works, still 2g though
19:27
<
Wizzup >
maybe you have problems with your cellular settings again?
19:30
Danct12 has joined #maemo-leste
19:32
<
buZz >
how can i update those? a script in share/ofono?
19:32
<
Wizzup >
I don't have the knowledge ready, and definitely through ofono
19:32
<
Wizzup >
not through ofono*
19:33
<
Wizzup >
maybe you can dump those values and we can compare
19:34
<
Wizzup >
# ./tcmdrw 6850
19:34
<
Wizzup >
06850:0x01ac2:0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
19:34
<
Wizzup >
# ./tcmdrw 1877
19:34
<
Wizzup >
01877:0x00755:8703e80400000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
19:34
<
Wizzup >
(from my d4)
19:35
<
Wizzup >
also 01143:0x00477:2d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
19:49
<
buZz >
6850 is the same
19:49
<
buZz >
1877 is the same
19:50
<
buZz >
and 1143 is the same
19:52
<
buZz >
22:34 < tmlind> hmm so i had to do this for 3g gain: tcmdrw 1143=aaff0000, got that value from xt910 firmware i think, otherwise 3g signal was weak
19:56
<
buZz >
nothing changed, maybe reboot whole phone for that to catch?
19:56
mardy has quit [Quit: WeeChat 2.8]
19:58
branon has joined #maemo-leste
20:04
<
Wizzup >
buZz: well I don't have that value set on my phone clearly
20:04
<
Wizzup >
and it's from the bionic page
20:04
<
buZz >
hmm well, that aaff does seem to -see- the 2G but it never arrives in connections
20:08
<
Wizzup >
that's an entirely different thing
20:10
Danct12 has quit [Quit: Quitting]
20:16
vagag has left #maemo-leste [Error from remote client]
20:24
<
buZz >
where is qmicli from?
20:25
<
buZz >
libqmi-utils, i guess? :D
20:33
<
Wizzup >
probably, what do you need it for?
20:36
<
sicelo >
buZz: not suggesting you switch, but modemmanager works on the droid 4 modem just fine, besides USSD (even that doesn't work in ofono, nor is reliable in Android itself). that said, it'll deplete battery faster
20:38
<
buZz >
Wizzup: 22:12 < pave1> qmicli -d /dev/cdc-wdm0 --wds-follow-network --wds-start-network=apn=internet.t-mobile.cz
20:39
<
Wizzup >
sicelo: I assume that is using the high power interface, which also works fine with ofono?
20:39
<
Wizzup >
sicelo: i.e. the one that will not give you more than ~7 hours of battery life?
21:05
<
Wizzup >
buZz: I can help you debug some of this more interactively a bit later, I usually find mdbus2 useful here
21:07
<
buZz >
totally up for it
21:08
<
buZz >
can i put ofono in a more verbose mode?
21:10
<
Wizzup >
yes, but debugging those exact problems is more complicated and maybe not what you're seeing here
21:10
<
Wizzup >
I mean, do you see the 2g status area icon?
21:10
<
Wizzup >
and a signal bar?
21:10
<
Wizzup >
then ofono sees it just fine
21:10
<
buZz >
then i can do icd2 restart
21:10
<
Wizzup >
everything ui wise is built around ofono
21:11
<
Wizzup >
so whatever you're seeing is likely an ofono<->icd problem
21:11
<
Wizzup >
likely icd2
21:11
<
buZz >
and icd2 will see it, evident by it trying to autoconnect gprs (which i enabled)
21:11
<
Wizzup >
what you can try:
21:11
<
buZz >
it just instantly disconnects again
21:11
<
Wizzup >
oh I never tried autoconnect fwiw
21:11
<
Wizzup >
check ifconfig
21:11
<
Wizzup >
mdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true
21:11
<
Wizzup >
check ifconfig again
21:11
<
Wizzup >
23:11 < buZz> it just instantly disconnects again
21:11
<
buZz >
interface is up, connection is down
21:11
<
Wizzup >
yes this is entirely to be expected unfortunately
21:12
<
buZz >
oh interface is down now
21:12
<
Wizzup >
this is a very simple bug that you've hit many times now, which is that icd2 doesnt wait for ofono to bring the interface up
21:12
<
Wizzup >
this is why a direct connect doesn't work
21:12
<
buZz >
oh, icd2 closed itself
21:12
<
Wizzup >
if you run the above mdbus2 command, wait for a bit, and then use the ui to click or autoconnect, it will probably 'just work'
21:12
<
buZz >
ok, lets see
21:12
<
Wizzup >
and yes we need to fix this bug asap.
21:12
<
Wizzup >
but there are many like that :(
21:13
<
buZz >
i dont think i have mdbus2
21:13
<
Wizzup >
I think I told you where to get it, sec
21:13
<
Wizzup >
and then dpkg -i
21:26
<
buZz >
hmmm, doesnt seem to bring back the gprs config in my icd2
21:27
<
Wizzup >
that is harder for me to debug, I don't know why that would or would not show up
21:27
<
buZz >
maybe its a different context # ?
21:28
<
Wizzup >
not likely but mdbus2 can tell you
21:28
<
Wizzup >
mdbus2 -s org.ofono
21:28
<
buZz >
ooo, that mdbus2 command on instant failure makes it take a long time
21:30
<
Wizzup >
yes, there is an ofono bug where it just doesn't respond/return from an activation request
21:30
<
buZz >
ctrl-c and restart is 'operation already in progress'
21:30
<
Wizzup >
yep, you're fucked
21:30
<
Wizzup >
only way I get out of that is restart
21:30
<
Wizzup >
you could try other things but usually when I hit this I am on the road
21:31
<
Wizzup >
maybe if I take a break from rl work for 1-2 weeks we can get this all fixed :(
21:31
<
buZz >
init.d/ofono restart at least brings back 2g icon and signal bars
21:31
sunshavi_ has joined #maemo-leste
21:32
<
buZz >
and the mdbus command is fast again
21:33
sunshavi has quit [Ping timeout: 260 seconds]
21:33
<
buZz >
but doesnt seem to bring it back thusfar
21:36
<
buZz >
restarting icd2 a bunch of times does bring back the option in menu, but keeps failing on first try
21:38
<
Wizzup >
buZz: what do you mean 'fast'
21:39
<
buZz >
eh, well, not >30 seconds
21:39
<
Wizzup >
well then it should be active
21:39
<
Wizzup >
I don't know why it's not in your ui, maybe just delete the connections and start over or something, or ask freemangordon
21:39
<
buZz >
is it active when wwan3 is u?
21:40
<
buZz >
the gprs connection definition isnt deletable in maemo
21:40
<
Wizzup >
yeah, you can delete it though
21:40
<
buZz >
or creatable, i guess
21:40
<
buZz >
hmhm, or just reinstall from a new weekly build? :P
21:41
<
Wizzup >
gconftool -R /system/osso/connectivity/IAP
21:41
<
Wizzup >
find the GPRS one
21:41
<
Wizzup >
remove it with gconftool --recursive-unset /system/osso/connectivity/IAP/IDHERE
21:41
<
Wizzup >
and then restart icd2
21:41
<
Wizzup >
but if you want to actually debug some of this stuff you need a bit more ofono/dbus fu
21:42
<
Wizzup >
mdbus2 actually makes much of this quite easy with the introspection
21:42
<
buZz >
there isnt one in 23:41:08 < Wizzup> gconftool -R /system/osso/connectivity/IAP
21:44
<
buZz >
i'll reboot :)
21:44
<
Wizzup >
that's weird, how did you determine that?
21:44
<
buZz >
it only returns wlan stuff?
21:44
<
buZz >
just two lines
21:45
<
buZz >
(rebooting now)
21:45
<
buZz >
oh actually poweroff + full boot
21:50
<
buZz >
even when i -do- have the gprs connection in the connect dialog from statusbar, i do not get more than two lines from /system/osso/connectivity/IAP
21:51
<
Wizzup >
what do you get?
21:52
<
buZz >
wlan_tx_power=8 , flightmode_wlan=false
21:53
<
Wizzup >
and it has type = GPRS?
21:54
<
Wizzup >
I have several of those fwiw
21:54
<
Wizzup >
four actually, for different sims I had
21:58
<
buZz >
no type = GPRS at all
21:59
<
buZz >
in /system/osso/connectivity i get some gprs stuff
21:59
<
Wizzup >
what do you mean, 'some gprs stuff'
22:00
<
buZz >
/system/osso/connectivity/network_type/GPRS
22:00
<
buZz >
and /system/osso/connectivity/ui/auto_connect
22:01
<
buZz >
but only those two variables in IAP wlan_tx_power=8 , flightmode_wlan=false
22:01
<
buZz >
no other entries below it
22:08
<
Wizzup >
that is -network type-
22:08
<
Wizzup >
that is not hte list of IAPs
22:09
<
buZz >
right, but IAP has no entries below it
22:11
<
Wizzup >
so you have no wifi entries?
22:11
<
buZz >
in the UI? yes i do, two preconfiged and the gprs one
22:11
<
Wizzup >
then you must see them under /system/osso/connectivity/IAP
22:11
<
buZz >
in gconftool -R /system/osso/connectivity/IAP i have none
22:11
<
Wizzup >
beats me, maybe fmg has an idea
22:12
<
Wizzup >
I need to get some sleep anyway
22:12
<
buZz >
maybe i should be doing gconftool as user?
22:12
<
Wizzup >
I don't think it matters, but yes it should be user.
22:12
<
buZz >
i do get entries then!
22:13
<
buZz >
right ok, and --recursive-unset, lets see
22:14
<
Wizzup >
only for the GPRS entry/entries
22:15
<
buZz >
its gone now :)
22:19
<
buZz >
maybe the mdbus2 should also be as user?
22:19
<
buZz >
doesnt seem to affect much though :(
22:19
<
Wizzup >
doesn't matter
22:21
<
Wizzup >
so, did you see new entries being made/provisioned?
22:23
<
Wizzup >
maybe tomorrow I can wrote some code to make it at least wait for the connection to become active
22:36
<
buZz >
ok much clearer now
22:36
<
buZz >
when it instantly fails, it
22:36
<
buZz >
*i can just do udhcpc -i wwan3 , and get functional gprs
22:37
<
Wizzup >
yes, but if you run it again it will also work.
22:37
<
Wizzup >
and running udhcpc will give you other trouble...
22:38
<
Wizzup >
why not just click the ui dialog again?
22:38
<
Wizzup >
or do mdbus2 + ui dialog
22:38
<
Wizzup >
(until we add the proper fixes)
22:44
<
buZz >
ui doesnt show it on retry, nor with mdbus2+ui
22:49
dsc_ has quit [Ping timeout: 246 seconds]
22:54
<
Wizzup >
buZz: it should
23:03
avoidr has quit [Quit: leaving]
23:03
avoidr has joined #maemo-leste
23:03
<
buZz >
maybe we can just repeat the init a couple times before calling it a failure
23:06
avoidr has quit [Client Quit]
23:07
avoidr has joined #maemo-leste
23:09
avoidr has quit [Client Quit]
23:10
avoidr has joined #maemo-leste
23:45
avoidr has quit [Quit: leaving]
23:45
avoidr has joined #maemo-leste
23:57
avoidr has quit [Quit: leaving]
23:57
avoidr has joined #maemo-leste
23:58
avoidr has quit [Client Quit]
23:58
Pali has quit [Ping timeout: 246 seconds]
23:58
avoidr has joined #maemo-leste
23:58
avoidr has quit [Client Quit]