libera/#maemo/ Monday, 2019-07-01

ceenehow come there isn't a standard way on linux of doing DMA transfers to userspace?15:56
ceenechar *pos = dma_alloc(16384); dma_queue_transfer(pos); dma_wait(pos); or something like that15:57
bencohceene: https://stackoverflow.com/questions/23580242/using-dma-memory-transfer-in-user-space16:03
ceenethat's basically telling people "do not use dma" lol16:04
sicelowiki page for supl proxy - https://wiki.maemo.org/N900_GPS_Proxy16:05
ceenethere are a couple of kernel drivers that are intended for this, one even from xilinx which is the platform i'm using, so I'll try that... but they all look hackish, are not upstreamend and don't look like they will any time16:06
ceenesicelo: it looks like that supl proxy shuts itself after one transaction16:09
ceeneif there a reason for that?16:10
ceenehttps://github.com/tajuma/supl/blob/master/src/supl-proxy.c I see there's a while(1) loop, so supl-proxy dying is because of a bug?16:11
sixwheeledbeastICANN have lifted the price cap on .org, doesn't seem sensible...16:11
siceloceene: my programming skills are zero, but is it perhaps due to :16:14
siceloif (pdu.pdu->message.present == UlpMessage_PR_msSUPLEND)  break;16:15
ceenecould be16:15
ceenebut also, it looks like just one supl transaction is enough to help gps?16:15
ceeneso maybe it doesn't really matter much, in which case simply an upstart file requesting supl-proxy to be restarted over and over again is enough to ease this16:16
siceloit might help for the supl-proxy side, yes. bencoh also intends to look at making it a proper daemon16:17
bencohsicelo: yay, thanks16:18
bencohsicelo: running proxy in a loop might help, by the way16:18
bencohI suspect location-proxy may issue more than one request in some cases16:19
siceloit'd be great to find out the circumstances needed for that. i don't use GPS a lot, but can defintely help with any needed testing :)16:21
bencoh:)16:22
bencohactually the less you use your gps, the more critical agps becomes :)16:23
sicelotrue16:26
bencohI hardly use my gps as well, but when I need it ... I really want it to work16:28
siceloand it must work quickly16:29
bencohexactly16:31

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