libera/#maemo-leste/ Tuesday, 2024-04-16

siceloso it seems there really is something about the reported wifi signal strength: https://github.com/maemo-leste/bugtracker/issues/73000:56
dakedresIs there a way to like. Whitelist an app to display portrait? I don't see why there would be an issue, if it's a desktop app that works fine in a portrait window on my computer. But I dunno. Hilton may be weird09:13
dakedress/hilton/hildon09:14
WizzupYeah, currently the app has to explicitly state support for portrait mode, but it's also been something that has bothered me.09:16
Wizzupwe could just assume it works in portrait mode instead09:16
Wizzupfreemangordon: what do you think?09:16
Wizzupwe have landscape only (default), portait only, and both09:16
Wizzupwhy don't we make 'both' the default in h-d and see how that goes09:16
dakedresIt would be really cool if there was a config file to set rules for it09:18
Wizzupthere is some kind of black/whitelist IIRC, but sure if it also applies for portrair09:19
Wizzupportrait09:19
Wizzupsicelo: do you perhaps recall?09:25
dakedresDoes anyone know of a command to properly rotate the screen on the droid4? I've tried xrandr --rotate, but the touchscreen still thinks it's landscape09:26
Wizzupto force rotate you mean?09:27
dakedresYeah09:28
Wizzupdbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_orientation_ind string:'portrait'09:28
Wizzupiirc09:28
Wizzup(this is from our irc logs)09:28
dakedresOh I should check those first probably09:29
dakedresTy09:29
sicelommm, i'm not really sure. i rarely use portrait mode :-)09:54
siceloi *think* there's a key combination to force almost any application to rotate09:55
siceloah, can also be done via the transitions file, https://wiki.maemo.org/Community_SSU/Features/hildon-desktop#Forced_Rotation10:04
sicelo ... if one wants everything to rotate, that is10:06
dakedresWizzup: dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_orientation_ind string:'portrait'10:17
dakedresTried this. Didn't work, maybe it's for the n900?10:17
dakedressicelo:  ... if one wants everything to rotate, that is10:25
dakedresAfter scrolling down a bit I found the whitelist/blacklist. Thanks!10:25
dakedresdakedres: Tried this. Didn't work, maybe it's for the n900?10:28
dakedresWait. It only doesn't work when I have the keyboard open. Hmm10:28
siceloit makes sense ... how would you look at a portrait display since the keyboard is then on the side? :-)10:30
dakedresIdea I had was using qutebrowser in portrait with the keyboard out for navigation10:34
dakedresI'd imagine it's extremely cozy10:34
siceloi think it'd be funky :-D10:36
siceloi guess a quick and dirty way to 'fix' that would be to disable gpio_keys temporarily10:42
sicelobut you must do that while the keyboard is in closed state10:53
sicelo`echo 1 | sudo tee /sys/class/input/event0/device/inhibited` (assuming gpio_keys is on event0 for you too. to find the correct node, `ls -l /dev/input/by-path/*gpio*`)10:55
dakedresI'll experiment with that, thanks11:00
sicelosure. it does work - tested on my Droid 4 just now - at least xterm rotates even when keyboard is out11:02
sicelonote - the volume down key will stop working too, since it's exposed on that same evdev device11:04
dakedresWith xrandr the touchscreen doesn't work, with that the keyboard doesn't work lol11:14
dakedresI see some people are able to11:15
siceloyou're rotating what? HDMI screen?11:17
dakedres*some people are able to use xinput to change the coordinate transform when rotating a touchscreen. But that's on Ubuntu Mobile or whatever. I guess I'll have to see if it'll work on maemo tomorrow11:17
dakedressicelo: you're rotating what? HDMI screen?11:18
dakedresI'm able to rotate the built in screen with xrandr too11:18
sicelobut why? is the existing rotation not sufficient for your needs? at least it handles touchscreen rotation properly11:19
dakedresIt's a potential alternative to disabling the gpio keys to allow rotating with the keyboard out.11:20
sicelook.11:21
Wizzupjust xrandr won't rotate ts14:19
uvos__xinput map-to-output will however15:38
uvos__the code i added to h-d is hevly based on xinput map-to-output15:39
Wizzupyeah15:51
dakedresYeah xinput is why I was reconsidering the xrandr approach19:09
sicelono idea if Pali reads the logs ... we have wl1251-cal for extracting the wlan MAC address from CAL on N900. wondering if we have a tool for fetching BT mac?20:52
siceloalso looks like the data in CAL includes `als_calib` ... maybe that would be useful for https://github.com/maemo-leste/bugtracker/issues/43620:53

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