IRC log of #maemo for Monday, 2017-06-05

*** chfoo[m] has joined #maemo00:04
*** LouisA has quit IRC00:17
*** florian has quit IRC00:18
*** florian has joined #maemo00:31
*** florian has quit IRC00:37
*** geaaru__ has joined #maemo01:09
*** eMHa has joined #maemo01:10
*** geaaru_ has quit IRC01:10
*** Venemo has quit IRC01:16
*** Pali has joined #maemo01:18
*** Pali has quit IRC01:43
*** gry has joined #maemo02:17
*** Wikiwide has joined #maemo02:45
WikiwideDust... Does Modest have a limit on Draft-message length somewhere? Number of lines or something? Because I have the unfortunate task of forwarding a very long email, and editing it before clicking 'Send' (removing personal information from text), which means going through all the text (and I remove excessive > breaklines on the way, too, given how they make paragraphs less readable).02:49
*** DocScrutinizer05 has quit IRC02:57
*** DocScrutinizer05 has joined #maemo02:57
*** atk has quit IRC03:00
*** kraft has quit IRC03:00
*** kraft has joined #maemo03:00
*** kraft is now known as 21WAAGJXD03:01
*** ab has quit IRC03:01
*** wnd has quit IRC03:01
*** 21WAAGJXD is now known as kraft03:01
*** ab has joined #maemo03:01
*** ab has joined #maemo03:01
*** cpt_nemo_ has joined #maemo03:01
*** wnd has joined #maemo03:01
*** atk has joined #maemo03:02
*** hurrian has quit IRC03:05
*** cpt_nemo has quit IRC03:06
*** cpt_nemo_ is now known as cpt_nemo03:06
*** Wikiwide has quit IRC03:07
*** infobot has quit IRC03:19
*** infobot has joined #maemo03:21
*** hurrian has joined #maemo03:22
*** ginggs has quit IRC03:36
*** spiiroin has quit IRC05:30
*** spiiroin has joined #maemo05:58
*** pagurus has quit IRC05:58
*** pagurus has joined #maemo05:59
*** sunshavi has quit IRC06:16
*** spiiroin has quit IRC07:22
*** spiiroin has joined #maemo08:16
*** xkr47_ is now known as xkr4708:18
*** gry has quit IRC08:57
*** wnd_ has joined #maemo09:50
*** spiiroin has quit IRC09:50
*** wnd has quit IRC09:50
*** kraft has quit IRC09:50
*** eMHa has quit IRC09:50
*** geaaru__ has quit IRC09:50
*** RST38h has quit IRC09:51
*** zgrepc has quit IRC09:51
*** eMHa_ has joined #maemo09:51
*** geaaru__ has joined #maemo09:51
*** spiiroin has joined #maemo09:51
*** kraft has joined #maemo09:51
*** zgrepc has joined #maemo09:51
*** pagurus has quit IRC09:53
*** pagurus has joined #maemo09:54
*** wnd_ is now known as wnd10:00
*** ced117 has quit IRC10:07
*** ced117 has joined #maemo10:08
*** ced117 has quit IRC10:08
*** ced117 has joined #maemo10:08
*** jskarvad has joined #maemo10:43
*** chem|st_ is now known as chem|st10:59
*** L29Ah has left #maemo11:04
*** spiiroin has quit IRC11:21
*** oniongar1ic has quit IRC11:25
*** oniongarlic has joined #maemo11:32
*** jonwil has joined #maemo11:37
*** enyc_ is now known as enyc11:51
*** hurrian has quit IRC11:57
*** L29Ah has joined #maemo11:59
*** spiiroin has joined #maemo12:10
*** APic has joined #maemo12:14
*** eMHa_ has quit IRC12:43
*** eMHa_ has joined #maemo12:59
*** Vajb has quit IRC13:00
*** Vajb has joined #maemo13:00
*** L29Ah has left #maemo13:20
*** L29Ah_ has joined #maemo14:03
*** Wikiwide has joined #maemo14:08
*** Wikiwide has left #maemo14:08
*** Wikiwide has joined #maemo14:09
WikiwideDarn... LEDs, again, do not work. Anybody remembers how I got out of it before? Both keyboard LEDs and RGB notification LED.14:10
KotCzarnyswap screen? cable?14:13
WikiwideAnd, excessive breaklines in email may have been generated by sender (Turnitin), not by Modest. Though, it doesn't negate the problem with scrolling very long draft in Modest.14:13
WikiwideKotCzarny: keyboard backlight too, not just notification light. And, it was somehow resolved before, without changing the hardware.14:15
WikiwideEither it is come-and-go problem, or it is file damage from all these out-of-control shutdowns (aka dying battery?)14:16
Wikiwide/me curses again lack of GUI for password management in MicroB; surely, there has to be a better way than python2.7-ing ?14:17
WikiwideActually, if I understood python better, it might have been possible to rewrite the py file to work with python2.5, and save the trouble of installing python2.7?14:19
WikiwideI am quite irritable. But at least, "only" 97% of rootfs are full, even after installing python2.7 . So, pdf reader and other things should work.14:22
*** L29Ah_ has left #maemo14:27
*** L29Ah_ has joined #maemo14:41
*** sunshavi has joined #maemo14:42
sicelowhat password management?15:13
siceloanyway, if you mean v/iewng saved passwords, just open 'chrome://passwordmgr/content/passwordManager.xul' the same as you would in FF15:15
WikiwideHmm, thank you! Will see if it can be bookmarked. Or added to desktop as a shortcut.15:16
*** Vajb has quit IRC15:18
WikiwideOnly, I have 5 passwords saved, and chrome://passwordmgr/content/passwordManager.xul says that no, there aren't any passwords saved in MicroB15:18
*** hurrian has joined #maemo15:19
*** xy2_ has joined #maemo15:20
Wikiwide/me wonders how exactly I managed to tell MicroB to break the database. .. So that MicroB probably doesn't recognise it anymore (while does recognise it)15:20
*** oniongarlic has quit IRC15:25
*** oniongarlic has joined #maemo15:27
WikiwideWhatever is /dev/.udev/failed/ ...15:27
DocScrutinizer05Wikiwide: LP5523 chip gets fsckdup by fcam15:32
DocScrutinizer05remove battery15:32
WikiwideNo fcam here. Battery gets replaced regularly (since charging port not working). Does the battery need to be out of device for a long time (as in, forget time and date) ?15:34
*** jonwil has quit IRC15:34
DocScrutinizer05at least for a maybe 30s15:35
DocScrutinizer05a powercycle *should* reset LP5523 too, but... something is strange about that15:35
DocScrutinizer05also check mce15:36
DocScrutinizer05it might have encountered problems, for whatever reason15:36
WikiwideOkay. Will do that. Hoping it works. Because it looks like I highlight all possible problems; if something can go wrong, it does (at some point in time).15:37
DocScrutinizer05murphy's law ;-D15:37
DocScrutinizer05stop mce; sleep 5; start mce15:39
DocScrutinizer05watch syslog15:39
WikiwideOkay, where is syslog?..15:41
DocScrutinizer05ooh, you don't have it installed? then yes, apt-get install syslogd (and/or ksyslogd), somesuch15:48
DocScrutinizer05sysklogd is only for kernel messages which you also could read using dmesg15:48
DocScrutinizer05try that15:49
DocScrutinizer05with mce running15:49
*** Vajb has joined #maemo15:52
*** hurrian has quit IRC15:54
DocScrutinizer05when you installed syslog (and rebooted), you do "less /var/log/syslog"15:54
DocScrutinizer05Wikiwide: ^^^15:54
*** drcode has quit IRC16:29
*** drcode has joined #maemo16:33
*** sunshavi has quit IRC16:34
*** florian has joined #maemo16:35
*** sunshavi has joined #maemo16:46
*** xy2_ has quit IRC17:05
DocScrutinizer05((Does the battery need to be out of device for a long time)) remove battery, press power button. should reliably and drastically reduce the time battery needs to be out17:12
DocScrutinizer05((time and date)) unrelated, the time&date is kept in TWL4030 with a dedicated backup battery coin cell17:13
infobotrumour has it, bupbat is use the capacitive type, LiIon are breaking during 12 months, or, or, or
DocScrutinizer05the bupbat isn't connected and thus unrelated to LP5523 LED controller17:15
DocScrutinizer05the involved systems are (without any special ordering): main battery, I2C, LP5523, flatflexcable, MCE (plus the mce-*.so libs), dbus17:18
buZzDocScrutinizer05 servicing the world again \o17:48
buZz!tip DocScrutinizer05 10 maemocoins17:48
DocScrutinizer05still trying to recover from total health breakdown17:49
DocScrutinizer05just fixing a nasty age old bug that - via sneaky paths - crept in again: sed -i -E 's/\x05\x00\x00\x00\x05\x00\x00\x00\x00\x00\x00\x00/\x05\x00\x00\x00\x05\x00\x00\x00\x05\x00\x00\x00/' /usr/lib/mce/modules/libfilter-brightness-als.so17:50
DocScrutinizer05allegedly CSSU MCE is fixed, but if that's true then for unclear reasons I'm not able to install CSSU mce on my device17:51
DocScrutinizer05when you got CSSU installed, could you please paste in here the output of ` od -A x -tx1 /usr/lib/mce/modules/|grep '0086a0' `17:56
DocScrutinizer05and please md5sum  /usr/lib/mce/modules/  as well17:57
*** hurrian has joined #maemo17:57
buZzDocScrutinizer05: stay healthy man17:58
buZzdont invest too much brain while still weak17:58
DocScrutinizer05stay? hehe17:58
*** hurrian has quit IRC18:00
*** L29Ah_ has left #maemo18:05
DocScrutinizer05buZz: do you have CSSU MCE?18:06
*** hurrian has joined #maemo18:06
buZzoh is that the mediaplayer?18:07
DocScrutinizer05 /sbin/mce18:07
buZzMCE is responsible of handling display control (active/dim/blank), activity monitoring (keys, buttons), keyboard backlight, ambient light sensor (ALS), LEDs and device mode control. In addition, MCE is responsible for providing interface to proximity, accelometer and vibra devices.18:07
buZznot sure, i did install CSSU stuff18:07
buZzis the CSSU one the one that segfaults on --version ? :D18:08
buZzoh also on --help :D lol18:08
bencohis cssu-mce available in -stable/-testing nowadays?18:09
DocScrutinizer05could you please do f= /usr/lib/mce/modules/; ls -l $f; md5sum $f; od -A x -tx1 $f|grep '0086a0'18:09
DocScrutinizer05I have doubts free MCE is in CSSU, or it lacks my bugfix18:11
buZz3fb...a9e is the md5 of that file18:11
buZzdno what rest of command does18:11
buZzno 0086 in it18:11
DocScrutinizer05wow, doesn't match *any* of my various versions here18:12
buZzmaybe its the CSSU-NSA additions18:12
* DocScrutinizer05 thinks his system is thoroughly fuxored18:14
buZzi have
buZzfrom maemo.merlin1991.at18:14
buZzthats the nsa, right?18:15
DocScrutinizer05right ;-P18:15
DocScrutinizer05could you please run    od -A x -tx1 /usr/lib/mce/modules/|grep '0086a0'18:15
DocScrutinizer05wait, that's prolly nonsense18:16
DocScrutinizer05the byte offset would have changed in freeMCE18:16
buZzod doesnt have -A18:17
infobotmessy... err busybox is meant for lean scripting. Regarding all the missing options and immanent limitations (see su, passwd, nice, ps, diff as used by mc...) it's not really the interactive shell of choice. A lot of people hate busybox because a lot of system integrators don't understand the difference between busybox and a decent user interactive shell plus unix utils18:17
buZzi dont care :P18:17
buZzi'm not replacing shell just to check for a hexdump :P18:17
DocScrutinizer05neither do I18:18
DocScrutinizer05I simply run bash manually18:18
DocScrutinizer05and I adjust my path18:18
bencohod isn't part of the shell18:18
buZz'not found'18:19
buZzDocScrutinizer05: this is getting close to my limit of 'check a file for me'18:19
buZzits different, just be happy :P18:19
DocScrutinizer05nevermind, if it's freeMCE then the bytes at offset 0x000086a0 are meaningless anyway18:20
DocScrutinizer05IroN900:~# busybox od -help18:21
DocScrutinizer05od: invalid option -- p18:21
DocScrutinizer05BusyBox v1.10.2 (Debian multi-call binary18:21
DocScrutinizer05Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]18:21
DocScrutinizer05bencoh: ^^^18:21
buZzhehe, doesnt even have -A18:21
buZzoh, lol18:21
bencohDocScrutinizer05: it still isn't part of the shell perse18:28
DocScrutinizer05err. I never claimed that, whatever it means18:28
DocScrutinizer05~dict perse18:29
infobotcould not find definition for perse18:29
DocScrutinizer05od *is* part of busybox18:30
DocScrutinizer05oh per se18:30
*** Wikiwide has left #maemo18:30
bencohbusybox ships with its own version of od18:31
bencohusing bash instead wont change the fact that you're using busybox-provided od18:31
DocScrutinizer05well, isn't that what I just said?18:31
DocScrutinizer05[2017-06-05 Mon 17:18:41] <DocScrutinizer05> and I adjust my path18:32
DocScrutinizer05IroN900:~# echo $PATH18:33
DocScrutinizer05missed first line   IroN900:~# which od18:33
DocScrutinizer05not interested in this pointless fighting18:34
*** freemangordon has quit IRC18:35
*** freemangordon has joined #maemo18:40
DocScrutinizer05particularly since I got other problems:  *puke*18:40
DocScrutinizer05tbh od oughta get killed with fire from all POSIX (is it even POSIX?) and get replaced by e.g. hexdump18:44
DocScrutinizer05octal dump, computer pleozaen18:45
DocScrutinizer05not like the usual hexdump had a comprehensive set of options either18:46
*** L29Ah_ has joined #maemo18:47
*** Pali has joined #maemo18:49
*** cyteen has quit IRC18:51
DocScrutinizer05buZz: you could check the result instead of checking the binary creating results: get a bright flashlight, place it to the ALS (upper left corner in landscape) for as long as it takes to dim the screen and shut off kbd backlight (with brighness set at 4 bars, won't ever happen at 5 bars. a 15s should suffice in this case), then without removing flashlight lock the screen with sliding lockswitch, check the brightness of beathing indicator18:58
DocScrutinizer05light - is it normal brightness or very very dim (which is the bug I fixed)18:58
buZzwhat problem of -mine- is that analyzing?18:59
DocScrutinizer05dim indicator light18:59
buZzi dont have that problem18:59
DocScrutinizer05are you sure?18:59
buZzdoes that matter? :D18:59
DocScrutinizer05does maemo matter?19:00
buZzi do 3-4 weeks on a charge, light can be dim all it wants19:00
DocScrutinizer05now THAT is too much for my brain and mind19:00
DocScrutinizer05trying to fix a bug (or check if that bug is already fixed in CSSU) and reply in here is "fuck off, doen't matter"19:01
freemangordonDocScrutinizer05: iirc the bug is not fixed19:01
freemangordonDocScrutinizer05: please, find the relevant file on, fix it and give it back to me, I'll make the appropriate commit and release19:02
freemangordonok, thanks19:03
DocScrutinizer05the 00 must ne a 0519:03
DocScrutinizer05better more detailed19:05
freemangordonDocScrutinizer05: which line is that? ?19:05
freemangordonDocScrutinizer05: ?19:06
DocScrutinizer05yup, looks correct19:06
freemangordonok, will fix it, though not today19:07
freemangordonI am waiting for guests to come home, so... :)19:08
DocScrutinizer05with >100lux ( the brightness switches to 0, and it switches back to 5 on <64lux19:08
DocScrutinizer05or is it >1000lux?19:11
DocScrutinizer05NFC, anyway the patch works19:11
DocScrutinizer05aah wait, the tupels are defining a threshold incl hysteresis, not a range19:12
DocScrutinizer05so (assuming a }, { 3, 5, 0, 0, 0, 0 } line) we would run LED at 0 up to 64lux, at 5 up to 1000lux, and at 0 over 1000lux. dimming down again, we would switch back to 5 at 100lux and to 3 at 32lux19:15
DocScrutinizer05each tuple defines the thresholds for downward and upword, for one ","-border in { 5, 5, 0, 0, 0, 0 }19:17
DocScrutinizer05since we got two valif such tuples, we need *3* meaningful brightness levels in that { 5, 5, 0, 0, 0, 0 }19:18
DocScrutinizer05so (assuming a }, { 3, 5, 0, 0, 0, 0 } line) we would run LED at **3** up to 64lux, at 5 up to 1000lux, and at 0 over 1000lux. dimming down again, we would switch back to 5 at 100lux and to 3 at 32lux19:21
DocScrutinizer05(sorry for the typo)19:21
*** sunshavi has quit IRC19:33
*** eMHa_ has quit IRC19:36
*** pagurus has quit IRC19:46
*** drcode has quit IRC19:53
*** drcode has joined #maemo19:55
*** eMHa_ has joined #maemo20:04
*** tomislav has joined #maemo20:09
tomislavWhy my ip was banned from talk on Maemo20:09
tomislavWhat did I do wrong20:10
KotCzarnynothing, just overzealous spam list and you are probably using dynamic ip20:13
*** tomislav has quit IRC20:14
*** drcode has quit IRC20:34
*** HRH_H_Crab has quit IRC20:35
*** ff__ has joined #maemo20:46
ff__wikiwide, from root try, rmmod leds_lp552320:47
ff__modprobe leds_lp552320:47
ff__and then this: cat /sys/class/i2c-adapter/i2c-2/2-0032/selftest should blink all leds and print OK in command line20:48
*** drcode has joined #maemo20:49
*** cyteen has joined #maemo20:49
DocScrutinizer05you won't see such blinking21:03
DocScrutinizer05it's way too short to usually get noticed21:03
DocScrutinizer05ooh, I stand corrected, after testing it21:05
DocScrutinizer05nice way to check for operational hardwate with minimal software involvement21:09
DocScrutinizer05selftest is a LP5523-internal hw function21:10
DocScrutinizer05ff__: nice catch21:10
ff__yes, it should gives some additional information if something doesn't work21:11
DocScrutinizer05yep, the chip checks if each of the LEDs draws correct current at correct voltage21:12
DocScrutinizer05so it can detect all hw defects except a LED simply not emitting photons when operating21:13
DocScrutinizer05don't know if that's even possible for a LED die21:13
ff__by the way, is it possible indicate autofocus & whitebalance during record through gstreamer?21:16
DocScrutinizer05no idea21:16
DocScrutinizer05I _think_ both are managed by a blob shared lib21:17
DocScrutinizer05maybe I'm mistaken and the lib isn't a blob21:18
DocScrutinizer05or it has a documented API at least, where you can get that info from21:19
DocScrutinizer05camera-ui2 aka nicocam has a focum length indicator, so the v4l2 stuff must provide it21:20
ff__yes, focus adjusting is done21:22
DocScrutinizer05  maybe helps. No idea whatsoever about whitebal21:22
ff__v4l2src has   GstColorBalance21:24
ff__but don't know how to use it21:24
DocScrutinizer05needs at least 2 (prolly dimensionless) ints, I'd guess21:27
*** pagurus has joined #maemo21:29
DocScrutinizer05how whitebalance works internally is a mystery to me. It's less mysterious when the picture has all colors so you could adjust to maje a median or average or whatever fit a neutral point. But what when you shoot a tree format-filling? all just green, what's the whitebalance with that?21:29
infobotDocScrutinizer05 meant: how whitebalance works internally is a mystery to me. It's less mysterious when the picture has all colors so you could adjust to make a median or average or whatever fit a neutral point. But what when you shoot a tree format-filling? all just green, what...21:30
ff__it adds some error probably, camerabin in gstreamer does the job, but not in v4l2src21:32
ff__*but not with v4l2src21:33
DocScrutinizer05and that's exactly the sekrit knowledge camera manufs (also the one of N900 camera) add to their product in form of closed blob binaries aka libs which are never getting disclosed since they are company asset algorithms21:33
DocScrutinizer05recent cryPhone camera advertised by apple as "the best camera ever" or somesuch - all of that is in those libs, none in the mere hardware21:34
DocScrutinizer05Sony compactcam ultrafast autofocus: software21:35
ff__fluid lens are fun :)21:37
DocScrutinizer05hehe yes, but not exactly high quality21:37
DocScrutinizer05neither suitable for decent aperture size21:38
ff__and how speed performace with it?21:38
DocScrutinizer05hm? I think that's their main advantage - mere speed21:39
DocScrutinizer05plus no mechanics at all21:39
DocScrutinizer05apply more voltage, make drop mor special21:39
DocScrutinizer05works in milliseconds21:40
DocScrutinizer05apply more voltage, make drop more spherical21:40
ff__I didn't know that liquid lens has pretty poor quality21:40
DocScrutinizer05it's a sperical lens21:41
DocScrutinizer05of max a few millimeters diameter21:41
DocScrutinizer05prolly more like 1 or 2 mm21:41
DocScrutinizer05for a spherical lens it's maybe perfect21:42
DocScrutinizer05but high class multi-lens setups use surprisingly complex lens shapes21:42
DocScrutinizer05to reduce color aberration etc21:43
*** Cor-Ai has joined #maemo21:46
*** spiiroin_ has joined #maemo21:50
*** pagurus has quit IRC21:52
*** spiiroin has quit IRC21:53
DocScrutinizer05wow, seems they increased that stuff in scale quite a lot:
DocScrutinizer05 tha basics21:58
*** pagurus has joined #maemo21:58
*** ginggs has joined #maemo22:01
*** jskarvad has quit IRC22:04
DocScrutinizer05maybe they meanwhile can use a spherical liquid lens in combination with a complex aspheric glass lens setup22:06
DocScrutinizer05,_3D_X-ray_microscopy_(30033111412).jpg  ;-D22:10
DocScrutinizer05 achromatic doublet - can't be done that way with a liquid lens for the convex part since the concave part needs matching properties22:21
ff__so that's not for professional use, maybe for some action use22:26
ff__have we uart or spi interface somwhere inside n900?22:27
ff__second e-ink screen would be helpful, like that one
DocScrutinizer05UART yes. SPI too but not available to users22:56
DocScrutinizer05UART though is on testpoints: console22:56
DocScrutinizer05maybe you want hackerbus? ;-)22:57
DocScrutinizer05~neo900 hb22:57
DocScrutinizer05~#neo900 hb22:57
infobotwell, #neo900 hb is and
ff__yes, read this for now
ff__connect this e-ink to n900 (while it has exposed UART) seems to possible23:01
ff__*seems to be possible23:01
DocScrutinizer05yes, possible23:07
DocScrutinizer05you need more than just UART though: power, and power control23:07
DocScrutinizer05and levelshifter for UART23:08
ff__you are right23:09
ff__how to talk through this UART?23:10
DocScrutinizer05err, prolly just use /dev/tty0 or somesuch23:10
ff__ok, J2000 connectors under battery and /dev/ttyS023:14
DocScrutinizer05without warranties, but yes :-)23:20
DocScrutinizer05the voltage level is still a mystery, but I'd recommend assuming 1V823:21
DocScrutinizer05as that's the level expected according to all datasheets and other docs available23:22
DocScrutinizer05see my latest edit >> Pin number: AH8, name: etk_d15/sdti_txd3 (serial data out, system trace messages); power domain: vdds 1.8V [1] voltage level actually seen is a miracle<<23:22
DocScrutinizer05you might want to ask a kernel hacker ( freemangordon?) for details about etk_d15/sdti_txd323:24
*** cyteen has quit IRC23:24
DocScrutinizer05maybe he could even completely falsify what I found out regarding that stuff23:26
DocScrutinizer05tbh it makes no sense to me23:26
DocScrutinizer05 looks like AH7 but that makes no sense at all, and probably it's AH8.  Then there's also which must be OVP and thus irrelevant, and which probably is some phantom current via a number of nearby pads, so a secondary false positive23:34
DocScrutinizer05(the original is in the [1] reference of above quote)23:34
*** cyphase has quit IRC23:37
ff__make screenshot, convert it to gray4 (2bpp), add 800x120 pixels and send it to the module (need sniff what EPSCOMM.exe sends first, some init etc)23:48
ff__I think for white / black on n900 it should be nice visible on this 2bpp e-ink, but for colourful, more gradient, that gray4 is too small23:51
ff__need convert few screenshots23:51
*** HRH_H_Crab has joined #maemo23:53
*** Wikiwide has joined #maemo23:54

Generated by 2.15.1 by Marius Gedminas - find it at!