libera/#maemo-leste/ Thursday, 2021-07-15

n900000hi06:16
n900000am I doing something wrong or is wifi broken on the latest n900 image?06:16
n900000the select connection popup is empty06:16
stanohi n90000006:23
stanoidk06:23
stanodoes it need calibration?06:23
n900000calibration?06:28
n900000I'm dd'ing the 6/27 img right now, lets see if it works on that one06:29
stanoi don't know if n900 needs calibration.  droid4 does06:31
n900000yeah nothing about calibration on the n900 page06:32
n900000I guess most people using leste moved on to the droid 4?06:32
stanoquite a few still use n90006:32
stanodid you flash uboot with 0xFFFF?06:33
stanor install it with fremantle?06:33
stanomaybe you can point me to getting n900 going06:33
n900000flashed with 0xFFFF06:33
n900000my freemantle won't install uboot for some reason06:34
stanohow long do you wait before sliding the unit open?06:34
stanothe leste image on microsd has to be inserted *before* doing 0xFFFF?06:35
stanohere i just made a fun ring tone http://0x0.st/-O0u.flac06:39
n900000you have to boot with the keyboard open06:39
n900000and yes put the sd card in first06:40
stanok06:40
n900000Ok wifi works on the 6/27 image06:43
n900000I think the latest one is broken then06:43
n900000no idea how to file that as a bug though06:43
stanohttps://github.com/maemo-leste/bugtracker/issues06:44
n900000ah I don't have a github account06:44
stanohave you been using leste on n900 for a while?06:48
stanoor are you new to it06:48
n900000completely new06:50
n900000I just got my n900 today lol06:50
n900000I have a droid 4 on the way too06:50
stanocongrats! :)06:50
n900000and waiting on that pinephone keyboard06:50
n900000thanks06:50
stanodo you know if flashing the n900 can be done with it connected to a usb hub?06:51
n900000I was planning to use PMOS on it but I wasn't happy with the performance06:51
n900000I've been connecting it straight but it should probably work06:51
stanopmos on n900 or droid4?06:55
n900000n90006:55
stano didn't know it was ported to n900 wow06:56
n900000I'm gonna stick with leste for both most likely06:56
n900000even mpd was stuttering on PMOS06:56
stanowould you perhaps test some emulators on n90006:56
n900000games? sure06:57
stanook that helps motivate me06:57
n900000back in the freemantle days I remember seeing people running snes and PS1 emulators on it06:57
n900000when the phone was $800 lol06:57
stanodrpocketsnes is made for 16 bpp screens06:57
stanopcsx is closer to ready06:58
n900000nice06:58
n900000There's a thread on the maemo forums with one of the leste devs running pcsxr on his droid 406:59
stanoi wouldn't say he's a developer.  tinkerer maybe.07:00
stanodevelopers actually write software07:01
n900000I dont care lmao07:01
sicelon900000: yes n900 wifi broken on leste, it seems07:09
sicelomight be as simple as wpa_supplicant version, etc.07:10
n900000it worked on the 2nd to latest image07:11
n9000006/2707:11
n900000is there a way to only have audio go through headphones?07:38
n900000when I plug headphones in the audio plays on both the n900 speakers and the headphones07:38
stanothat's certainly what should happen n90000007:59
n900000is there a way to route it to just the headphones? I installed pulsemixer and none of the output settings change the default behavior08:02
stanoi seem to recall without the pulseaudio stuff, i could use alsamixer to turn up and down headphones vs speakers, on the droid 408:04
stanomaybe nobody has gotten around to setting up pulseaudio correctly for n900 yet08:05
n900000yup ended up doing it through alsamixer08:12
n900000just muting the speaker function channel08:12
n900000weird how the volume rocker doesn't adjust the volume too08:13
stanoconsidering it's a few guys making this stuff for a handful of non-paying customers, it works amazingly well :P08:16
n900000I completely agree08:17
stanopulseaudio is more or less the only way to handle dynamic audio routing for things like phone calls08:21
stanoif that's not on your requirements it can be disabled08:22
freemangordonn900000: https://github.com/maemo-leste/bugtracker/issues/489#issuecomment-87979341208:32
stanowow /sys/class/power_supply/battery/voltage_now is giving me 3229000 and no beeps or shutdown11:48
stanothis is with the EB41 on droid4.  maybe firmware is still confused from experimental battery.11:48
stanodarnit i missed the shutdown, now i have to recharge to full, then discharge to full, then recharge to full again to calibrate battery monitor12:15
Wizzupmorning12:17
stanomorning Wizzup12:17
WizzupI will look at the n900 wifi stuff today, I just need to set up my power supply and such12:20
stanowhat hardware are most leste-users running right now and what are you hoping them to be running it on in near future Wizzup ?12:37
WizzupWe don't really do analytics12:47
WizzupI'd say the n900 and droid4 are common, pinephone also somewhat12:47
WizzupI think those are also a good first bet in the near future.12:47
stanolooks like linux might be possible on Tegra X1 tablets14:09
stanoanyone using leste on a tablet yet?14:10
WizzupI had/have it working on the pinetab14:17
stanowell the google pixel c would be another potential candidate, as it uses the 'X1' cpu which has linux support (same cpu as jetson nano) but i don't see anyone with a working display driver for that tablet screen14:57
stanothey can be had around 110 euro14:57
stanodeliver around 500 nits brightness with a very powerful gpu, which also has linux drivers14:57
bencohregarding pulseaudio / calls / automatic switching ... what kind of automagic does pulseaudio do anyway?15:00
WizzupI think pulseaudio can act on plug events for headphone and such15:01
Wizzupit can also cork streams if certain types activate15:01
Wizzupe.g. just having mumble running can break your browser audio15:01
Wizzup(there's a lot of info on this online)15:01
bencohwait, what?15:01
Wizzuphttps://github.com/mumble-voip/mumble/issues/106915:01
bencoh(the plug events is possible in-kernel with alsa, and doesn't sound impossible to replace in userspace)15:02
Wizzupyep15:02
bencohWizzup: ah, the class thing, yeah15:02
stanohttps://github.com/pixelc-linux15:02
bencohI have to admit that is handy15:02
Wizzupneed to for a bit, bbl :)15:03
Wizzup(sorry)15:03
bencoh:)15:03
mighty17[m]hello, is there omap gptimer support in mainline, asking as gp timer creates a pwm signal for the backlight of my device18:31
tmlindmighty17[m]: yes grep for ti,omap-dmtimer-pwm18:38
mighty17[m]yeah just found out its called dmtimer and not gptimer18:38
mighty17[m]https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt nice18:38
mighty17[m]tmlind: any ideas how i can get a correct value for the pwm?18:40
mighty17[m]https://pastebin.ubuntu.com/p/x7bXX6PNVg/18:40
mighty17[m]like here https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/arch/arm/boot/dts/am3517-evm.dts#L147 how do u know its 500000018:44
tmlindmighty17[m]: in the pwm timer case, the timer is just feeding the programmed clock rate to the connected device, maybe that's considered sufficient for a backlight19:40
mighty17[m]where do u get programmed clock rate19:52
uvoscheck the rate on android?20:04
uvoseither by reading in the vendor kernel or by dumping the corrisponding registers20:05
WizzupI see this on n900:20:22
Wizzupnl80211: Scan SSID20:22
Wizzupnl80211: Scan extra IEs - hexdump(len=10): 7f 08 00 00 00 00 01 00 00 4020:22
Wizzupnl80211: Scan trigger failed: ret=-22 (Invalid argument)20:22
Wizzupwlan0: State: SCANNING -> DISCONNECTED20:22
mighty17[m]uvos: https://github.com/LineageOS/android_kernel_ti_omap4/blob/cm-14.1/arch/arm/mach-omap2/board-espresso-display.c#L13120:22
mighty17[m]32kHz to ns doesnt seem to work20:23
Wizzupthe internet said it might be related to WNM being enabled in debian, but I am not sure if it was disabled previously or if it is only enabled now20:25
Wizzuphttps://bugs.archlinux.org/task/61119 could it be this?20:28
uvoswhy would that appear on n900 only tho20:30
uvosit uses the same driver as d4 no?20:30
uvoswl12x20:30
Wizzuphttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833507 this suggests it might be the 'mac randomisation'20:33
Wizzup(which NM does, but we also do that, don't we?)20:33
siceloNo, n900 uses not wl12x20:34
Wizzuphttps://lists.infradead.org/pipermail/hostap/2017-December/038142.html20:34
Wizzupwl1251_spi             16384  020:34
Wizzupwl1251                 69632  1 wl1251_spi20:34
uvosahit wl125120:34
uvos*ah its20:34
uvosi thought n900 has wl127120:35
uvosright totally different driver then20:35
uvoscarry on20:35
Wizzupthe above link seems likely20:35
Wizzupto be the cause/fix20:35
Wizzupparazyd: do you know the old version of wpa_supplicant, before we got the new one?20:35
parazydWhat about it?20:36
parazydIt's upstream from Debian20:36
Wizzupyes, and it looks like the bug might be either in the config they (now) use, but I need to know what versions we used and what they now have20:36
parazydhttps://packages.debian.org/source/buster/wpa20:37
Wizzupalso I wonder if we can undo changing the mac addr of the n90020:37
Paliin 2.6.28 kernel both wl1251 and wl1271 are handled by wl12xx kernel driver... later in kernel ňsupport for wl1251 was forked/moved into wl1251 driver and wl1271 and new chips stays in wl12xx driver20:37
Wizzupparazyd: ok, where did we get the newer version from?20:38
Wizzupok, newer is 2.2.920:38
parazydNewer is 2.920:38
parazydI think unstable20:38
Wizzupbullseye I think yeah20:39
parazydhttps://salsa.debian.org/debian/wpa20:39
Wizzupwell I don't know WTH to do20:39
parazydAll is here so you could see git log20:39
WizzupI guess I can try to build custom kernel and see what changed20:39
Wizzupbut I wonder if 2.2.9 is built with WNM enabled whereas 2.2.7 had it disasbled20:39
Wizzupdisabled*20:39
uvosany one know where wpa's bugtracker is20:40
uvosseams not to have one20:40
Wizzupno, looks like WNM is still disabled20:40
uvosmaybe one shoult dry wpa git first to see if its fixed, i find it hard to belive that you cant ask the kernel if WNM params should be added20:41
Wizzupmac addr randomisation is the other potential reason https://groups.google.com/g/linux.debian.bugs.dist/c/ZOWNZzUyr48/m/lALgGUSdCgAJ?pli=120:41
Wizzupuvos: this is CONFIG_WNM in wpa_supplicant, not in kernel20:41
parazydWe currently have rules to make a persistent mac20:42
Wizzupboth 2.7 and 2.9 have it disabled it seems20:42
Wizzupparazyd: yes, so we change it from the 'default' on, whatever it could be20:42
parazydThe default is random20:42
uvosWizzup: yeah i know but having to do what https://lists.infradead.org/pipermail/hostap/2017-December/038142.html suggests seems wrong20:42
uvosthe kernel should have some whay to tell you what the interface supports...20:42
Wizzupparazyd: that's uncommon I would say amongst most wifi devices20:43
Wizzupparazyd: where can I disable the randomisation / custom setting of mac addr?20:43
parazydThat's how the n900 kernel driver worls20:43
Wizzupyes, please tell me how I can disable the userspace call20:43
parazydBecause IIRC the mac is saved in cal?20:44
parazydIt's somewhere in /etc20:44
parazydNot at home rn, sorry20:44
Wizzuplooks like it's 00mac20:44
parazydAh yes20:44
Wizzuplol it sources a file that doesn't exist on my n90020:44
Wizzup/etc/network/n900-staticmac20:45
Wizzuphow does that even work20:45
parazydIt should be created after the first time20:45
Wizzupwell I've used this for 1+ year20:45
Wizzupso that can't be the issue20:45
siceloBtw, when I was running sid on n900, I didn't have issues with wifi. Can't remember what version it was though20:45
parazydSo first it creates a random mac20:45
parazydAnd then saves it20:45
parazydSubsequently it should load the created file20:45
Wizzupyes, and the file does not exist20:46
Wizzupso something is quite wrong20:46
WizzupI'll reboot and see if I can figure it out20:46
parazydIt should run on pre-up iirc?20:46
parazydSo no need for reboot20:46
uvoswell previoulsy the permanent setting was broken but wifi still worked see https://github.com/maemo-leste/bugtracker/issues/47520:47
Wizzupwell, the interface went online just an hour ago when I did the update20:47
uvos(permanent mac setting that is)20:47
Wizzupuvos: yes, but it is possible that the new version broke there somehow20:47
uvossure20:47
Wizzupthis is so annoying20:48
Wizzupwl1251 has no params, great20:50
uvosthis enableing the use of hidden wifi thing is really expensive eh?20:50
uvos:P20:50
Wizzupyup20:51
WizzupI'm mostly just annoyed not at the bug but that we shipped something that broke everyone's n900 wifi and there seems to be no simple fix20:51
siceloJust to be sure ... the recent images still have rfkill in kernel?20:52
parazydnote-to-self: Provide also a generic runlevel without hildon for debugging20:52
Wizzupsicelo: I did apt update20:53
Wizzupdidn't reboot20:53
Wizzuprestarted icd2 and wpa_spplicant20:53
Wizzupand wifi broke20:53
Wizzupso this is not related to kernel20:53
Wizzup(changes)20:53
siceloOk20:53
Wizzupuvos: btw https://hostap.epitest.fi/bugz/20:53
Wizzupthat's what google gave me at least20:54
Wizzupwell, I suppose all there's left to do is mail their ml20:56
Wizzuphm, it looks like there should be some way to get more debug https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ti/wl1251/wl1251.h?id=f63b4c971f5fb1310f145785c3b2b77651ef129e#n6920:58
Wizzupah nope https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ti/wl1251/wl1251.h?id=f63b4c971f5fb1310f145785c3b2b77651ef129e#n5320:59
Wizzupso a kernel recompile/build is in order I suppose21:00
* Wizzup bbl21:00
Wizzupparazyd: we can just get the old wpa_supplicant pinned for n900 or something stupid?21:10
WizzupI'd then upgrade the icd plugin to work with it21:10
siceloWhat's the version right now?21:11
Wizzuphttps://packages.debian.org/source/bullseye/wpa21:11
parazyduh21:12
parazydThat's possible21:12
parazydBut we can't do a downgrade21:12
Wizzupso the only option left ahead of us/me/someone is to bisect wpa supplicant on the n90021:14
WizzupI think21:14
siceloMmm, looks like bullseye has same version as sid according to that page. Worked (with linux 5.12)21:14
Wizzupsicelo: how is wpa_supplicant started for you?21:15
sicelosystemd21:15
siceloMmm, no, connman21:15
parazydSo what happens on the n900 generally?21:16
siceloOr both :-)21:16
Wizzupsicelo: I mean in 'ps xua'21:16
parazydIf you manually start wpasup21:16
Wizzupparazyd: are you asking me?21:16
parazydYes21:16
Wizzupwhat happens is simple:21:16
Wizzup> scan21:16
WizzupOK21:16
Wizzup<3>CTRL-EVENT-SCAN-FAILED ret=-2221:16
Wizzup100% of the time21:16
Wizzup-22 = EINVAL21:16
siceloOne more thing to check ... did we perhaps lose -wext in wpa-supplicant cmdline?21:16
parazydugh21:16
Wizzupso the kernel rejects the scan request because the scan requets contains invalid scan data21:16
Wizzupsicelo: we have both wext and the other21:17
Wizzuproot      3023  0.0  2.1   7244  5496 ?        S    20:54   0:00 /sbin/wpa_supplicant -s -P /run/wpa_supplicant.wlan0.pid -i wlan0 -u -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf21:17
siceloTry putting wext first21:17
siceloAhead of nl, that i21:18
Wizzupioctl[SIOCSIWSCAN]: Inappropriate ioctl for device21:18
sicelo*is21:18
Wizzup<3>CTRL-EVENT-SCAN-FAILED ret=-121:18
Wizzupsicelo: are you sure we used wext?21:20
siceloyes we must use wext21:20
sicelowhat starts wpa_supplicant for us (Leste)?21:21
Wizzupsicelo: I don't see wext working21:23
Wizzupsicelo: via dbus I think21:23
siceloi'll test my old debian sid install in a moment21:25
siceloand if luck permits, i can try out a Leste image too21:26
Wizzupusbnet should work21:28
sicelothe images in question are the ones in phoenix.* ?21:32
siceloah, i see they're the same21:35
Wizzupsicelo: yes, the images are also broken21:38
Wizzupand any update to older images will also break21:39
sicelosure. i'm downloading newest21:39
WizzupI checkedps xua before I upgraded, and wext was not first, btw21:40
Wizzupso I am pretty sure we were *not* using wext before21:40
Wizzupsicelo: let me know, I'm going to do something else for a bit21:44
Wizzupbut I think we'll have to either bisect wpa_supplicant (and build our own with a fix), or rebuild kernel with the wl1251 code changed to debug what it thinks is 'invalid'21:44
uvosdid you strace the ioctl that returns EINVAL?21:46
Wizzupseems to be this:21:49
Wizzup3130  sendmsg(5, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=52, type=0x17 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1626378496, pid=3720350778}, "\x21\x00\x00\x00\x08\x00\x03\x00\x03\x00\x00\x00\x08\x00\x2d\x00\x04\x00\x01\x00\x0e\x00\x2a\x00\x7f\x08\x00\x00\x00\x00\x01\x00"...}, iov_len=52}], msg_iovlen=1, msg_controllen=0,21:49
Wizzupmsg_flags=0}, 0) = 5221:49
Wizzup3130  recvmsg(5, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=1626378496, pid=3720350778}, {error=-EINVAL, msg={len=52, type=0x17 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1626378496, pid=3721:49
Wizzupmaybe we're somehow telling it to scan a specific ssid? seems weird to me though21:52
Wizzupnl80211: Add NL80211_SCAN_FLAG_FLUSH21:54
Wizzupmaybe this is the problem somehow?21:54
n900000hello22:05
n900000having a small issue getting kexecboot running on my new droid 422:05
n900000I followed the wiki to update android, and to install kexecboot22:05
siceloroot@devuan-n900:~# grep WEXT /boot/config-5.1.2122:06
sicelo# CONFIG_CFG80211_WEXT is not set22:06
n900000but on boot it just goes straight to fastboot with "boot failure" at the top22:06
n900000happens with or without a leste flashed sd card inserted22:06
uvosmbm determined that you violated mbm signature varification22:07
uvoshow did you upgrade?22:07
n900000I just followed the "Upgrade Android" section of the wiki22:07
Wizzuphmm....22:08
n900000could get past the initial setup out of the box because I don't have a SIM card sadly22:08
n900000couldn't*22:08
uvoshmm22:08
n900000fastboot also says that the device is locked with status code:022:08
n900000is that relevant?22:08
uvosno22:08
uvosdid the new android boot before you installed kexecboot?22:09
n900000yeah I got the little android logo with the loading bar22:09
uvosi dont know remeber what the bootlogo for moto android looks like22:09
uvosi think you might be describing the recovery22:10
uvosdid it boot to android fully22:10
n900000maybe yeah22:10
uvoswhat do you mean maybe22:10
n900000I could try reflashing the update and let you know22:10
uvosno22:10
n900000maybe that was the recovery22:10
uvoswait22:10
uvosso first lets erase utags again22:12
uvosfastboot erase utags22:12
n900000ok22:12
uvosi assume you left allow-mbmloader-flashing-mbm.bin installed22:12
n900000yeah I had it installed22:12
n900000ok utags erased22:13
Wizzuphere's something funny.22:13
uvosok so grab VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip22:13
WizzupI reverted back to the older wpa and libicd plugin22:13
Wizzupand if I type 'scan' on wpa_cli, it fails the same way22:13
Wizzupbut the dbus scan call does not22:13
uvosheh22:13
uvosfun22:13
Wizzupof course, neither mdbus2 or dbus-send can actually send a{sv} args22:13
n900000yup re-downloaded it22:14
uvosok22:14
uvosunpack it22:14
Wizzup(because why would likfe ever be easy...)22:14
uvosand then fastoot flash boot boot.img22:14
uvosfastboot flash system system.img22:14
uvosfastboot flash recovery recovery.img22:14
uvosalso device_tree device_tree.bin (might not be the right name sec)22:15
uvosthen fastboot erase data22:15
uvosand fastboot erase cache22:15
uvosand fastboot reboot22:15
Wizzupactually mdbus2 can: mdbus2 -s fi.epitest.hostap.WPASupplicant /fi/w1/wpa_supplicant1/Interfaces/1 fi.w1.wpa_supplicant1.Interface.Scan "{'Type': 'active'}"22:16
n900000Hmm when I try to flash boot.img22:17
n900000I get22:17
n900000fastboot: error: cannot get boot partition size22:17
uvosmight need flash:raw22:17
uvosaltho i dont think d4 needs that22:17
uvosare you sure its a d4? :P22:17
n900000lol it absolutely is22:17
uvoshm ok wierd22:17
uvosanyhow flash:raw22:18
n900000flash:raw works22:18
uvoshmm something is wrong here22:19
Wizzupuvos: sicelo: parazyd: yeah so via dbus scanning in wpa_supplicant works22:20
uvosits fastboot flash devtree device_tree.bin22:20
uvosbtw22:20
Wizzupalso on newer wpa_supplicant22:20
Wizzupand wpa_cli's 'scan' not working is true for both versions22:20
Wizzupthe only reason I upgraded to newer wpa is because the dbus interface does funky stuff with hidden APs22:21
uvosn900000: could you ppaste your mbm version22:21
siceloWizzup: ah, great then22:22
n900000everything is working up until fastboot erase data22:22
n900000Erasing 'data'                                     FAILED (remote: 'no such partition')22:22
n900000fastboot: error: Command failed22:22
n900000sure no prob, how do I get it?22:23
Wizzupsicelo: problem is not solved22:23
Wizzupbut some more info was gathered22:23
uvossry its userdata22:23
uvosn900000: second line in fastboot mode22:23
n900000ah ok22:23
uvoseg 0a.7722:23
uvosalso fastboot oem fb_mode_clear22:24
n900000got it, I just rebooted and it's giving me the red motorola logo22:24
uvosgreat22:24
uvosso mbm is happy22:24
n900000and it booted into android22:24
uvosok22:24
uvosgreat22:24
uvosnow flash utags again22:25
uvos(i assume you flashed kexecboot to bspw allready22:25
uvos)22:25
n900000kexecboot is already flashed unless the above overwrote it, yup22:25
uvosno22:25
uvosok reboot into fastboot again22:25
uvosand flash utags again22:25
n900000should I let android boot up fully before going back into fastboot? It's at that red spinning logo22:26
uvosshould not be stictly nesscary but you might break android if you just shut it down during inital boot22:27
n900000nvm the android setup booted up fine22:27
uvosok22:27
n900000ok mbm is22:27
n9000000A.7722:27
uvosok thats fine22:27
uvosnow flash utags22:27
n900000done22:28
n900000reboot?22:28
uvosyes22:28
n900000eyyyyy22:28
n900000it worked22:28
uvosgreat22:28
n900000ok let me put in my sd card22:29
n900000this pin thing is very annoying btw22:29
uvosyes22:29
n900000perfect, booting in leste now22:31
n900000any idea what went wrong? I more or less copypasted the wiki instructions22:32
n900000also thanks a ton, I love the leste community22:32
uvosproububly just a single bit that got flipped in your download or inital flash22:32
uvosso some partition failed signature varfication22:33
n900000gotcha just bad luck then22:33
n900000I have 2 more droid 4's we'll see how those go when I flash them later22:33
n900000Oh wow the capacitive buttons work22:35
uvosidk why everyone is so supprized by this :P22:35
stanowhat's the actual mapping of those buttons?22:36
uvos?22:36
uvosthe keycodes?22:36
n900000pretty much exactly what you'd think22:36
stanoto keyboard, or some hildon function?22:36
n900000home is multitasking back is back etc22:36
stanoif the back is 'Esc' it solves one of the big SDL problems22:38
n900000also going from PMOS to leste surprises you with how much polish leste has. The hardware acceleration definitely helps too22:38
uvosno back is f822:38
stanok22:38
uvosi just wrote a driver that makes those keys a keyboard22:38
uvoswith f6,7,8 and xf86search22:38
uvosthey are xgrabkey'd by hildon22:39
Wizzupok, I have something that works on the n900, but now to see if it still works with hidden APs22:39
freemangordonuvos: f7/f8 are reserved22:40
freemangordonfor volume keys22:40
freemangordonso please, do not reassign that to anything else22:40
uvosnope22:40
uvoswe are going xf86volup down22:40
stanothe back closes sdl apps but f8 doesn't close the same app on desktop. <confused>22:40
uvosim sorry22:40
uvosanyhow yes i want ot change the d4 keys anyhow22:41
freemangordonuvos: where do you do that?22:41
uvosi think they should be home menu etc22:41
uvosfreemangordon: change the keys?22:41
uvosin dts22:41
stanoi am so happy it closes the apps22:41
stanothanks uvos22:41
freemangordonusing f7/f8 for other functions but volume22:41
uvoshaving the android keys be f* was silly in retrospect22:41
stanoall kinds of things use f7/f822:41
sicelofreemangordon: i'd let it go :)22:41
freemangordonvolume/zoom22:41
n900000Wizzup I was having wifi problems with the latest leste image last night and now I'm having the same thing on the droid 422:41
freemangordonstano: no, OS uses those all over the p[lace22:42
stanoxf86volup / down seems right to me22:42
n900000n900 was just giving me a black pane when trying to scan networks22:42
freemangordonsicelo: we can;t because it is not volume applet only22:42
uvosfreemangordon: yeah your never going to have the volume keys be f7/f8 on all devices ever22:42
uvosfreemangordon: anyhow lets not get into this22:42
uvosyes i intend to reassing the android keys22:42
freemangordonuvos: lets not go into this now, but we'll have to soon or later22:43
stanoi don't see the argument.  volup/down buttons shouldn't be mapped to f7/f822:43
uvosstano: the problem is not should22:43
freemangordonstano: did you use maemo before?22:43
Wizzupn900000: the n900 wifi problem is very specific22:43
uvosthe problem is that its hardcoded for lots of platforms to be xf86volup and xf86voldown22:43
uvoslike x86 etc22:43
stanoseems good to me to have them xf86volup/voldown22:43
uvosso unless we want to pach lots of input dirvers22:43
uvosits just not going to happen22:44
Wizzupn900000: what are you seeing with the d4?22:44
freemangordonok, lets have a separate discussion on that in 2 weeks (I am MIA starting  Sunday)22:44
freemangordonbut the so-called "volume keys" on android have much more functions on maemo22:45
uvosthey have several funcitons on android too22:45
uvosand this isent about android22:45
Wizzupwe had this discussion before I think22:45
n900000Wizzup I don't know if its a problem exactly, but it took a few mins after setting up the connection to actually connect.22:45
freemangordonuvos: yes, we discussed a bit22:45
uvosWizzup: yeah22:45
n900000and thanks for working on the N900 issue, I reverted back to the 6/27 image for the time being22:45
freemangordonand I still miss the answer to the question - what will happen if you press volume keys on the BT headset?22:46
Wizzupfreemangordon: can you test hidden ap stuff tonight or tomorrow for me?22:46
siceloWizzup: what did you find (n900 wifi)22:46
freemangordonactually parazyd tested on android and the rezult was - nothing happened22:46
WizzupI forgot why I switched to scanning using wpa control interface rather than dbus22:46
freemangordonWizzup: sorry, no, too late here already22:46
uvosfreemangordon: sure thats a stiky situation, we could have the volume applet only react to the dbus singals22:47
parazydYeah22:47
uvosand then since we want the dbus signals to be sent by mce22:47
uvoswe can have mce filter out bt devices22:47
parazydI can do further tests if needed22:47
freemangordonuvos: but really, lets not discuss now22:47
Wizzupparazyd: hidden ap ones?22:47
uvosfreemangordon: sure22:47
freemangordonvolume ones :)22:47
parazydBut on my.bt headaset nothing happened22:47
parazydWizzup: bt headphones22:47
Wizzupok22:48
Wizzupwell I'm close to ready to just stop working on hidden ap and at least restore normal func22:48
freemangordonwhy is that?22:48
Wizzupthe amount to which this broke everything is just insane22:48
freemangordonwhat is "this"?22:48
Wizzupworking on the hidden ap stuff22:48
freemangordonwpa_supplicant?22:48
Wizzupthat's one of it yeah22:48
n900000sorry dumb question, on the n900 is there a key combo for Tab? Or am I forced to use the onscreen one in osso-xterm?22:49
Wizzupsicelo: plain and simplem the wpa control interface 'scan' never works on the n90022:49
uvoswe should fix that really22:49
Wizzupsicelo: it does something different from the dbus scan interface22:49
uvosWizzup: did you mail the list?22:49
freemangordonWizzup: did you try wext driver?22:49
Wizzupfreemangordon: yes, that does not work at all22:49
Wizzupuvos: wpa_supplicant? no22:49
freemangordonhmm, it used to22:49
uvosyeah we should ask for advice i think22:50
Wizzupwe don't even have wext enabled22:50
Wizzup(in kernel)22:50
freemangordonanyway, I am too sleepy now to produce anything sane22:50
freemangordonso... good night guys22:50
uvosgn822:50
n900000also sxiv works great on leste, even full screening. keyboard mapping and be remapped to work on the hardware keyboards too. I like it better than mihphoto22:50
n900000What do you guys use for web browsing?22:51
uvosfirefox-esr22:51
uvosworks really well on d422:51
uvos(not on n900 ofc)22:51
Wizzupparazyd: shall we enable WEXT in kernel?22:51
n900000how about the poor n900 with it's 256mb of ram lol22:51
n900000the freemantle browser is actually really fast on simple webpages22:52
uvosyour kinda sol on n900 relly surf at least starts but its too mutch for it22:52
parazydWi22:53
uvosmaybe you would have luck with link2 or dillo or something22:53
parazydWizzup: I lf it's needed, sure22:53
parazydwft keyboard, sorry22:53
siceloWizzup: i guess if you have nl80211 working with dbus, and that's what Leste uses, then no need for WEXT22:53
n900000yeah I expected as much, all I really need is newsboat and it works fine though22:53
Wizzupsicelo: until everything works (e.g. hidden aps), we can't say it works22:53
Wizzupwpa_supplicant acts differently over dbus than it does over control interface22:53
n900000sorry more dumb questions, is video playing hardware accelerated on any of these?22:54
uvosno22:54
sicelookay. wext is definitely far more reliable - actually 5.14 has wext enabled for the n90022:54
uvoshardware decoding works nowhere (pp maybe?)22:54
uvoshardware presentation sorta works22:54
uvoson d4 i have gotten it to work only in firefox22:54
n900000pinephone has that new gstreamer patch22:54
n900000hopefully we can have an mpv build that accelerated on the pp22:55
n900000For music I'm using MOC on the n90022:55
uvosanyhow hardware prestation performance is broken by the pvr setup being broken (x clients (no the comp manager) are copying frames on cpu)22:55
n900000with alsamixer to mute the external speaker22:55
n900000ahh ok, sounds like a ton of work to even attempt doing22:56
Wizzupsicelo: I wonder why we have it disabled then22:56
Wizzupparazyd: can you add WEXT for a -devel kernel for n900?22:56
Wizzupmaybe look at the defconfig sicelo mentions22:56
siceloyes i saw. that's why i think if it worked with nl80211 + dbus, no need to change. nl80211 is the better option long term, of course22:57
Wizzupyes, but hidden ap does not work due to the scan dbus scans work in wpa_supplicant22:58
Wizzupdue to the way dbus scans work*22:59
WizzupI don't know what to do here really22:59
uvosi mean if it works for sicelo on sid with wpa_cli then we just need to figure out what the diff is between that and us no?23:00
Wizzupcould be wext23:00
uvossounds like its wext23:00
uvosyeah23:00
Wizzupyeah, but also wpa_supplicant being such a mess in some things23:00
Wizzupparazyd: yes, I think WEXT is needed23:01
uvoswe could also check what changes if anny are in the wl1251 driver between 5.6 or what we have on n900 atm and 5.13 or whatever sicelo used with sid23:04
uvossicelo: ^^^23:05
Wizzupmy memory is so hazy, I don't even recall why we wanted the newer wpa_supplicant23:09
Wizzupgood we have irc logs23:09
bencohbecause new is better, and red is faster!23:13
sicelo:-)23:13
uvosheh23:13
uvosi think Wizzup was encountering a bug iirc23:14
Wizzupyeah but I don't recall what23:51
Wizzupsicelo: with wext, can you check if you can connect to hidden wlan?23:51
siceloi can try, but tomorrow. have to turn myself in now. didn't have success booting debian - i really don't know why recent kernels are hit-and-miss with booting. the same kernel can boot one moment, and not boot the next :-/23:55
Wizzupok23:58
WizzupI'm building libicd-network-wpasupplicant 0.1.9 now23:58
Wizzuplet's hope it doesn't break wifi for folks in devel, but fixes it for n900 folks23:58

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