libera/#maemo-leste/ Wednesday, 2022-11-16

buZzuvos: why were you banned? by who aswell00:20
buZzi dont think anyone was banned on this channel in age00:21
buZzs00:21
buZz00:21:17 -!- 1 - #maemo-leste: ban *!*@p5deb579e.* [by helium.libera.chat, 6287076 secs ago]00:21
buZzpff00:21
uvoslibera.chat banns me regularly00:21
buZzthe webchat?00:21
buZzwe could run our own, i guess00:21
uvosno from the servers00:22
buZzoh ok00:22
uvosi get banned because i share an ip address with all customers of my isp via carrier grade nat00:22
uvosand they keep on banning that ip00:22
buZzthey do use DNSBL or some other list00:22
buZzi've been on it, its no fun getting removed00:22
uvosand then i have to go though the procedure to get it unbanned00:22
uvosthis happens qutie regularly00:22
uvosyeah dronebl00:22
buZzidiot ip range? :P00:22
buZzi irc from such range00:23
buZzits just so cheap00:23
uvoswell i could irc from my server 185.53.129.14500:24
uvosbut its lame00:24
uvosi dont want to have to do that00:24
Wizzupwb00:50
norayri irc via my xmpp to irc gateway. the software is called biboumi.00:57
WizzupbuZz: with ifconfig wlan0 down it seems better01:18
buZzmight be a bug in the driver or something01:37
freemangordonsicelo: yes, missing extcon07:08
siceloi think i haven't been following this extcon work well enough, but i'm a little confused now - i think the aim was to do charger detection on droid 4? i understand this does work on N900 (broken in 5.19+ due to the irq issue however) ... so i'm not sure i understand why hacks will be needed for it now08:56
siceloand of course, nice to have it working on Droid 4 too08:57
freemangordonsicelo: it is about ke-recv having hardcoded paths that are device specific08:58
freemangordonif we use extcon, the only device that will need such hardcoded paths will remain n90008:58
freemangordonI refer to it as a 'hack' because... it is a hack :)08:59
freemangordonsee https://github.com/maemo-leste/ke-recv/blob/master/src/udev-helper.c#L6709:00
sicelowhat will the others have? :-)09:04
sicelosorry for silly questions09:04
* sicelo is surprised to see musb-hdrc in the pinephone and lime listings. didn't think it was used outside of omap09:08
freemangordonit seems to be used all over the place :)09:17
freemangordonthe others will have nothing, like, code will use extcon and will try to find the appropriate cables09:17
WizzupbuZz: ifconfig did not help with crackles10:45
Wizzupmaybe lower sample rate10:45
Wizzupwill keep looking10:45
norayrinteresting, my droid, when i left it to charge overnight, in the morning was full and reported 10 hours to empty. now it has 87% of the charge and reports 30.5 hours to empty.11:02
sicelowhen it has 30% charge, it will be 200 hours to empty :p11:05
Wizzupwhen charging I don't think it tries to go in lowest power saving11:10
siceloi think he was no longer charging when it reported 10 hours ... there shouldn't be TTE while charging, only TTF11:13
Wizzupupower averages11:17
Wizzupfreemangordon: ofono is using 100% cpu, anything I can do/check?11:21
Wizzuphmmm upower uses a lot too11:21
Wizzupit seems epoll keeps returning11:23
Wizzupdamn, it exited when I left gdb11:24
uvosWizzup: pretty mutch 100% sure cracles are caused by pulseaudio12:31
uvosthey are not there if you use plain alsa or pipewire12:31
uvoswhile they are there on every output device with pulse12:31
uvosincl wired and bt12:32
Wizzupmhm12:32
Wizzupso one of the reasons I was thinking of debian testing was pipewire12:32
Wizzup(as opposed to chimaera)12:32
uvosload-module module-udev-detect tsched=0 helps a bit btw12:34
uvosmore siginifcantly for wired than bt12:35
Wizzupas in, if we go for testing, we might get better pipewire12:37
uvossure12:37
uvosappearently you want to skip to testing :P12:38
Wizzupfor bt in leste we also need to set teh default class to phone I think12:38
uvosbest configure this in leste-config per device12:38
Wizzupwell bookworm is mid-2023, so maybe it's too far out12:38
Wizzupuvos: right12:38
Wizzupassuming we can dump random files in /etc/bluebooth/*.conf12:38
uvosdont see why not12:39
Wizzupmaybe there needs to be an order in which it is read12:39
Wizzupso debian 11 does have pipewire 0.3.1912:40
WizzupI use pipewire 0.3.56 on my laptop12:40
WizzupI think that unless we build pipewire ourselves for chimaera, we can probably forget about it12:41
Wizzupbut maybe that's not a problem12:41
uvosi dont think there is anything wrong with pulse persay (asside from the crackles bug that may be gohne in newer versions anyhow)12:46
uvosbesides pulse and pw are compataibil, we arnt doing anything rn that dosen work just the same with pw (in theroy)12:46
uvosso i dont see swiching to pw to be a big priority atm12:47
Wizzupuvos: ok12:59
Wizzupagreed12:59
WizzupI will not bring up daedaelus for some months now12:59
Wizzuppromise12:59
Wizzupuvos: well I guess the echo cancel eating up cpu all the time in pulse was annoying, but there's probably a fix for that13:30
uvosalso is this still the case in up to date pa?13:40
Wizzupyes13:42
Wizzupi am looking at mpris atm13:42
WizzupI think when I next get to my car, I will be able to control mpd or mpv using the car13:43
WizzupI'll do a write up13:43
Wizzupand then also help pali with serial today :)13:43
sicelothank you13:57
sicelowhile messing with serial, may also want to do the other test for tmlind (compaction)13:59
Wizzupplease share some info and I'll try that too14:00
WizzupI haven't been keeping up with the mailing list14:00
siceloit's the really old one ... i think you said compaction didn't make a difference, but now that you will have serial, at least to confirm and reply :-)14:03
sicelolet me see if i can find the mail quickly14:04
Wizzupoh, the wakeups14:04
WizzupI am not sure if I can do that today14:05
Wizzupit's not trivial14:05
Wizzupbut it's a good reminder14:05
siceloSubject: [tony@atomide.com: Re: Nokia N900 not hitting OFF mode since 5.9 is caused by proactive memory compaction]14:11
Wizzupbt+mpris works in my car14:19
Wizzupmetadata and play/stop/next/prev14:19
Wizzupwith mpd in this case14:19
buZzWizzup: nice!14:42
buZzWizzup: using mpris-proxy? or does it work native14:48
Wizzupmpris-proxy I think16:10
WizzupI think one of the mpris things makes the x session hang ;)16:14
Wizzupgreat16:14
freemangordonWizzup: what about using /sys/class/udc ?17:00
freemangordonalso, do we plan to support more than one USB connector?17:01
WizzupI don't know if I want to think about multiple connectors now17:01
WizzupI just rescued my d4, it was unhappy and not booting because of a full disk, all of it was basically the kernel log spam when the modem disappears17:01
freemangordonoh17:01
Wizzupnot sure if it's flaky hw, or if it is related to my bluetooth experiments17:02
freemangordonWizzup: why ke-recv unbinds gadget driver if CDP or DCP cable is connected?19:58
freemangordonthis happens on startup only20:00
Wizzupis this the init script?20:14
freemangordonI guess no20:15
freemangordonbut I don;t know who controls gadgetfs20:15
freemangordonis that a script?20:15
freemangordonWizzup: where is gadgetfs controlled?20:19
siceloi believe that's hildon-usb-gadgets? unless i misunderstood the question  ...20:24
* sicelo hides20:24
freemangordonoh20:25
freemangordonhttps://github.com/maemo-leste/ke-recv/blob/master/src/ke-recv.c#L66320:25
freemangordonwhy do we want to always enter PC_SUITE mode?20:25
freemangordonwhat if we are charging at the moment?20:25
siceloto get usbnet :-)20:25
freemangordonwhile connected to a wall charger?20:25
freemangordonI don;t think so20:26
sicelothere's a comment somewhere that there should always be a gadget loaded. not sure why that's the case though20:26
freemangordonyes, there should be20:26
freemangordonbut, we shall load one only if there is none loaded already20:26
sicelomakes sense. anyway i think right now, mass storage doesn't work, so only usbnet20:28
uvosits probubly never desirable to get mass storage to work on leste...21:38
rafael2kdon't say this22:01
rafael2k:P22:01
rafael2klast time I tried it was working I think, in the PP, need to test again22:02
rafael2k(after usb-net got working again in the PP)22:03
siceloworked from just pressing on the prompt? at least didn't work for me on d4 the few times i pressed it ... it's not functionality i really need, so i didn't look into it further22:04
rafael2kwhat does it mean pressing on the prompt? mount .... - yes22:04
sicelowhen you connect a cable to device and pc, you get asked to choose between Mass Storage and PC Suite modes.22:05
rafael2kah, ok ok, I understood when I connect a pendrive to the phone22:05
rafael2kI can mount it22:05
rafael2knot as gadget mode22:05
rafael2ksorry, got the conversation mid-way22:06
sicelonp :-)22:06
rafael2kindeed, no need for a phone appear as mass storage22:07
freemangordonuvos: why? what's wrong with mass-storage?22:46
siceloexposing 'raw' fs/partition to a foreign device is considered unsafe nowadays. it's considered better to expose it over a protocol/api that allows the host device to retain full control of access and activity on the partition/fs22:51
sicelo--> mtp on android22:51
freemangordonI see22:52
freemangordondoes mtp work reliably nowadays?22:52
sicelono idea since i hardly use it. but i think it does work fine, yes22:53
freemangordonwhat about the speed, any clue?22:53
sicelono, sorry :-)22:54
Wizzup(sorry, crazy busy day)23:10
freemangordonWizzup: https://github.com/maemo-leste/ke-recv/pull/423:11
freemangordontested on d4 only23:11
freemangordonwith extcon and wiith -devel kernel23:12
* sicelo powers up d4 to update23:18
freemangordonsicelo: hmm?23:21
freemangordonthis is PR only23:21
freemangordonneither is the new kernel in the repos23:22
siceloah, i was wondering :p23:22
freemangordonI am still waiting for some feedback on several patches I have sent for upstreaming23:23
freemangordonwhen (and if :( ) I get feedback I will push kernel stuff and maube we'll have a new release23:24
freemangordon*maybe23:24
* sicelo is busy with other things, otherwise i'm curious to build this for n900 and see what happens ... although i don't expect any issue23:26
freemangordonme neither, but it would be good if somebody confirms I didn't break n90023:27
siceloi still didn't fully understand the extcon stuff we discussed earlier ... but what key things would i test? of course charging, what else?23:28
freemangordonUSB ethernet23:29
sicelook. have ke-recv debs to share maybe?23:30
freemangordonsec23:30
* sicelo looks for leste n900 sd card23:30
freemangordonsicelo: http://46.249.74.23/leste/ke-recv_4.5.9_armhf.deb23:32
Wizzupfreemangordon: we have your patches in -devel?23:32
Wizzup(for kernel)23:32
freemangordonI don;t think so23:32
Wizzupbecause you said:23:33
Wizzup23:12 < freemangordon> with extcon and wiith -devel kernel23:33
sicelothanks. let me install and see .. will be a moment though, since battery depleted23:33
freemangordonI am still waiting for feedback from upstream on how to fix the mess with usb phy notifiers23:33
Wizzupbut I guess the ke-recv stuff works regardless of kernel changes?23:33
freemangordonthat's what I tested - with extcon/cpcap-charger changes and with the kernel in -devel23:33
Wizzupwe can merge the ke-recv changes into -devel23:34
freemangordonI mean that I tested with both kernels23:34
Wizzupand see if it works for pp etc23:34
freemangordonwell, I requested a review from you, if you are happy with the commit, merge and release23:34
freemangordonI can do as well23:35
freemangordonjust LMK23:35
sicelonow i remember my n900 installation has some unresolved issues:23:47
sicelopkg: error processing package gconf2 (--configure):23:48
sicelo dependency problems - leaving triggers unprocessed23:48
sicelodpkg: dependency problems prevent processing triggers for gconf2:23:48
sicelo gconf2 depends on default-dbus-session-bus | dbus-session-bus; however:23:48
sicelo  Package default-dbus-session-bus is not installed.23:48
sicelo  Package dbus-session-bus is not installed.23:48
sicelo  Package dbus-x11 which provides dbus-session-bus is not configured yet.23:48
sicelothen apt quits because too many gconf2 errors23:48
Wizzupsicelo: I had this the other day, I search logs and rafael said to remove dbus-x11 and then to install it again by force23:58
WizzupI did this with dpkg23:58
Wizzup(installing the cached .deb)23:58
Wizzupwe should probably figure out what causes this23:58

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