System_Error has quit [Ping timeout: 276 seconds]
System_Error has joined #maemo-leste
uvos has quit [Ping timeout: 256 seconds]
panzeroceania has quit [Ping timeout: 264 seconds]
panzeroceania has joined #maemo-leste
<kona> got tired of not having a kb on my main phone
<kona> might do similar for my pinephone if i can't get one of the official kbs
nohit has quit [Ping timeout: 268 seconds]
nohit has joined #maemo-leste
panzeroceania has quit [Ping timeout: 256 seconds]
panzeroceania has joined #maemo-leste
sunshavi has joined #maemo-leste
xmn has quit [Quit: ZZZzzz…]
mardy has joined #maemo-leste
joerg has quit [Ping timeout: 245 seconds]
joerg has joined #maemo-leste
MartijnBraam[m] has quit [*.net *.split]
MartijnBraam[m] has joined #maemo-leste
M1peter10[m] has quit [*.net *.split]
asriel has quit [*.net *.split]
asriel has joined #maemo-leste
asriel has quit [Signing in (asriel)]
asriel has joined #maemo-leste
M1peter10[m] has joined #maemo-leste
ikmaak has quit [Ping timeout: 268 seconds]
ikmaak has joined #maemo-leste
zhxt has joined #maemo-leste
pere has quit [Ping timeout: 244 seconds]
Twig has joined #maemo-leste
Twig has quit [Ping timeout: 250 seconds]
Twig has joined #maemo-leste
<Wizzup> bluetooth/
<Wizzup> ?
<Wizzup> that upside seems unreal :p
<Wizzup> uptime*
pere has joined #maemo-leste
_inky has quit [Ping timeout: 245 seconds]
Twig has quit [Remote host closed the connection]
_inky has joined #maemo-leste
_inky has quit [Ping timeout: 244 seconds]
uvos has joined #maemo-leste
uvos has quit [Read error: Connection reset by peer]
uvos has joined #maemo-leste
<uvos> rtcom-eventlogger is pretty terrible
<uvos> like the field event_type needs a string literal like "RTCOM_EL_EVENTTYPE_SMS_MESSAGE" thats how the hell am i supposed to gues that? its not defined anywhere
<uvos> same with all of the other event elements
<Wizzup> I didn't have that much trouble with it tbh
<Wizzup> but yeah we're basically doing double work now anyway
<uvos> its terrible api
<Wizzup> k
<uvos> well can you tell me what all the RTCOM_EL_EVENTTYPE_ strings are?
<Wizzup> they are defined in the plugins
<uvos> great api :P
<uvos> "go grep some other repo to maybe find where the string is used somewhere"
<Wizzup> so the plugins have some headers
<Wizzup> but they don't export the useful stuff
<Wizzup> that's my understanding at least
<Wizzup> which already does the call logging
<Wizzup> I think the idea is to use the plugins, just the sms one is rather incomplete
<uvos> id
<uvos> idk
<uvos> that function is really useless
<Wizzup> which means you don't need the strings externally for that
<uvos> you still need it if you want to find the events etc
<Wizzup> so I just filtered by events from the sms service id
<Wizzup> e.g.
<Wizzup> if(!rtcom_el_query_prepare(query,
<Wizzup> "remote-uid", argv[1], RTCOM_EL_OP_EQUAL,
<Wizzup> NULL)) {
<Wizzup> "service-id", service_id, RTCOM_EL_OP_EQUAL,
<uvos> im also not sure what the point to those plugins is in the first place
<uvos> they dont seam terrbly usefull
The_Niz has quit [Ping timeout: 264 seconds]
<uvos> so sphone stores its events now
<uvos> (if you load that module, not default)
<uvos> into rtcom
<uvos> still working on the api in the other direction (sphone will abstract it).
xmn has joined #maemo-leste
pere has quit [Ping timeout: 244 seconds]
Danct12 has quit [Quit: Quitting]
<Wizzup> uvos: did you test this with rtcom uis and such? I don't see a header with uuid for the message id anywhere
<Wizzup> and does it repor the different sms flags?
<Wizzup> pending, delivered, etc
<Wizzup> it should probably also set the is read property
<uvos> sphone dosent know that
<uvos> atm
<uvos> also the state
<uvos> dosent know that either
pere has joined #maemo-leste
<Wizzup> seems pretty easy / generic for the various (text) protocols
<uvos> not sure what uuid you speak of
<Wizzup> yeah but check-el doesn't do what needs to be in the database
<Wizzup> it's pretty evident on the fremantle database
<uvos> see its terrible api :P
<Wizzup> well I spend ~2-3 hours understanding it yesterday
<uvos> if you have to look at the old database to know what fields exist
<Wizzup> contains UUIDs for each event (at least for sms), but it can also contain vcard
<Wizzup> The database has headers, one for each event, it looks like. It for example
<Wizzup> ==== Headers ====
<Wizzup> fields it looks like. My table only contains name=message-token though.
<Wizzup> I don't know how you can write code compatible with what fremantle does without looking at it
<Wizzup> the local_uid also probably needs to be telepathy-ring for any compat
<Wizzup> well not that literal string, but a telepathy-ring one
<uvos> thats bust
<Wizzup> on fremantle the local_uid for all sms/call events is ring/tel/ring
<Wizzup> there are others too, e.g.
<Wizzup> sofiasip/sip/sip_2exs4all_2enl0
<Wizzup> idle/irc/fremantle0
<Wizzup> which map to the remotes table
<Wizzup> amongst other things
<uvos> i not going coperate on that, if the logging backend requires you to give ids provided by certain ids its over
<uvos> im not useing it
<uvos> certain libs
<Wizzup> that's fine, you can evaluate my code when it's done
<Wizzup> and then make up your mind
<Wizzup> until I fully understand how it works I'm not going to diverge from what nokia did
<Wizzup> I don't see the point of using their apis in a way that doesn't actually make it work the way then intedeed do
<Wizzup> intended*
<Wizzup> then it's easier to just roll your own
<Wizzup> for the record I am not saying that you cannot write sphone plus something in local_uid
<Wizzup> but it's not going to work the way you expect with some of the other components
<Wizzup> is my guess
<uvos> so can you provide an example for what is key and value in a header
<uvos> for message/sms/call
<Wizzup> it's going to take me time to figure out if call or chat message also have it
<Wizzup> most of headers is just this
<Wizzup> 20290|34235|message-token|9bac9a4c-5fe3-49f3-b5ee-c213c96bf760
<Wizzup> I'd have to write a join and other stuff to see if that's only sms
<Wizzup> of course the libtelepathy-glib0 examples don't build normally :D
xmn has quit [Ping timeout: 244 seconds]
Danct12 has joined #maemo-leste
<Wizzup> I don't know how these message-tokens are used in the conversations ui, yet
<dsc_> i received a droid4 in the mail (thanks santa)
<dsc_> it runs an old android version
<dsc_> how2maemoleste
<dsc_> > After updating device firmware with included script (eg. flash-droid-4-fw.sh)
<dsc_> oh.
<dsc_> thx
<Wizzup> also note
<Wizzup> Check what kernel version your Android OS runs. For this go to Settings -> About phone. Slide to the bottom, where you can see "Kernel version". If you have at least 3.0.8, you may skip "Updating Android" step below.
<uvos> probubly just remove the https://leste.maemo.org/Getting_Started installation to SD Card thing
<uvos> its just confusing as thats device dependant
<Wizzup> feel free :p
<uvos> drop a hint to look at the device pages instead
<dsc_> Wizzup: seems to be 3.0.8 yep
<uvos> dsc_: also think about if you want android 7 on it too
<uvos> its alot easier to install los first and then leste
<uvos> dosent matter if you dont intend to use android also
<bencoh> yeah, I'd recommand installing lineageOS on it as well
<Wizzup> I sent it to dsc for development purposes
<uvos> Wizzup: well compearing with los is usefull :P
<uvos> for kernel development
The_Niz has joined #maemo-leste
<dsc_> I seem to be stuck in fastboot mode, it says the device is LOCKED - maybe that has something to do with it
<dsc_> > Start the device in fastboot mode. For this press power button and bottom volume key simultaneously and release them after a second.
<dsc_> or can I just proceed with `sudo fastboot flash mbm ...` now?
<parazyd>
<uvos> yes
<dsc_> ok :)
<uvos> please note that at least fastboot v30.0 is needed
<uvos> this version is quite recent
<uvos> the wiki dosent tell you..
<Wizzup> really? I used fastboot from android-tools 8.1.0 and it worked fine
<uvos> that should be v30 no?
<uvos> anyhow in the 29 series there is a bug that prevents it from working without flash raw
<uvos> and maybe below 29 too
<uvos> (but not very old versions before 29, not sure where the bug was introduced)
<uvos> i think it was intrduced in 27
<uvos> iirc
<uvos> so 2017
<dsc_> ok, up and running :)
<Wizzup> deb https://maedevu.maemo.org/leste beowulf-devel main contrib non-free
<Wizzup> add that one to sources.list or sources.list.d
<Wizzup> and apt update && apt dist-upgrade
<dsc_> can I get access via SSH through micro-USB somehow or does it need to be on wifi
<uvos> sure there is usbnet
<uvos> also there is serial on the usb port if you conect a ttl->usb there
<Wizzup> however, usbnet gets flaky when the device thinks it is fully charged
<bencoh> much reminds me I still need to understand why usbnet doesn't behave here
<bencoh> (it used to work on my own custom kernel from 2~3y ago)
<bencoh> s/much/which/
<bencoh> Wizzup: by flaky, do you mean it connects and immediatly disconnects?
<bencoh> (ie the usb device is shown as connected then disconnected on host)
<Wizzup> bencoh: yes
<bencoh> oh
<bencoh> here I think it happens even when not fully charged (I'm pretty certain)
<Wizzup> might depend on the table
<Wizzup> cable*
<bencoh> well, I tried with various cables, but ...
<bencoh> (and it definitely used to work before I moved to leste)
<bencoh> (and fastboot seems to work)
<bencoh> but if others are experiencing something similar, then ... interesting
<bencoh> tbh I think it's related to how vbus events are handled
sunshavi has quit [Ping timeout: 256 seconds]
freemangordon has joined #maemo-leste
<Wizzup> freemangordon: wg
<Wizzup> wb*
<freemangordon> hi!
<freemangordon> No fish in Chalchidiki sea so I decided to get back home one day earlier :)
<Wizzup> aw :(
<freemangordon> well, not that bad, I caught enough fish this year
<Wizzup> there is slowly some rtcom/conversations ui movement as well
<freemangordon> nice
<freemangordon> I was thinking about vrfb rotation
<freemangordon> I will send a mail to tomi/laurent, to get some pointers on the omplementation
<Wizzup> makes sense
<freemangordon> *implementation
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
<kona> wizzup: bluetooth yes
<kona> i didnt grok the uptime comment
<Wizzup> it's like 27000 days
<Wizzup> if I read correctly
<uvos> the screenshot shows 10k days uptime
<uvos> 18937 days to be exact
<uvos> or 51 years
<uvos> that happens to be the time since 1970 :)
<Wizzup> yeah
<Wizzup> usually 'uptime' does not get it wrong though
<Wizzup> so that was surprising
<kona> oh wow. thanks neofetch.
<kona> kali nethunter runs in some container so maybe thats causing it to get bad results?
<uvos> freemangordon:
<uvos> i think i know how xorg rotates
<uvos> in general
<uvos> so xf86Rotate sets a pixmap transform on the xorg drawable
<freemangordon> how?
<uvos> and then glamor rotates in gl
<uvos> or other backends rotate
<uvos> like exa dose to
<uvos> in hw
<uvos> using the same code as rotating any other xorg pixmap/drawable
<freemangordon> hmm
<freemangordon> but this is not really HW rotation in case of omap3/4
<uvos> well its rotating on sgx
<uvos> this works fine perf wise on wayland
<freemangordon> not really
<freemangordon> this halves the FPS
<freemangordon> IIUC
<uvos> thats not what i see in sway/gears
<freemangordon> with 100% cpu oad
<freemangordon> run glmark
<uvos> well i cant because i have to upgrade mesa first
<freemangordon> esgears is too small (300x300)
<uvos> its full screen here
<uvos> sway makes everything fullscreen ;)
<bencoh> isn't there some dmabuf-powered / mem2mem infra for DMR allowing basic transformations (ie rotation)?
<freemangordon> no
<uvos> there are kms planes instead
<freemangordon> also, rotation is not really 'basic' transformation :)
<uvos> anyhow
<uvos> thats how it rotates
<uvos> make of it what you will
<freemangordon> ok
Twig has joined #maemo-leste
<freemangordon> uvos: rotating through GL is suboptimal. No matter what you do, you don;t have zero-copy
<uvos> sure its not optimal, im just saying this is how it works and it should work fine on omap* using this path.
<uvos> we know first hand that this path has a perf hit
<freemangordon> i.e. - you have some pixmap already rendered. you need to upload that to a texture and then send that texture through a shader
<uvos> its slower on wayland by about 1/3 here
<freemangordon> on d4, right?
<uvos> and its slower on pp with glamor too from what others have stated
<uvos> yeah
<freemangordon> imagine on n900/n9/50
<uvos> regarding the uploading
<freemangordon> no, the way to have the rotation is through tiler
<uvos> that should not happen
<uvos> idealy
<uvos> since on wayland for instances everyting is on sgx
<freemangordon> well, yeah
<uvos> qt renders its buffer with gl, passes it to the wayland wm, and then the wm rotates with gl and outputs
<uvos> thats how its supposed to work
sunshavi has joined #maemo-leste
<uvos> and ofc this is ideal anywhere where your gpu as its own ram
<bencoh> well, there is a reason why qt5/wayland nemomobile was slower, and was never ported to n900 :)
<freemangordon> anyway, on omaps we have a HW that can rotate with no perf hit
<uvos> i think ram plays a big part to
<uvos> but yeah
<freemangordon> so I see no reason not to use it
<uvos> im not advocating for this path at all
<freemangordon> yeah, sure
<uvos> im just saying where it is and why it works like this
<freemangordon> thanks for the explanation though
<bencoh> freemangordon: looks like this landed in mainline: drivers/gpu/drm/drm_blend.c
<freemangordon> what is this?
<bencoh> (to be honest I thought it remained a samsung-only fantasy)
<bencoh> freemangordon: pretty much what I mentioned, or so I think
<uvos> seams to implement the kms planes (just read the comment at the top first i hear of this)
<bencoh> although I'm not certain it's actually used anywhere / really implemented by any driver
<freemangordon> hmm, I think omapdrm implements at least the rotation property
<uvos> no we havend found anyone useing that interface either
Pali has joined #maemo-leste
<bencoh> I wonder if samsung uses it at least
<bencoh> I guess I could check
<uvos> android might generally
<bencoh> freemangordon: you were right about the property: 14 171 drivers/gpu/drm/omapdrm/omap_plane.c <<omap_plane_install_properties>>
<bencoh> drm_plane_create_rotation_property(plane,
<freemangordon> omapdrm seems to implement this
<freemangordon> but no userspace is using it it seems
<bencoh> what's supposed to perform the actual rotation?
<freemangordon> TILER on omap4
<uvos> tiler in omapdrms case
<bencoh> is that implemented kernel-side?
<freemangordon> yes
<bencoh> ah right, OMAP_DSS_ROT_TILER
<bencoh> well, it might actually be the way then
<freemangordon> see omap_gem_init
<uvos> there is even a modesetting patch to use this fmg found
<freemangordon> yes, but for omap3 we need VRFB rotation
<bencoh> ah
<uvos> but implementing it for omap3 would be hardish
<freemangordon> not really, VRFB seems way simpler than TILER
<uvos> freemangordon: looks like android has drm_hwcomposer
<uvos> that uses this too
<freemangordon> ttyl, dinner
<bencoh> enjoy! :)
_inky has joined #maemo-leste
System_Error has quit [Ping timeout: 276 seconds]
System_Error has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
Twig has quit [Ping timeout: 250 seconds]
mardy has quit [Quit: WeeChat 2.8]
<Wizzup> uvos: did you move the screen vibration checkmark from display to profiles, or was it just always there
<Wizzup> I vaguely recall it being in settings -> display
Danct12 has quit [Read error: Connection reset by peer]
Danct12 has joined #maemo-leste
<uvos> i moved it
<uvos> its profile dependant too now, just like the touchscreen sound
<Wizzup> it's much harder to find though I think
<Wizzup> maybe I am just used to it
<uvos> sure
<uvos> but not realy realtive to touchscreen sounds
<uvos> the profile ui could telegraph more what its for for sure
<uvos> its also off by default now
xmn has joined #maemo-leste
<uvos> btw
<uvos> but we can change that back if you like
<uvos> since imo the feedback makes sense only on restive ts where you dont know if you pressed hard enough to register the touch, while on capacative ts if you can feel the ts touching your finger its registering a touch.
<Wizzup> I don't care much about the default, I just implemented the maemo functionality while learning REing
xmn has quit [Ping timeout: 250 seconds]