IRC log of #maemo for Tuesday, 2014-07-15

*** b1101 has joined #maemo00:04
*** norayr has joined #maemo00:05
*** shentey has quit IRC00:07
*** freemangordon has quit IRC00:16
*** jaykru has quit IRC00:18
*** janemba has quit IRC00:23
*** janemba has joined #maemo00:24
sixwheeledbeastWhy would you need to download the packages to make it happen offline00:24
sixwheeledbeasto.O00:25
*** peterbjornx has joined #maemo00:25
kerio?00:26
*** freemangordon has joined #maemo00:33
*** Snafu777 has joined #maemo00:36
Snafu777Is it possible to install cssu completly offline?00:36
Snafu777I know this is unconventional, but I am curious00:36
*** arcean__ has joined #maemo00:48
*** arcean__ is now known as arcean00:48
*** arcean_ has quit IRC00:49
SiceloSnafu777: the possibility is there of course ... use `apt-get -d install <pkg-name>`01:06
Siceloif you later open up HAM and want to install CSSU, it will (or should) realize that these packages have already been downloaded, and won't redownload. that means, offline :D01:08
*** jaykru has joined #maemo01:08
Snafu777Right, but do you not have to go to the website using the phone at some pt?01:10
*** freemangordon has quit IRC01:13
*** HeartMeeple has joined #maemo01:19
*** HeartMeeple has quit IRC01:20
*** hurrian has joined #maemo01:31
*** hurrian has quit IRC01:31
*** hurrian has joined #maemo01:31
*** at1as has quit IRC01:35
*** florian has quit IRC01:43
*** jaykru has quit IRC01:45
*** hurrian has quit IRC01:56
*** LauRoman has quit IRC01:57
*** protem has quit IRC02:29
*** louisdk has joined #maemo02:31
*** lbt has quit IRC02:34
*** lbt has joined #maemo02:35
*** jehyt has joined #maemo02:42
jehytتحذير02:42
jehytwarning02:42
jehyt you may be  watched02:42
jehytdo usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy??02:42
jehytdo usa&israel use the internet 2 collect informations,,can we call that spying??02:42
jehytdo they record&analyse everything we do on the internet,,can they harm you using these informations??02:42
jehytwarning02:42
*** jehyt has quit IRC02:42
*** jehyt has joined #maemo02:42
*** jehyt has joined #maemo02:43
*** jehyt has joined #maemo02:43
*** jehyt has joined #maemo02:43
*** jehyt has joined #maemo02:43
*** jehyt has left #maemo02:44
*** protem has joined #maemo02:46
*** protem has joined #maemo02:46
*** ult has quit IRC02:49
*** nox- has quit IRC02:50
*** xes has quit IRC02:51
*** otep has quit IRC02:56
*** louisdk has quit IRC03:07
*** Kabouik_ has quit IRC03:23
*** astr has quit IRC03:29
*** robbiethe1st has joined #maemo03:42
*** arcean has quit IRC04:02
*** eMHa has joined #maemo04:05
*** goldkatze has quit IRC04:10
*** bef0rd has joined #maemo04:27
*** silviof1 has joined #maemo05:01
*** silviof has quit IRC05:03
*** Snafu777 has quit IRC05:14
*** jaykru has joined #maemo05:22
*** maybeWTF has quit IRC05:33
*** lbt has quit IRC05:42
*** norayr has quit IRC05:42
*** Gadgetoid has quit IRC05:42
*** g3kk3r has quit IRC05:42
*** Psi_ has quit IRC05:42
*** japa-fi has quit IRC05:42
*** lool has quit IRC05:42
*** ssvb_ has quit IRC05:42
*** kerio has quit IRC05:42
*** Wnt has quit IRC05:42
*** g3kk3r has joined #maemo05:42
*** Psi has joined #maemo05:42
*** lbt has joined #maemo05:42
*** lbt has quit IRC05:42
*** lbt has joined #maemo05:42
*** lool has joined #maemo05:42
*** ssvb_ has joined #maemo05:42
*** japa-fi has joined #maemo05:43
*** norayr has joined #maemo05:43
*** Gadgetoid has joined #maemo05:44
*** kerio has joined #maemo05:44
*** maybeWTF has joined #maemo05:46
*** Wnt has joined #maemo05:47
*** lxp1 has joined #maemo06:01
*** lxp has quit IRC06:04
*** beford has joined #maemo06:08
*** Wnt has quit IRC06:12
*** maybeWTF has quit IRC06:12
*** kerio has quit IRC06:12
*** Gadgetoid has quit IRC06:12
*** b-p has quit IRC06:12
*** ChanServ has quit IRC06:12
*** japa-fi has quit IRC06:12
*** robbiethe1st has quit IRC06:12
*** peterbjornx has quit IRC06:12
*** b1101 has quit IRC06:12
*** Malinux has quit IRC06:12
*** felipe` has quit IRC06:12
*** Agge has quit IRC06:12
*** Scorcerer has quit IRC06:12
*** ab has quit IRC06:12
*** oniongarlic has quit IRC06:12
*** silviof1 has quit IRC06:12
*** bef0rd has quit IRC06:12
*** pdz has quit IRC06:12
*** Khertan_Atwork has quit IRC06:12
*** mhanne_ has quit IRC06:12
*** Elfix has quit IRC06:12
*** wnd has quit IRC06:12
*** MohammadAG has quit IRC06:12
*** kylanpaj_ has quit IRC06:12
*** edheldil has quit IRC06:12
*** Elleo has quit IRC06:12
*** Sc0rpius has quit IRC06:12
*** disco_stu has quit IRC06:12
*** anYc has quit IRC06:12
*** mario has quit IRC06:12
*** ruskie has quit IRC06:12
*** torindel has quit IRC06:12
*** `0660 has quit IRC06:12
*** ToJa92 has quit IRC06:12
*** joga has quit IRC06:12
*** RedW has quit IRC06:12
*** qwazix has quit IRC06:12
*** Humpelstilzchen has quit IRC06:12
*** githogori has quit IRC06:12
*** clopez has quit IRC06:12
*** XDS2010_ has quit IRC06:12
*** rZr has quit IRC06:12
*** dos1 has quit IRC06:12
*** dvoid_ has quit IRC06:12
*** pigeon has quit IRC06:12
*** chem|st has quit IRC06:12
*** elias_a has quit IRC06:12
*** realitygaps has quit IRC06:12
*** rm_work has quit IRC06:12
*** timeless has quit IRC06:12
*** yosafbridge has quit IRC06:12
*** Natch has quit IRC06:12
*** Earthwings has quit IRC06:12
*** doc|home has quit IRC06:12
*** r00t|home has quit IRC06:12
*** jabis has quit IRC06:12
*** totalizator has quit IRC06:12
*** mhlavink has quit IRC06:12
*** Milhouse has quit IRC06:12
*** chadi has quit IRC06:12
*** RST38h has quit IRC06:12
*** robink has quit IRC06:12
*** Veggen has quit IRC06:12
*** psycho_oreos has quit IRC06:12
*** inz has quit IRC06:12
*** discopig has quit IRC06:12
*** chainsawbike has quit IRC06:12
*** cpt_nemo has quit IRC06:12
*** ecc3g has quit IRC06:12
*** SpeedEvil has quit IRC06:12
*** jayne has quit IRC06:12
*** TTilus has quit IRC06:12
*** soltys has quit IRC06:12
*** RP_ has quit IRC06:12
*** grinsekatze has quit IRC06:12
*** DarkFox has quit IRC06:12
*** esaym153 has quit IRC06:12
*** jabis_ has joined #maemo06:20
*** japa-fi has joined #maemo06:20
*** silviof1 has joined #maemo06:20
*** bef0rd has joined #maemo06:20
*** robbiethe1st has joined #maemo06:20
*** peterbjornx has joined #maemo06:20
*** b1101 has joined #maemo06:20
*** pdz has joined #maemo06:20
*** Natch has joined #maemo06:20
*** Earthwings has joined #maemo06:20
*** doc|home has joined #maemo06:20
*** r00t|home has joined #maemo06:20
*** Khertan_Atwork has joined #maemo06:20
*** RedW has joined #maemo06:20
*** qwazix has joined #maemo06:20
*** Humpelstilzchen has joined #maemo06:20
*** totalizator has joined #maemo06:20
*** githogori has joined #maemo06:20
*** clopez has joined #maemo06:20
*** Malinux has joined #maemo06:20
*** XDS2010_ has joined #maemo06:20
*** robink has joined #maemo06:20
*** mhlavink has joined #maemo06:20
*** mhanne_ has joined #maemo06:20
*** oniongarlic has joined #maemo06:20
*** Scorcerer has joined #maemo06:20
*** ab has joined #maemo06:20
*** Agge has joined #maemo06:20
*** felipe` has joined #maemo06:20
*** joga has joined #maemo06:20
*** ToJa92 has joined #maemo06:20
*** `0660 has joined #maemo06:20
*** torindel has joined #maemo06:20
*** ruskie has joined #maemo06:20
*** mario has joined #maemo06:20
*** anYc has joined #maemo06:20
*** disco_stu has joined #maemo06:20
*** Sc0rpius has joined #maemo06:20
*** Elleo has joined #maemo06:20
*** edheldil has joined #maemo06:20
*** kylanpaj_ has joined #maemo06:20
*** MohammadAG has joined #maemo06:20
*** wnd has joined #maemo06:20
*** Elfix has joined #maemo06:20
*** yosafbridge has joined #maemo06:20
*** timeless has joined #maemo06:20
*** rm_work has joined #maemo06:20
*** realitygaps has joined #maemo06:20
*** elias_a has joined #maemo06:20
*** chem|st has joined #maemo06:20
*** pigeon has joined #maemo06:20
*** dvoid_ has joined #maemo06:20
*** rZr has joined #maemo06:20
*** dos1 has joined #maemo06:20
*** Veggen has joined #maemo06:20
*** psycho_oreos has joined #maemo06:20
*** inz has joined #maemo06:20
*** Milhouse has joined #maemo06:20
*** discopig has joined #maemo06:20
*** chainsawbike has joined #maemo06:20
*** chadi has joined #maemo06:20
*** cpt_nemo has joined #maemo06:20
*** RST38h has joined #maemo06:20
*** ecc3g has joined #maemo06:20
*** SpeedEvil has joined #maemo06:20
*** DarkFox has joined #maemo06:20
*** jayne has joined #maemo06:20
*** TTilus has joined #maemo06:20
*** soltys has joined #maemo06:20
*** RP_ has joined #maemo06:20
*** grinsekatze has joined #maemo06:20
*** esaym153 has joined #maemo06:20
*** Wnt has joined #maemo06:22
*** maybeWTF has joined #maemo06:22
*** kerio has joined #maemo06:22
*** Gadgetoid has joined #maemo06:22
*** b-p has joined #maemo06:23
*** ChanServ has joined #maemo06:23
*** verne.freenode.net sets mode: +o ChanServ06:23
*** janemba has quit IRC06:29
*** janemba has joined #maemo06:30
DocScrutinizer05maemo council elections closed. results calculated. see http://maemo.org/vote/results.php?election_id=3706:56
*** erlehmann has quit IRC07:00
DocScrutinizer05thank you to all community members who bothered to vote! And of course a big thank you to all candidates. And a plea to those candidates who were not elected: please stay in close contact with all council activities, we for sure will like to see you standing for elections again in 6 months, and until then your help is very welcome no matter if you're a elected member of council or not. The experience will benefit your candidature on next07:01
DocScrutinizer05council elections07:01
*** robbiethe1st has quit IRC07:20
DocScrutinizer05om a sidenote: from http://maemo.org/vote/votes.php?election_id=37 it's actually worrying how many ballots demonstrate that we (council) didn't manage to explain how the votes work. While number of voted candidates = 5 is ideal and <=5 is still reasonable, I'd count the =1 votes ballots already into the group of >5 votes, which look like voter didn't get the concept of the election07:30
DocScrutinizer05there are _way_ too many ballots with >5 votes, which are not causing trouble in themselves but suggest that voter didn't understand that voting for candidate #6 and beyond is absolutely meaningless07:31
DocScrutinizer05in that context I finally want to pick up on loose end of my suggestion a 6 or 12 months ago: always have a pseudo-candidate "that's enough" which voters can chose and which will cause election counting to terminate when this pseudo candidate gets elected into council.07:33
*** silviof1 is now known as silviof07:34
DocScrutinizer05Lemme elaborate: when counting of votes results in: 1: Alice, 2: Bob, 3: Christine, 4: Thats_Enough, 5: Eric - then the council will consist of Alice, Bob, Christine only07:35
DocScrutinizer05note that an abstention to vote is not identical to voting for Thats_Enough07:37
*** totalizator has quit IRC07:44
*** janemba has quit IRC07:48
*** totalizator has joined #maemo07:49
*** janemba has joined #maemo07:49
*** beford has quit IRC08:02
*** bef0rd has quit IRC08:03
*** jormungandr has joined #maemo08:20
*** freemangordon has joined #maemo08:30
*** dhbiker has joined #maemo08:32
*** ludens has quit IRC08:34
*** japa-fi has quit IRC08:35
*** japa-fi has joined #maemo08:36
*** VDVsx has quit IRC08:42
DocScrutinizer05any mobile phone core developer around? ([ex] Nokia highly welcome)  I'd like to discuss under which (APE CPU) conditions the modem should get shut down hard. To explain, an example: When for whatever reason CPU shuts down (let's assume the OMAP would shut down on 3.6V Vbatt while modem can run down to 2.5V battery voltage) then we probably want to make damn sure that modem doesn't live on a a phantom in the machine. Anybody who got08:52
DocScrutinizer05experience/info from practivce and likes to share it with me?08:52
DocScrutinizer05other example scenario: user eventually moved swap to uSD, now does a inmarsat call (12 bucks per minute) and during that call the uSD contacts see a glitch and APE kernel blows chunks aka kernel panic. Subsequently the APE shuts down pretty hard, to reboot. But reboot fails for same uSD contact problem. All the time the established call stays and kills user's economy. And then let's assume this happens 2 minutes before boarding call on08:57
DocScrutinizer05airport08:57
freemangordonDocScrutinizer05: I am not one of those (as you know), but looking at the signalling in N900, the above scenario is not going to happen. By looking at the schematics it seems that CMT_RST_RQ will be help asserted in case of OMAP reset/power off.09:06
DocScrutinizer05yes09:06
DocScrutinizer05:-)09:06
DocScrutinizer05that's what I think I detected in N900: mutual "watchdog"09:07
DocScrutinizer05I'm just interested in the more abstract design rationale and architecture, if there's a best practice commonly used, or whatever.09:08
freemangordonTBH I have no idea under what conditions CMT would want an APE reset09:08
freemangordonI see09:08
*** VDVsx has joined #maemo09:08
DocScrutinizer05when APE gone stale?09:08
freemangordonbut how would CMT detect that?09:08
DocScrutinizer05when there's a dynamic watchdog concept then it may detect09:09
DocScrutinizer05CMT may want to see a keep aloive packet once per second, maybe only during calls. Dunno. That's exactly what I want to learn09:09
freemangordonhmm, makes sense09:10
DocScrutinizer05(not that such scheme could easily get implemented into arbitrary other modems)09:11
*** ludens has joined #maemo09:13
*** norayr has quit IRC09:19
freemangordonDocScrutinizer05: wait, I start to think it is not like that (mutual watchdog), APE_RST_RQ needs working APE to be processed. It is connected to GPIO, not to some reset pin on OMAP/TWL09:19
freemangordonso it is most probably used as an application/protocol level reset, rather than APE hard reset09:20
freemangordonlook at cmtspeech_nokiamodem.c09:20
DocScrutinizer05freemangordon: good spotting! :-)09:21
DocScrutinizer05freemangordon: is there a explanation of what APE_RST_RQ is meant to do? whether it's input or output, and so on?09:22
freemangordonit is output from CMT to APE09:23
DocScrutinizer05thanks!09:23
DocScrutinizer05more info? :-D09:23
DocScrutinizer05IRQ handler, for example?09:24
DocScrutinizer05(would make some sense)09:24
freemangordonjust a mminute09:25
freemangordonDocScrutinizer05: look at https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hsi/clients/nokia-modem.c?id=refs/tags/v3.16-rc5#n5109:25
DocScrutinizer05:-D09:26
DocScrutinizer05dev_info(modem->device, "CMT rst line change detected\n");   \o/09:26
DocScrutinizer05O*M*G!!!09:26
freemangordonyep. and upstream code is pretty much close to Nokia code IIRC09:27
DocScrutinizer05SSI_reset09:27
DocScrutinizer05you recall my rant about HSI failing/stalling since OMAP loses IRQs?09:27
DocScrutinizer05OMAP4 here09:27
DocScrutinizer05this looks so damn identical to how we had to handle that problem for OMAP409:27
freemangordonhmm, I don;t think this code workarounds anything09:29
freemangordonit just passes APE_RST_RQ to userland, resetting ssi in the meantime09:29
DocScrutinizer05exactly. But why resetting SSI?09:29
freemangordonbecause CMT wants us to do it09:30
DocScrutinizer05sure09:30
freemangordonfreemangordon 9,08,0409:30
freemangordonTBH I have no idea under what conditions CMT would want an APE reset09:30
DocScrutinizer05I cannot think of any non-pathological case where SSI/HSI needs reset09:30
DocScrutinizer05I can :-D09:31
freemangordonhmm?09:31
DocScrutinizer05err I have :-d09:31
DocScrutinizer05CMT wants a APE (incl SSI) reset when CMT FIFO for SSI overflows09:31
*** odin_ has joined #maemo09:31
DocScrutinizer05due to APE not servicing the SSI interrupts09:32
DocScrutinizer05now that should never happen, unless SSI hw IF is somehow fux0red09:32
freemangordonwell, maybe it is possible, even if HW is ok09:33
DocScrutinizer05after all SSI should have its own "embedded" IRQ machine09:33
freemangordoniirc from the ssi code, we have 2 modes, "direct" and DMA09:34
freemangordonI guess if the system is overloaded it is possible to have FIFO overrun in both cases09:34
DocScrutinizer05transferring a data word via HSI/SSI from sender to receiver hw block shall work autonomously, and receiver hw block shall trigger an IRQ "data in buffer to fetch!"09:34
DocScrutinizer05yes, overload is one possible cause09:35
freemangordonyes, but data is fetched in a workqueue outside of the IRQ handler09:35
DocScrutinizer05but even then the SSI hw doesn't need reset09:35
freemangordonso, even if the IRQ is served we can still have overflow09:35
DocScrutinizer05overflow is just overflow09:36
DocScrutinizer05eventually APE will handle it09:36
DocScrutinizer05no need for an extra line to ask APE to reset SSI hw09:36
freemangordonlook, this is "ssip_reset_event(modem->ssi_protocol)", i.e. "CMT asserted the reset line"09:36
DocScrutinizer05fck HSI/SSI09:36
DocScrutinizer05SSI is a synchronous protocol that simply transfers 8 bit (usually, other word sizes are possible) from sender to receiver09:37
freemangordonDocScrutinizer05: look at http://code.metager.de/source/xref/linux/stable/drivers/hsi/clients/ssi_protocol.c#103809:37
freemangordonwe don't really have ssi reset09:38
DocScrutinizer05oooh09:38
freemangordonthis is treated as an error condition, buffers are emtied, etc09:38
freemangordonemptied even09:39
freemangordonif I read the code correctly09:39
freemangordonanyway, have to leave, bbl09:39
DocScrutinizer05err http://code.metager.de/source/xref/linux/stable/drivers/hsi/clients/ssi_protocol.c#45509:40
DocScrutinizer05freemangordon: thanks a ton! have a nice day!09:40
freemangordonsure, but look at what ssip_+reset does09:40
freemangordon*ssip_reset09:40
freemangordonhttp://code.metager.de/source/xref/linux/stable/drivers/hsi/clients/ssi_protocol.c#ssip_reset09:41
freemangordonIMO this is "logical" reset, not a hard one09:41
DocScrutinizer05o.O http://code.metager.de/source/xref/linux/stable/drivers/hsi/clients/ssi_protocol.c#41209:42
DocScrutinizer05the problem is: OMAP HSI has no decent reset ;-P09:44
DocScrutinizer05since nobody ever thought it would need any09:44
DocScrutinizer05so all you can do is flush buffers and setup all IRQ handlers and timers and whatnot anew. Or you go brute force and power down the complete power domain, which also resets several other interfaces (UART? cannot recall details) --- disclaimer: IIRC09:45
*** rcg has joined #maemo09:53
*** tanty_off is now known as tanty09:58
*** pdz has quit IRC09:59
*** pdz has joined #maemo09:59
*** goldkatze has joined #maemo10:00
*** janemba has quit IRC10:08
*** LauRoman has joined #maemo10:09
*** janemba has joined #maemo10:09
*** janemba has quit IRC10:13
*** janemba has joined #maemo10:14
*** florian_kc has joined #maemo10:22
*** FReaper-PC has joined #maemo10:27
*** janemba has quit IRC10:27
*** janemba has joined #maemo10:28
*** Ashley` has quit IRC10:29
*** FlameReaper-PC has quit IRC10:29
*** BlackBox__ has joined #maemo10:33
*** Ashley` has joined #maemo10:33
*** FReaper-PC has quit IRC10:35
*** ult has joined #maemo10:46
*** florian_kc is now known as florian10:54
*** Kabouik has joined #maemo10:58
*** ludens has quit IRC11:03
*** protem has quit IRC11:04
*** ludens has joined #maemo11:17
*** amizraa has quit IRC11:27
*** amizraa has joined #maemo11:27
*** AD-N770 has joined #maemo11:32
*** jabis_ is now known as jabis11:41
*** janemba has quit IRC11:49
*** janemba has joined #maemo11:50
*** arcean has joined #maemo11:54
*** lbt_ has joined #maemo11:59
*** lbt_ has joined #maemo11:59
*** lbt has quit IRC11:59
*** hurrian has joined #maemo12:00
*** hurrian has quit IRC12:00
*** hurrian has joined #maemo12:00
*** Kabouik has quit IRC12:01
*** Kabouik has joined #maemo12:02
*** Milhouse has quit IRC12:03
*** Milhouse has joined #maemo12:18
*** LauRoman has quit IRC12:19
APicCelebrate Confuflux.12:32
*** ult has quit IRC12:56
*** florian has quit IRC12:56
*** japa-fi has quit IRC12:56
*** freemangordon has quit IRC12:56
*** peterbjornx has quit IRC12:56
*** b1101 has quit IRC12:56
*** Malinux has quit IRC12:56
*** felipe` has quit IRC12:56
*** Agge has quit IRC12:56
*** Scorcerer has quit IRC12:56
*** ab has quit IRC12:56
*** oniongarlic has quit IRC12:56
*** AD-N770 has quit IRC12:56
*** ludens has quit IRC12:56
*** goldkatze has quit IRC12:56
*** esaym153 has quit IRC12:56
*** jabis has quit IRC12:56
*** silviof has quit IRC12:56
*** Khertan_Atwork has quit IRC12:56
*** mhanne_ has quit IRC12:56
*** Elfix has quit IRC12:56
*** wnd has quit IRC12:56
*** MohammadAG has quit IRC12:56
*** kylanpaj_ has quit IRC12:56
*** edheldil has quit IRC12:56
*** Elleo has quit IRC12:56
*** Sc0rpius has quit IRC12:56
*** disco_stu has quit IRC12:56
*** anYc has quit IRC12:56
*** mario has quit IRC12:56
*** ruskie has quit IRC12:56
*** torindel has quit IRC12:56
*** `0660 has quit IRC12:56
*** ToJa92 has quit IRC12:56
*** joga has quit IRC12:56
*** RedW has quit IRC12:56
*** qwazix has quit IRC12:56
*** Humpelstilzchen has quit IRC12:56
*** githogori has quit IRC12:56
*** clopez has quit IRC12:56
*** XDS2010_ has quit IRC12:56
*** rZr has quit IRC12:56
*** dos1 has quit IRC12:56
*** dvoid_ has quit IRC12:56
*** pigeon has quit IRC12:56
*** chem|st has quit IRC12:56
*** elias_a has quit IRC12:56
*** realitygaps has quit IRC12:56
*** rm_work has quit IRC12:56
*** timeless has quit IRC12:56
*** yosafbridge has quit IRC12:56
*** lbt_ has quit IRC12:56
*** arcean has quit IRC12:56
*** Natch has quit IRC12:56
*** Earthwings has quit IRC12:56
*** doc|home has quit IRC12:56
*** r00t|home has quit IRC12:56
*** mhlavink has quit IRC12:56
*** chadi has quit IRC12:56
*** RST38h has quit IRC12:56
*** robink has quit IRC12:56
*** Veggen has quit IRC12:56
*** psycho_oreos has quit IRC12:56
*** inz has quit IRC12:56
*** discopig has quit IRC12:56
*** chainsawbike has quit IRC12:56
*** cpt_nemo has quit IRC12:56
*** ecc3g has quit IRC12:56
*** SpeedEvil has quit IRC12:56
*** jayne has quit IRC12:56
*** TTilus has quit IRC12:56
*** soltys has quit IRC12:56
*** RP_ has quit IRC12:56
*** grinsekatze has quit IRC12:56
*** DarkFox has quit IRC12:56
DocScrutinizer05yeehaaa!  netsplit12:56
*** dhbiker has quit IRC12:58
*** DarkFox has joined #maemo12:59
*** arcean has joined #maemo12:59
*** ult has joined #maemo13:00
*** florian has joined #maemo13:00
*** japa-fi has joined #maemo13:00
*** freemangordon has joined #maemo13:00
*** peterbjornx has joined #maemo13:00
*** b1101 has joined #maemo13:00
*** Malinux has joined #maemo13:00
*** felipe` has joined #maemo13:00
*** Agge has joined #maemo13:00
*** ab has joined #maemo13:00
*** Scorcerer has joined #maemo13:00
*** oniongarlic has joined #maemo13:00
*** lbt_ has joined #maemo13:01
*** AD-N770 has joined #maemo13:01
*** ludens has joined #maemo13:01
*** goldkatze has joined #maemo13:01
*** esaym153 has joined #maemo13:01
*** jabis has joined #maemo13:01
*** silviof has joined #maemo13:01
*** Khertan_Atwork has joined #maemo13:01
*** mhanne_ has joined #maemo13:01
*** Elfix has joined #maemo13:01
*** wnd has joined #maemo13:01
*** MohammadAG has joined #maemo13:01
*** kylanpaj_ has joined #maemo13:01
*** edheldil has joined #maemo13:01
*** Elleo has joined #maemo13:01
*** Sc0rpius has joined #maemo13:01
*** disco_stu has joined #maemo13:01
*** anYc has joined #maemo13:01
*** mario has joined #maemo13:01
*** ruskie has joined #maemo13:01
*** torindel has joined #maemo13:01
*** `0660 has joined #maemo13:01
*** ToJa92 has joined #maemo13:01
*** joga has joined #maemo13:01
*** SpeedEvil has joined #maemo13:02
*** norayr has joined #maemo13:02
*** robink has joined #maemo13:03
*** RedW has joined #maemo13:03
*** qwazix has joined #maemo13:03
*** Humpelstilzchen has joined #maemo13:03
*** githogori has joined #maemo13:03
*** clopez has joined #maemo13:03
*** XDS2010_ has joined #maemo13:03
*** dos1 has joined #maemo13:03
*** rZr has joined #maemo13:03
*** dvoid_ has joined #maemo13:03
*** pigeon has joined #maemo13:03
*** chem|st has joined #maemo13:03
*** elias_a has joined #maemo13:03
*** realitygaps has joined #maemo13:03
*** rm_work has joined #maemo13:03
*** timeless has joined #maemo13:03
*** yosafbridge has joined #maemo13:03
*** clopez has quit IRC13:03
*** XDS2010_ has quit IRC13:03
*** Veggen has joined #maemo13:03
*** psycho_oreos has joined #maemo13:03
*** inz has joined #maemo13:03
*** discopig has joined #maemo13:03
*** chainsawbike has joined #maemo13:03
*** cpt_nemo has joined #maemo13:03
*** ecc3g has joined #maemo13:03
*** jayne has joined #maemo13:03
*** TTilus has joined #maemo13:03
*** soltys has joined #maemo13:03
*** RP_ has joined #maemo13:03
*** grinsekatze has joined #maemo13:03
*** clopez has joined #maemo13:05
*** Natch has joined #maemo13:08
*** Earthwings has joined #maemo13:08
*** doc|home has joined #maemo13:08
*** r00t|home has joined #maemo13:08
*** mhlavink has joined #maemo13:08
*** chadi has joined #maemo13:08
*** RST38h has joined #maemo13:08
*** XDS2010_ has joined #maemo13:10
*** dhbiker has joined #maemo13:18
*** XDS2010_ has quit IRC13:24
*** XDS2010_ has joined #maemo13:30
*** b1101 has quit IRC14:01
*** norayr has quit IRC14:19
*** eMHa has quit IRC14:35
*** louisdk has joined #maemo14:38
*** lbt_ is now known as lbt14:50
*** eMHa has joined #maemo14:55
*** foo__ has joined #maemo15:17
*** foo__ has left #maemo15:17
*** Snafu777 has joined #maemo15:18
*** LauRoman has joined #maemo15:25
*** japa-fi has quit IRC15:31
*** Gatta_Negra has joined #maemo15:35
*** b1101 has joined #maemo15:36
*** lbt_ has joined #maemo15:56
*** lbt_ has joined #maemo15:56
*** lbt has quit IRC15:57
*** sixwheeledbeast has quit IRC16:07
*** sixwheeledbeast has joined #maemo16:08
*** lbt_ is now known as lbt16:47
*** Earthwings has quit IRC16:50
*** Earthwings has joined #maemo16:50
*** guerby has quit IRC16:52
*** guerby has joined #maemo16:52
*** RedM has joined #maemo16:55
*** RedW has quit IRC16:55
*** janemba has quit IRC17:00
*** b1101 has quit IRC17:00
*** b1101 has joined #maemo17:00
*** janemba has joined #maemo17:01
*** xes has joined #maemo17:17
*** erstazi has joined #maemo17:18
*** erstazi has quit IRC17:18
*** erstazi has joined #maemo17:18
*** jormungandr has quit IRC17:34
*** b1101 has quit IRC17:40
*** xes has quit IRC17:58
*** bluelupo has joined #maemo18:04
*** b1101 has joined #maemo18:04
*** b1101 has quit IRC18:14
*** Khertan_Atwork has quit IRC18:25
*** MikaT has quit IRC18:31
*** Kabouik_ has joined #maemo18:41
*** Kabouik has quit IRC18:44
ulthave anyone had good results with smscon COM_CUSTOM defined as Sript ** * * * * , particularly with usercmd arguments processing?18:48
ultsmscon_script is taken from wiki18:49
*** b1101 has joined #maemo18:50
*** KhertanAtwork has joined #maemo18:51
*** KhertanAtwork has quit IRC18:57
*** KhertanAtwork has joined #maemo19:01
*** e2718 has joined #maemo19:01
*** Snafu777 has quit IRC19:02
*** Khertan_Atwork has joined #maemo19:02
*** KhertanAtwork has quit IRC19:03
*** Gatta_Negra has quit IRC19:05
*** APic has quit IRC19:06
*** APic has joined #maemo19:07
sixwheeledbeastult: yes, are you having issues?19:15
ultyep, specifically with the way parameters are passed19:16
ultdependless of delimeter used, it's always $1='p1 p2...pn', not $1=p1, $2=p2, etc19:17
sixwheeledbeastult: I have not played with it for a while, gimme a bit and I'll check out my version and settings, I am cooking at the moment. ;)19:18
ultso you can't say something like Script usercmd ls -l -a /home19:18
ultokay, take your time19:18
*** eMHa has quit IRC19:22
*** eMHa has joined #maemo19:22
*** GeneralAntilles has joined #maemo19:30
*** jaykru has quit IRC19:35
*** fuz_ has quit IRC19:42
*** fuz_ has joined #maemo19:52
*** flynx has quit IRC19:54
*** AD-N770 has quit IRC19:59
*** mavhc has quit IRC20:01
*** mavhc has joined #maemo20:01
*** pigeon has quit IRC20:04
*** florian has quit IRC20:04
*** pigeon has joined #maemo20:05
*** mavhc has quit IRC20:09
*** xes has joined #maemo20:09
*** mavhc has joined #maemo20:12
*** robink has quit IRC20:15
*** robink has joined #maemo20:15
*** xes has quit IRC20:17
*** ult has quit IRC20:18
*** ult has joined #maemo20:28
*** rcg has quit IRC20:32
*** at1as has joined #maemo20:34
*** tanty is now known as tanty_off20:40
*** at1as has quit IRC20:49
*** at1as has joined #maemo20:49
sixwheeledbeastult: ok what was your problem?20:53
ultif i try to sms the daemon with $prefixScript$delimusercmd$delim$arg1$arg2 it's parsed incorrectly, resulting in wrong path in case stament inside smscon_script is taken and it finishes with "unknown command". afaict this is due to incorrect argument processing20:57
ult$prefixScript$delimusercmd$delim$arg1$delim$arg2$suffix actually20:58
*** xes has joined #maemo21:03
sixwheeledbeastdo you have an example?21:06
*** e2718 has quit IRC21:09
ultsixwheeledbeast: Script usercmd ls -l -a /home21:12
ultsixwheeledbeast: depending of what delimiter you set, you may need to replace the spaces with it21:13
*** Kabouik_ has quit IRC21:15
sixwheeledbeastWell I have a list of /home directories in my script.log file after testing it.21:16
sixwheeledbeastult: ^^^21:16
ultsixwheeledbeast: smscon version?21:17
sixwheeledbeastthe latest from devel...lemme check21:18
sixwheeledbeastult: 0.10.9-421:19
sixwheeledbeastI have commented out every line in the smscon_script file and put ls -la /home at the EOF21:21
*** nox- has joined #maemo21:25
ultsixwheeledbeast: CSSU repo? extras-devel  has 0.10.9-1 most recent. and what's the idea behind commenting out everything while script itself is needed to parse input?21:29
sixwheeledbeastult:  ah sorry yes 0.10.9-1 smscon 0.10.9-4 smscon editor21:31
sixwheeledbeastthe current content of the script file is an example script21:31
ultsixwheeledbeast: does the script look like http://wiki.maemo.org/SMSCON#An_example_user_script_for_COM_CUSTOM21:31
ultsixwheeledbeast: perfect timing :-D21:32
sixwheeledbeastult: it's similar but the wiki is not up to date AFAIK21:32
sixwheeledbeastyou can remove everything after the shebang line if you wish or even copy it somewhere "script.bak"21:34
*** Kabouik has joined #maemo21:36
ultsixwheeledbeast: no, i like it the way it is, i just needed a way to somehow pass the arguments to usercmd. in the end just patched it to forcefully divide the $CMD in atual cmd and args and launch stuff accordingly. but it has one downside - have to rely on known delimiter, if it changes, simplest parsing i've added will break.21:37
sixwheeledbeastult: hmmm, so is your file "exactly" as the wiki page?21:41
ultsixwheeledbeast: it was before i've started to fiddle with it21:41
sixwheeledbeastult: my file shares some content but it's not the same. there is some more user instructions gimme a minute...21:43
*** b1101 has quit IRC21:54
*** sq-one has joined #maemo21:56
sixwheeledbeastult: http://pastebin.com/eFQ3hgCy21:56
sixwheeledbeastI believe it explains a bit better how to format the script21:57
ultsixwheeledbeast: got it, placeholder processing examples is pretty much identical to those in wiki. but, look at the wiki's script, part with case branches, specifically in usercmd) one: without modification it's never triggered, unless your sms contains no actual command after usercmd string.22:04
sixwheeledbeastult: ah, maybe this is why it was changed on a later version.22:06
ultsixwheeledbeast: and this happens because of $CMD in the beginning has ALL of the params in it, they are not passed in $2 $3 etc. and delimiters are present in $CMD, so if it would be triggered by adding * at the end of usercmd*), then any kind of delimiter other than space would make sh fail on input parsing, if you wouldn't fix it manually beforehand.22:11
sixwheeledbeast:nod:22:11
*** vakkov has quit IRC22:15
ultsixwheeledbeast: well, i was telling this exactly about last version - parameter passing is done somewhere inside the python code.22:16
*** vakkov has joined #maemo22:16
*** shentey has joined #maemo22:20
*** M4rtinK has joined #maemo22:24
*** hurrian has quit IRC22:26
*** xmlich02 has joined #maemo22:26
*** M4rtinK has quit IRC22:26
*** shentey has quit IRC22:28
*** shentey has joined #maemo22:30
ultsixwheeledbeast: no, it seems you was right - just tried with 'for p in "$@" echo $p' and got them properly divided. no idea why in CMD=$(trim "${1:-default}") had them all in one string.22:32
*** bluelupo has quit IRC22:38
*** DrCode has quit IRC22:41
*** DrCode has joined #maemo22:46
*** M4rtinK has joined #maemo22:57
*** b1101 has joined #maemo22:58
*** rZr is now known as RzR22:58
*** florian has joined #maemo23:05
*** sq-one has quit IRC23:25
*** pdz has quit IRC23:29
*** pdz has joined #maemo23:33
*** Ben___ has joined #maemo23:38
*** Ben___ has left #maemo23:39
*** _rd has joined #maemo23:52
*** xmlich02 has quit IRC23:55

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!