IRC log of #maemo-ssu for Tuesday, 2012-07-24

*** nox- has joined #maemo-ssu00:03
*** _rd has quit IRC00:25
*** andre__ has quit IRC00:25
*** _rd has joined #maemo-ssu00:27
*** ekze-nyan has quit IRC00:33
*** jd has quit IRC00:34
*** _rd has quit IRC00:56
*** luf has left #maemo-ssu01:29
*** taziff has quit IRC02:13
*** taziff has joined #maemo-ssu02:14
*** M4rtinK has quit IRC02:25
Estel_I would rather face problems with forming structure due to too many contributors, than returning to 2 people dream-team working alone on CSSU* :P02:36
*** taziff has quit IRC03:14
*** taziff has joined #maemo-ssu03:14
*** gri has quit IRC03:15
*** taziff1 has joined #maemo-ssu03:15
*** taziff has quit IRC03:18
*** gri has joined #maemo-ssu03:23
*** nox- has quit IRC03:53
*** arcean has quit IRC04:04
*** jonwil has joined #maemo-ssu04:15
*** jonwil_ has joined #maemo-ssu05:05
*** peetah has quit IRC05:07
*** jonwil has quit IRC05:07
*** jonwil_ is now known as jonwil05:07
*** chainsawbike has quit IRC05:07
*** xnt14 has quit IRC05:07
*** peetah_ has joined #maemo-ssu05:07
*** xnt14 has joined #maemo-ssu05:08
*** chainsawbike has joined #maemo-ssu05:08
*** KrayonWork has quit IRC05:12
*** KrayonWork has joined #maemo-ssu05:18
*** amiconn has quit IRC05:40
*** amiconn_ has joined #maemo-ssu05:40
*** amiconn_ is now known as amiconn05:40
*** IronLegend has quit IRC07:06
*** taziff has joined #maemo-ssu07:12
*** taziff1 has quit IRC07:13
*** taziff1 has joined #maemo-ssu07:33
*** taziff has quit IRC07:35
*** taziff has joined #maemo-ssu07:52
*** taziff1 has quit IRC07:54
*** IronLegend has joined #maemo-ssu07:54
*** chainsawbike has quit IRC07:57
*** chainsawbike has joined #maemo-ssu07:59
*** taziff1 has joined #maemo-ssu08:11
*** taziff has quit IRC08:13
*** taziff has joined #maemo-ssu08:19
*** taziff1 has quit IRC08:21
*** jonwil has quit IRC08:31
*** xnt14 has quit IRC09:09
*** MohammadAG has quit IRC09:10
*** MohammadAG has joined #maemo-ssu09:22
*** xnt14 has joined #maemo-ssu09:24
*** Pali has joined #maemo-ssu09:31
DocScrutinizer05git gui????09:35
freemangordonever told you I am lazy ;)09:35
DocScrutinizer05ever told you I'm basically a git noob (and a lazy gui junkie too)?09:36
freemangordonnever, but git has gui :P09:36
DocScrutinizer05where? how? how much ;-P?09:37
freemangordonit is either git gui or git-gui, depending on the distribution09:37
freemangordonin usual way, apt-get09:37
DocScrutinizer05wow09:37
freemangordonDocScrutinizer05: do you know gitk?09:38
DocScrutinizer05gitwhat?09:39
freemangordongitk09:39
freemangordonnow you know it, use it smart :P09:40
DocScrutinizer05I'm about to learn repo (*uaerghhh*)09:40
freemangordonthat is basically a history browser09:40
DocScrutinizer05friggin useful09:41
freemangordoncommits/branches/whatever history that is09:41
DocScrutinizer05(hist browser)09:41
freemangordonyep09:41
DocScrutinizer05while repo is so...09:41
DocScrutinizer05git the hard way09:41
freemangordonrepo? WTF is that, some android SDK tool?09:42
DocScrutinizer05~lart google09:42
* infobot teaches google the basics, including how to RTM09:42
freemangordonisn't that integrated in eclipse?09:42
DocScrutinizer05python wrapper around git, to handle forests (SIC!)09:43
freemangordonnever heard about it. but having in mind I am not exactly linux developer, it is not unusual09:44
DocScrutinizer05freemangordon: at my job I need to do kneedeep kernel development for android, no eclipse for me09:44
freemangordonaaah09:44
* freemangordon feels sorry for doc09:44
DocScrutinizer05and *of course* we got owr own git repos for that09:45
freemangordonwell, if it is git, you should be able to use *normal* tools to access them09:46
DocScrutinizer05so all the public howto stuff is just a slight hint09:46
freemangordonat least you could try to use gitk and git-gui09:47
DocScrutinizer05feckin repo works with manifests - XML shite I seem to have to write by hand :-S09:47
freemangordonWTF?09:47
* freemangordon gets depressed everytime he sees .manifest09:48
DocScrutinizer05a manifest describes a forest, or even a set of forests09:48
freemangordonsure, sure, don't tell me about it :D09:48
freemangordonWTF, stupid leafchat cannot search?09:50
DocScrutinizer05anyway the method is: set up git (all the git -url foo.insteadof bar abomination, as well as other stuf like email, name etc), then do repo init -b branch -u label09:50
DocScrutinizer05which is fetching the manifest for that label and branch, and that manifest then might install 3 dozen forests via git09:52
DocScrutinizer05actually it does when you do repo sync09:52
DocScrutinizer05which does dozens of git checkout or whatever the right git command09:53
DocScrutinizer05git pull ?09:53
freemangordoncould be git clone, fetch, cherry-pick09:54
DocScrutinizer05not even `repo help -all` works unless you have done repo init09:54
freemangordonand several others I am not aware of09:54
freemangordonhmm, where is Pali09:54
Palihere, sleeping...09:55
freemangordonmorning :)09:55
DocScrutinizer05yeah, where is Pali? I was about to tell him booston never will be obsolete unless hald-addon-bme-fake will do all the nice warning and info notifications09:55
freemangordonPali: either add me as a developer here: https://gitorious.org/rx51-bme-replacement or pull hald-addon-bme and libbmeipc from my repo, ok?09:56
PaliI do not know how to add developer for project...09:56
PaliI will pull both repos to rx51-bme09:57
DocScrutinizer05freemangordon: I hope your hald-addon-bme / libbme'ipc' is using kernel events?09:58
freemangordonhmm, maybe create a new team and change the ownership, gitorious is fubar09:58
DocScrutinizer05Pali: I hope bq24150.ko is sending kernel events?09:58
freemangordonDocScrutinizer05: right now it uses nothing, so it will use whatever we write there :D09:59
PaliDocScrutinizer05, I do not know now09:59
Paliit use power_supply interface09:59
freemangordonDocScrutinizer05: libbmeipc don;t need any events09:59
DocScrutinizer05freemangordon: how is it to know about state changes in battery management? poll sysfs power_supply interface?10:00
Palifreemangordon, one bme (n9) dev will ask how to calculate temperature from ADCIN0 (twl adc)10:00
DocScrutinizer05Pali: \o/10:00
freemangordonit just needs to read the temp once called, i.e. open, read, close (/dev/twladc)10:00
PaliDocScrutinizer05, value but value depends on some data from CAL10:01
Paliso it will not be easy forumla10:01
DocScrutinizer05never expected that10:01
Palifreemangordon, I mean how to convert raw value from adcin0 to temp10:01
freemangordonI know10:01
freemangordonwe have FOSS libcal replacement iirc.10:02
freemangordonhmm Pali, it was you to write it?10:02
DocScrutinizer05something that can access CAL at least, yeah10:02
Palicalvaria and libopencal10:02
freemangordonwell, libcal interface is simple10:03
DocScrutinizer05yep10:03
Palibut when I tested libopencal it crashed10:03
Palicalvaria is only parser10:03
DocScrutinizer05eew10:03
freemangordonlibcal should be easy to RE10:03
Palilibopen cal can read and write to CAL but it is clone of diablo libcal10:03
Palifreemangordon, in SDK is i386 version of libcal10:03
Paliso this version can be disassembled10:04
DocScrutinizer05I bet little has changed in CAL struct for fremantle10:04
freemangordonPali: i doubt it is the same as armel, but could help a lot10:04
DocScrutinizer05Pali: wait wait wait10:04
freemangordonat least for interface definitions10:04
DocScrutinizer05Pali: don't you think the x86 is a fake stub?10:04
freemangordon:nod:10:05
PaliI think no10:05
Paliwhen I looked at it there was all functions exported10:05
freemangordonhmm, where it stores the data then?10:05
Paliwith mtd code10:05
DocScrutinizer05hmm, they could fake mtd, yep10:05
DocScrutinizer05and use a proper libcal_x86 on top of that10:05
freemangordonanyway i gtg, bbl guys10:05
DocScrutinizer05same here10:06
Palidone, https://gitorious.org/rx51-bme-replacement10:09
Paliother question, do we need to use autotools?10:10
Paliok i386 version of libcal is trying to open /dev/mtd1 :D10:14
Paliso seems that this is same version as for armel10:14
PaliOnly NAND devices supported10:14
*** _rd has joined #maemo-ssu10:25
*** jonwil has joined #maemo-ssu10:31
DocScrutinizer05Pali: nice :-D10:36
*** _shadowx has joined #maemo-ssu10:46
*** ruskie has quit IRC11:00
jonwilTime to start working on collecting all the known information on the N900 dbus calls11:04
Palisomebody write wl1251-cal and <bluetooth>-cal programs11:11
jonwilI documented what wl1251-cal does a while back IIRC11:11
*** andre__ has joined #maemo-ssu11:12
*** andre__ has joined #maemo-ssu11:12
*** M4rtinK has joined #maemo-ssu11:12
Palijonwil, link?11:12
jonwilI cant remember where I put it11:12
jonwileither the mailing list or the wiki11:12
jonwilwhy is having one useful anyway?11:12
Paliwl1251-cal is needed for setting wifi chip11:12
Pali(region lock, mac address, ...)11:13
jonwilyes but what is wrong with the current wl1251-cal other than that its closed?11:13
Paliregulation region lock11:13
Paliusing non standard netlink kernel interface11:14
Paliso using upstream wl1251 driver is not possible11:14
jonwilyeah it would be good to replace it11:14
Palifor changing mac address has linux interface11:14
Paliand for region regulation is here cfg80211 and nl80211 interface11:15
jonwilit shouldn't be that hard if someone with knowledge of kernel WiFi stuff wants to take a look at the notes I made11:15
jonwilhttp://wiki.maemo.org/Wl1251-cal11:15
jonwilFound the info11:15
jonwilthats all the info I found out in wl12510-cal11:16
Paliok11:17
Palithe best way would be to create correct NVS data from cal and store it to /lib/firmware11:17
Palion each n90011:17
Palithere can be script which do it when n900 is first time started (or if that correct nvs data is not extracted)11:18
PaliI think that NVS data can contains mac address too11:18
jonwilThe NVS data seems to change based on what the current country code is11:18
jonwili.e. the MNC if any11:18
Paliyes11:18
jonwilMAC address comes from cal also11:19
Palibut it is same as if you change country with your wifi laptop11:19
jonwilnot part of NVS data11:19
Paliso this data can be static11:19
PaliI mean that wl1251 kernel driver can read mac address from nvs data too11:19
jonwilIf you roam to another country, you will get a different MCC returned by get_registration_status11:20
Paliso we can create script which convert wifi data from CAL to nvs firmware file11:20
Palijonwil, but this is same as with your laptop if you road from EU to USA11:20
jonwiltrue11:20
Palinothing is changed automatically11:20
DocScrutinizer05Pali: while we're talking about it, how would I switch my restricted WLAN chan range on N900 to use full range?11:20
jonwilas for bluetooth, there is a script in /etc/event.replace.d called bluetooth-sysinfo11:21
PaliDoc, kernel cfg80211 interface is for that11:21
jonwilwhich handles the bluetooth mac address11:21
Paliyou need to have wifi driver which use cfg80211 interface11:21
jonwilall the script does is get the data from cal via sysinfo-tool11:21
DocScrutinizer05that's how it *should* be. i'm taling about how it's now11:21
Paliand then use standard wifi program iw11:21
jonwiland send that to /sys/devices/platform/hci_h4p/bdaddr11:22
PaliI do not remember param, use iw --help11:22
Palijonwil, that sysfs file is again non standard interface11:22
DocScrutinizer05one of my friggin devices (t900) refuses to work on chan1311:23
Palilinux kernel can change mac address from userspace in other way11:23
jonwilwell whatever way exists to change the bluetooth mac address, we can just make /etc/event.replace.d/bluetooth-sysinfo use that11:23
jonwili.e. the tool that reads the value from CAL (sysinfo-tool) is fine11:23
Paliok11:24
PaliI mean that we can 1) rewrite *-cal programs to use normal interfaces or 2) create proper nvs data for kernel drivers (which will contains all data from CAL)11:24
Paliand *-cal programs will not be needed11:25
jonwilyeah I think the best answer is to create a clone of wl1251-cal that uses official interfaces11:25
Palihttp://linuxwireless.org/en/users/Drivers/wl12xx/calibrator11:26
jonwilthen someone can run it and compare the results from the stock closed tool and the open tool to make sure you get the right results11:26
Palithis should be used ^^^^11:26
jonwilyes it should be11:26
Paliit really also store mac address to NVS firmware file11:28
Paliso after creating proper firmware files (and using standard wl1251 driver) wl1251-cal can be deleted...11:29
DocScrutinizer05NVS == non volatile storage?11:36
*** ruskie has joined #maemo-ssu11:37
DocScrutinizer05then we should ponder an option to map NVS to CAL, as it basically is same thing11:37
DocScrutinizer05so user could decide whether to use a file he can mess around with for NVS, or whether NVS gets generated(? during sysinit) from CAL11:38
DocScrutinizer05l8r o/11:39
DocScrutinizer51wtf? my Iron900 doesn't auto-switch to GPRS anymore when IronLegend leave 2!*" range11:57
DocScrutinizer51WLAN range11:57
DocScrutinizer51but this time it didn't hang on 2!*" thinking it's still connected12:01
DocScrutinizer51WLAN* ffs12:01
jonwilIts interesting to see how many .h files in the SDK say "dont use this" or "this is obsolete" or whatever and yet contain some of the most interesting info :)12:17
DocScrutinizer51indeed12:21
* DocScrutinizer51 idiot took wrong subway train :-S12:21
jonwilso far I found documentation for com.nokia.calendar, com.nokia.worldclock, com.nokia.csd.gprs.*, com.nokia.icd2, com.nokia.iphbd, com.nokia.clockd, com.nokia.phone.net and com.nokia.wappush12:26
jonwilwhat I did was to download all the source packages from the sdk-free repo, then all the closed binaries from the nokia-binaries repo then all the closed binaries that I didn't already download from the main phone repo12:28
jonwilSo far the info I found comes from the /usr/share/doc and /usr/include locations for the closed bits12:28
jonwilNow I need to go through all the source code looking for any dbus stuff to add to my stuff-to-put-onto-the-wiki list12:28
jonwilthen from there I can grab anything from the maemo API documentation and maemo wiki along with anything I previously posted (forums, mailing list etc)12:29
*** jonwil has quit IRC12:37
*** arcean has joined #maemo-ssu12:39
*** _rd has quit IRC12:57
*** _rd has joined #maemo-ssu12:58
*** Pali has quit IRC13:04
*** M4rtinK has quit IRC13:13
*** M4rtinK has joined #maemo-ssu13:13
*** Pali has joined #maemo-ssu13:48
keriofreemangordon: can i install cssu-thumb while keeping my beloved kp51?14:23
freemangordonI think so14:23
freemangordonhmm, not yet14:23
freemangordonkerio: ^^^14:24
*** NIN101 has joined #maemo-ssu14:24
kerio:(14:26
kerionot even by making a fake package that provides kernel-cssu? :D14:26
freemangordonkerio: today or tomorrow i will push a new update, with kernel-cssu == KP5114:32
freemangordonand it will not install a new kernel if you already have kp5114:32
keriok14:33
keriois it kp51 in kernel-cssu package or does the name change?14:34
*** lizardo has joined #maemo-ssu15:02
freemangordonit is kp51, the name is kernel-cssu15:05
kerioi see15:08
kerioso... the modules will still be installed in /lib/modules/2.6.28-power51r1?15:14
kerioor something15:14
kerio/lib/modules/2.6.28.10-power5115:15
*** dreamer has quit IRC15:17
keriofreemangordon: right?15:18
DocScrutinizer51if the kernel is power51 then the modules shall be there15:27
freemangordonif the kernel is kernel-cssu, then no15:28
freemangordonso the modules are in /lib/modules/kernel-cssu315:29
freemangordonand compat drivers in /opt/lib/modules/kernel-cssu315:29
kerio...15:31
kerio"kernel-cssu3" is not a version15:31
DocScrutinizer51freemangordon: I'm unhappy with the kernel naming15:31
keriofreemangordon: what's the output of uname -r?15:32
DocScrutinizer51it might suggest to uneducated users that it's a core CSSU component15:32
DocScrutinizer51freemangordon: could you call it cssu-thumb or cssu-extras please?15:33
kerioor kernel-thumb15:33
freemangordonDocScrutinizer51: no, as the final goal is cssu, that is first, and it is available only in cssu-thumb repo15:33
freemangordonyou can install it through normal repos15:34
freemangordon*can't15:34
DocScrutinizer51eventually we *might* need to come up with a concurrent incompatible cssu-kernel15:34
DocScrutinizer51then we're busted pretty much15:34
freemangordonincompatible?15:35
freemangordonkerio: 2.6.28.10-cssu315:35
DocScrutinizer51as in 'hotfix for galaxy wide ipv4 exploit included"15:35
keriofreemangordon: i see15:36
kerioso the modules are in /lib/modules/2.6.28.10-cssu315:36
* kerio ponders about making symlinks so he can restore kp51 backupmenu backups15:36
DocScrutinizer51freemangordon: see kerio's comment! chose wisely!15:38
DocScrutinizer51kernel naming is no pony baby name picking15:38
kerioi still don't get what's wrong with temporarily using kernel-power as the default -thumb kernel15:39
freemangordonDocScrutinizer51: it has been that way for the last 2 months15:39
keriountil the kernel situation is fixed15:39
keriofreemangordon: hell, why isn't it just kernel-linux?15:39
freemangordonkerio: and what is the situation?15:39
keriothe situation is you making a thumb-capable -omap1 kernel15:39
keriothat makes doc happy15:40
kerio(by -omap1 i mean abi-compatible with the nokia -omap1)15:40
freemangordonif the situation is that you can't wait a couple of days, it is your problem, not mine15:40
kerioi mean, let's face it, -cssu3 is distinctly powerish15:40
kerioit does stuff!15:40
kerioit's not just for thumb15:40
freemangordonso?15:40
freemangordoni fail to see the problem15:41
kerioit's not a problem for me, but the standard kernel is installed in the "kernel" package15:41
kerioif it's the default kernel, it should go there15:42
freemangordonwell, a replaces: does the same thing15:42
freemangordonbut I still fail to see the point15:42
kerioa replaces: uninstalls the previous package15:42
freemangordonwhich does only "kernel" in our case, so no difference15:43
keriomy point is that this *has* to be installed for everything to work, once you install the thumb packages15:43
freemangordonyep15:43
freemangordonyou know WIP is?15:43
freemangordon*what WIP15:43
kerioyes i do15:43
freemangordon~WIP15:43
infobotrumour has it, wip is "Work In Progress"15:43
keriothanks infobot15:43
infobotkerio: no worries15:43
kerioawwwwwwwwwwwwwwwww :315:43
keriofreemangordon: i still don't get what your plans are for kernel-cssu15:44
freemangordon"my" plans are someday there to be a kernel in CSSU replacing omap115:45
kerioor upgrading omap115:46
kerioby the way, why are we still on 2.6.28?15:50
_shadowxyep.15:52
_shadowxbtw where can I find the kernel sources? (or patches)15:53
kerio_shadowx: there's the source package i think15:54
keriokernel-source and kernel-power-source15:55
keriodepending on which one you want15:55
_shadowxpower-source ofc :P15:55
_shadowx10x kerio.15:55
_shadowxbtw is there big difference between the nokia and kp source ? or mainly configuration differences?15:56
kerioby the way, are the incremental apt updates something in apt 0.7?16:21
keriofreemangordon: hm, is busybox-power installed earlier in the PATH or does it just overwrite the builtin busybox?16:29
keriooooh, if i don't dist-upgrade i can just upgrade the single packages16:39
keriofreemangordon: holy shit i have only 10MB of used swap16:48
kerioi love you16:48
keriohttp://i.imgur.com/obnuu.jpg16:59
*** DocScrutinizer has quit IRC16:59
*** DocScrutinizer has joined #maemo-ssu16:59
*** DocScrutinizer05 has quit IRC17:00
*** DocScrutinizer06 has joined #maemo-ssu17:00
*** mase76 has joined #maemo-ssu17:09
*** mickname has quit IRC17:18
*** mase76 has quit IRC17:20
*** mickname has joined #maemo-ssu17:21
*** jonwil has joined #maemo-ssu17:48
*** _rd has quit IRC17:54
Estel_DocScrutinizer, for enabling fully channel range in restricted device right now, you need to call iw reg set JP18:01
Estel_or iw set reg JP18:02
Estel_whatever ;)18:02
Estel_need iw-tools, obviously18:02
Estel_unfortunately, you need to call it after every enabling of stock wifi stack18:02
Estel_stock stick stack18:02
keriowhere is the default stored?18:03
Estel_in past, I've modified every script that enables wifi (so, enabled it first time via mscript in event.d, then modified adv.-interface-switcher scripts, aircrack related scripts that loadfs stock, etc)18:03
Estel_now, advanced-interface-switcher have script files for various conditions (like wlan up), so it can be put there and not overwritten after every update18:04
Estel_still need to modify other programs, though18:04
Estel_kerio, I don't remember, honestly ;)18:04
Estel_but it's not simple fiole edit18:04
Estel_that's why You need iw tools18:04
keriocal?18:05
Estel_You tell me ;)18:05
*** _rd has joined #maemo-ssu18:06
DocScrutinizer51yep CAL18:18
DocScrutinizer51at least that's root18:19
DocScrutinizer51other layers on top may override18:19
*** jon_y_ has joined #maemo-ssu18:21
*** jon_y has quit IRC18:23
*** Estel_ has quit IRC18:28
*** _rd has quit IRC18:33
*** Estel_ has joined #maemo-ssu18:41
*** smoku1 has joined #maemo-ssu18:46
*** smoku1 has left #maemo-ssu18:47
*** smoku1 has joined #maemo-ssu18:47
*** smoku1 has left #maemo-ssu18:56
*** smoku1 has quit IRC18:56
*** smoku1 has joined #maemo-ssu18:56
*** MohammadAG has quit IRC19:09
*** MohammadAG has joined #maemo-ssu19:09
*** smoku1 has quit IRC19:46
*** jon_y has joined #maemo-ssu20:00
*** jon_y_ has quit IRC20:00
*** mickname has quit IRC20:00
*** NIN101 has quit IRC20:00
*** andre__ has quit IRC20:00
*** trumee has quit IRC20:00
*** jon_y_ has joined #maemo-ssu20:02
*** mickname has joined #maemo-ssu20:02
*** NIN101 has joined #maemo-ssu20:02
*** andre__ has joined #maemo-ssu20:02
*** jon_y_ has quit IRC20:02
*** trumee has joined #maemo-ssu20:08
*** arcean_ has joined #maemo-ssu20:42
*** arcean has quit IRC20:45
kerioi want more thumb binaries! :c20:52
RaimuCompile them!21:13
*** DocScrutinizer06 is now known as DocScrutinizer0521:14
*** mase76 has joined #maemo-ssu21:39
*** arcean__ has joined #maemo-ssu21:55
*** arcean_ has quit IRC21:55
*** arcean__ is now known as arcean22:02
*** mase76 has quit IRC22:59
*** Sicelo_ has joined #maemo-ssu22:59
*** mickname has quit IRC23:08
*** mickname has joined #maemo-ssu23:09
*** Sicelo_ is now known as Sicelo23:14
*** Pali has quit IRC23:16
*** mase76 has joined #maemo-ssu23:19
*** andre__ has quit IRC23:20
*** mase76 has quit IRC23:35
*** mase76 has joined #maemo-ssu23:35
*** jonwil has quit IRC23:41
freemangordonarcean: do you know where alarm sounds are stored on harmattan?23:58
*** mase76 has quit IRC23:59

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