IRC log for #maemo-ssu on 20121007

01:57.55*** join/#maemo-ssu _xnt14 (~xnt14@xceleo.us)
02:07.26*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:04.10*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
04:01.12*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
04:26.15*** join/#maemo-ssu FlameReaper (~assassin@175.140.17.199)
04:37.49*** join/#maemo-ssu FlameReaper (~assassin@175.140.17.199)
04:51.22*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
05:02.21*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
05:46.37*** join/#maemo-ssu M13 (~MirandaNG@87.224.133.170)
06:23.29*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
07:07.41*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
07:11.05*** join/#maemo-ssu Free-MG (~test@p4FFE72E3.dip.t-dialin.net)
07:45.12*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
07:45.34*** join/#maemo-ssu Timo (~timo@unaffiliated/tiempjuuh)
07:46.03*** join/#maemo-ssu _rd (~rd@p57B483D7.dip0.t-ipconnect.de)
08:26.04*** join/#maemo-ssu luf (~luf@ip-89-103-223-164.net.upcbroadband.cz)
08:26.15lufkerio: ping
08:26.23keriopong
08:26.23keriohai
08:26.38kerioi think the issue is that something changed in rfcomm
08:26.41kerio(the program)
08:26.58lufkerio: don't shake your fist ;)
08:27.13lufkerio: Do you have debug logs?
08:27.21keriono
08:27.39keriobut disabling bluetooth-dun recreates the problem, even with the current bluez
08:27.46kerioso i guess it's just isync that's stupid
08:28.38keriobluetooth-dun runs "rfcomm -S -- listen -1 1 /usr/bin/pnatd {}"
08:28.50lufPlease can you give me 2 bluetoothd logs? One with bluez-4.60 and one with bluez-4.99?
08:29.03keriothe issue is not that, everything works on the n900 side
08:29.11kerioapart for bluetooth-dun, probably
08:31.13kerioluf: where's the bluez documentation?
08:31.33lufbluez.org?
08:32.24kerioi can't find it
08:32.59lufWhat documentation do you expect?
08:33.08kerioa man page or something
08:34.01keriooh god, bluetooth-dun is fscked-up
08:34.10luf?
08:34.17kerioevery time you have sdptool del `sdptool browse local | grep Dial-Up -A 1 -m 1 | tail -n 1 | cut -d ' ' -f 3` in an initscript, you're doing it wrong
08:37.44kerioi don't get it, how is this supposed to work? :s
08:38.30kerioluf: i'll be ready to run some tests in 5 mins or so
08:53.10kerioluf: my body is ready
08:53.32lufkerio: It seems that pre start and post stop in /etc/event.d/bluetooth-dun isn't necessary with 4.99
08:53.46kerioreally? neat
08:53.48keriowhy?
08:54.05lufsdptool search --bdaddr local
08:54.47keriohold on, wait
08:54.49keriowaaaaaaaaaait
08:54.57keriohow would you add DUN to the services?
08:55.40lufIt's part of bluez-4.99
08:55.56keriothat makes no sense, why would a desktop computer have DUN?
08:56.12keriothis is the same bluez that runs on desktops, right?
08:57.11kerio*installing bluez4.99*
08:57.48lufIt depends on configuration options.
08:58.01lufI used --enable-dund
08:58.11lufalso --enable-pand
08:58.17*** join/#maemo-ssu FlameReaper (~assassin@175.140.17.199)
08:58.20kerioneat
08:58.53kerioyeah but what does dund do?
08:59.15keriooh nvm, i see, you still have to run rfcomm
09:00.47keriohrmpf, i can't get it to sync
09:01.17keriook, this is seriously weird
09:01.37*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
09:02.20lufMMNT. Maybe I forgot to package dund :) into bluez packages.
09:02.35kerio¬.¬
09:04.41kerioyep, DUN (proper DUN, that is) doesn't work
09:04.44luf:) The same with pand ...
09:05.05keriowhat does dund do, btw?
09:05.14keriowait for a connection, feed it to pnatd?
09:05.42lufDialup Networking?
09:05.49kerioyeah
09:05.55keriobut how?
09:06.20keriothe way the bluetooth-dun package does it is by waiting (with rfcomm) for a connection and then feeding the connection to pnatd
09:06.26keriowhich is the thing that talks to the n900's phone
09:09.22lufHmmm I put the dund into -test package ...
09:10.20keriohrmpf, lost connection
09:10.36kerionvm, you still haven't answered
09:10.40kerioluf: does dund eventually call pnatd?
09:12.24keriooh i see, you need dund -s -p -A -E pnatd
09:12.30kerioor something :)
09:13.01lufdund is calling by default: static char *pppd = "/usr/sbin/pppd";
09:13.16*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
09:13.49kerioluf: that's useless
09:14.02kerioluf: there's no pppd in maemo :)
09:14.14lufI see. but you missed -d in front of pnatd.
09:15.34keriohm, right
09:15.41keriohow does dund talk to "pppd"?
09:15.59keriobecause it's not going to be talking to pppd
09:18.06kerioluf: i mean, i don't think pnatd can be used as a drop-in replacement for pppd
09:22.37*** join/#maemo-ssu NIN101 (~NIN@p5DD2972E.dip0.t-ipconnect.de)
09:22.55lufI think it should be enough to remove "sdptool add --channel 1 DUN" and whole post-stop from /etc/event.d/bluetooth-dun
09:23.44keriopre-start too, right?
09:23.49kerioi'm getting DUN on channel 1 by default
09:25.47kerioluf: nope
09:26.21kerioi've got rfcomm listening on 1, sdptool browse local tells me that dial-up networking is on rfcomm channel 1
09:26.25keriobut i can't DUN
09:26.59keriomaybe that channel is "claimed" by bluetoothd that expects dund to be running?
09:28.50kerioluf: btw, claiming to provide a bunch of services that don't actually work is stupid
09:30.03lufkerio: right. I'll investigate it and try to fix it also.
09:30.25kerioalright, got it working on channel 2
09:30.30keriowith rfcomm
09:31.29kerioluf: i think the easiest way is to recompile without dund
09:31.39keriobecause i think that it causes the problem
09:31.55lufkerio: the easiest for sure ...
09:32.09kerioi realize that dund is The Right Way
09:32.18keriobut The Right Way also implies you have a working pppd configuration
09:32.29kerioin our case, we'll probably have to tell pppd to talk to pnatd
09:32.39kerioso we'd have bluetoothd-dund-pppd-pnatd, which is somewhat silly
09:32.43lufGive me some time please.
09:37.10kerioif we can get dund to talk directly to pnatd however...
09:38.09lufI see it :)
09:38.25lufIt's in pnat plugin ant it try to find /usr/bin/phonet-at
09:39.00kerioneat
09:39.02lufIf you enable the debug you'll see
09:39.08luferror("Unable to spawn pnatd: %s", err->message);
09:39.09lufor
09:39.19lufDBG("pnatd started for %s with pid %d", client->tty_name, pid);
09:39.29lufSo what? Can you enable the debug ;)
09:40.57lufcd /usr/bin; ln -s pnatd phonet-at
09:41.13lufthis should fix the problem ;) and also disabling the bluetooth-dun.
09:43.17keriohow do i enable debug?
09:43.21keriodo i need syslogd?
09:44.01lufYes you need syslogd; vi /etc/event.d/bluetoothd - add -d '*' (bluez-4.99)
09:44.03lufreboot
09:44.39lufBTW if you want to start sysklogd manually (I do it). Let's vi /etc/event.d/sysklogd and comment out the start line.
09:45.02kerioanyway, even with the symlink it doesn't seem to work :(
09:45.25kerioi definetely got it to work with rfcomm, on a different channel, so at worst we can just do that as usual
09:45.43lufSure.
09:47.32lufI have to configure it here ...
09:47.38kerioluf: http://paste.ubuntu.com/1265316/ :(
09:47.53keriowhat kind of authorization?
09:48.32lufHave you paired the devices?
09:48.39kerioofc
09:48.58kerioalso, look at the times
09:49.01kerioit's almost instant
09:50.46lufCan you please re-pair the devices while bluetooth-dun is stopped?
09:51.49lufI think it's ok to not provide DUN too all but just to authorized clients.
09:52.28kerionope, doesn't work
09:52.54keriostill DUN client disconnected while waiting for authorization
09:53.35kerioi wonder, do i have to enable the network modules?
09:53.36*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
09:55.34keriomeh, i'm bored
09:55.40kerioi'm restoring
09:57.47kerioluf: anyway, we reduced the problem from "isync doesn't work" to "bluetooth DUN doesn't work" which is much easier to deal with
09:58.08lufkerio: yes. thanks for that.
10:02.43lufkerio: can you also get some logs from mac side?
10:03.17lufI'm curious if it refuse the auth (so I can disable it on N900 side).
10:08.27kerionothing regarding authentication
10:20.12*** join/#maemo-ssu arcean (~arcean@aael161.neoplus.adsl.tpnet.pl)
11:01.28lufkerio: FYI I reproduced it here.
11:01.37kerioDUN not working?
11:01.50lufYes. The same log entry.
11:03.51freemangordonluf: are you ok with ARM assembler/instructions/etc?
11:04.32luffreemangordon: What do you mean with ok? I don't know ARM assembler/...
11:04.52freemangordonyeah, that is what i asked
11:04.59lufI even don't know assembler at all. It's always to low for me.
11:05.11lufs/to/too/
11:07.57luffreemangordon: what's up?
11:08.21freemangordonluf: I write a piece of assembler code and need someone to review it
11:08.25freemangordon*wrote
11:08.45luf:)
11:09.02lufHave you tested bluez-4.99 ?
11:09.12luffreemangordon: ^^
11:09.18freemangordonso far jacekowski helped a lot, but unfortunately he is not available right now, so I am searching for someone else
11:09.22freemangordonluf: no
11:09.29freemangordonu-boot is next in the list :D
11:09.47luffreemangordon: ok :D
11:10.07kerioluf: what does audio sink need to be working properly?
11:10.12keriopulseaudio configuration?
11:11.14lufkerio: No idea. there is some policy in N900 too.
11:13.33lufkerio: it's on my todo.
11:44.52*** join/#maemo-ssu ChanServ (ChanServ@services.)
11:44.52*** mode/#maemo-ssu [+o ChanServ] by pratchett.freenode.net
11:58.11*** join/#maemo-ssu arcean (~arcean@aael161.neoplus.adsl.tpnet.pl)
12:12.28*** join/#maemo-ssu Free-MG (~test@p4FFE724A.dip.t-dialin.net)
12:14.22*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
12:19.42*** join/#maemo-ssu Milhouse (~irc_milho@Maemo/community/contributor/Milhouse)
12:45.41*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
12:58.16*** join/#maemo-ssu kent_autistic (~user@112.209.85.77)
12:58.36kent_autisticarcean: ping
13:08.05DocScrutinizer05please keep in mind: http://wiki.maemo.org/Community_SSU/known_broken_packages , update if you got something to contribute
13:45.41*** join/#maemo-ssu toxarisswe (~toxaris@83.180.246.172)
13:56.51*** join/#maemo-ssu krayon (~krayon@pdpc/supporter/28for7/krayon)
14:55.51*** join/#maemo-ssu fw190 (~fw190@user-188-33-115-67.play-internet.pl)
14:58.06*** join/#maemo-ssu arcean (~arcean@aadd132.neoplus.adsl.tpnet.pl)
15:43.29lufkerio: I fixed dun in bluez-4.99.
15:43.38kerioyay
15:43.39keriowhat was wrong?
15:45.04lufIt tried open /dev/rfcomm<num> only once and then returns.
15:45.19kerioinstead of?
15:45.48lufIt should tries it more times. The implementation was using some timeouts (async calls). But it needs sync calls.
15:47.16keriothat sounds flaky
15:47.29kerioalso, what about dund?
15:47.39lufIt's not used.
15:48.12kerioi see
15:48.37lufThe benefit is that phonet-at (pnatd) is running only when requested (not all the time)
15:49.24keriooh so you still need bluetooth-dun?
15:49.33keriobut not the start/stop scripts
15:49.34lufNo you don't need it.
15:49.42keriooh
15:50.00keriooh, i see, it uses the pnat plugin
15:50.03kerioneat
15:50.07lufbluetooth-dun is replaced by pnat plugin ...
15:50.09luf:)
15:50.10keriowhich change did you make?
15:50.22lufkerio: what?
15:50.29kerioto fix dun
15:50.40keriowas it a patch from a future version?
15:51.31lufThe patch isn
15:52.04lufI don't finish it yet. I have working version now. I have to create the patch and upload bluez to ...
15:52.11kerioi see
15:54.20lufOh and the second problem was that it was disconnection on errno == EACCESS (what is also file not found in this situation).
15:55.47kerioi see
15:56.00kerioso what's the fix? just wait a bit and try again for n times?
15:56.40lufYes. It's used also in rfcomm reference code.
15:57.35lufIt calls ioctl for creating /dev/rfcomm<num> and then it tries to open it. The ioctl is non-blocking call.
16:01.19lufreference is bluez: tools/rfcomm.c: static void cmd_listen(...)
16:06.44*** join/#maemo-ssu Skry (~skry@adsl-215-245-204.kymp.net)
16:08.06lufAnd of course I need to linn phonet-at to pnatd. But I'll change the PNATD define to pnatd so it doesn't need symlink in that case.
16:15.23*** join/#maemo-ssu arcean_ (~Arcean@aadd132.neoplus.adsl.tpnet.pl)
16:15.24lufkerio: I was wrong. The only benefit is not having bluetooth-dun package and rfcomm process running all the time.
16:15.59kerioi figured :)
16:26.28lufOk. I minimalized the patch and the only problem was async -> sync while waiting for open /dev/rfcomm<num>.
16:32.08kerioneat :D
16:32.16keriois there a bug in bluez?
16:32.21keriolike, a known bug
16:34.55lufI don't think so. I checked it once more but as it was removed from the code (same as maemo6 plugin). The reason was: unmaintained.
16:35.30lufI'm talking about master head of bluez (not 4.99).
16:37.03keriohm, i see
16:37.07kerioso it's a bug in the pnat plugin
16:38.36lufYes from my point of view.
16:43.06kerioalright, what about PAN and audio sink now?
16:43.13keriodo they work? how well do they work?
16:47.08*** join/#maemo-ssu int_ua (~int_ua@ip-602f.proline.net.ua)
16:47.11lufWhat problem is with PAN?
16:47.17lufI haven't test it.
16:50.52kerioi thought it wasn't working with bluez 4.60
16:50.58kerio(also, you'd need pand)
16:52.04*** join/#maemo-ssu arcean_ (~Arcean@aadd132.neoplus.adsl.tpnet.pl)
17:04.27*** join/#maemo-ssu wmarone (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
17:11.10*** join/#maemo-ssu wmarone (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
17:16.03*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
17:26.33lufpand is in bluez-test package. If someone knows how to setup it automagicaly we can create bluez-pand package ...
17:30.22lufkerio: I uploaded new bluez packages to the _you_know_whos_ server :)
17:30.30lufIf you want to test it.
17:32.22kerioi don't know who
17:36.50kerioluf: also ugh, i'm currently reavering a wifi network
17:37.39lufkerio: :D The same place as last time. I even don't change version info.
17:37.49kerioluf: i don't remember the last time tho
17:37.53kerioi could read the logs
17:38.01kerioor you could say it again
17:38.37lufhttp://merlin1991.at/~luf/bluez/
17:39.20*** part/#maemo-ssu kerio (kerio@unaffiliated/kerio)
17:39.25*** join/#maemo-ssu kerio (kerio@unaffiliated/kerio)
17:39.26keriowhoops
17:41.32lufkerio: There is also 223_pnat_plugin.patch in source subdir so you can take a look what changed ;)
17:41.59keriohow do you enable/disable bluez plugins, btw?
17:42.01keriois there a way to do so while it's running?
17:42.18lufNo idea. Why are you asking?
17:42.43keriowell, what if i want to temporarily disable DUN for some reason?
17:43.33lufI don't understand why you want it. But I don't know :)
17:44.11keriodoes that bluez have the correct pnatd?
17:44.22kerioalso i wonder if leaving bluetooth-dun enabled will break stuff
17:45.20keriobtw, the fact that it lies about being an audio sink is a bug in my book
17:46.16lufkerio: I didn't test. You're welcome to do it. I never use such functionality so I don't know how to configure it.
17:46.30lufkerio: you can disable plugins in config file.
17:46.36kerioi see
17:46.46luf[General] DisablePlugins (at least)
17:47.31lufsrc/plugin.c
17:49.22lufand also cli option --noplugin (same as obexd).
17:50.32lufBut I'm not able to successfully restart bluetoothd (at least I'm no able to use Advanced Interface Switched to enable/disable BT).
17:50.39*** join/#maemo-ssu romaxa (~romaxa@31.7.60.130)
17:52.38romaxaPali: ping
17:52.55Paliromaxa pong
17:53.24romaxaPali: is it your email pali.rohar...?
17:53.29*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
17:53.35PaliI'm reading mail and searching for packages in my scrachbox
17:53.36Paliyes
17:54.10lufkerio: what should break that you have one more independent service enabled?
17:54.11romaxaPali: which scratchbox install instructions I should use for Cssu?
17:54.42romaxaPali: http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation - is this right one or do I need something else?
17:55.34Paliluf, freemangordon, merlin1991, see ^^^
17:55.37PaliI think yes
17:55.49freemangordonromaxa: this is the right one, though you should add CSSU repos and upgrade
17:56.01Palibut it was 2 years ago when I installed scrachbox in qemu...
17:56.18freemangordonromaxa: assuming you dont aim cssu-thumb
17:56.46freemangordonromaxa: in CSSU repos there is upgrade for Qt (to 4.7.4)
17:57.08freemangordonromaxa: what are you trying to build?
17:57.24romaxaPali: freemangordon: I flashed latest pr1.3, and installed cssu update according to instructions
17:57.42PaliI'm using this ubuntu image: http://maemovmware.garage.maemo.org/2nd_edition/
17:57.45freemangordonromaxa: which one? -testing or stable?
17:57.51romaxafreemangordon: stable
17:58.21DocScrutinizer05romaxa: hey, hi! :-)
17:59.05freemangordonromaxa: well, then add:
17:59.06romaxaDocScrutinizer05: hi,
17:59.06freemangordondeb http://repository.maemo.org/community-stable/ fremantle free non-free
17:59.07freemangordondeb-src http://repository.maemo.org/community-stable/ fremantle free
17:59.40romaxafreemangordon: ok, let me proceed with manual sbox installation for fr. target
18:00.02freemangordonto your /etc/atp/sources.list and do apt-get update/ fakeroot apt-get upgrade
18:00.08romaxafinally said "Nokia bye bye" :)
18:00.43Paliromaxa, mail with packages was sent
18:02.04freemangordonPali: I give up on onenand :(
18:02.33Palifreemangordon, ok, we have working uboot - and this we need
18:02.36freemangordontry to find someone from TI/Nokia to help, otherwise we're stuck
18:03.01freemangordonPali: well, yes, but it will be good if we can access flash from u-boot
18:03.04romaxaPali: libjpeg62-dev - ? are you sure it is missing in maemo SDK?
18:03.15PaliI will check it again
18:03.43romaxaPali: browser-neteal-dev should be available too.. at least sources for that are open
18:04.07romaxalibclockcore-dev - this is also looks strange
18:04.12lufBTW I don't find thmub problem with nokia's virtuals on the page.
18:04.40romaxaPali: http://maemo.org/packages/view/libclockcore-dev/
18:04.43Paliromaxa, browser-neteal-dev I found in svn repo on garage (which you updated)
18:04.49freemangordonapt-cache show libjpeg62-dev gives result
18:05.03Palilibjpeg is here: http://repository.maemo.org/pool/maemo5.0/non-free/libj/libjpeg6b/
18:05.28freemangordonromaxa: BTW microb-engine on garage is missing a couple of patches
18:05.32Paliit is in non-free section (so this was reason why I did not see it)
18:05.38freemangordoncompared to source in maemo repos
18:07.04romaxafreemangordon: hmm which patches missing?
18:07.19Palihm, there is no download link for libclockcore-dev
18:07.25kerioluf: ok, it works
18:08.07freemangordonromaxa: https://gitorious.org/community-ssu/microb-engine/commit/5bedb8c431900273bc83d4e332001b8990036905
18:08.27lufI'm going away from my computer. I'll be back in hour or two ...
18:09.50romaxafreemangordon: oh so you are using another clone of microb-engine
18:10.21freemangordonromaxa: we got the sopurces from garage
18:10.25freemangordon*sources
18:10.25*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
18:10.41freemangordonsvn2git or something :)
18:10.44romaxafreemangordon: yep, I see
18:10.55kerioluf: hm, syncing is weirder now
18:11.00kerioi bet syncevolution is causing problems
18:11.24freemangordonromaxa: but it turned out that they differ from the source in maemo.org repo
18:13.53romaxahmmm played with almost 4 years old browser on N900, and it is not as bad... \o/
18:14.19kerioluf: yep, disabling syncevolution made it work flawlessly right after rebooting
18:14.29kerioluf: i has a working bluez 4.99 :D
18:14.30freemangordonromaxa: you won't believe how fast it is when thumb-compiled with gcc4.7.2 :D
18:15.11romaxacouple of algorithms on compositor manager need to be updated... it should reach 60fps with that
18:15.24freemangordonmicrob?
18:15.29romaxafreemangordon: yep
18:15.43freemangordonwell, it is pretty fast, only js is slow as hell
18:15.54freemangordon(compared to fennec)
18:16.00*** join/#maemo-ssu arcean_ (~Arcean@aadd132.neoplus.adsl.tpnet.pl)
18:16.15romaxafreemangordon: yep... it should be actually possible to switch whole this stuff to latest engine...
18:16.31romaxafreemangordon: at least most of important API's still there
18:16.49freemangordonromaxa: not sure it is so easy, looking at the number of patches in debian/patches
18:17.01Palihow many maemo specfied patches has microb-engine?
18:17.08freemangordonhundreds
18:17.51romaxafreemangordon: actually it is not so horrible as it looks like
18:18.33freemangordonromaxa: well, for someone who wrote that patches and knows the code,... maybe :P
18:18.52romaxafreemangordon: there are couple of important API's patches, rest is hacks for optimizations et.c.
18:19.10kerioluf: how do we make this into a shippable package? D:
18:20.35freemangordonromaxa: yeah, and those optimisations are what makes microb what it is, it makes no sense to have m-c 17 if it uses 128 MB of RAM :)
18:21.18freemangordonromaxa: TBH if I have some spare time I will try to backport js engine from fennec to microb
18:21.35freemangordonit will make huuuge difference
18:23.03kerioyay optimizations
18:23.12romaxafreemangordon: most of optimizations should this or that way already in m-c
18:23.15keriowrite a thumby jit
18:23.37freemangordonkerio: there is, but not in microb-engine
18:23.55kerioto be fair usually JITs make a memory-speed tradeoff
18:23.58keriowhich would be awful, on the n900
18:24.08Paliisnt thumbee for jit?
18:24.25romaxaweird fakeroot apt-get install maemo-sdk-debug has failed
18:24.37freemangordonPali: it is, but noone outside TI knows how it works AFAIK
18:24.42romaxa/var/lib/dpkg/info/hal.postinst: line 55: /usr/bin/getent: No such file or directory
18:25.12freemangordonromaxa: I don;t know if maemo-sdk-debug is really needed
18:26.26romaxaPali: what do you have in sources list for fremantle sdk?
18:26.33freemangordonPali: and IIRC thumbee is deprecated on armv7-a in farov of thumb2 :P
18:26.43freemangordon*favor
18:27.03kerioluf: ugh, i forgot to uninstall bluetooth-dun
18:27.09Paliwait, I need to power on qemu machine again :-)
18:27.10kerioso maybe this test went well because it was installed? idk
18:27.35Palifreemangordon, if you have scrachbox open, can you look at it?
18:27.40freemangordonPali: ok
18:28.36freemangordonromaxa: http://pastebin.com/JcvbjLm0
18:28.53freemangordonignore community-testing and community thumb :)
18:29.15freemangordonand maybe maemo-extras
18:29.18keriono! don't ignore them!
18:29.19keriothey're good!
18:29.50freemangordonkerio: thay are, but that is not the point
18:29.54freemangordon*they
18:29.57kerio:3
18:30.17kerioluf: every time something screws with the syncing, i have to do a full sync and it takes aaaaaaaaaaaages :(
18:31.47freemangordonhmm, now I have u-boot, maybe I should try panzersmthng's ubuntu
18:33.02Paliromaxa, here is my sources.lists for non cssu: http://pastebin.com/GbRc5NuB
18:33.24*** join/#maemo-ssu arcean_ (~arcean@aadd132.neoplus.adsl.tpnet.pl)
18:39.36romaxahmm /scratchbox/tools/bin/chown: invalid user: `messagebus:messagebus, gconf installation.... I guess I saw it somewere... but don't remember... do I need to start some session before working in fremantle SDK env?
18:39.56freemangordoniirc you need to log out and back in
18:40.14freemangordonromaxa: ^^^
18:42.02romaxafreemangordon: log in-out did not help...
18:42.10romaxasbox log-out/in
18:42.28freemangordonromaxa: naah, user log out
18:42.42romaxaoh
18:46.03romaxaalso did not help
18:46.12freemangordon:(
18:46.27romaxaneed to figure out what should install messagebus:messagebus user
18:46.33romaxaprobably some dbus
18:46.48freemangordonromaxa: did you install nokia-binaries?
18:47.00freemangordonor was i nokia-apps?
18:47.05freemangordon*it
18:47.08romaxafreemangordon: hmm I added repository
18:47.16romaxabut did not install nokia-apps
18:47.22freemangordonhmm, lemme check
18:48.07freemangordonyeah, that step is after maemo-sdk-debug installation
18:48.16romaxafreemangordon: oh, rtfm...
18:48.22romaxainstalling it now
18:51.54kerioluf: ok, confirmed working
18:51.58keriobluetooth-dun is useless but not harmful
18:52.01kerioa2dp works
18:53.19keriobt kbd works
18:53.46Paliluf, it is possible to 1) connect bluetooth headset to n900 and 2) connect n900 (as bluetooth headset) to notebook?
18:54.07PaliI'd like to mix sound from n900 and notebook to one bluetooth headset, it is possible?
18:54.16kerioPali: in theory, yes
18:54.26kerioalthough i'm not sure if there's enough bandwidth
18:54.34PaliI can do it with my notebook
18:54.45Paliwith pulseaudio module loopback
18:55.07Palibut problem is that for phone call I need hsf profile (mic+output)
18:55.10kerioconnect headset to n900, find a way to make audio sink work properly (and possibly with some volume regulation, although it's easier to do that on the pc side)
18:55.17keriooh yeah, hsf sucks
18:55.19keriomono audio with a crappy codec
18:55.35Palibut for phone call is ok
18:55.56Paliand n900 doing autoswitch between hsf & a2dp
18:56.06Palibut ubuntu pulseaudio not :-(
18:56.35Paliso for this I need to set up n900 as bluetooth a2dp headset
18:57.11freemangordonPali: iirc it is in /etc/bluetooth/audio.conf
18:57.24freemangordonyou can disable hsp/hfp
18:58.18Palifreemangordon, now this is working: notebook is connected to bluetooth headset via a2dp and is configured as hfp and a2dp server
18:58.32PaliI can connect n900 to notebook and it is working
18:58.39Palibut problem is with mic...
18:59.42Paliif headset is connected to notebook, I cannot configure autoswitch between a2dp and hfp (becuase I do not know when to do it)
19:00.31Paliso I need to connect bluetooth headset to n900 (and n900 will do needed autoswitch), but for some reason I cannot configure n900 as a2dp server
19:00.42freemangordonPali: me neither, maybe luf can help :)
19:01.16PaliI enabled add needed options (same as on notebook), connection seems be ok, but n900 does not play any sound from notebook...
19:01.30Paliok, I will ask luf, when will be here
19:01.39freemangordonPali: hmm, I think it is missing PA config
19:01.51Palifreemangordon, config is here
19:02.00Palibut I think problem is in some policy
19:02.08freemangordonwell, the same
19:02.25Paliwe know that policy is in alsa, in pulseaudio, in alsaped, in prolog, in dres, ....
19:02.29freemangordonand iirc you are PA prolog policy master :P
19:02.48Pali:D
19:06.09PaliI think I should write to qwerty12, I fixed bug with headset button in correct place :-)
19:09.12Palibtw, where is qwerty12?
19:09.36lufkerio: what do you mean with "how do we make this into a shippable package?" ?
19:10.47kerioluf: i had to edit a configuration file that's not in the bluez package
19:11.00keriothe obexd dbus service
19:11.31Palikerio, what about update that package?
19:11.42keriohm
19:12.11lufkerio: It's already in the newest obexd package ;)
19:12.34lufhttp://talk.maemo.org/showpost.php?p=1275771&postcount=436
19:12.34keriothe disabling of syncevolution? :o
19:12.58lufAnd allowing of MAP profile ;) See the URL.
19:13.26kerioi see
19:14.08lufPali: I know nothing about PA :(
19:14.31Paliok
19:14.46Palithen I ask MAG
19:14.54kerioluf: is only obexd updated there?
19:15.25Paliromaxa, is scratchbox working?
19:15.43kerioobexd/rtcom-eventlogger-async/librtcom-eventlogger-* i mean
19:16.57keriohrmpf, there's no easy way to upgrade from a directory of .debs, is there
19:17.31romaxaPali: not yet, trying to go with script now
19:17.40Paliok
19:17.42merlin1991kerio: if it's just new versions?
19:17.44merlin1991dpkg -i * :D
19:17.56keriomerlin1991: it's also packages that aren't installed
19:18.06lufkerio: rtcom... just dependency to "autoinstall" rtcom-eventlogger-async ...
19:18.27DocScrutinizer05((* romaxa finally said "Nokia bye bye" :) ))  so you're joining CSSU now, to do "the right thing" ? :-)
19:18.49lufSo it's enough to upgrade just obexd (for you).
19:18.55kerioluf: k
19:19.41lufBut if you don't have rtcom-eventlogger-async even installed I suggest apt-get install rtcom-kerio: eventlogger-async
19:20.09keriothere's a package called rtcom-kerio? :O
19:20.56luf:D
19:20.56merlin1991:D
19:25.46keriois it really important to install rtcom-eventlogger-async and evolution-data-server-addressbook?
19:25.51kerioi don't have a carkit
19:26.50lufkerio: it isn't important for you. But you already have the eds :D
19:37.51lufPali: do you know http://jprvita.wordpress.com/2009/12/15/1-2-3-4-a2dp-stream/ ?
19:38.52Paliluf, you can read log - I configured my notebook as a2dp server, so working as bluetooth headset
19:39.41PaliI see that in that link, author using same configuration
19:39.53Paliso nothing new for me
19:48.54romaxaPali: ok, got it working
19:49.02Paliok
19:49.18romaxaPali: do I need CSSU stable repository as well?
19:49.27Paliyes
19:49.57Paliin cssu is updated microb engine
19:50.12Palifreemangordon, are you still here?
19:50.51freemangordonPali: afaik cssu-stable is still on stock microb
19:50.57romaxais it something like http://repository.maemo.org/community-stable/ fremantle free  ?
19:51.11freemangordonromaxa: yes
19:51.34Palino, without stable suffix
19:51.44romaxaPali: btw, I see tablet-browser-view-dev in repository
19:51.59romaxaSetting up tablet-browser-view-dev (2.2.6-1.15+0m5)
19:52.02freemangordonromaxa: but if you want to work on microb you should enable -testing repositories and use the source code from there
19:52.11romaxahttp://repository.maemo.org fremantle/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries tablet-browser-view-dev 2.2.6-1.15+0m5
19:52.17Palimaybe my scratchbox is broken...
19:53.07PaliI'm happy that my scratchbox can still compile ke-recv & modest :-)
19:58.00merlin1991romaxa: btw check you DEB_BUILD_OPTIONS
19:58.05merlin1991*your*
19:58.18merlin1991if you used the installer and not the manual method you'll have "thumb" in there
19:58.28merlin1991which is bad :D
19:58.51romaxamerlin1991: ok
20:02.20Paliromaxa, see: http://lists.maemo.org/pipermail/maemo-developers/2012-July/028912.html
20:03.36RST38hMoo, romaxa
20:03.38romaxaPali: ok, done, thanks
20:04.08romaxaPali: interesting, gtkadi package is available in sources but dev package not in binary
20:04.51Paliromaxa, there are more packages in SDK repo with source code only (without binary deb packages)
20:05.35Paliseems like nokia sdk/repository devs forgot to upload it
20:20.57romaxaPali: why noone built all these sources and put in sdk -dev package?
20:21.00romaxas
20:21.32Paliromaxa, because only nokia has access to sdk repo
20:22.08romaxaPali: probably make sense to make some 3-rd party sdk repo with missing package
20:22.12romaxas
20:24.56Palimerlin1991, what do you think ? ^^^
20:29.24Palifreemangordon, maybe I have code which disable n900 led in uboot
20:29.32Palibut my n900 is charging now...
20:29.46merlin1991well I can set i up, but I'm not going to build all that stuff, keep in mind it should be done with a clean sb without extras-anything or cssu
20:30.22Palifreemangordon, code is simple: u8 state = 0xff; i2c_write(0x32, 0x3d, 1, &state, 1);
20:31.15romaxajust build gtkadi, comapp, libmaemosec-certman-applet | -dev packages from sources
20:31.47merlin1991some dependency of osso-pdf-viewer is also missing
20:31.54merlin1991aka has to be built from source
20:32.02Palimerlin1991 - comapp
20:32.33Palialso missing swi prolog
20:34.51merlin1991hm I should diff the sources.gz and the packages.gz from the sdk repos
20:34.54merlin1991and then have fun :/
20:35.04merlin1991puts it on his todo
20:41.28romaxaPali: so what was the bug about portrait?
20:41.37romaxaPali: give me a ling
20:41.40romaxalink
20:42.21*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:42.43Palimerlin1991, do we have some info/bug about mce signal vs hildon property window resized for portrait mode?
20:49.11romaxaPali: oh, finally compiled tablet-browser-ui
20:49.37Paliromaxa, I found email where I wrote about that mce signal problem
20:49.47PaliI will resent it
20:49.59Paliok
20:50.11romaxaPali: so there are no bug about it?
20:50.29PaliI do not know if is reported
20:50.37Palimerlin1991, do you know?
20:53.08freemangordonromaxa: tablet-browser-ui ?!?
20:53.38Palifreemangordon, bug in autorotate
20:53.41Paliit listen to mce
20:53.48Paliinstead resize window
20:53.56freemangordonromaxa: the problem is that microb listens for mce instead of gtk wesized event
20:54.01freemangordonhehe
20:54.07keriomicrob is stupid as shit
20:54.10freemangordon*resized
20:54.15freemangordonkerio: shht
20:56.20kerioit doesn't even work properly with a mouse!
20:56.29freemangordonPali: iirc it is reported on bugtracker, but can't remember if there is a description how to simulate it
20:56.29kerioactually, it doesn't *work* with a mouse
20:57.02freemangordonkerio: it was never meant to work with a mouse
20:57.10keriowho cares
20:57.29kerioit's an X11 program that doesn't do shit if you use it with a mouse
20:57.36kerioit's stupid
20:57.47freemangordonPali: but the easiest way to reproduce it is to open microb, go to task navigator, rotate to portrait and click on microb thumbnail
20:58.22arceanmaybe this? https://bugs.maemo.org/show_bug.cgi?id=12412
20:58.25povbotBug 12412: microb odd rotation behaviour
21:06.26Paligoing offline now, bye all
21:08.06romaxahmm interesting, by some reason my N900 cannot catch satelites in maps applications
21:10.02DocScrutinizer05romaxa: use supl.google.com
21:12.03kerioi wonder if i can warez the sygic navigator
21:12.16kerioi doubt there's *one* dude that downloaded it
21:14.16romaxaDocScrutinizer05: what happened with internal real GPS device?
21:15.06DocScrutinizer05romaxa: hmm? supl is for real AGPS via real GPS device
21:15.30romaxaDocScrutinizer05: ah, ok I see
21:15.40DocScrutinizer05only that supl.nokia.com is known to have hit the sack
21:15.49ShadowJK_supl.nokia.com has been working lately for me again
21:15.55DocScrutinizer05or should I say it bite the dust
21:16.35ShadowJK_no wait
21:16.40ShadowJK_I had it set to google lol
21:16.45keriolol
21:16.48DocScrutinizer05ShadowJK_: prolly same as it ever was: 3 of the 45 servers still work - the others... not
21:17.00ShadowJK_Yeah maybe
21:17.50DocScrutinizer05we really should roll out a improver app that asks user "should I fix this shit? should I clean that mess?"
21:17.50ShadowJK_Oh btw, I was in a to me unfamiliar city a few weeks ago, and there was a street that the Maps app didn't have... But, when I wiped the cities directory, Maps started downloading from the map server instead, and the new street was included
21:18.00ShadowJK_too bad there's no way to make it "check if there's newer data online"
21:18.45DocScrutinizer05design flaw in OSM?
21:19.12ShadowJK_Oh sorry, I was talking about Nokia/Ovi Maps
21:19.21DocScrutinizer05duh
21:19.49ShadowJK_Well the preloaded apps are probably meant for data-averse users, and from that point of view it makes sense
21:20.06DocScrutinizer05not sure I agree
21:20.17ShadowJK_Amusingly it still finds things when you search, it's just that the search result is in middle of nowhere
21:20.26ShadowJK_or looks like that, because it doesn't draw the street
21:20.29DocScrutinizer05hahahaha
21:20.35ShadowJK_but the search is done online
21:21.02ShadowJK_The number one reason people try to preload maps is because they don't have proper data subscribtion
21:21.08DocScrutinizer05design flaw failwale
21:21.27keriopreloading maps makes it faster, too
21:21.36DocScrutinizer05yep
21:21.54DocScrutinizer05also there's probably no diff tween preloaded and cached tiles
21:22.23DocScrutinizer05so if cache never expires, that's pretty bad
21:23.41ShadowJK_These were the maps that were shipped preloaded with the device in 2009
21:23.47DocScrutinizer05I guess at Nokia simply nobody considered that problem
21:25.12DocScrutinizer05"new streets??? are you kidding? how long do you think any user will use that device?"
21:27.00ShadowJK_Nah, they seem to "get that", or atleast some Nokia person commented on apple's claim that their maps are "99.9% complete", by saying that by the time their mapping cars have uploaded their data and customer has downloaded new map, theirs have gone from 100 to 85%, or 50% in india
21:27.05ShadowJK_:P
21:27.16DocScrutinizer05"new nokia bl-5j battery with higher capacity? let's call the hw guys if they already planned something .... see? no problem with BSI, there'll never be any other than this very bl-5j we built bme for"
21:28.30ShadowJK_Actually, bme is reporting design capacity of 1400-something for the new higher capacity Nokia BL-5J
21:28.32merlin1991btw on harm the nokia (ovi) maps do have a cache age, and it updates tiles
21:28.46DocScrutinizer05ShadowJK_: ooooh
21:30.38ShadowJK_I didn't check whether it otherwise behaves sanely, because I stop bme soon after boot anyways.. :P
21:31.30ShadowJK_added it to his cluttered graph: http://enivax.net/jk/n900/ohm.png
21:32.10ShadowJK_Roughly third best on this graph, ignoring mugen2400: http://enivax.net/jk/n900/margin.png
21:35.52ShadowJK_My japod is somewhere at 180 cycles now. Last capacity measurement at 178 cycles, 1412mAh. Was around 1460 new.
21:36.48ShadowJK_New BL-5J 1473mAh, but the test conditions aren't exactly the same
21:58.26*** join/#maemo-ssu trumee (~parul@78-105-131-61.zone3.bethere.co.uk)
22:24.23DocScrutinizer05ShadowJK_: could you prope BSI resistance?
22:24.32DocScrutinizer05probe*
22:25.04DocScrutinizer05and post value of `bsi-read` ?
22:25.38*** join/#maemo-ssu trumee (~parul@78-105-131-61.zone3.bethere.co.uk)
22:28.58ShadowJK_I don't know of bsi-read?
22:29.12freemangordonShadowJK_: it is pre-installed
22:29.16ShadowJK_remind me tomorrow anyway
22:29.50DocScrutinizer05IroN900:~# bsi-read
22:29.52DocScrutinizer05raw BSI ADC reading: 469
22:29.53DocScrutinizer05BSI: 1014
22:30.00DocScrutinizer05...
22:30.27DocScrutinizer05('old' bl-5j)
22:31.30freemangordon~1750/(1024-469)
22:31.30infobot3.153153153153
22:31.46freemangordonhmm, looks like i cannot remember the formula
22:32.47DocScrutinizer05* dunnowhichfactor
22:33.10DocScrutinizer05~1014/1320
22:33.10infobot0.768181818182
22:33.37DocScrutinizer05~1014 / 0.77
22:33.37infobot1316.883116883117
22:33.50DocScrutinizer05~1/0.77
22:33.50infobot1.298701298701
22:34.02freemangordon1000 * (10000 * voltage / 1705);
22:34.12DocScrutinizer05~1014 * 1.3
22:34.12infobot1318.2
22:34.35DocScrutinizer05~1014 * 1.28
22:34.35infobot1297.92
22:34.51DocScrutinizer05sth along that line, iirc
22:35.42freemangordon~1000*(10000*468/1705)
22:35.43infobot2744868.035190615803
22:36.01freemangordon~1000*(10000*1014/1705)
22:36.01infobot5947214.07624633424
22:36.05freemangordonthe fuck
22:36.52DocScrutinizer05voltage???
22:37.05freemangordonyeah, should be raw value
22:37.44freemangordon(1024-468)/1705
22:37.48freemangordon~(1024-468)/1705
22:37.48infobot0.326099706745
22:37.52DocScrutinizer05that's BSI!
22:37.59DocScrutinizer05mAh
22:38.05DocScrutinizer05not voltage
22:38.17freemangordonit is voltage
22:38.41DocScrutinizer05aha
22:38.49freemangordonIconst*Rbsi
22:39.07DocScrutinizer05I couldn't care less
22:39.33freemangordonaah, I am stupid
22:40.05freemangordon~1280 * (1200 * 468)/(1024 - 468)
22:40.05infobot1292892.086330935359
22:40.12freemangordonhere it is
22:40.54DocScrutinizer05now is this kabala or what?
22:40.58*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
22:43.06DocScrutinizer05nfc what all this is supposed to tell me
22:45.23*** join/#maemo-ssu luf (~luf@ip-89-103-223-164.net.upcbroadband.cz)
22:48.22ShadowJK_reporting.design: 1434
22:49.04ShadowJK_raw bsi adc reading 498, bsi 1136, raw battery level 705, battery level 4134
23:37.46*** join/#maemo-ssu luf (~luf@ip-89-103-223-164.net.upcbroadband.cz)
23:41.23lufJust for record and discussion or when someone want to help. Are you sure that PulseAudio on N900 supports A2DP Sources over BT?
23:42.37lufI tried N900 + bluez-4.99 with Notebook + bluez-4.98 +Audio Source and N900 in pactl list reports in Card just:
23:42.42lufProfiles:
23:42.48lufa2dp: High Fidelity Playback (A2DP) (sinks: 1, sources: 0, priority. 10)
23:42.53lufhsp: Telephony Duplex (HSP/HFP) (sinks: 1, sources: 1, priority. 20)
23:42.58lufoff: Off (sinks: 0, sources: 0, priority. 0)
23:44.08lufWhen I play sound from N900 to my notebook I see also: a2dp_source: High Fidelity Redord (A2DP) (sinks: 0, sources: 1, priority. 10)
23:46.15lufSo the question is if the patch or some successtor patch is included in maemo PA: http://www.digipedia.pl/usenet/thread/11149/5856/

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.