IRC log for #maemo-ssu on 20121202

00:07.25*** join/#maemo-ssu Jade (~jade@Jade.broker.freenet6.net)
00:07.29*** join/#maemo-ssu Jade (~jade@unaffiliated/jade)
01:06.40*** join/#maemo-ssu FIQ (~fiq@unaffiliated/fiq)
01:19.06*** join/#maemo-ssu Jaded (~jade@Jade.broker.freenet6.net)
01:19.06*** join/#maemo-ssu Jaded (~jade@unaffiliated/jade)
02:02.27*** join/#maemo-ssu rd_ (~rd@p57B49238.dip0.t-ipconnect.de)
02:08.17*** join/#maemo-ssu ruskie (ruskie@sourcemage/mage/ruskie)
02:09.10*** join/#maemo-ssu FIQ (~fiq@unaffiliated/fiq)
02:19.23*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
02:56.45Palimerlin1991, I suggest to downgrade pulseaudio ABI version from 16 to 15
02:56.51Palisee reason on http://talk.maemo.org/showthread.php?p=1149125#post1149125
02:57.15Palimaemo version 16 is incompatible with upstream version 16
02:57.49Paliupstream pulseaudio versions are compatible (e.g. version 26 is compatible with 16)
02:58.19Paliso also maemo version 16 is compatible with upstream 15
02:59.12Paliabove maemo incompatibility causing that I'm not able to use maemo pulseaudio server via network
02:59.47Palisee also: http://www.mail-archive.com/pulseaudio-discuss@mail.0pointer.de/msg09900.html
03:00.01*** join/#maemo-ssu rd (~rd@p57B48972.dip0.t-ipconnect.de)
03:17.57*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:35.01*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
03:43.31*** join/#maemo-ssu jonwil_ (~jonwil@27.33.137.199)
03:46.58*** join/#maemo-ssu kolp_ (~quassel@212.255.21.240)
03:56.35DocScrutinizer05ohlol
03:56.47DocScrutinizer05hail polypaudio!
04:04.57*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
04:19.56*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
05:05.36*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
05:13.05*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
09:15.59*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
09:23.48*** join/#maemo-ssu Guest15724 (~rd@p57B48972.dip0.t-ipconnect.de)
10:24.23*** join/#maemo-ssu Martix (~martix@ip-62-245-106-78.net.upcbroadband.cz)
10:25.08*** join/#maemo-ssu NIN101 (~NIN@p5DD28FAA.dip0.t-ipconnect.de)
10:35.16*** join/#maemo-ssu arcean (~arcean@aacz142.neoplus.adsl.tpnet.pl)
10:58.16*** join/#maemo-ssu Guest15724 (~rd@p57B48972.dip0.t-ipconnect.de)
11:06.56*** join/#maemo-ssu M4rtinK2 (~M4rtinK@mail.melf.eu)
11:22.06*** join/#maemo-ssu joshgillies (~josh@58-6-103-4.dyn.iinet.net.au)
11:47.14*** join/#maemo-ssu arcean (~arcean@aacz142.neoplus.adsl.tpnet.pl)
12:30.43jonwilpali: ping
12:30.50Palijonwil, pong
12:31.05jonwilhow goes it? Done anything interesting recently? :)
12:31.57keriohow recently?
12:32.13Palisee log about pulseaudio :-)
12:32.56Palijonwil, and I wrote open source replacement for battery & profile selector menu applet
12:33.04Paliboth are in cssu-devel
12:33.05jonwilnice
12:33.28Paliprofile selector which support all configured profiles (not only silent & general)
12:33.58Palijonwil and BME replacement is for testing
12:34.07jonwilnice :)
12:35.01kerioPali: what's the link to the bme replacement again?
12:35.32Palihttps://gitorious.org/rx51-bme-replacement
12:35.45keriono, the precompiled .debs
12:36.42Palihttps://atrey.karlin.mff.cuni.cz/~pali/rx51-bme-replacement/
12:42.03jonwilThe systemui work done by freemangordon is great too :)
12:46.06jonwilIf I had the time and inspiration, I would go back and work more on icd stuff or libcal or connectivity UI or whatever else
12:46.49jonwilbut I am too busy these days for N900 mostly
12:52.12*** join/#maemo-ssu kolp (~quassel@212.255.21.240)
12:57.12jonwilso pali, is your bme stuff a proper drop-in replacement for Nokia BME stuff?
12:57.34Palishould be
12:57.40Palibut needs testing
12:57.44jonwildoes it actually make use of whatever BME info exists in CAL?
12:57.48jonwilwhatever the BME CAL data is?
12:57.57Palino, it does not use BME CAL
12:58.05jonwilok, what data is in BME cal anyway?
12:58.23PaliI know that in BME CAL are constants for temperature formula
12:58.35Paliseems that constants are same on all n900...
12:58.58Paliso I hardcoded conversation formula for temperature into kernel driver
12:59.18Palijonwil, I do not know what other is stored in BME CAL
12:59.23jonwilok, so it contains correct temperature calculation formula?
13:00.16Palishould be, at least it returns +/-1°C in range 0-30°C
13:00.37PaliI think we have right formula for temperature
13:01.15Palijonwil, btw, freemangordon already RE libcal: https://gitorious.org/cal
13:01.52PaliI tested that only in nandsim, and it worked
13:02.08Palijonwil, and now we have open source flasher
13:02.10Pali0xFFFF
13:02.32Palijonwil, see: http://talk.maemo.org/showthread.php?t=87996
13:03.18jonwilnice that we have 0xFFFF
13:03.31jonwilexcept that it doesn't seem to do all things Nokia tools do :)
13:04.58Palijonwil, only mmc flashing & proper testing is missing
13:05.12jonwilok :)
13:05.19PaliI rewritten 0xFFFF and added full fiasco support
13:06.27jonwilgreat for libcal, one less binary blob needed for meego/mer/nemo :)
13:10.48kerioPali: hm, i'm not sure about the temp - i had it register 27° when there were definetely less than that
13:10.57kerio(it's still precise enough)
13:11.14keriojonwil: the bme replacement works fine for me
13:11.53Palikerio, there is also some noise due to madc
13:12.22Paliand in kernel is table of raw <-> °C values
13:12.35Paliwith precise 1°C
13:13.04jonwilso you aren't using the math, you are using precomputed data tables?
13:35.05*** join/#maemo-ssu Jade (~jade@Jade.broker.freenet6.net)
13:35.05*** join/#maemo-ssu Jade (~jade@unaffiliated/jade)
14:07.57*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
14:45.51DocScrutinizer05kerio: bq27200 doesn't report ambient temp
14:46.35kerioi'm talking about the temp reported by dsme-thermalobject-surface, not sure where it gets the data
14:54.40DocScrutinizer05what makes you think you know what that value should be?
14:55.30DocScrutinizer05do you know what's the surface of the thermalobject?
14:56.07*** join/#maemo-ssu arcean (~arcean@aacz142.neoplus.adsl.tpnet.pl)
15:11.06DocScrutinizer05jonwil: not precomputed, predefined. Derived from 'lab'-test
15:11.22*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
15:11.47jonwilso this is better than using the actual math because...?
15:12.14Palijonwil, math library is not in kernel
15:12.24Paliand I need log10
15:12.31DocScrutinizer05jonwil: pali had the brilliant idea to read out raw and hald-addon-bme computed battery temp values
15:12.33jonwilok, so kernel has no log10
15:12.54jonwilmakes sense
15:13.06DocScrutinizer05jonwil: and then I did a test series with my device in freezer
15:14.06DocScrutinizer05jonwil: after all it's less than 200 points in that table, so bytesize isn't that bad for kernel
15:14.48DocScrutinizer05and pali did a very clever splitting into two tables
15:16.01jonwilok, great
15:17.01*** join/#maemo-ssu Jade (~jade@Jade.broker.freenet6.net)
15:17.01*** join/#maemo-ssu Jade (~jade@unaffiliated/jade)
15:33.01Palimerlin1991, see: https://gitorious.org/community-ssu/pulseaudio/merge_requests/1
15:33.18Palialso tell about this to luf too
15:43.28kerioPali: oh, version 15 so that newer versions of pulseaudio will use the older, working protocol when talking to our pulseaudio?
15:43.50Paliyes
15:45.23PaliI want this: connect my bluetooth headset to n900 and also to notebook. But connecting a2dp to two devices are not possible... So solution can be to connect n900 and notebook audio
15:46.02PaliI tried to use bluetooth a2dp for n900 <-> notebook connection, but it was very slow when I connected also bluetooth headset to n900
15:46.15Paliso I'm trying to use wifi for that
15:46.39Paliand easy way can be to use directly pulseaudio becuase it it network audio server
15:47.17Palibut nokia crippled pulseaudio in n900 and network connection is not possible :-(
15:48.11Palikerio, do you have any other idea how to connect bluetooth headset to both devices?
15:49.17kerioPali: bluetooth audio sink on your laptop
15:49.34keriomake the n900 use it as the bluetooth headset
15:49.47keriothen make your laptop use your headphones
15:50.01Palikerio and there is other problem. my notebook has bad bluetooth antenna. n900 has better
15:50.12keriolol wat
15:50.18keriomy n900 has an awful bluetooth antenna :(
15:50.34Paliso I want to use n900 bluetooth for higher range
15:50.35kerioPali: keep the n900 close to your laptop :)
15:50.40keriooh, i see
15:51.04Palinot possible, because I want to go to other room with connected bluetooth headset
15:51.19keriouse the esound network protocol, i heard it works
15:51.28Palibut n900 can be close to notebook
15:51.34kerioand, of course, use it through usb networking
15:51.37Palikerio, yes I tried it
15:51.45Palibut problem is that esound has only sink
15:51.53PaliI need both sink & source
15:52.27kerioyou only need the sink, don't you?
15:52.31keriothe sink on the n900
15:52.38kerioand then let it output normally to your BT headset
15:53.50Paliand problem with esound is that there is 1s lattency
15:53.52Palino idea why
15:54.03Palipulseaudio has support for synchronization
15:54.31Paliand next problem with esound is that autosuspend module not working...
15:54.51keriowell, fix pulseaudio :)
15:55.28PaliI'm thinking about other solution: stream audio via UDP with some synchronize protocol
15:55.49Palimaybe with some realtime compression
15:56.05Palibut I do not know which codec is good for realtime stream...
15:56.23kerioPali: you need pc-n900
15:56.31kerioover usb networking, you won't need compression
15:57.07Palimaybe not
15:57.18*** join/#maemo-ssu Jade (~jade@Jade.broker.freenet6.net)
15:57.18*** join/#maemo-ssu Jade (~jade@unaffiliated/jade)
15:57.45Palibut I preffer wifi as wireless solution
15:57.57keriowifi *and* bluetooth will work like absolute crap
15:58.01kerioseriously
16:03.59SkryPali: how about using rtp (which usually uses udp) via gstreamer or ffmpeg
16:04.21PaliSkry, do you have some howto?
16:05.35Skrywith gstreamer this could be a pipeline audio source -> encode with dsp -> stream with rtp, with ffmpeg it's a one-liner
16:08.27Skrycan't remember exact syntax but something like this ffmpeg -f alsa -i hw0:0 -acodec libmp3lame -ab 128k -ac 2 -re -f rtp rtp://ip:port
16:34.08DocScrutinizer05really clever headsets can pair two 2 hosts concurrently
16:34.16DocScrutinizer05via A2DP
16:35.06RST38hAnd play each into a separate ear!
16:35.14DocScrutinizer05hahahaaa
16:35.57DocScrutinizer05I guess they either mix, or mute the input with lower prio when higher prio input starts playback
16:36.56DocScrutinizer05honestly, use *wired* headset with N900, then you can pair the N900 to arbitrary A2DP as virtual BT headset
16:42.55kerioDocScrutinizer05: either g_ether sucks, or socat sucks, or the n900 sucks
16:42.56kerio:(
16:43.13DocScrutinizer05or kerio sucks? ;-P
16:44.27DocScrutinizer05kerio: what's the problem?
16:45.04*** join/#maemo-ssu rd (~rd@p57B48972.dip0.t-ipconnect.de)
16:48.20kerioDocScrutinizer05: i can only get to 10MB/s via usb networking
16:50.11keriosocat tcp-listen:31337 /dev/null on one side, socat /dev/zero tcp-connect:ip:31337 on the other
16:51.07DocScrutinizer05hmm
16:51.57DocScrutinizer05~10 * 8
16:51.57infobot80
16:52.45DocScrutinizer05overhead of factor 5, easily possible depending on blocksize of transmitted pkgs
16:53.10DocScrutinizer05USB2 maxes out at 400MBit/s
16:53.14Paliffmpeg or libav not working...
16:53.16kerio*480, in theory
16:53.20Palino sound over wifi
16:53.23DocScrutinizer05aah, ok, 480
16:53.28keriook, i'm going to try with g_nokia
16:53.43Palionly on localhost is ffmpeg working
16:54.38DocScrutinizer05kerio: btw you're using TCP aiui, you know this is a connection-oriented transport, with ACK and all
16:55.54keriohm, still maxes out at 10MB/s
16:55.56keriowith nc, now
16:56.00*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
16:57.16DocScrutinizer05netcat and socat are basically identical
16:57.58DocScrutinizer05you're still sending packages of unknown size via whole TCP stack, with complete protocol
16:58.12DocScrutinizer05use UDP for a start
16:58.42DocScrutinizer05use dd to pipe blocks of known size to socat
16:59.04DocScrutinizer05(or find the right socat parameters to define blocksize and no timeout)
16:59.27DocScrutinizer05ethernet is NOT a rs232 cable
17:00.37keriohah, second time OS X panic'd when doing mass USB transfers
17:00.51keriosilly me expecting a BSD system to be good at networking
17:00.55RST38hSadly, it is not.
17:01.17keriogood at networking, or a BSD system?
17:02.19DocScrutinizer05kerio: (overhead) you know each ethernet TCP packet has a header with MAC and port-addr, a IP origin and destination, a size-of-payload value, then a leadout with checksum, whatnot else
17:02.40keriohm
17:03.03DocScrutinizer05ethernet is NOT rs232
17:03.31kerionow i'm wondering if my router has the appropriate rndis ethernet driver
17:03.54kerioand i'm also wondering why libicd-network-usb doesn't take down the usb0 interface properly
17:03.55keriooh well
17:04.07DocScrutinizer05for packet sizes of 16kBytes, overhead is almost negligible. For transfering single chars as ethernet packages, it's insane
17:04.14RST38hAppleTalk was however.
17:05.01*** join/#maemo-ssu Jaded (~jade@Jade.broker.freenet6.net)
17:05.01*** join/#maemo-ssu Jaded (~jade@unaffiliated/jade)
17:05.12DocScrutinizer05kerio: so basically you're probing some random stuff with your socat setup
17:05.35keriothere should be a way to specify the packet size, right?
17:05.37kerioin theory, at least
17:05.39DocScrutinizer05the result is meaningless, unless you understand what's really going on
17:06.05DocScrutinizer05yes, there is indeed a plethora of ways to handle package size
17:06.53DocScrutinizer05e.g for ssh input, you can define timeouts after which package gets sent anyway, and also you can define termination chars which make package get sent, like CR/NL
17:08.06DocScrutinizer05too large chunks are segmented to max transmission size of channel by TCP stack
17:08.24DocScrutinizer05it's not exactly trivial
17:09.09DocScrutinizer05see ifconfig|grep MTU
17:09.21DocScrutinizer05and a lot of other parameters
17:10.45DocScrutinizer05man socat: >>
17:10.47DocScrutinizer05<PROTECTED>
17:10.48DocScrutinizer05<PROTECTED>
17:11.28DocScrutinizer05but now you're at your own, since I'm afk
17:18.56DocScrutinizer05anyway, read "man socat", and when you're done with that and *understood* all of it, you're a step further to proper testing of g_ether (and actually a step further than I am)
17:20.58keriook, i've gotten 20MB/s
17:21.12keriotelling socat to use 32k or 64k as the block size
17:21.56kerioactually no, it's irrelevant
17:22.05kerioapparently something is seriously weird
17:22.11kerion900->pc is 20mb/s
17:22.14keriopc->n900 is 10mb/s
17:22.28kerioi'll try with a different pc, so we can rule out os x's funkyness
17:23.20DocScrutinizer05kerio: WTF are you trying to proove?
17:23.34kerioi want to see how much data i can push through usb networking
17:23.47keriohow much data over time, i mean
17:24.22DocScrutinizer05that's an incomplete question, unless you define the means you use to transfer that data as a part of the answer to find
17:25.07DocScrutinizer05obviously the amount of data/time is massively depending on the transport and tools and parameters you use
17:25.54RST38hDoc: Sorry to interrupt this lively conversation, but he is on my /ignore list, if it tells you anything
17:26.33DocScrutinizer05and the transport, tools, parameters define your error-recovery you get, and a number of other not so irrelevant properties
17:26.55kerio...wtf, what did i do?
17:26.58DocScrutinizer05RST38h: hehe
17:27.29*** join/#maemo-ssu FIQ (~fiq@unaffiliated/fiq)
17:31.06kerioDocScrutinizer05: anyway, this started just as a way to test libicd-network-usb
17:31.20DocScrutinizer05mhm
17:32.59kerioit works fine, apart for the fact that the usb0 interface is kept up even after you disconnect
17:33.25DocScrutinizer05hmm, it implements a virtual NIC I guess
17:33.47DocScrutinizer05you have to modprobe -r to remove that NIC, I guess
17:34.58DocScrutinizer05best indication that you got a virtual NIC is the fact it's using a MAC addr
17:36.22DocScrutinizer05basically for USB networking MAC are rather meaningless or at least not needed, but since any NIC has a MAC, the USB-networking also has one (actually one per end)
17:36.37kerioit does, but i'd still expect the disconnect to do the equivalent of ifconfig usb0 down
17:36.58DocScrutinizer05why should it?
17:38.36keriobecause it does the same for every other interface
17:38.42keriowlan0 goes down, gprs0 goes down
17:41.21DocScrutinizer05send patches ;-)
17:43.45DocScrutinizer05btw I don't think wlan0 goes "state:down" just for broken RF connection. It needs action from ICD to make WLAN IF go down (and that seems to fail for me sometimes, which results in WLAN still up for AP that's already miles away)
17:44.45DocScrutinizer05once or twice I might've encountered same for GPRS roaming
17:45.09DocScrutinizer05wasn't exactly easy to investigate
18:12.36*** join/#maemo-ssu rd (~rd@p57B48972.dip0.t-ipconnect.de)
18:29.59*** join/#maemo-ssu FIQ (~fiq@unaffiliated/fiq)
19:20.53Palikerio, due to that musb working only if some gadget is loaded (no idea why) and charger detection is in musb, some gadget driver is still loaded
19:21.11Paliso when you disconnect usb cable (from nokia pc suite mode), g_nokia is still loaded
19:21.26kerioPali: huh?
19:21.33Paliand this is reason why usb0 is still connected
19:21.41keriothe phone detects the charging even without a gadget module i think
19:21.47Palino
19:21.50Paliyou can try it
19:21.52kerioPali: connected and up are different things
19:22.27Palialso for usb host mode some gadget driver must be loaded
19:22.46keriocat /sys/class/power_supply/bq24150a-0/mode -> "auto (host)"
19:22.56keriolsmod | grep g_ -> ""
19:23.19Paliconnect wallcharger
19:23.29keriooh, it'll stay as host?
19:23.31kerioi see
19:24.12Palibtw, g_nokia is composite gadget driver
19:24.30Paliwhat about adding also file storage component to nokia gadget?
19:24.54keriojust don't make it necessarily start softupd and phonet-at and i'm cool with it
19:24.55Paliand we do not need to switch between mass storage & pc suite
19:25.20Paliproblem is that mass storage kernel code is modular only in upstream kernel
19:25.27Paliso we need some 3.x for that
19:25.58keriocan't you just "magically" merge g_file_storage and g_nokia?
19:26.11Paliand g_file_storage (non composite) was renamed to g_mass_storage (comosite)
19:26.19kerioi see
19:26.20Paliyou cannot merge non composite to composite driver
19:26.30kerioso you'd need to backport g_mass_storage at the very least
19:26.37Paliyes
19:26.57keriohmm, look into it and see if you feel like doing it
19:27.03kerio(if it's even possible at all ofc)
19:27.06Palibut there can be other problem.... there are a lot of parts which loading g_nokia or g_file_storage driver
19:27.24Palithen we need to patch every script which loading gadget driver
19:27.26keriothe UI is a different problem i suppose
19:29.48Paliyes that stupid usb dialog...
19:37.00DocScrutinizer05musb_core eats some 60mA when not in suspend
19:38.08DocScrutinizer05that's why you want to wakeup musb_core when VBUS gets detected, so you can talk to 1707 PHY via ULPI interface, to detect D+- short
19:38.47DocScrutinizer05then the latest when VBUS gets removed, you might want to suspend musb_core to save those 60mA it eats
19:39.58DocScrutinizer05I hope this might shed some light on the problems we face with USB and musb and loading kernel modules and charger detection and whatnot
19:43.32*** join/#maemo-ssu Sicelo900 (~user@unaffiliated/sicelo)
20:20.01*** join/#maemo-ssu Sicelo900 (~user@41.215.145.1)
20:20.01*** join/#maemo-ssu Sicelo900 (~user@unaffiliated/sicelo)
20:30.32*** join/#maemo-ssu luf (~luf@ip-89-102-208-114.net.upcbroadband.cz)
20:30.45lufPali: ping
20:33.44Paliluf, pong
20:34.10lufThe merge request seems ok. BTW do we know nothing else needs the cripled ABI?
20:34.45Palino idea
20:34.47Palineeds testing
20:35.46lufI have to merge it using my local computer or should I just click somewhere?
20:40.20Paliluf, git pull from my repo & git push to cssu
20:40.26Palibut I can do it too
20:40.44Palievery cssu member can push to cssu repos
20:40.52lufI know.
20:41.06lufFeel free to push it. I ack it.
20:51.48kerioPali: going back to the gadget module thing... technically only things we control should unload/load those modules
20:52.20keriothe UI when you do mass storage/pc suite - really some scripts, /etc/event.d/bme, possibly a usb host mode script or two
20:58.42kerioPali: a grep shows that the string "g_file_storage" only appears in a handful of files
20:59.39kerioosso-usb-mass-storage-{en|dis}able.sh, pcsuite-enable.sh, bme, softupd, testserver (wtf is this?), ke-recv
21:00.34kerioalso, wtf is g_softupd? and g_zero?
21:01.14Paliosso-usb-* pcsuite* is in ke-recv
21:01.24Palibme is going to be replaced
21:01.35Palisoftupd is server application for flashing
21:02.03Pali(flasher on n900 is connecting to softupd and sending kernel image to softupd)
21:02.15kerioPali: ooh, g_zero is what we should be really using when in no mode i think
21:02.19Palisoftupd is also responsible for emmc flashing
21:02.34kerioPali: softupd is also launched as a daemon when in pc suite mode
21:02.38kerioi think to do pc suite stuff
21:02.49kerioto do stuff with pcsuite/ovisuite i mean
21:02.54Paliyes, because in pc suite mode, you can flash kernel/mmc
21:03.00Palialso nolo, xloader & cmt
21:03.05Palivia Mk II protocol
21:03.09kerioPali: that makes no sense really
21:03.11kerioit's a live system
21:03.18Palirootfs is not possible
21:03.29Palibut why kernel, nolo & xloader?
21:03.45Palibecause it does not break anything running
21:03.49keriohm, g_zero doesn't even negotiate for power actually
21:03.59Palitestserver is propably server application for phoenix testing & cal access
21:04.10Paliit is started only in TEST bootmode
21:04.29Paliso never on normal n900
21:04.39kerioso i can remove it?
21:04.42Paliyes
21:05.04Palig_softupd is gadget for emmc flashing via softupd
21:05.14Palig_nokia has also g_softupd component
21:05.53PaliI bet that nokia wanted only zero copy driver without usb networking (which is in g_nokia) so they created stupid g_softupd
21:06.08Palig_zero is zero gadget driver which doing nothing
21:06.37Palikerio, testserver is good candidate which will be removed from some possible CSSU fiasco image
21:06.46Paliit only store space on rootfs
21:07.17Paliand 99,99% users and non developers did not used it
21:07.29Palis/non/non nokia/
21:07.37keriohow do you even enter the TEST bootmode?
21:08.22kerioDocScrutinizer05: what good is a usb gadget module that doesn't even negotiate the maximum current? :s
21:10.04Palikerio, legal way only via phoenix
21:10.16keriois it a special NOLO thing?
21:10.16Palikerio, other way is to patch 0xFFFF
21:10.22PaliI think
21:10.38Palior patching U-Boot
21:10.46kerioi was going to say that :)
21:11.02Paliyou need to add test into omap atag bootreason
21:11.16Palibtw, last uboot has variable where can be sotred bootreson and bootmode
21:11.46Palithere is NOLO command for booting kernel (used when you want to exit flashing without disconnecting cable)
21:12.03Paliand also used if you want to boot loaded kernel via USB
21:12.21Paliand if you change some param from 0 to 1, then it boot into UPDATE mode which is used for flashing eMMC
21:12.39Paliso I think if I change 0 to 2 or 3 it can enter to LOCAL or TEST mode :-)
21:13.12Palikerio, or by patching getbootstate
21:13.29PaliLOCAL & TEST mode is selected from BSI...
21:14.56*** join/#maemo-ssu arcean_ (~arcean@aacz142.neoplus.adsl.tpnet.pl)
21:20.20DocScrutinizer05kerio: sorry, I don't know how to answer
21:24.38DocScrutinizer05((<kerio> how do you even enter the TEST bootmode?)) afaik with a special TEST 'battery' that has a certain special BSI value
21:25.46kerioi wonder why nokia left all this cruft around, considering that they were trying to save as much space as they could on the rootfs
21:26.49DocScrutinizer05well, the knowhow became sparse and spread all over the team, nobody really had a comprehensive overview
21:26.57PaliDocScrutinizer05, getbootstate enter to test mode if there is special BSI
21:27.00Paliyou are right
21:27.11DocScrutinizer05I know ;-)
21:27.36DocScrutinizer05I know about test battery since ~2 years
21:27.46Palihttps://bazaar.launchpad.net/~pali/+junk/maemo_getbootstate/view/head:/getbootstate.c#L494
21:27.51PaliRE getbootstate ^^^^
21:28.25PaliDocScrutinizer05, where did you found test battery??
21:28.30DocScrutinizer05and there's an explicit test for that somewhere in preinit or sth
21:28.58Paliit it in getbootstate, see source :-)
21:28.59DocScrutinizer05iirc stskeeps pointed me to some details about BSI
21:29.17Palihm, do you know something more about BSI?
21:29.23DocScrutinizer05yep, the test in preinit is using getbootstate
21:29.38Paliso is test mode really used in phoenix?
21:29.46DocScrutinizer05(more BSI) alas nope
21:30.07DocScrutinizer05it's used in phoenix with service fixture
21:30.35Palifrom phoenix GUI which I saw, I think that phoenix can write to CAL only from test mode
21:30.51Palithere is button to boot into normal, test or local mode...
21:30.53DocScrutinizer05plausible
21:31.08DocScrutinizer05yep, that changes BSI resistor value
21:31.12DocScrutinizer05afaik
21:31.22Paliand only application which doing something with libcal is testserver
21:31.38Paliand testserver event.d script has line start in testmode only
21:31.45Paliso then it make sense
21:32.01DocScrutinizer05o/ bbl ->dinner
21:36.26DocScrutinizer05ooh one thing: I'm quite sure NOLO also checks for BSI TEST value, and possibly behaves differently when TEST battery detected
21:36.45DocScrutinizer05and even cmt does, afaik
21:37.16DocScrutinizer05it seems Nokia is using this scheme on a lot of their phones
21:37.41DocScrutinizer05after all phoenix isn't N900-specific
21:47.13*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
21:53.02PaliDocScrutinizer05, but NOLO and fiasco yes
21:53.24*** join/#maemo-ssu joshgillies (~josh@ppp108-33.static.internode.on.net)
21:58.23*** join/#maemo-ssu joshgillies (~josh@ppp108-33.static.internode.on.net)
22:33.41*** join/#maemo-ssu joshgillies (~josh@150.101.108.33)
22:38.40*** join/#maemo-ssu joshgillies (~josh@2001:44b8:513d:2100:5a94:6bff:fed2:9714)
23:32.21*** join/#maemo-ssu andre__ (~andre@ip-84-42-203-5.net.upcbroadband.cz)
23:32.22*** join/#maemo-ssu andre__ (~andre@wikimedia/aklapper)
23:59.43*** join/#maemo-ssu andre__ (~andre@wikimedia/aklapper)

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