ceene | how come there isn't a standard way on linux of doing DMA transfers to userspace? | 15:56 |
---|---|---|
ceene | char *pos = dma_alloc(16384); dma_queue_transfer(pos); dma_wait(pos); or something like that | 15:57 |
bencoh | ceene: https://stackoverflow.com/questions/23580242/using-dma-memory-transfer-in-user-space | 16:03 |
ceene | that's basically telling people "do not use dma" lol | 16:04 |
sicelo | wiki page for supl proxy - https://wiki.maemo.org/N900_GPS_Proxy | 16:05 |
ceene | there 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 time | 16:06 |
ceene | sicelo: it looks like that supl proxy shuts itself after one transaction | 16:09 |
ceene | if there a reason for that? | 16:10 |
ceene | https://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 |
sixwheeledbeast | ICANN have lifted the price cap on .org, doesn't seem sensible... | 16:11 |
sicelo | ceene: my programming skills are zero, but is it perhaps due to : | 16:14 |
sicelo | if (pdu.pdu->message.present == UlpMessage_PR_msSUPLEND) break; | 16:15 |
ceene | could be | 16:15 |
ceene | but also, it looks like just one supl transaction is enough to help gps? | 16:15 |
ceene | so 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 this | 16:16 |
sicelo | it might help for the supl-proxy side, yes. bencoh also intends to look at making it a proper daemon | 16:17 |
bencoh | sicelo: yay, thanks | 16:18 |
bencoh | sicelo: running proxy in a loop might help, by the way | 16:18 |
bencoh | I suspect location-proxy may issue more than one request in some cases | 16:19 |
sicelo | it'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 |
bencoh | actually the less you use your gps, the more critical agps becomes :) | 16:23 |
sicelo | true | 16:26 |
bencoh | I hardly use my gps as well, but when I need it ... I really want it to work | 16:28 |
sicelo | and it must work quickly | 16:29 |
bencoh | exactly | 16:31 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!