g4rrgl3n0m4d has quit [Quit: leaving]
g4rrgl3n0m4d has joined #maemo-leste
g4rrgl3n0m4d has quit [Client Quit]
pabs3 has quit [Quit: Don't rest until all the world is paved in moss and greenery.]
pabs3 has joined #maemo-leste
ungeskriptet_ has joined #maemo-leste
ungeskriptet has quit [Ping timeout: 260 seconds]
ungeskriptet_ is now known as ungeskriptet
DFP has quit [Quit: Leaving]
<tmlind> freemangordon: abe_mcbsp1_dr.gpio_115 offset 0x100, omap4_pmx_core padconf offset 0x40, 0x100 - 0x40 = 0xc0
<tmlind> so this should work for gpio_115 padconf interrupt, untested: interrupts-extended = <&omap4_pmx_core 0xc0>;
<tmlind> if that interrupt is common for modem uart and usb, then it could be set up as a generic wakeirq that ends up calling the runtime pm resume function
<tmlind> if it's specific to the usb only, then it should have a separate threaded irq handler like you already have
<tmlind> not sure if the powerup sequence with the gpio pins needs to be redone, i think the modem can watchdog reboot and return online, not sure. so maybe just detecting a modem reboot can be used to rescan the usb bus for devices
<tmlind> maybe there's some way to do a modem reset or reboot over qmi?
joerg has quit [Ping timeout: 244 seconds]
joerg has joined #maemo-leste
hm has quit [Read error: Connection reset by peer]
fab_ has joined #maemo-leste
<freemangordon> tmlind: so, I should not add another gpio, but just interrupt, right?
<freemangordon> lets try it
Anasko has quit [Remote host closed the connection]
sch has joined #maemo-leste
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
<freemangordon> 253: 5 pinctrl 192 Edge mdm6600-usb-wake
<freemangordon> lemme disable PM runtime resume for the UART from the irq handler
<freemangordon> otherwise seems to work
ceene has joined #maemo-leste
<freemangordon> pm resuming uart seems not needed
<freemangordon> YAY!
fab_ has quit [Ping timeout: 244 seconds]
Livio has joined #maemo-leste
fab_ has joined #maemo-leste
pabs3 has quit [Ping timeout: 252 seconds]
<dsc_> I think this HoldTimer was there so it doesnt trigger when scrolling
<dsc_> else you cant really scroll without it triggering a popup
<dsc_> iirc
Livio has quit [Ping timeout: 264 seconds]
<freemangordon> not sure I understand the question, but otherwise the patch seems reasonable
<freemangordon> also, I thunk tapandhold is always synthesized
<freemangordon> *think
<dsc_> you patched the holdTimer out, im just wondering if scrolling is a bit awkward now
<dsc_> anyway
<freemangordon> ah
<freemangordon> this is path is mine?
<dsc_> yeah :D
<freemangordon> well, it is good that I find my patches reasonable :D
<dsc_> (y)
<freemangordon> I don't see issues with scrolling
<dsc_> alright
<freemangordon> scrolls just fine here
<freemangordon> at least on d4
<dsc_> i put presence and avatar into master
<dsc_> an avatar is 8kb
<dsc_> i dont suspect any drastic changes in memory
<dsc_> expect*
<freemangordon> cool
<freemangordon> even if you made it so images are loaded in background :)
<dsc_> they are yes, sorry
<freemangordon> great
<dsc_> wait, what do you mean?
<dsc_> as in seperate thread?
<dsc_> no
<freemangordon> no
<freemangordon> anyway, lets see how it behaves
<dsc_> yes
<dsc_> we can do on-demand if its neccesary
<freemangordon> will optimize further if needed
<freemangordon> yeah, that's what I meant
<freemangordon> sorry, still less coffee than needed
<freemangordon> not to say I am dealing with kernel code ATM and is a bit hard to switch ;)
<dsc_> im going to try and get a virtual keyboard going with Qt apps
<freemangordon> oh
<dsc_> on a OS level
<freemangordon> which keyboard?
<dsc_> wizzup did some work, but it was for qt4 iirc
<freemangordon> him?
<dsc_> will have to see what keyboard
<dsc_> but just like the one we already have I suppose
<dsc_> for gtk apps
<freemangordon> perhaps see how it was done in fremantle qt4
<Wizzup> hi
<dsc_> yeah
<dsc_> im just wondering, why cant we use the gtk widget we already have?
<Wizzup> yeah I spoke with dsc about this briefly
<dsc_> we just need to spawn it when focus is on a QLineEdit
<Wizzup> but it wasn't finished and a bit of a mess
<Wizzup> but I wanted to take more time to ensure that this was actually the latest code
<freemangordon> Wizzup: I have d4 working with upstream ofono over qmi :)
<freemangordon> including notifications
<sicelo> this is awesome news!!!
<freemangordon> sicelo: yeah
<freemangordon> doing some code cleanup
<Wizzup> freemangordon: wooo :)
<sicelo> we really appreciate your work, and tmlind ;-)
<Wizzup> we can build experimental kernel and ofono then
<freemangordon> will push later on
<freemangordon> yes
<dsc_> i have no idea what this means but goodjob
<freemangordon> yeah, tmlind's hint about padconf was the key
* dsc_ gets coffee
<freemangordon> dsc_: this means we will have fully-functional modem on d4
<dsc_> nice! :)
<Wizzup> we've had a bunch of issues with notifications and some other stuff, so this is really great
<freemangordon> and will remove (hopefully) the need for upsreaming serdev_gsm
<Wizzup> I wonder if that will also make things easier eventually over the spi mapphone devices
<freemangordon> or whatever the name was
<freemangordon> perhaps
<Wizzup> might make sense to check on the pm too, I suppose pm is ok?
<freemangordon> if qmi_wwan works over spi
<freemangordon> yes, it is
<Wizzup> it does not, but the android kernel did stuff to make it work over spi iirc :D
<freemangordon> we also get AT interface working
<freemangordon> the only missing piece is voice contro;l
<freemangordon> but I'll look into it
pabs3 has joined #maemo-leste
<sicelo> new ofono helps Librem5, but I believe should also help PP. AFAIK it's currently using some weird hacks?
<freemangordon> yes, PP too
<freemangordon> and basically all QMI
<freemangordon> which means all devices after 2012, no?
<sicelo> although 2.13 is somewhat broken for PP, based on piggz report. Hopefully will be fixed soon.
<freemangordon> I haven't had any issues with 2 quectel modems I have here and d4
<Wizzup> yes, pp is also qmi
<sicelo> yes it's not clear yet what broke specifically for pp.
<freemangordon> yeah, this also make it incompatible with older kernels (at least cannot compile on even 5.10)
<sicelo> heh, at least we're mainline
<freemangordon> yeah
<freemangordon> but had to upgrade VM
<freemangordon> and my PC
<dsc_> so the keyboard we have right now (that works with GTK apps)
<dsc_> its via him (hildon input method)
<dsc_> correct?
<freemangordon> yes
<Wizzup> sorry, yes
<dsc_> and it needs to be build into the maemo qt plugin
<Wizzup> dsc_: basically what needs to happen in the qt side is to implement all the dbus calls, so even when sending a single key you need to send that over dbus and him will send the input
<dsc_> right
<Wizzup> and if you want to provide 'context' - eg. line editing that also has to go over dbus
<Wizzup> it's not ideal really, but it's what it is currently
<Wizzup> there's also the at-spi2 stuff, but I don't know much about it
<Wizzup> uvos has said at some point he thinks that might be a better way to go about this, but I don't know enough
<Wizzup> this is hooking into the accessibility frameworks
<freemangordon> IIUC that's the proper way, however, uvos said there are some issues
<freemangordon> don;t remember the details
<Wizzup> yeah
<dsc_> ok cool
Twig has joined #maemo-leste
pere has quit [Ping timeout: 265 seconds]
g4rrgl3n0m4d has joined #maemo-leste
xmn has quit [Ping timeout: 248 seconds]
narodnik has joined #maemo-leste
<freemangordon> hmm modem uart is waking-up device hundred times more than usb
<freemangordon> 254: 14 pinctrl 192 Edge mdm6600-usb-wake
<freemangordon> 263: 203 4805b000.gpio 21 Edge mdm6600-wake
pere has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
<dsc_> (hello:9849): sapwood-engine-WARNING **: 11:25:25.732: sapwood-theme: Failed to load pixmap file /usr/share/themes/alpha/images/TextInput.png: Failed to connect to sapwood server using `/var/tmp/sapwood-:0.0': Connection refused
<dsc_> is there an env. var to supress sapwood-engine messages?
<freemangordon> dsc_: export DISPLAY=:0
<dsc_> ty :)
<freemangordon> this seems to work
<freemangordon> tmlind: regarding modem disconnects - never seen them here, no idea how to test
<freemangordon> but, I guess this can be handled in usb notifier
<freemangordon> please have a look at the commit, if you see no obvious issues I'll send for upstreaming
<freemangordon> Wizzup: could you make a new kernel release?
Anasko has quit [Read error: Connection reset by peer]
pere has quit [Ping timeout: 248 seconds]
Livio has joined #maemo-leste
pere has joined #maemo-leste
Livio has quit [Ping timeout: 264 seconds]
<dsc_> slide 21
<dsc_> is also what I saw in the code yes
<dsc_> but its funny to read a presentation from when I was still a teenager :P
<dsc_> hmm
<dsc_> these slides were handy *before* diving into the code :D
<dsc_> would have been*
<freemangordon> h,, aren;t we supposed to install event filter in polish()
<freemangordon> ?
<dsc_> and yes, I can see how this is hacky re: at-spi2
<freemangordon> the way we do for scrollbasr
<freemangordon> dsc_: which one is hacky? at-spi or him?
<freemangordon> or qt
<freemangordon> can;t parse :)
<dsc_> uhm I mean the way it communicates, qt + xcb
<dsc_> it stops some events, based on atoms, etc.
<freemangordon> why hacky?
<freemangordon> btw, qt5 should have standard way for input methods
<dsc_> idk what polish() is
<dsc_> basically what we should do is (and what Wizzup was working on)
<dsc_> register a QPlatformInputContext plugin
<freemangordon> mhm
<dsc_> it hooks all widgets/inputs and installs a filter
<freemangordon> right
<dsc_> it then creates a xcb conenction to him
<freemangordon> makes sense
<freemangordon> btw, that might be useful:
<dsc_> yes I found this already
<freemangordon> ok
<dsc_> i was using it to create a standalone program
<dsc_> but it really needs to be a plugin I think
<freemangordon> cool
<freemangordon> yeah
<freemangordon> but at least gives you an idea what to do
<dsc_> yeah
<freemangordon> there is also documentation
<freemangordon> not sure how useful it is though
<dsc_> wizzup was quite far already I think
<freemangordon> cool
<dsc_> some technicalities with key combos to sort out
<dsc_> modifiers
<dsc_> im just trying to create a standalone application so its easier to test
hexnewbie has quit [Ping timeout: 244 seconds]
hexnewbie has joined #maemo-leste
arno11 has joined #maemo-leste
<Wizzup> freemangordon: yes I can make a kernel release today
<dsc_> hmm
<dsc_> might be more difficult, sending HILDON_IM_SHOW does not show the keyboard
<freemangordon> it should, iirc
<Wizzup> yes, there's bugs in the qt code for sure :)
<dsc_> btw
<dsc_> xcb_connection
<dsc_> this is a x11 connection right
<dsc_> does it use unix sockets for that?
<dsc_> well doesnt matter
<Wizzup> depends on DISPLAY I think
<dsc_> i have not come across any dbus stuff yet Wizzup
<Wizzup> sorry, bbiab
<dsc_> freemangordon: (hello:11016): hildon-1-WARNING **: 14:03:14.533: Tried to initialized Hildon more than once.
<dsc_> can I ignore this?
<dsc_> omg, I had "Enable Virtualkeyboard" disabled @ settings
<freemangordon> yes
<freemangordon> :)
<dsc_> k it works now ;p
fab_ has quit [Quit: fab_]
arno11 has left #maemo-leste [#maemo-leste]
Livio has joined #maemo-leste
Livio has quit [Ping timeout: 264 seconds]
<tmlind> freemangordon: nice looks good to me, not sure if you need the wakeup-source though, maybe check with suspend/resume if it keeps some stuff enabled unnecessarily
<tmlind> freemangordon: are you seeing events now also for incoming sms on the usb qmi?
<freemangordon> yes
<freemangordon> tmlind: without wakeup-source it does not work
<freemangordon> what to check if properly suspended?
<tmlind> i think the wakeup-source might have an effect of keeping things enabled, but maybe usb needs it
joerg has quit [Ping timeout: 260 seconds]
joerg has joined #maemo-leste
<freemangordon> I did't see increase of power usage
<tmlind> hmm maybe it's needed to keep the interrupt active though
<tmlind> ok
<freemangordon> yeah, no interrupt without it
<tmlind> ok
<tmlind> so incoming sms working?
<freemangordon> yes
<freemangordon> and call
<tmlind> great!
<tmlind> also seeing it on the qmi and not just ttyUSB4?
<freemangordon> it is using qmi only :)
<tmlind> amazing
<freemangordon> but RING is seen on AT as well
<tmlind> ok
<tmlind> so the audio mixer, any clues?
<freemangordon> didn't have time
<tmlind> ok
<freemangordon> if you want to test it
<freemangordon> this is latest ofono + d4 patches
<tmlind> maybe over the holidays i get a chance
<freemangordon> cool
<freemangordon> please verify what you have concers for
<freemangordon> suspend/resume I mean
<freemangordon> because I verified that usb device and phy are suspended
<freemangordon> but maybe more things have to be checked, dunno
<freemangordon> I am trying to upstream d4 support in ofono though
<freemangordon> well d4 qmi support
fab_ has joined #maemo-leste
<tmlind> no concerns :)
<freemangordon> "not sure if you need the wakeup-source though, maybe check with suspend/resume if it keeps some stuff enabled unnecessarily"
<freemangordon> thats what I mean :)
<freemangordon> or, give me some hints what to check
<tmlind> right sounds like that's needed to keep the interrupt enabled though
<tmlind> nothing to check imo, the usb suspend should clear the modem if it reboots..
<tmlind> sorry i mean the usb notifier
<freemangordon> you mean udev
<freemangordon> yeah
System_Error has quit [Remote host closed the connection]
<freemangordon> BTW, I think if modem falls off the bus, maybe it can be rebooted in the notifier
<tmlind> yup
<tmlind> yeah that would be cool
<freemangordon> but, I have never seen that happened here
<freemangordon> so can;t test
<tmlind> i need to reload the modem modules about every two weeks
<tmlind> otherwise modem stops working
<freemangordon> never have any issues here, but I am not sure I keep my d4 without reboot for so long
<tmlind> let's hope that gets fixed too
<freemangordon> do you use leste already?
<tmlind> only on a test device still, should update it now :)
<freemangordon> :)
<freemangordon> Wizzup: is prting to current debian stable
<freemangordon> *porting
<freemangordon> should be ready soon(tm)
<tmlind> cool
<freemangordon> ok, lets see if I can re-send one more ofono patch
<freemangordon> bbl
<tmlind> later
System_Error has joined #maemo-leste
Livio has joined #maemo-leste
ceene has quit [Remote host closed the connection]
Pali has joined #maemo-leste
Livio has quit [Ping timeout: 264 seconds]
<freemangordon> :)
<sicelo> yeah i'm subscribed to the ML ;-)
<freemangordon> those 4 patches are d4 related
<sicelo> this is all that's needed for it? any still pending?
<freemangordon> no I only have to send the big one
Livio has joined #maemo-leste
<freemangordon> lemme push first
<Wizzup> I didn't get to the kernel yet, I hope to do it later tonight, but I need a break first
<freemangordon> sure, no hurry
<sicelo> get a break, don't break :-)
<freemangordon> ther is at least one more I will have to make, location related
<freemangordon> also, back then I promised to implement better API for call forwarding
<freemangordon> but those are details
<sicelo> great, i understand
<freemangordon> Dec 11 21:03:38 localhost ofonod[2291]: drivers/qmimodem/voicecall.c:all_call_status_ind() Call 1 in state QMI_VOICE_CALL_STATE_SETUP(10)
<freemangordon> Dec 11 21:04:38 localhost ofonod[2291]: drivers/qmimodem/sms.c:event_notify() msg format 6 PDU length 35
<freemangordon> :)
hexnewbie has quit [Ping timeout: 252 seconds]
hexnewbie has joined #maemo-leste
Twig has quit [Remote host closed the connection]
akossh has joined #maemo-leste
arno11 has joined #maemo-leste
arno11 has quit [Ping timeout: 246 seconds]
<freemangordon> tmlind: if anything, at least we can drop dtmf support from motmdm codec
arno11 has joined #maemo-leste
<Wizzup> does qmi support dtmf?
<freemangordon> looks like
<freemangordon> by the looks of eQMI_VOICE_START_CONT_DTMF and friends
<Wizzup> ok
<freemangordon> d4 modem also supports +VTS command
xmn has joined #maemo-leste
<freemangordon> AT+VTS=?
<freemangordon> +VTS: (0-9,A-D,*,#)
<freemangordon> so that's not an issue
<Wizzup> cool
<freemangordon> volume control is the issue :)
fab_ has quit [Quit: fab_]
Livio has quit [Ping timeout: 264 seconds]
<arno11> do you know guys why we can't stop (and restart) tone-generator ? it fails to find the correct pid
<arno11> and pgrep returns no pid
<arno11> i ask because i lost alerting tone again
<Wizzup> is tone generator used for this?
<Wizzup> (it might be, I don't know)
<arno11> iirc yes
<arno11> but that s a bit confusing
<arno11> Wizzup: i got troubles with 2g calls as well at the same time (after dist-upgrade). Is new debian rules in libcmtspeechdata possibly the root cause ?
<arno11> (with port to dh 10+)
<Wizzup> could be, but I don't think I built any of my changes for chimaera
<arno11> ok
<arno11> it s late, i ll try tomorrow a local cmt build i have, to see if it works better
<arno11> indeed you didn t build it to chimaera so the problem is elsewhere
<arno11> thx for details
<Wizzup> np
Pali has quit [Quit: Pali]
attah has quit [Ping timeout: 244 seconds]
arno11 has left #maemo-leste [#maemo-leste]
attah has joined #maemo-leste
akossh has quit [Quit: Leaving.]