IRC log of #maemo for Sunday, 2016-01-03

xesDocScrutinizer05: warfare: hi! Vbullettin has antispam modules that fail very very often00:08
xesif one ip is in our blacklist it means that it's been reported for malicious activity. I have checked almost every complaint and there was a real plausible reason for the presence in the list. So, in that list there aren't "innocent" users. Which is the purpose to grant a read only access to these bots and spammers?00:21
*** ashneo76 has quit IRC00:21
xessince the blacklist has been applied, i can remember <10 spam posts. When there was only the vbullettin antispam .... well, ask the numbers to the moderators00:25
DocScrutinizer05xes: what about Tor nodes?00:36
DocScrutinizer05and huge NATted networks00:36
xesDocScrutinizer05: do you know which kind of traffic is generated by tor?00:39
DocScrutinizer05all sorts of traffic are routed via tor00:40
DocScrutinizer05yes, probably a lot of spammers use tor as well. But also absolutely innocent users do00:40
xessure. One you have a minute compare the tor exit nodes list with the list of recent attacks on the web00:41
DocScrutinizer05I don't know traffic _generated_ by tor though. Except of course between tor nodes00:41
xesanyway, i can see how this solution is far from perfection (if a perfection exists)00:42
DocScrutinizer05Tor is basically a NAT service, at least as seen from the outside00:42
xesbut we need an efficient solution that vbulletin addons can't provide00:44
DocScrutinizer05there are other NAT that have a very huge userbase behind them. GPRS cellular serices come to mind, and in some eastern-european countries it seems even wired internet is fed through a NAT00:44
DocScrutinizer05I can see a very simple 10-liner "addon" to handle this: on register page check IP of current user against RBL IP list. If match, send that IP to FW for blocking00:46
xesyes, i know00:46
kerioone of the major italian ISPs does carrier-grade NAT00:46
DocScrutinizer05hmm dunno, kerio. That's what I seem to remember00:47
keriono i mean00:47
kerioyou don't have to go that far00:47
kerioG8 country00:47
keriocarrier-grade NAT on a major wired ISP00:47
warfarekerio: most major german cable providers do this.00:47
kerioi think that verizon in the US does nat64 on the phones00:48
DocScrutinizer05how about giving my 10-liner idea a shot?00:52
*** louisdk has joined #maemo00:56
DocScrutinizer05tmo could even report each IP accessing the login page, and FW does the lookup in the RBL and adds the IP to netfilter only when it's a hit in RBL01:04
*** Pali has quit IRC01:15
*** LauRoman|Phone has joined #maemo01:39
*** LauRoman has quit IRC01:42
*** louisdk has quit IRC01:44
*** pozitron has joined #maemo01:47
*** realitygaps has quit IRC01:50
*** realitygaps has joined #maemo01:51
*** realitygaps has joined #maemo01:51
*** louisdk has joined #maemo01:54
*** louisdk has quit IRC02:01
*** jonwil has joined #maemo02:08
*** futpib_ has quit IRC02:09
*** xorly has quit IRC02:19
Wizzupfreemangordon: minor cleanup
*** pozitron has quit IRC02:46
*** Guest54554 has quit IRC02:49
*** Guest54554 has joined #maemo02:49
*** Guest54554 is now known as stryngs02:49
*** louisdk has joined #maemo02:51
*** florian has quit IRC03:03
*** louisdk has quit IRC03:04
*** louisdk has joined #maemo03:24
*** louisdk has quit IRC03:53
*** svetlana has joined #maemo04:06
*** eMHa__ has joined #maemo04:16
*** eMHa_ has quit IRC04:20
*** KotCzarny has quit IRC04:26
*** FlameReaper-PC has joined #maemo04:35
*** Defiant has quit IRC04:41
*** Defiant has joined #maemo04:45
*** RedW has quit IRC05:00
*** RedW has joined #maemo05:02
*** louisdk has joined #maemo05:20
*** louisdk has quit IRC05:49
*** DocScrutinizer05 has quit IRC06:03
*** DocScrutinizer05 has joined #maemo06:04
*** Roth has joined #maemo07:38
*** vahe has joined #maemo07:57
*** jonwil has quit IRC08:08
*** Roth has quit IRC08:10
*** smhar has quit IRC08:20
*** Venusaur has quit IRC08:31
*** Venusaur has joined #maemo08:46
*** sparetire_ has quit IRC08:58
*** Vajb has quit IRC09:10
*** KotCzarny has joined #maemo09:10
KotCzarnyxes, readonly idea would be nice, is there simple way to setup readonly copy of the talk/wiki pages that use the same db (but with ro access only) then redirect/offer a link to offenders09:15
KotCzarnyxes, it could even be done via some simple script that would disallow all POSTs and allow only GETs09:16
*** florian has joined #maemo09:28
*** LauRoman has joined #maemo09:32
*** jonwil has joined #maemo09:48
*** Vajb has joined #maemo10:02
*** Pali has joined #maemo10:04
Palijonwil: hi10:14
Palijonwil: can you document somewhere process or state of pulseaudio-nokia?10:14
PaliI would like to know what is already done10:14
Paliwhat is in progress and what needs to be done10:15
Palie.g. which modules can be reuses from meego/harmattan and which needs to be RE10:15
jonwilWe cant reuse anything from meego/harmattan10:16
Paliit is different or what is reason?10:17
jonwilToo different10:17
PaliI see that e.g. music module is copied from meego10:17
*** FlameReaper-PC has quit IRC10:17
jonwilyeah we are reusing FOSS parts from Meego10:17
jonwilbut we cant reuse any Meego or Harmattan blobs10:18
jonwiland the FOSS bits have been modified heavily to match Maemo10:18
*** LauRoman|Phone has quit IRC10:19
*** Maxdamantus has joined #maemo10:22
jonwilIn terms of whats still todo, there are //todo markers covering which functions still need to be cloned (plus there are functions yet to be cloned that are called by ones marked //todo)10:24
jonwilI have done all the cloning of pulseaudio-nokia that I can do10:24
jonwilwhy the interest in pulseaudio-nokia anyway?10:30
PaliI just like to know current state10:48
Palifreemangordon wrote that some parts after RE are now faster10:49
Paliso maybe they could be good stuff for CSSU10:49
jonwilWhat we have isn't good enough for CSSU yet10:51
MaxdamantusHm. Played around 7 hourse, 28 minutes and 42 seconds of music today, 33% battery remaining.10:57
MaxdamantusThat seems like my normal daily drain.10:58
MaxdamantusMaybe I normally have stuff running that keep the device busy somehow.10:58
KotCzarnymost likely10:59
KotCzarnypowertop etc10:59
* Maxdamantus doesn't understand how powertop works.10:59
* Maxdamantus will probably just strace everything.10:59
Maxdamantusor maybe make a special program that ptraces everything in a controlled fashion.11:00
KotCzarnymaxd, you basically look at the sources of wakeups11:00
MaxdamantusHow low-level are the wakeup sources?11:00
KotCzarnyby device/driver11:00
*** vahe has quit IRC11:01
MaxdamantusSo what does it say when there's a particular task that's just doing a loop over some sleep system call.11:01
Maxdamantustask as in LWP11:01
KotCzarnymaxd, write such program (should be a quickie), run and see the powertop output before/after11:02
*** vahe has joined #maemo11:03
MaxdamantusMk, will do soon.11:05
KotCzarnyi've found out when writing oscp that keeping audio device open (in pause, not writing to it) keeps pulseaudio churning11:06
MaxdamantusThat could explain it.11:06
MaxdamantusI use mpd.11:06
*** hubutm20 has joined #maemo11:08
KotCzarnyfix was simple, but ugly11:09
MaxdamantusWhy ugly?11:10
KotCzarnybecause i dont like it, and because it's PA fault11:10
bencohthey probably do that because of timing issues11:12
KotCzarnyi bet dmix in alsa doesnt do that11:12
MaxdamantusMy pulseaudio process doesn't seem to be doing anything while idle.11:14
Maxdamantusunless you're talking about the library part (which would be part of the music player process)11:15
KotCzarnymaxd: i was talking about 'pause', when stopped apps usually release the device11:15
MaxdamantusYeah, so I'm guessing mpd is releasing the device, whatever that means.11:16
Maxdamantussince all I see is a bunch of threads blocked in some SYS_336 call.11:17
MaxdamantusApparently that's ppoll11:18
Maxdamantussilly maemo version of strace.11:18
Palido you know how to import C header file (with function prototypes and structs) into IDA?11:22
jonwilIs it a header file from the Maemo SDK?11:24
jonwilOr a header file from somewhere else?11:24
KotCzarnyLoadHeaderFile ?11:35
*** Guest45580 has joined #maemo11:40
*** Guest45580 has left #maemo11:40
*** ssvb_ has quit IRC11:45
*** ssvb_ has joined #maemo11:45
*** pozitrono has joined #maemo11:47
*** jonwil has quit IRC11:49
*** jonwil has joined #maemo11:49
freemangordonPali: File->Load File->Parse additional header file12:07
freemangordonkeep in mind you might have to set the include paths12:07
freemangordonPali: in Options->Compiler12:08
freemangordonso the parser to be able to find the #includes in the file it is parsing12:08
Paliparse C header file did not imported structs...12:15
freemangordonPali: check in views->open subviews->local types12:15
Palia ok, they are12:16
freemangordonalso, maybe it is good idea to load tlb that jonwil created12:16
jonwilthats if you are working with Maemo ARM binaries12:16
jonwilif you are working with x86 or something that isn't Maemo, you dont need it12:17
freemangordonyeah, sure12:17
*** Defiant has quit IRC12:18
*** Defiant has joined #maemo12:19
freemangordonPali: sorry about pestering, but could you upgrade kernel to -rc712:19
freemangordonto see if net oops still exists12:19
*** vakkov has quit IRC12:20
Paliok will at it12:21
freemangordonPali: also, I'll look into that mmc slot name, to see how much of a work it is12:24
freemangordonto implement it in mmc core that is12:24
Wizzupare you talking about the fact that mmcblk0 and mmcblk1 are swapped on mainline?12:26
Wizzup(swapped compared to standard maemo kernel)12:26
Wizzupor am I confused again :)12:26
*** LauRoman has quit IRC12:29
*** vakkov has joined #maemo12:31
freemangordonWizzup: in lagacy boot they have the so-called "slot names"12:34
freemangordon"external" and "internal"12:35
keriothe slot swapping is very silly :\12:41
*** futpib_ has joined #maemo12:45
*** jonwil has quit IRC12:47
KotCzarnyhow about probing all mmc devices during boot for some signature?12:50
KotCzarnythat way it wouldnt matter where/what12:50
Palifreemangordon: kernel rebased12:58
Palinow I'm testing compilation12:58
Paliand will push changes to github12:58
Palifreemangordon: can you look at that omapfb bug? infinite loop of division by zero?12:59
Paliit is reproducable in qemu12:59
Paliand also on real n90012:59
Palihit by: echo 0 > /sys/devices/platform/omapdss/overlay0/enabled && echo 0 > /sys/class/graphics/fb0/size13:03
bencohwhat is echo 0 > /sys/class/graphics/fb0/size supposed to do?13:05
bencohI mean, setting size to 0 ... how is that supposed to behave?13:06
KotCzarnybencoh, maybe disabling the fb?13:06
KotCzarnymaybe auto detect something?13:06
Palifreemangordon: code pushed to github13:07
Palibencoh: 0 is special value for omapfb to reset13:07
KotCzarnynonstandard interfaces ahoy!13:09
*** pozitrono has quit IRC13:22
*** ssvb_ has quit IRC13:32
*** ssvb_ has joined #maemo13:32
*** FlameReaper-PC has joined #maemo13:34
*** ssvb_ has quit IRC13:34
*** ssvb_ has joined #maemo13:35
*** xorly has joined #maemo14:00
*** FlameReaper-PC has quit IRC14:08
*** FlameReaper-PC has joined #maemo14:14
*** realitygaps has quit IRC14:27
*** Vajb has quit IRC14:36
*** amospalla has quit IRC14:44
*** smhar has joined #maemo14:45
freemangordonPali: ok, will do14:45
*** amospalla has joined #maemo14:45
*** pozitron has joined #maemo14:46
*** ceene is now known as sslayer14:52
*** smhar has quit IRC14:55
freemangordonPali: "ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks" is still in the tree14:55
*** realitygaps has joined #maemo14:55
*** realitygaps has quit IRC14:55
*** realitygaps has joined #maemo14:55
Paliforgot to drop :-(14:55
*** ArGGu^^ has quit IRC14:59
*** smhar has joined #maemo15:01
*** vahe has quit IRC15:10
*** krnlyng has quit IRC15:22
*** raandoom has joined #maemo15:23
*** mp_ has joined #maemo15:24
*** krnlyng has joined #maemo15:25
*** krnlyng has quit IRC15:27
*** krnlyng has joined #maemo15:28
*** ArGGu^^ has joined #maemo15:30
*** Kabouik has quit IRC15:33
*** N-Mi has joined #maemo15:36
*** Vajb has joined #maemo15:48
*** ashley has quit IRC16:01
*** ashley has joined #maemo16:02
*** ashley has joined #maemo16:02
*** ashley has joined #maemo16:06
*** ashley has joined #maemo16:06
freemangordonWizzup: ping16:13
*** realitygaps has quit IRC16:15
Wizzupfreemangordon: pong16:15
freemangordonWizzup:, line 5216:15
freemangordonare you sure this is the correct way to match?16:16
freemangordonev_keys[p][q] gives us a keycode16:16
WizzupLet me look16:17
*** Vajb has quit IRC16:18
Wizzupfreemangordon: Are you sure that is called keycode? Those constants are defined in linux/input.h and iirc are the right way to compare to/with16:18
freemangordonnot sure how's that called16:19
freemangordonhowever , could you look at
WizzupI mean, a stupid answer would be: "it works", but now I want to double check what I did16:19
freemangordonif you tested it, then it is me that screwed something16:19
*** ToJa92_ has quit IRC16:19
freemangordonlook at the pastebin16:20
*** ToJa92 has joined #maemo16:20
freemangordonthat one gives me error on mce: match_event_file_by_caps: ioctl(EVIOCGBIT) failed on `/dev/input/eventN', where N = 0,1,2,4,5,616:20
WizzupOn maemo?16:21
freemangordonfor event3 (which is our gpio switch) it doesn;t give error, but does not find a match either16:21
freemangordonlinux 4.4-rc716:21
*** keithzg_ has quit IRC16:21
freemangordonbut evtest works just fine there16:21
freemangordonoh, no, event3 is accell :)16:22
Wizzupdoes it give that error in the loop or outside of the loop? (when getting events or when getting keys)16:23
Wizzupfreemangordon: btw, I think line 41 is incorrect in your paste16:23
freemangordonno idea, have to tweak the code, gimme a minute16:23
Wizzupfreemangordon: continue should really be return -1;16:23
Wizzupif one of the request event types is not export, it cannot be the device you're looking fo16:24
Wizzupis not exported*16:24
Wizzupthat is what my code did on line 41 (same line, heh)16:24
freemangordonno, I want to match at least one of the request types :)16:24
freemangordonthe same for the keycodes16:24
WizzupAh. I thought you wanted to match all.16:24
freemangordonno, match at least one16:25
freemangordonin the meanwhile, this is what evtest gives me
KotCzarnyfun of third party code writing16:25
KotCzarnyand specs/reqs not written16:25
freemangordonyeah :)16:25
WizzupLet me add error checks to my original ioctl code and see what happens16:26
freemangordonWizzup: wait a second, building16:26
freemangordonWizzup: mce: match_event_file_by_caps: ioctl(EVIOCGBIT, EV_MAX) failed on `/dev/input/event6'16:27
WizzupAre you sure all the ioctl's use the return value for error indication?16:27
Wizzupperror gives me 'success'16:27
Wizzupmatch_device: can't get events: Success16:27
Wizzupnot all ioctl's return nonzero on failure16:27
freemangordonaccording to man ioctl, it should return 0 on success16:27
Wizzupnot always16:27
*** keithzg has joined #maemo16:28
Wizzup       Usually, on success zero is returned.  A  few  ioctl()  requests  use  the16:28
Wizzup       return value as an output parameter and return a nonnegative value on suc‐16:28
Wizzup       cess.  On error, -1 is returned, and errno is set appropriately.16:28
WizzupLet me check - because errno is not set here16:28
freemangordonah, I see16:28
WizzupWhich makes me assume that there is in fact, 'no error'16:28
Wizzupbut let me double check.16:28
freemangordonI should check for -116:28
freemangordonyeah, my bad, let me fix that and test again16:28
WizzupYeah, it both line 21 and 45 return -1 on error16:29
WizzupI think both*16:29
Wizzupoh - indent16:30
freemangordonyep, it was that one16:30
freemangordonsorry for the noise16:30
Wizzupnp :)16:30
freemangordonthat result in "mce: Match found on `/dev/input/event6'"16:31
WizzupThat is what you wanted, right? (I don't know what event6 is)16:32
WizzupAh, I see the evtest paste16:32
WizzupSo that's good, then :)16:32
freemangordonyep, thanks16:32
Wizzupp.s. maybe you can somehow use errno in the mce_og16:33
Wizzuphang on - phone16:33
freemangordonin theory yes, but I don't really think it makes sense16:34
freemangordonI don;t see errno used in the other parts of the code16:34
WizzupI just meant that if ioctl's fail, it is sometimes useful to know why16:35
Wizzupbut this is good enough :)16:35
freemangordonyes, got the idea16:36
Wizzupalso ioctl's should not return anything other than -1 on error, but I guess < 0 is fine too (according to the man page)16:36
*** raandoom has quit IRC16:42
*** at1as has quit IRC16:46
Wizzupfreemangordon: wrt the test_bit, it turns the 'key code' into a proper index in the bit array and checks if that bit is set16:47
Wizzupso I think it is correct16:47
*** realitygaps has joined #maemo16:48
*** realitygaps has joined #maemo16:48
Wizzupat least I saw no false matches - but I may be wrong16:48
freemangordonok, makes sense16:48
*** Pali has quit IRC16:56
*** louisdk has joined #maemo17:00
*** louisdk has quit IRC17:31
*** louisdk has joined #maemo17:41
*** fuz_ has quit IRC17:42
*** florian has quit IRC17:45
*** vahe has joined #maemo17:45
*** krnlyng has quit IRC18:01
*** krnlyng has joined #maemo18:04
*** fuz_ has joined #maemo18:05
*** amospalla has quit IRC18:08
*** amospalla has joined #maemo18:09
*** raandoom has joined #maemo18:21
*** realitygaps has quit IRC18:23
*** hubutm20 has quit IRC18:24
*** smhar has quit IRC18:29
*** eijk has joined #maemo18:31
*** Venusaur has quit IRC18:38
*** Gizmokid2005 has quit IRC18:41
*** at1as has joined #maemo18:43
*** Gizmokid2005 has joined #maemo18:43
*** Gizmokid2010 has joined #maemo18:46
*** Gizmokid2005 has quit IRC18:46
*** at1as has quit IRC18:47
*** at1as has joined #maemo18:47
*** Gizmokid2010 is now known as Gizmokid200518:47
sslayersomeone knows something about qt?18:50
sslayerif i compile qt4 against new libssl18:50
sslayerwill it support new protocols18:50
sslayeror it will simply use new libssl but only supporting those on
sslayerand on the other hand... are there lots of changes between upstream qt and maemo's?18:52
sslayershould these be all?18:53
sslayeralthough those are not very useful18:53
sslayer content is just 'This patch was too large to be useful so it was removed.'18:53
sslayeri'd think that an empty patch is less useful than a very large one...18:54
*** Venusaur has joined #maemo18:54
*** at1as has quit IRC18:56
*** realitygaps has joined #maemo18:58
*** realitygaps has quit IRC18:58
*** realitygaps has joined #maemo18:58
*** at1as has joined #maemo18:58
*** smhar has joined #maemo19:00
*** at1as has quit IRC19:04
*** Vajb has joined #maemo19:04
*** florian has joined #maemo19:12
*** at1as has joined #maemo19:15
*** Vajb has quit IRC19:18
*** at1as has quit IRC19:19
*** ssvb has joined #maemo19:53
*** at1as has joined #maemo19:58
*** sslayer is now known as ceene20:14
*** trumee has quit IRC20:19
*** trumee has joined #maemo20:28
*** Vajb has joined #maemo20:29
*** sparetire_ has joined #maemo20:31
*** krnlyng has quit IRC20:37
*** krnlyng has joined #maemo20:45
*** louisdk has quit IRC20:49
*** realitygaps has quit IRC20:52
*** louisdk has joined #maemo21:16
*** louisdk has quit IRC21:20
*** louisdk has joined #maemo21:21
*** trumee has quit IRC21:25
*** trumee has joined #maemo21:27
*** trumee has quit IRC21:38
*** trumee has joined #maemo21:42
*** Oksanaa has joined #maemo21:45
OksanaaWhen will voting start on camera competition? Jan is here, already... And, people are looking for vouchers on the marketplace :-)21:49
*** pigeon has quit IRC22:00
*** Kabouik has joined #maemo22:22
*** vakkov has quit IRC22:38
*** krnlyng has quit IRC22:45
*** vakkov has joined #maemo22:53
*** LauRoman has joined #maemo22:57
*** krnlyng has joined #maemo22:58
*** eijk has quit IRC23:00
*** trumee has quit IRC23:00
*** Ongkut has joined #maemo23:06
*** Ongkut has quit IRC23:06
*** ced117 has quit IRC23:07
*** mp_ has quit IRC23:08
*** arcean has joined #maemo23:12
*** Oksanaa has quit IRC23:14
*** jonwil has joined #maemo23:16
freemangordonjonwil: hi23:21
freemangordonjonwil: Wizzup: please review the last 5 commits here if you have time and will :)23:25
jonwilAll of this stuff is meant to still work on stock kernel as well as upstream?23:26
freemangordonyes, it is supposed to still work23:27
freemangordondidn;t test it though23:27
* freemangordon reboots in KP23:27
WizzupI have to learn a bit more about what mce does exactly, I'll probably clone the repo later - but the commits looks sane23:29
Wizzup line 382 has an underindented } though I think?23:29
Wizzupfirst file23:29
jonwillooks correct to me there23:31
*** Sicelo009N has joined #maemo23:32
jonwilJust installed the new MCE on my device :)23:32
Wizzupjonwil: isn't it part of the switch23:32
*** louisdk has quit IRC23:50
freemangordonWizzup: github shos it like that23:51
freemangordonjonwil: no damages on KP23:51
freemangordonunfortunately on 4.4 udev hogs the cpu23:51
jonwilworking just fine on stock kernel here23:51
freemangordonI guess udev tries to do something with /dev/input/event_gpio_keys23:52
ceeneyou want me guys to review something?23:55
ceeneor to test, if you guide me through and confirm that it won't need flashing23:56
ceenei got data in there23:56
ceenei'm searching for another n900 just for development23:56
freemangordonceene: feel free to review latest patches to mce, if you feel like so23:56
*** realitygaps has joined #maemo23:59
*** realitygaps has quit IRC23:59
*** realitygaps has joined #maemo23:59

Generated by 2.15.1 by Marius Gedminas - find it at!