libera/#maemo-leste/ Sunday, 2022-02-27

sicelosixwheeledbeast: btw, for the battery issues, bq27200.sh and zzztop from Fremantle do work on Leste ( https://github.com/maemo-leste/bugtracker/issues/170 )11:35
sixwheeledbeastsicelo: zzztop is just a perl script so I had already pulled the source straight to usr/local/bin. there was nothing unusual just no C0 state, 99% C1. I will look for bq27200.sh11:40
WizzupI think you will find little in userspace for n900 pm, it's all kernel stuff11:40
Wizzupbut if you just want to measure the battery, that could work11:40
sixwheeledbeastWhat I haven't figured out yet is where packages come from in leste. how do you decide if they are from devuan or leste/ham somewhere else. or is that tbc?11:43
Wizzupsixwheeledbeast: it's not tbc12:15
Wizzupsixwheeledbeast: so we have devuan (which is mostly debian) as a repo12:15
Wizzupand then there is the normal leste repo, with core packages12:15
Wizzupand then there is the leste extras repo, with extras12:15
Wizzupham stuff can come from leste repo and leste extras repo12:15
Wizzupbut pkgs are only shown in ham if they are specifically marked/built to be, currently12:16
sixwheeledbeastright it makes more sense now.13:18
siceloso n900 torch can be enabled with manual i2c commands at least. maybe i'll make a Desktop-Command-Execution-Widget button for it :p16:39
Wizzupsicelo: or kernel driver?17:02
sicelothe driver is mostly fine actually, but the whole thing is interconnected with v4l ...17:03
siceloi'll look at it some day when i have more time, but it's nice to have access to a torch already17:04
Wizzupright, maybe it can be done with v4l control?17:04
sicelo not until dts work :-)17:04
sicelothe thing is - currently the torch doesn't appear anywhere when you modprobe the driver, even though there are no errors when loading it17:05
sicelohttps://linux-arm-kernel.infradead.narkive.com/MHM45sAV/drivers-media-i2c-adp1653-c-does-not-show-as-dev-video-or-v4l-subdev17:05
siceloit's a long thread that i'll come back to some time in the future17:05
Wizzupok17:06
siceloi have a note of N900 things i want to work on, so i won't forget. this is one of them17:07
Wizzupok, should we make some into issues?17:07
sicelommm, i guess it won't hurt17:08
siceloroughly in order of priority, i want to look at wl1251-cal again, then infrared (it oopses when you use it), torch, fm radio, bt, host mode, cameras, port modem to modemmanager17:10
siceloit's a tall order, but i'll be happy to achieve those i can achieve. maybe by that time no N900 in the world :p17:11
Wizzupwhy modemmanager? the n900 ofono port is in great shape17:11
sicelojust for fun :-)17:13
Wizzupok17:13
sicelothat's why it's towards the end of the list17:13
Wizzupif you're looking for fun. help with d4 ofono is appreciated too17:13
WizzupI'm reached out to folks on ebay about droid4/droid317:13
Wizzupone confirmed 2417:13
Wizzupso that's cool17:13
sicelomy droid4 is moody, so yeah :-)17:13
siceloplus, there are many people working on the droid 4 already, while n900 gets less love nowadays, understandably, since resources ... so i want to keep as much of it in good shape as much as my limited skillset allows, if only for nostalgic purposes (and learning, of course)17:15
Wizzupcheck17:17
bencoh24 droid4s ?!17:17
siceloWizzup: so when rotating, i was under the impression that xinput map-to-out put does magic for us? or still need to manually specify a coordinate transformation matrix?17:17
bencohare you buying bulk quantities?17:17
Wizzupbencoh: trying to17:17
bencohneat17:17
Wizzupwell I'm really hoping to have someone else take care of fixing and sending them to people17:17
siceloat least on pmos, map-to-output then rotating with xrandr doesn't seem to keep ts in sync with screen rotation (this is on i3, but i doubt wm matters much here, or not?)17:18
bencoh(I'm starting to think I'd be better with a new one as well btw, unless I manage to fix the usb issue, but it sounds super annoying to fix without an out-of-band serial console)17:18
bencohoh, those are broken droid4s?17:18
WizzupI can try to send you one when I am home (for a total of three days)17:19
Wizzupbencoh: some of them are, others are fine17:19
WizzupI got 12 broken ones for ~8 usd a piece (either missing battery or broken ts iirc)17:19
Wizzupwell, I don't -have- them yet17:19
bencohsounds like a decent deal17:20
Wizzupthink so17:20
Wizzupthe guy wanted like 14usd per piece but I said that was too much :)17:20
sicelothat's cheap! 8usd for a device.17:21
Wizzupsicelo: with some kind of defect mind you17:22
Wizzupbut yeah I reached out to a few more ebay sellers17:22
sicelostill. here you can't get ANY device for that kind of money :p17:23
Wizzupyeah a colleague in the us is helping sending17:24
sicelodroid 4 xinput has,17:34
sicelo⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]17:34
sicelo⎜   ↳ Filtered Touchscreen                      id=7    [slave  pointer  (2)]17:34
sicelowhat's filtered touchscreen?17:35
sicelomaemo leste, btw17:35
Wizzupsicelo: sorry, was afk17:46
Wizzupsicelo: that's what it looks like after the touchscreen buttons thing is applied17:46
siceloah17:56
Wizzuppushing keyring pkg to stable18:08
uvossicelo: "so when rotating, i was under the impression that xinput map-to-out put does magic for us? or still need to manually specify a coordinate transformation matrix?" no the code i added to h-d is roughly equivalent to map-to-output21:15
uvosbut you have to apply the correct transformation matrix to libinput (ie before x) so that the ts and the display are in sync coordinate wise21:16
siceloi'm doing it on i3. i couldn't get it working. so for the time being, i'm using xinput setprop for the transformation matrix after rotating21:16
uvosor the evdev transfomration matrix if you insit on using the legacy evdev input stack21:17
sicelono idea why map-to-output doesn't work21:17
uvosthe xinput tranformation matrix is independant of these21:17
uvoshow is it not working exactly21:17
uvosalso what device21:17
uvosalso what input stack21:17
siceloN900. map-to-output doesn't show any errors, but after rotating the display with xrandr --output DPI-1 --rotate left, for example, ts is still in original 'direction' until i do an xinput setprop21:18
uvoswait dose xrandr work on n900 now?21:19
Wizzup(same question from me)21:19
Wizzupmaybe he uses modesetting21:19
uvosanyhow what input stack21:19
siceloyes this is on pmOS, modesetting yes. rotation doesn't work in what mode? i thought it was just powervr that has issues?21:20
uvosnah its omapddx21:20
uvosnot pvr21:20
uvosthat has issues21:20
sicelolibinput Calibration Matrix (268):      1.109179, 0.000000, -0.055283, 0.000000, -1.192340, 1.081266, 0.000000, 0.000000, 1.00000021:20
siceloso i guess, libinput21:20
uvosdosent mean x is using it21:21
uvosso your flipping the xcord in libinput21:21
uvoser y21:21
uvosi assume yor xinoput matrix is idenity21:22
uvos(at boot)21:22
uvosand randr has your orientation as "normal"21:22
freemangordonmodesetting rotation works on n90021:37
freemangordonas it is using shadow buffer to rotate21:37
freemangordon]it does SW rotation that's not related to omapdrm or pvr21:37
sicelointeresting. i thought pmOS was using omapdrm21:41
freemangordonit is21:41
freemangordonit is just not using it to rotate21:41
freemangordonas VRFB is not supported in omapdrm, only in omapfb21:41
freemangordonVRFB is next thing I am going to work after abook21:42
siceloalright. i wonder what i was rotating with on debian + TI blobs + sway. not omapdrm either then21:42
freemangordonTI blobs version?21:43
freemangordon1.17?21:43
siceloyes21:43
freemangordonSW rotation, again21:43
freemangordonthe same as modesetting21:43
siceloi understand now :-)21:43
* freemangordon is back to watching european masters, ttyl :)21:44
uvossway uses gl to render eatch surface as rotated onto an unrotated framebuffer22:33
uvosunredirection breaks but its not software22:33
uvosanyhow its not relevant, its not related to how unaccelerated x rotates itself22:34

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