libera/#maemo-leste/ Sunday, 2023-06-25

uvoswe require the udev file (well it needs to be updated for the new driver)13:47
uvosthe info in dts has no effect, as this driver dosent pass it on to userspace13:47
uvosit lacks the reuqired support13:47
uvosalso all of this is irrelivant on n90013:47
uvosas we disable the accel to avoid h-d trying to rotate breaking x13:48
sicelowhat are you talking about? how is iio-sensor-proxy able to correctly tell the device orientation if userspace doesn't get those values?14:08
uvosit cant from dts14:08
uvosbecause the driver dose not pass via the sysfs intface (this is not implemented)14:08
sicelowithout the matrix in dts, the orientation reported by iio-sensor-proxy is wrong14:09
uvosunless the driver was updated since i last looked14:09
uvosif the featrue was later added then sure14:09
uvosbut when i set up iio-sensor-proxy for d4 the driver did not support the matrix at all14:09
uvosthis is why we have the udev rules14:09
uvosthey inject the matrix later in the same place14:10
uvos(gets picked up by udev from the driver in the supported path)14:10
sicelowhen i added this, it worked fine with i-s-p. i use it in pmOS too, and there i don't have the udev rule14:10
uvoswell then support was added14:11
uvossee https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio14:11
uvos /sys/bus/iio/devices/iio:deviceX/mount_matrix was not supported  by our diver at the time (5.9 or so)14:12
uvosif it is now we can drop the rules, yes14:12
sicelohttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/iio/accel/st_accel_core.c?id=3d8ad94bb175c2de7200569bb706d67c4590383814:17
siceloyes, looks like it arrived in 5.1314:17
uvossicelo: great, yeah we should drop all the rules then16:21
uvoswait no, there was another issue16:22
uvoson hildon expects normal orientaiton (y up) to be lanscape16:22
uvosbut on mapphones as they are native portrait y up is ofc protrait16:22
uvosso this helps n900 only16:23
uvosor we modify hildon to expect normal orientation to be portrait16:24
uvossince pretty mutche  every device ever made beside the n900 is going to be that way16:24

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