IRC log of #maemo for Saturday, 2016-04-16

tissiyeah qml browser00:00
tissiyeah didnt work for me either00:00
tissiwas wondering if there was any progress00:00
Sicelo009Ni use fennec at times00:01
tissitoo cumbersome00:01
tissiimho00:01
Sicelo009Ntbh, midori does work better as ceene mentions.00:01
*** capitanocrunch has joined #maemo00:02
*** pagurus has joined #maemo00:03
MaxdamantusNote that Opera Mini does everything through Opera's rendering proxies.00:04
*** capitanocrunch has quit IRC00:05
Maxdamantus(Opera Mobile doesn't though)00:05
Maxdamantuswell, I think there's an option to do it there.00:05
Linkandzeldais there any other better irc client than xchat?00:05
* Sicelo009N uses irssi00:06
* Maxdamantus does too.00:06
Linkandzeldai wanted to use weechat00:06
Sicelo009Nopera mobile does too if you activate Turbo mode ..00:06
Maxdamantusthough a simple answer would be: HexChat.00:06
Sicelo009NLinkandzelda: check repos, or build :)00:06
MaxdamantusXChat was abandoned a number of years ago and forked into HexChat.00:06
Maxdamantusbecause the maintainer became unresponsive.00:06
Sicelo009Ni build my irssi for my own perl needs00:07
Linkandzeldawell there's no hexchat for n900 right?00:07
MaxdamantusDunno, but it shouldn't be hard to compile it.00:07
DocScrutinizer05[2016-04-10 Sun 20:36:01] <ceene> a 2020 website won't even fit on our ram, however [2016-04-10 Sun 20:36:12] <ceene> so it won't mind much at all00:08
DocScrutinizer05[2016-04-10 Sun 20:37:15] <DocScrutinizer05> in 2020 I probably stopped using web, that's an insane development in a number of aspects and I don't want to participate in such insanity [2016-04-10 Sun 20:38:29] <DocScrutinizer05> when it's more lightweight to run VNC to a web rendering server than to use plain HTML, something went massively wrong on a design and architecture level00:08
MaxdamantusIf it's similar to XChat it should have fairly standard dependencies (glib, gtc, etc)00:08
Maxdamantuss/gtc\>/gtk/00:08
tissihow can i delete all the preset internet radio stations00:08
tissithe fast way i mean00:08
DocScrutinizer05Linkandzelda: there's xchat00:09
DocScrutinizer05aah you asked for a better client than xchat00:09
DocScrutinizer05prolly depends on your definition of "better"00:10
Linkandzeldawell xchat does the job really, its just pretty cluttered with the ui00:10
DocScrutinizer05umm, adjust it. I agree the default settings are massively useless00:11
Linkandzeldais there a command i can send in the terminal to give a notification to the system? like the ones that show up when you get an sms00:11
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/xchat/00:11
Linkandzeldaas for adjusting it, i removed a lot of stuff from it so its much better00:11
Sicelo009Ndbus-foo ..00:12
DocScrutinizer05~phonecontrol00:12
infoboti heard phonecontrol is http://wiki.maemo.org/Phone_control00:12
Sicelo009Nbut phone-control package makes it easier00:12
Linkandzeldanice00:12
Linkandzeldai could try to get weechat to send notifications00:12
DocScrutinizer05you could try if my settings and 'hacks' with xchat please you better00:15
tissiim still kinda miffed about the camera being unable to launch without the magnet in the back cover00:15
tissii already bought one new backcover but the magnet fell off or something00:16
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/xchat/notify.sh  http://wiki.maemo.org/User:Joerg_rw/xchat/loginhost.xsh  http://wiki.maemo.org/User:Joerg_rw/xchat/xchat.conf00:16
tissiso cant use the camera... because no magnet even though the camera module itself is just fine00:16
DocScrutinizer05and of course the keybindings too00:16
LinkandzeldaDocScrutinizer05: going to check those out, thanks00:17
DocScrutinizer05tissi: how about just getting a new magnet in place?00:17
tissiwell i would need to do that00:18
tissiso i havent done it00:18
DocScrutinizer05yes, the self-fixer in maemo is out of order ;-)00:18
DocScrutinizer05there are hacked kernel modules that assume magnet always there00:19
Linkandzeldais the config files in .xchat2?00:22
MaxdamantusWhy hack the kernel? It should be a matter of hacking something in userspace.00:23
MaxdamantusProbably camera-ui.00:23
Maxdamantusthough you don't even need a magnet.00:23
tissihacker kernel modules you say00:25
Linkandzeldai noticed when i had my back off when i put it down the camera opened... could be useful?00:25
* Maxdamantus made a modified omap_hsmmc so it wouldn't make the SD card inaccessible when the back cover was removed.00:26
*** futpib_ has quit IRC00:30
LinkandzeldaDocScrutinizer05: how do i use this notify.sh?00:31
DocScrutinizer05place it into the .xchat2(?) folder00:32
Linkandzeldaok, did that00:33
Linkandzeldawondered if there is any other step00:33
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/xchat/xchat.conf  >> sound_command = /home/user/.xchat2/notify.sh <<00:33
Linkandzeldaah00:33
DocScrutinizer05;-)00:33
DocScrutinizer05pretty convenient yet simple hack00:35
DocScrutinizer05you could even make notify.sh do different actions based on the (soundfile) parameter passed to it by xchat00:36
*** bredebid has quit IRC00:36
DocScrutinizer05most of this is completely transparent to xchat and can get set up via xchat's setting GUI00:37
tissiwhat was the package to watch .mkv videos and other stuff00:38
DocScrutinizer05gstreamer-plugins-ultranasty ?00:38
DocScrutinizer05;-)00:39
tissioh heck00:39
DocScrutinizer05I have no clue00:40
Linkandzeldacant get it to play for some reason, DocScrutinizer0500:40
DocScrutinizer05umm, check permissions00:40
Linkandzeldai gave it +x00:40
DocScrutinizer05chmod a+x ~/.xchat2/notify.sh00:41
DocScrutinizer05IroN900:~# ll ~user/.xchat2/00:41
DocScrutinizer05insgesamt 6000:42
DocScrutinizer05-rw------- 1 user users   186 2016-02-02 15:04 chanopt.conf00:42
DocScrutinizer05-rw------- 1 user users  1065 2015-11-22 22:36 colors.conf00:42
DocScrutinizer05-rw------- 1 user users     0 2016-02-02 15:04 ignore.conf00:42
DocScrutinizer05-rw------- 1 user users  1003 2011-09-20 19:28 keybindings.conf00:42
DocScrutinizer05-rw------- 1 user users     0 2016-02-02 15:04 notify.conf00:42
DocScrutinizer05-rwxr--r-- 1 user users   180 2009-12-18 15:42 notify.sh00:42
DocScrutinizer05-rw------- 1 user users 10714 2010-07-16 01:51 pevents.conf00:42
DocScrutinizer05drwxr-xr-x 8 user users  4096 2015-09-04 23:45 scrollback00:42
DocScrutinizer05-rw------- 1 user users  9135 2016-01-19 21:57 servlist_.conf00:42
DocScrutinizer05-rw------- 1 user users   400 2016-02-02 15:04 sound.conf00:42
DocScrutinizer05-rw------- 1 user users     0 2009-12-13 05:45 sound.confback00:42
DocScrutinizer05-rw------- 1 user users  3632 2016-02-02 15:04 xchat.conf00:42
DocScrutinizer05-rw------- 1 user users   121 2012-12-20 15:07 xchat-login.xsh00:42
DocScrutinizer05drwx------ 2 user users  4096 2011-03-10 02:37 xchatlogs00:42
DocScrutinizer05you need sound.conf of course00:42
DocScrutinizer05or do it via xchat settings00:42
tissihuh looks like the camera doesnt respond even with my strongest fridge magnet00:43
tissiwell screw that00:43
DocScrutinizer05http://paste.opensuse.org/4366410500:43
tissiwould just use it to take pics of myself and become more self conscious anyway00:43
DocScrutinizer05tissi: you don't need extremely stron magnets00:43
tissiwell fridge magnets arent exactly extremely strong00:44
tissithere's just zero response00:44
LinkandzeldaDocScrutinizer05: i have sound.conf but its empty00:44
DocScrutinizer05tissi: cat /sys/class/mmc_host/mmc0/cover_switch00:45
LinkandzeldaDocScrutinizer05: great colors btw00:46
tissisays closed00:47
tissiechoing "open" wouldnt work right?00:47
DocScrutinizer05any magnet paced to the little 'pool' next to camera should do00:47
DocScrutinizer05closed is what means "there's a magnet"00:48
tissihow can there be a magnet00:48
DocScrutinizer05echoing anything into this sysnode doesn't work00:48
tissiwhen the back cover isnt even in place00:48
DocScrutinizer05hw defect?00:49
DocScrutinizer05Linkandzelda: you need some content in it ;-D00:49
tissiwait oh wait00:49
tissiit says open00:49
tissibut still the camera application says "open lens cover"00:49
LinkandzeldaDocScrutinizer05: i figured, but i have no idea what00:49
DocScrutinizer05use the settings GUI to define the events you want to cause a highlight&sound, and which00:50
tissiwhen i place the n900 on my desk00:50
tissithe camera actually functions00:50
tissiand when i take it off the application closes00:50
tissibut briefly i can see the camera image00:50
DocScrutinizer05http://paste.opensuse.org/43664105 for a suggestion00:50
DocScrutinizer05tissi: that's the infrared proxy sensor testing for black or white zone on the cam door slider00:51
tissisooo... watnou00:52
DocScrutinizer05when you got a new battery cover, it possibly lacks that paper sticker with the black and white zone00:52
tissinah its there00:53
tissihey, is there  a way to check battery condition?00:54
tissihow much charge it can hold vs factory capacity00:55
*** Pali has quit IRC00:56
tissicrap the battery fell out00:57
tissitime and date reset again00:57
tissihey, automatic time update doesnt work00:57
tissior do i need to have a simcard for that?00:57
tissiit wont pick the time from my wifi at least00:58
*** Sicelo009N has quit IRC00:59
DocScrutinizer05((<tissi> or do i need to have a simcard for that?)) yes01:02
tissiyeah i realized it after googling01:02
DocScrutinizer05unless you install ntpdate01:02
tissimaybe i should practice more self censorship01:02
DocScrutinizer05((hey, is there  a way to check battery condition?))01:03
DocScrutinizer05~bq2701:03
infobotbq27 is, like, http://maemo.cloud-7.de/maemo5/usr/local/sbin/ bq27*, or http://maemo.cloud-7.de/maemo5/patches_n_tools/01:03
*** trumee has quit IRC01:06
DocScrutinizer05heck, I can't find the sysnode for cam door IR proxy01:07
DocScrutinizer05cat /sys/devices/platform/gpio-switch/cam_shutter/state01:08
DocScrutinizer05open|close as you'd expect01:09
DocScrutinizer05tissi: ^^^01:09
*** Sicelo009N has joined #maemo01:09
*** louisdk has quit IRC01:12
DocScrutinizer05tissi: closed is black, open is white. When your sensor doesn't detect white of your cover, then there's something pretty odd01:13
tissisec01:13
DocScrutinizer05the sensor however seems to be ok since it detects a table as white01:13
DocScrutinizer05so something must be odd with your cover01:14
tissicat returns closed01:15
DocScrutinizer05since you said you got a replacement cover, I'd not be too surprised to find something odd with it01:15
tissihey it was supposedly german01:15
tissisuperior german engineering man01:15
DocScrutinizer05tz01:15
*** Sicelo009N has quit IRC01:16
tissigahh it stopped working again01:17
LinkandzeldaDocScrutinizer05: sounds working, thanks :)01:17
tissinow it wont detect table01:17
*** Sicelo009N has joined #maemo01:18
DocScrutinizer05http://maemo.cloud-7.de/share-service/20160416_003.jpg01:19
DocScrutinizer05you shouldn't test with table01:19
tissiyeah it looks 100% like that01:20
DocScrutinizer05btw you also see the backside of the magnet there01:20
tissiwait now it detects again01:20
tissiwheres the magnet exactly01:20
DocScrutinizer05the wide rectangle right side attached to that vertical bar01:21
tissii still dont get it01:22
*** Sicelo009N has quit IRC01:23
*** zama has quit IRC01:23
*** netkat has quit IRC01:23
*** parazyd has quit IRC01:23
*** louisdk has joined #maemo01:24
*** zama has joined #maemo01:25
*** Sicelo009N has joined #maemo01:25
DocScrutinizer05please do http://paste.opensuse.org/2028613501:26
DocScrutinizer05cya, afk for dinner etc01:26
*** parazyd has joined #maemo01:29
DocScrutinizer05even better:    watch -n 0,2 -d cat /sys/devices/platform/gpio-switch/cam_shutter/state01:30
*** netkat has joined #maemo01:30
DocScrutinizer05even better yet: watch -n 0,2 -d cat /sys/devices/platform/gpio-switch/cam_shutter/state /sys/class/mmc_host/mmc0/cover_switch01:33
DocScrutinizer05use a magnet to make second one read "closed" then try what happens when you slide open the cam shutter01:34
tissiinvalid number01:35
DocScrutinizer05any normal magnet should suffice for that, in a distance lower than 1cm01:35
DocScrutinizer05ummm01:35
DocScrutinizer05try 0.2 instead 0,201:35
tissitried, same01:35
DocScrutinizer05well, maybe that's my special version of watch whioch I pimped to use fractions of a second. Use -n 1 that works01:36
DocScrutinizer05aaah yours is messybox watch applet, which again is01:37
DocScrutinizer05~messybox01:37
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 utils01:37
tissiinstead of a recursive list of "closed" "open" the screen just flashes two instances of either and refreshes01:38
tissioh thats the idea01:38
tissiboth read "closed" by default...01:39
tissiputting a magnet near does nothing01:39
DocScrutinizer05both closed sounds OK, should be a magnet there01:40
DocScrutinizer05remove cover, watch it go "open"01:40
*** louisdk has quit IRC01:40
DocScrutinizer05first is cam door, second is magnet01:41
tissiopening cover doesnt do anything01:41
DocScrutinizer05magnet needs to be closed, cam door should be open/closed depending on... cam door01:41
tissinor does bringing magnet close01:41
tissicant get the readings to change01:41
DocScrutinizer05that's pretty strange01:42
tissiyeah im confused01:42
tissibut thats by default01:42
Sicelo009Nhw defect? my 2nd N900 has hw defect preventing it from detecting mmc01:42
DocScrutinizer05yes, but usually you get a always-open then, I'd guess01:42
tissiremoving th back cover of the n900 entirely does change the second one to open01:43
DocScrutinizer05I told you to do that, didn't I?01:43
DocScrutinizer05so your cover has a magnet and the sensor works great01:43
tissiaaand putting the device on table changes both to open01:43
tissii thought you were telling me about the lens cover01:43
tissiwait so wheres the problem then01:44
DocScrutinizer05[2016-04-16 Sat 00:40:40] <DocScrutinizer05> remove cover, watch it go "open"01:44
tissiyeah yeah i thought you meant lens cover01:44
tissinot battery cover01:44
tissioh heck the battery fell out again01:45
Sicelo009N:)01:45
DocScrutinizer05put on cover, slide open cam door, watch it go "open closed"01:45
Sicelo009Nsorry. it is rather loose01:45
tissino problem i forgive you01:45
DocScrutinizer05bend springs in a bit so it sticks firmly01:45
DocScrutinizer05really easy01:46
DocScrutinizer05the steel springs at bottom end of battery01:46
DocScrutinizer05use fingernail, no tools01:46
DocScrutinizer05gently pull it a bit out01:46
DocScrutinizer05there are two of those latches01:47
* DocScrutinizer05 away now for good. When you still don't see camera coming up a few seconds after "open closed", you got an issue with the camera app or DSP01:48
tissi<DocScrutinizer05> put on cover, slide open cam door, watch it go "open closed"01:48
tissicam door opening doesnt change anything01:49
tissithanks for your help though01:49
DocScrutinizer05when cam door opening doesn't change anything, your 'white' isn't01:49
DocScrutinizer05check your cover01:49
DocScrutinizer05the white area on cam door01:50
DocScrutinizer05it's not really white then, evidently01:50
tissiyeah its more like grey01:50
tissior bluish hue01:50
DocScrutinizer05bueish is bad for infrared light I guess01:51
DocScrutinizer05stick some white paer there01:51
DocScrutinizer05paper01:51
DocScrutinizer05or white stickytape01:51
tissiok01:52
tissiw0000t01:53
tissiit worked01:53
DocScrutinizer05:-)01:53
tissidamn01:54
tissithanks a ton01:54
tissiyour food's getting cold tho01:54
DocScrutinizer05there's hardly anything I can't fix, usually even remote ;-P01:54
tissiyou're my hero01:54
tissidamn now i have a 100% functioning n90001:56
Linkandzeldaseems my battery isnt improving, its got good standby time though (tte: 6-9k) when idling with no apps. when turned on though, tte: 150-300. guess i'll try to reflash and hope it changed something01:56
DocScrutinizer05first calibrate01:57
Linkandzeldadid that01:57
DocScrutinizer05what's LMD now?01:57
LinkandzeldaLast Measured Discharge: 1635 mAh01:58
DocScrutinizer05off01:58
Linkandzeldawhat should it be?01:58
DocScrutinizer05calibration adjusts only 12% or sth, you need to repeat calibration until it settles to ~120001:58
Linkandzeldai see01:58
DocScrutinizer05resp settles, no matter where01:59
Linkandzeldaand is there any chance the battery itself is just old?01:59
DocScrutinizer05sure01:59
DocScrutinizer05alas the meter resets each time you remove battery01:59
DocScrutinizer05makes sense since new battery might be a different one02:00
Linkandzeldaany way to tell with the data this script puts out? if its the battery itself?02:00
tissiwhats with the new camera application that came with the cssu02:00
tissihow do i take video02:01
tissialso the focus is a bit off02:01
DocScrutinizer05well, you could monitor a charging from empty battery with a bq27200.sh 60 >batlog.txt02:01
tissioh the controls are a bit different02:01
tissifound video02:01
DocScrutinizer05when you're done (battery fully charged) provide the batlog.txt and I can tell you details02:02
Linkandzeldaok, i will let it die until it turns itself off02:02
DocScrutinizer05good02:02
Linkandzeldathen i'll plug in, boot, ssh, run script, and let it charge while idling and screen off02:03
Linkandzeldafor however long it takes02:03
DocScrutinizer05already start    bq27200.sh 60 >>batlog.txt, then start it again after plugging to charger02:03
Linkandzeldaok02:03
DocScrutinizer05note the double >>02:03
Linkandzeldayea, append iirc02:03
DocScrutinizer05yep02:04
DocScrutinizer05you can even run this in a second shell, while other shell does calibrate02:04
LinkandzeldaE: Couldn't find package tmux02:05
Linkandzeldaaww02:05
DocScrutinizer05tmux??02:05
DocScrutinizer05aah02:05
DocScrutinizer05meh02:05
Linkandzeldaits the lazy mans "cant be bothered to open a second window"02:06
Linkandzeldaand does a really good job at it02:06
Linkandzeldabut in this case, second window it is02:06
DocScrutinizer05yust run the job in background ;-)02:06
DocScrutinizer05 bq27200.sh 60 >>batlog.txt&02:07
Linkandzeldaok that works02:07
DocScrutinizer05stop it with   kill %02:07
DocScrutinizer05dang02:07
DocScrutinizer05stop it with   kill %%02:07
Linkandzeldarunning calibrate too02:08
LinkandzeldaTTE: 3239 minutes02:08
DocScrutinizer05or get it to foreground with    fg02:08
DocScrutinizer05background again with   ^Z   bg02:08
DocScrutinizer05though that *sometimes* fails02:09
Linkandzeldasince its outputting nothing to the terminal i can leave it in the bg02:09
DocScrutinizer05yep02:09
DocScrutinizer05now cheers for good02:09
DocScrutinizer05check with    jobs02:10
Linkandzeldaguess i'll keep doing this cycle until it gets to that number for lmd02:10
Linkandzeldathat system of fg and bg is missing a crucial thing02:11
Linkandzeldathe ability to stop output from background processes02:11
DocScrutinizer05http://paste.opensuse.org/127303402:11
DocScrutinizer05yeah, linux shell lacks a means to change file handles when they are already opened02:12
DocScrutinizer05actually I guess that's linux at large02:12
DocScrutinizer05the shell should use pipes for stdin, stdout, stderr ;-) I'm planning since long to have different fonts or colors for stdout and stderr02:17
DocScrutinizer05Linkandzelda: when the last LMD differs less that 12(?)% from previous LMD, it adjusted to the real value02:20
DocScrutinizer05actually that 12% limit is deliberately implemented into bq27200 chip to avoid massive bogus LMD changes02:21
DocScrutinizer05however from a log of bq27200.sh 60 you can read the actual measured LMD, rather than the limited/capped value that gets stored to the LMD register02:22
DocScrutinizer05Linkandzelda: when you first start calibrate-bq27k.sh *before you plug in the charger at end of day, you can run a calibration cycle each day, with minimal impact to battery wear02:26
*** ssvb has quit IRC02:27
DocScrutinizer05calibrate-bq27k.sh will notice there's a valid discharge cycle (VDQ) and immediately turns off charger, so plugging in charger doesn't start charging until battery got discharged sufficiently for completing the learning cycle, then charging gets enabled like normal02:28
*** xes has quit IRC02:29
*** xes has joined #maemo02:30
*** ssvb has joined #maemo02:34
DocScrutinizer05you also might want to give bq27k-detail2.sh a try. It's my original design on which the rest is based. and it's the most verbose one02:38
DocScrutinizer05~battery-faq02:38
DocScrutinizer05~batteryfaq02:38
infoboti heard batteryfaq is http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers02:38
DocScrutinizer05http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers#That_bq27000_chip_seems_to_be_pretty_cool.2C_how_can_i_read_and_understand_its_raw_registers.3F02:39
DocScrutinizer05(calculate *real* LMD from log) see http://maemo.cloud-7.de/maemo5/patches_n_tools/n900-bq27log_til_empty.log - you simply subtract the value of NAC in last line before "VDQ:0 EDV1:1"  (194) from NAC of start of discharge where RSOC=100 (1377), the result is _real_ LMD02:45
DocScrutinizer05~1377-19402:47
infobot118302:47
DocScrutinizer05for you it prolly will look like 1833-65502:48
* DocScrutinizer05 feels tempted to massively improve http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh to do all that math plus optional logging like "bq27200.sh 60 >>batlog.txt", plus work with a nice GUI of sorts02:50
*** tissi has quit IRC03:08
*** pagurus has quit IRC03:13
Maxdamantus11:17:34 < DocScrutinizer05> the shell should use pipes for stdin, stdout, stderr ;-) I'm planning since long to have different fonts or colors for stdout and stderr03:40
MaxdamantusIt does.03:40
MaxdamantusYou can open files over the existing fd using exec.03:40
Maxdamantusexec >foo.txt03:40
MaxdamantusThat should open the file, dup2 it over the 1 fd and close the original fd.03:41
Maxdamantus(close the original fd from the open, that is—dup2 will close the original stdout fd)03:43
DocScrutinizer05[2016-04-16 Sat 01:11:14] <Linkandzelda> that system of fg and bg is missing a crucial thing03:54
DocScrutinizer05[2016-04-16 Sat 01:11:23] <Linkandzelda> the ability to stop output from background processes03:54
DocScrutinizer05[2016-04-16 Sat 01:12:30] <DocScrutinizer05> yeah, linux shell lacks a means to change file handles when they are already opened  [2016-04-16 Sat 01:12:49] <DocScrutinizer05> actually I guess that's linux at large03:55
MaxdamantusAh, well those aren't part of the shell anymore.03:56
Maxdamantusexcept in being a child process of it.03:56
DocScrutinizer05It evades me how this is related to a process closing own filehandles and opening them to a different destination03:56
MaxdamantusYou'd probably do something involving ptrace to swap fds in that case.03:57
* Maxdamantus wonders if someone's written such a tool.03:57
MaxdamantusDoesn't look like it.04:01
MaxdamantusSomeone on SO basically suggests doing that manually, using gdb.04:01
* Maxdamantus might write one.04:07
Maxdamantusswapfd 1234 1 >(sed 's/ //' >/tmp/fixed)04:08
DocScrutinizer05sounds decent04:12
*** N-Mi has quit IRC04:21
DocScrutinizer05prolly a 'starting point' - at least for me if I'd try to understand how to tackle that: http://paste.opensuse.org/1360274004:25
*** eMHa has joined #maemo04:28
DocScrutinizer05cat /proc/2971/fd/1   already results in 'funny' effects04:30
MaxdamantusYes, you basically need to make the other process do that (so it opens an fd belonging to the `swapfd` process)04:32
*** eMHa__ has quit IRC04:32
MaxdamantusWhen you cat it you're just duplicating that fd into a new one in the cat process.04:32
DocScrutinizer05echo -e "date\n" >/proc/2971/fd/004:33
DocScrutinizer05a process' STDOUT filehandle is a pty's input04:33
DocScrutinizer05and vice versa04:34
DocScrutinizer05I didn't completely wrap my mind around that yet04:35
MaxdamantusYeah, and to change that you need to make the process open something else and overwrite that STDOUT (1) fd.04:35
Maxdamantuswhich requires something like ptrace.04:36
MaxdamantusThe /proc/*/fd interface just lets you duplicate fds into other processes.04:36
DocScrutinizer05just you can't make the process do that, unless you somehow insert code via GDB or sth04:36
MaxdamantusYou can do it using ptrace.04:36
MaxdamantusIt doesn't involve injecting code, just system calls.04:36
MaxdamantusA process does some computation, invokes a system call and repeats.04:37
*** robotanarchy has joined #maemo04:42
DocScrutinizer05I would try tolocate the data structure that represents the file handle and replace its content by the content of a similar filehandle I prepared for the process04:43
MaxdamantusThere is no datastructure.04:44
MaxdamantusThe datastructure is in the kernel.04:44
MaxdamantusAt the process level, the file handle is the integer 1.04:44
DocScrutinizer05in shell the filehandles you see (0, 1, 2, etc) are indizes into an array of file descriptor structures04:44
MaxdamantusThat's not just a shell thing.04:44
MaxdamantusIf you do `write(1, "foo", 3);` in your program, it writes to whatever the `1` fd is, according to Linux.04:45
*** robotanarchy_ has quit IRC04:45
MaxdamantusIf you strace a program that does that, you'll simply see exactly that code.04:45
DocScrutinizer05in other processes the file descriptor data structures are no indexed array bit possibly static variables04:45
Maxdamantusbecause the program is telling the kernel to write data at some address to the file descriptor 1.04:45
Maxdamantusnot "stdout", or "the file handle at some address"04:45
MaxdamantusAll processes ultimately use these read/write/etc calls, which address file descriptors using integers.04:46
MaxdamantusWhen you use `stdout`, you're going through a `FILE *`, which is a C concept implemented by glibc.04:46
DocScrutinizer05then the integer is an array index to a per-process table in kernel04:46
Maxdamantusso that has a datastructure, but not all processes use `FILE *`s (which use fwrite, etc)04:47
MaxdamantusYes, but you can't practically modify that datastructure directly in the kernel.04:47
DocScrutinizer05prolly not04:47
MaxdamantusThe best way to do that would be to just make the process do the system calls that have that effect.04:47
Maxdamantususing ptrace.04:47
DocScrutinizer05unless you are the kernel04:47
DocScrutinizer05which is basically identical to "make process do the systemcalls"04:48
* DocScrutinizer05 idly wonders if debugfs has an API for that04:49
DocScrutinizer05so you don't do the systemcalls from process space but via debugfs04:50
DocScrutinizer05you prolly also could try to go via /dev/kmem04:54
DocScrutinizer05you'd need to find the address of the kernel's process descriptor data structure for the process first, I guess05:01
DocScrutinizer05then the rest should be relatively simple05:01
MaxdamantusIt wouldn't be relatively simple.05:03
MaxdamantusWhat would you replace it with?05:03
DocScrutinizer05since process descriptor table is fixed length, odds are that job is relatively simple too to find the process descriptor table and the right entry for your process you want to tweak in it05:03
MaxdamantusHow would you close that fd?05:03
DocScrutinizer05I's simply swap two file descriptors, then close the old one in the donator process05:03
Maxdamantus"the donator process"05:04
Maxdamantusfile descriptors belong to particular processes.05:04
MaxdamantusWhen the "donator process" exits, all of its file descriptors are closed.05:04
DocScrutinizer05why?05:04
MaxdamantusBecause that's how POSIX works.05:04
DocScrutinizer05sorry that's no answer05:04
Maxdamantuswhen you do something like `(foo & bar) | cat`, how do you think the `cat` process knows when to stop reading?05:05
DocScrutinizer05I don't see a POSIX rule that says "whenever there is a donator process it has closed file handles only"05:05
MaxdamantusPOSIX doesn't have a concept of "donator process" so it wouldn't refer to anything as that.05:05
DocScrutinizer05that's why it wasn't an answer05:06
MaxdamantusWhen any process exits, all of its file descriptors are closed.05:06
Maxdamantusand again, try to answer my question.05:06
DocScrutinizer05sorry that's nonsense05:06
MaxdamantusIt's really not.05:06
DocScrutinizer05when all filehandles of all processes are always closed, then what the heck do we need filehandles for?05:07
MaxdamantusThey're not always closed.05:07
MaxdamantusThey're closed on exit.05:07
DocScrutinizer05it's plain obvious that there exist processes with open filehandles05:07
Maxdamantusor on exec if it was opened with CLOEXEC or configured as such afterwards.05:07
DocScrutinizer05who said "exit"??05:08
Maxdamantus14:06:21 < Maxdamantus> When any process exits, all of its file descriptors are closed.05:08
MaxdamantusMe.05:08
DocScrutinizer05who cares?05:08
MaxdamantusYou.05:08
DocScrutinizer05no05:08
MaxdamantusThen what the fuck are you going on about?05:08
DocScrutinizer05I never talked of an EXITED donator process05:08
DocScrutinizer05au contraire05:08
MaxdamantusYou were responding to my statements about what happens when a process exits as if they were incorrect.05:09
DocScrutinizer05since when the donator process would already have exited, then how would it go to close the swapped filehandle after donating his own filehandle to the process-under-tweaking?05:09
DocScrutinizer05sorry I missed to notice the "when exiting" in your statement05:10
DocScrutinizer05swapfd creates and opens a filehandle, finds own process table in kernel and finds destination process' table in kernel, swaps the two file descriptors, then closes own (now swapped) filehandle05:13
DocScrutinizer05done05:13
DocScrutinizer05you just need to block premeptive multitasking during the whole swap process05:15
DocScrutinizer05swapfd must not get interrupted amidst doing the swap05:15
DocScrutinizer05prolly not even after locating the process table entries05:16
DocScrutinizer05otherwise odds are the destination process exits meanwhile and a new process gets same table entry in process table05:17
DocScrutinizer05would cause funny havok05:17
DocScrutinizer05prolly swapfd's own process table entry can safely considered stable during runtime of swapfd05:18
DocScrutinizer05so seach process table for destination process, on find do lock the multitasking, verify that the process table entry you found is still valid, write the own new file descriptor to target process table entry, re-enable multitasking, write 'old' file descriptor to own process table entry, close own file descriptor, exit05:21
DocScrutinizer05lemme augment to make it comprehensive...05:23
Maxdamantusor you can just use ptrace to back up the process' registers, modify the ones inside the process' address space such that it will make the appropriate system calls, then restore the registers again afterwards.05:25
DocScrutinizer05so swapfd creates own fd to new file, finds own process table entry, and in there the file descriptor, seaches process table for destination process, on find do lock the multitasking, verify that the process table entry you found is still valid, write the own new file descriptor to target process table entry, re-enable multitasking, write 'old' file descriptor to own process table entry, close own file descriptor, exit05:25
MaxdamantusThen its only dependent on a stable interface for each architecture, rather than internel assumptions about how the kernel works at any given time.05:26
*** Sicelo009N has quit IRC05:27
DocScrutinizer05good point, I just fail to understand how a process that already has opened a filehandle would do a systemcall to close() and open() again, without losing another systemcall you used to patch the process05:27
DocScrutinizer05unless you divert the write() and read() systemcalls to own code that does all this05:28
*** Sicelo009N has joined #maemo05:28
DocScrutinizer05and even then you need to wait until the process calls write() or read() next time05:28
DocScrutinizer05which might be quite a while05:29
DocScrutinizer05maybe I comletely missed to understand your concept05:29
MaxdamantusYou might need to check to see if it's in the middle of a call involving the replace fd.05:30
Maxdamantuseven if you didn't, it wouldn't block anyway since that old fd would be closed shortly afterwards.05:31
DocScrutinizer05yeah, that for sure :-) An advantage of the concept I sketched is that you can safely assume that the process isn't inside a kernel function call when it gets suspended, unless it's poll() or the like05:32
DocScrutinizer05and yes, my concept has nasty dependencies on deep knowledge about kernel data structures05:34
DocScrutinizer05I still wonder if it could already be there waiting for us, in debugfs05:35
DocScrutinizer05basically what forbids a filedescriptor node that's writeable, in a debug-enabled /proc/$pid/fd/${fd}_descriptor05:37
DocScrutinizer05it's just not there because...05:37
DocScrutinizer05in /proc/8113/fdinfo you are almost there already, just the right node missing, plus write permissions05:38
DocScrutinizer05cat /proc/8113/fdinfo/105:39
DocScrutinizer05now make that writeable and allow a "path: <filename>" as well05:40
DocScrutinizer05I'm missing /debug/8113/fd/1*  or sth like that. Just because no debugfs installed here05:41
DocScrutinizer05mount -t debugfs none /sys/kernel/debug05:43
*** ian_r has joined #maemo05:48
* Maxdamantus suspects it could be made less architecture-dependent by creating another child process that appears to do the actual system calls.05:48
DocScrutinizer05hmm, no, doesn't look like anything I'm dreaming up is in debugfs. only stuff like /sys/kernel/debug/tracing/events/ext4/ that might or might not have something useful05:48
Maxdamantusso it will ptrace both that child (which just does the open, dup2, close) and the target process, but will swap the registers structure around so it looks like the calls are done in the other process.05:49
DocScrutinizer05yeah, new lightweight thread05:49
DocScrutinizer05sharing memory space05:49
MaxdamantusIt doesn't need to share its address space.05:50
DocScrutinizer05would simplify stuff, I guess05:50
DocScrutinizer05maybe not05:51
MaxdamantusYou just need to copy the registers from the new child to the target child before the system call, then from the target child to the new child after the system call.05:51
DocScrutinizer05too tired to think that in deep05:51
Maxdamantusthen you resume the new child (PTRACE_SYSEMU), so it looks like the call was made there.05:51
DocScrutinizer05it anyway seems this _can_ get done, one way or another, but it's nontrivial and you prolly correctly say nobody implemented it yet05:52
Maxdamantussince open/dup2/close only involve inputs/outputs in the registers themselves.05:52
DocScrutinizer05I haven't even looked into ptrace in depth yet05:53
DocScrutinizer05I just know what it's used for05:53
DocScrutinizer05usually :-)05:53
DocScrutinizer05I prolly would know how to (ab)use gdb to do this FD redirection05:54
DocScrutinizer05first I'd patch the program text to append the code doing the close() and open() stuff, then change program counter to point to that interim new code, wun it, and continue where we left regular program text, not without restoring all registers etc to their original values05:56
DocScrutinizer05s/wun/run/05:57
infobotDocScrutinizer05 meant: first I'd patch the program text to append the code doing the close() and open() stuff, then change program counter to point to that interim new code, run it, and continue where we left regular program text, not without restoring all registers etc to thei...05:57
DocScrutinizer05finally I could delete the interim code from target's programtext again05:58
DocScrutinizer05this approach should work as long as the target process is susceptible to running under GDB monitor06:00
DocScrutinizer05IOW as long as the tracee is ptrace-enabled06:01
*** lxp1 has joined #maemo06:02
DocScrutinizer05afaik only one tracer can get attached to a tracee at any given time06:04
*** lxp has quit IRC06:04
DocScrutinizer05so this excludes traced processes from the set of valid candidates for swapfd06:05
DocScrutinizer05some nasty programs may do tricks like tracing themselves to blocj RE via gdb and the like06:05
DocScrutinizer05iirc skype is such a nasty candidate06:06
DocScrutinizer05anyway the ptrace approach seems sound06:06
DocScrutinizer05regardless of the implementation details06:07
DocScrutinizer05and yes, way more portable and generic06:07
DocScrutinizer05you probably can just ptraqce_attach to target, close($fd); open($fd, "new/path/to/file") and detach - well you should check the filehandle options that the original open() used, I guess06:10
MaxdamantusI think the only option you might want to maintain would be CLOEXEC.06:12
DocScrutinizer05there are some "details" to take care, like mmap() instead of open() etc06:12
Maxdamantusalso, open is only one way to create an fd.06:12
DocScrutinizer05:-D ^^^06:12
MaxdamantusI'd expect it to actually open /proc/$swapfd/fd/$x06:13
DocScrutinizer05I wonder if mmap is a simple fd on /proc level. prolly should be06:13
Maxdamantusso that you can do things like that first command I gave.06:13
Maxdamantusswapfd 1234 1 >(blah)06:13
DocScrutinizer05yeah, makes sense, as long as we talk about write-only FDs06:14
Maxdamantus(`>(blah)` is some bash syntax)06:14
DocScrutinizer05I know that syntax06:14
DocScrutinizer05write-only would already be a great tool, much better than what we got now (zilch) :-D06:15
DocScrutinizer05read-only is similarly simple I guess06:15
DocScrutinizer05read-write is a tad more involved06:16
DocScrutinizer05and with pipes like you use them in that command, positioning the write pointer gets tricky too :-)06:16
Maxdamantusfds are usually considered to be read or write anyway, not both.06:17
Maxdamantusexcept with files.06:17
DocScrutinizer05yep06:17
DocScrutinizer05of course06:17
Maxdamantusbut even reading and writing to the same file fd is reasonably uncommon.06:18
*** DocScrutinizer06 has joined #maemo06:18
*** DocScrutinizer06 has quit IRC06:18
*** DocScrutinizer06 has joined #maemo06:18
*** DocScrutinizer05 has quit IRC06:18
*** DocScrutinizer06 is now known as DocScrutinizer0506:18
DocScrutinizer05sorry, reconnect06:18
Maxdamantus15:18:03 < Maxdamantus> but even reading and writing to the same file fd is reasonably uncommon.06:18
Maxdamantusin case you didn't see it.06:18
DocScrutinizer05ta06:19
DocScrutinizer05really time for a nap06:19
DocScrutinizer05o/06:19
*** ian_r1 has joined #maemo06:31
*** ian_r has quit IRC06:31
*** vahe1 has joined #maemo06:34
*** louisdk has joined #maemo09:21
*** Sicelo009N has quit IRC09:33
*** Sicelo009N has joined #maemo09:35
*** Sicelo009N has quit IRC09:35
*** louisdk has quit IRC09:38
*** vahe1 has quit IRC09:50
*** Sicelo009N has joined #maemo09:50
*** louisdk has joined #maemo09:55
*** Sicelo009N has quit IRC10:04
*** ian_r has joined #maemo10:21
*** ian_r1 has quit IRC10:21
*** ian_r1 has joined #maemo10:32
*** ian_r has quit IRC10:32
*** Pali has joined #maemo10:41
*** futpib_ has joined #maemo11:08
*** fuz_ has joined #maemo11:25
*** ian_r1 has quit IRC12:13
*** M4rtinK has joined #maemo12:17
*** joga_ has quit IRC12:49
*** joga_ has joined #maemo12:49
*** joga_ is now known as joga12:49
*** SpeedEvil has quit IRC12:53
*** SpeedEvil has joined #maemo12:54
*** bredebid has joined #maemo12:56
*** futpib_ has quit IRC13:16
*** futpib has joined #maemo13:18
*** sunweave1 is now known as sunweaver13:26
ceenei've advanced a little bit with the port to libwa13:28
ceeneit's not much, to be honest, but it's enough to see a little spot of light at the end of the tunnel13:28
ceeneit now seems at least feasible13:28
*** disco_stu_droid has joined #maemo13:29
*** disco_stu has quit IRC13:29
KotCzarnyis your api properly separated into frontend--backend ?13:29
ceeneso-so13:29
KotCzarnyimprove that separation while you are at it?13:29
ceenewhen i finish the port to libwa, it'll be13:29
ceeneyes, i'm basically forced to do it13:29
ceeneas libwa does less things than yappari-wa13:29
*** disco_stu_droid is now known as disco_stu13:29
ceenebut it does them better13:30
KotCzarny:)13:30
ceenefor example, yappari-wa was in charge of storing logs13:30
ceeneso once i finish porting to libwa, there'll be nobody to store logs13:30
ceeneso i'll have to do that in a separate module13:30
keriohow long is the ban, btw13:30
ceeneit's a bit more work, but it'll be better in the end13:30
KotCzarny24 to 120h13:30
KotCzarnydepends13:30
ceenethree months i think13:31
kerio3 months is a little bit more than 5 days13:31
ceenenope, i think it's 60 days13:31
ceenelet me check13:31
KotCzarnyi guess they have different bans available13:31
ceenethere was a time when they banned for 24 hours users of whatsapp plus13:31
ceenebut nowadays they just ban you for good13:31
KotCzarnyfor different 'offenses'13:31
ceeneyes13:32
ceenebut i think it's almost always the longest one13:32
*** NIN101 has quit IRC13:32
ceene60 days, confirmed13:32
ceenethat's the longest i've ever seen13:32
KotCzarny60 days < 3 months13:32
ceeneyes, i was mistaken13:32
ceeneit's two months13:33
*** NIN101 has joined #maemo13:33
Luke-JrDocScrutinizer05: what kind of video out port(s) are on the Neo900?13:50
KotCzarnyisnt that a question more suiteable for #neo900 ?13:51
KotCzarnyless traffic there i guess and he snoops that channels more closely13:52
Luke-Jrdidn't know it existed13:52
Luke-Jr(also brushing against the channel limit)13:53
KotCzarny:)13:53
*** Pali has quit IRC14:29
*** M4rtinK has quit IRC14:29
*** louisdk has quit IRC14:51
LinkandzeldaDocScrutinizer05: i just took off the batlog.txt. it discharged over night and the calibration script finished. http://sprunge.us/jhYJ LMD now 143115:10
*** tissi has joined #maemo15:29
*** Valle_ has joined #maemo15:32
*** Valle_ is now known as Guest1356615:33
*** tissi has quit IRC15:35
*** Guest13566 is now known as salamisami15:35
*** l_bratch has quit IRC15:38
*** l_bratch has joined #maemo15:42
*** vahe1 has joined #maemo15:53
*** xorly has joined #maemo15:54
*** ced117 has quit IRC16:18
*** ced117 has joined #maemo16:22
*** protem has joined #maemo16:26
*** krnlyng has quit IRC16:30
*** krnlyng has joined #maemo16:34
*** antranigv has joined #maemo16:34
antranigvguys16:34
antranigvsup16:34
antranigvanyone uses encfs on maemo?16:34
*** krnlyng has quit IRC16:35
*** phlixi has quit IRC16:38
*** sunshavi has joined #maemo16:45
DocScrutinizer05Luke-Jr: CVBS and USB16:46
Luke-JrDocScrutinizer05: is USB video out different from standard USB host?16:48
*** krnlyng has joined #maemo16:49
DocScrutinizer05no16:49
Luke-JrCVBS is with the same video-out connector N900 had?16:49
*** pcfe has quit IRC16:51
*** pcfe has joined #maemo16:51
*** pcfe has quit IRC16:51
*** pcfe has joined #maemo16:51
DocScrutinizer05yes16:52
Luke-JrDocScrutinizer05: also, am I interpreted https://my.neo900.org/index.php?id_product=1&controller=product&id_lang=1 correctly? 480 EUR is 40% of the total price of 1200 EUR?16:53
DocScrutinizer05possible, yes16:54
*** DocScrutinizer05 has quit IRC16:56
*** DocScrutinizer05 has joined #maemo16:56
*** trumee_ has joined #maemo16:57
DocScrutinizer05see http://neo900.org/estimate16:58
*** phlixi has joined #maemo16:59
*** trumee_ is now known as trumee17:00
*** trumee has joined #maemo17:01
*** phlixi has quit IRC17:02
Luke-JrDocScrutinizer05: so 900-1200 EUR basically; or is the lower estimate there not including the N900 parts?17:03
DocScrutinizer05exactly17:03
Luke-Jrwhich?17:03
*** phlixi has joined #maemo17:04
DocScrutinizer05both17:05
DocScrutinizer05990 for NeoN, + ~150 for N90017:06
DocScrutinizer05and mounting etc17:06
DocScrutinizer05and when we could sell 5000 (like pyra prolly does) instead of 500, we could cut a 300 off from that17:08
*** sunshavi has quit IRC17:09
DocScrutinizer05a 300 bucks that is17:09
DocScrutinizer05apropos pyra and video-out: pyra using omap5 which supports digital video, something that omap3 doesn't17:14
Luke-Jryeah, expected that17:18
Luke-JrDocScrutinizer05: no ETA yet for Neo900, right?17:19
WizzupIt says Q32016 on the page17:19
Luke-Jroh17:19
DocScrutinizer05well, Q3 is optimistic, 2016 is honest17:19
* Luke-Jr puts "No earlier than July" ☺17:20
Luke-Jrhttps://www.pyra-handheld.com/wiki/index.php?title=Comparison_Chart FWIW17:21
DocScrutinizer05if and only if we can find another few hundred customers, we're not at our feasibility level yet17:21
DocScrutinizer05ooh nice :-)17:21
ceeneisn't cooperation with the pyra guys feasible?17:22
ceeneto increase component reutilization17:22
DocScrutinizer05pyra has same touchscreen like Neo90017:22
ceeneor whatever17:22
Luke-Jran issue for Pyra right now is min. order of 500 for each of the modems..17:23
Luke-Jrapparently ED isn't expecting >500 of each 4G model for some reason O.o17:23
ceenethat comparison chart says a different thing17:23
DocScrutinizer05Neo900 has a 3 LEDs on side of KBD for shiftlock, modem-active  and whatever17:23
DocScrutinizer05what's "Dvorak impossible"??17:24
Luke-Jrceene: ?17:25
Luke-JrDocScrutinizer05: not physically possible to align the keys for Dvorak17:25
Sicelohow much is the Pyra?17:25
DocScrutinizer05you can have whatever keymapping you like, just the writing on keymat won't magically change, you need to blindtype or manually change the writing like on 99.99999% of other kbds17:25
Luke-JrDocScrutinizer05: the LEDs: colour or binary?17:26
DocScrutinizer05err?17:26
Luke-JrDocScrutinizer05: Dvorak has the middle row far to the left of the bottom row; N900's keyboard doesn't have that many keys wide17:26
DocScrutinizer05ok17:26
Luke-Jr[14:23:53] <DocScrutinizer05> Neo900 has a 3 LEDs on side of KBD for shiftlock, modem-active  and whatever <-- are these single colour or RGB?17:27
DocScrutinizer05now that makes sense17:27
DocScrutinizer05actually I think they are RGB, need to look tbh17:27
LinkandzeldaDocScrutinizer05: any idea about my battery log data?17:27
DocScrutinizer05Linkandzelda: URLß17:27
DocScrutinizer05?17:28
LinkandzeldaDocScrutinizer05: http://sprunge.us/jhYJ17:28
Linkandzeldacalibration finished, im running it again17:28
Linkandzeldaending LMD was 1431 now instead of 16xx17:28
DocScrutinizer05I'd say your battery has around 1100 to 1200mAh17:30
DocScrutinizer05can't tell for sure since the discharge starts at 77%, not 100%17:30
Luke-JrDocScrutinizer05: on the side of the kb is underneath the face when closed? or way over to the side? (which side?)17:31
Linkandzeldai see17:31
antranigvso, no one uses encfs :/17:32
DocScrutinizer05those 3 LEDs are probably left to kbd and not visible when kbd closed. We have a planned 2 pattern LEDs on the two device lower corners visoble from 180° to 270° around device no matter if device sits on display or back17:33
DocScrutinizer05Luke-Jr: you know we just have the drivers to control them just like the indicator LED in N900, and we got that spacerframe that literally asks for intergratinf LEDs into it17:34
DocScrutinizer05and visibility of indicator LED never was really great17:35
Luke-JrDocScrutinizer05: the N900 LED is fairly well-positioned inside the N810 case BTW17:35
NIN101antranigv: well I use luks17:36
DocScrutinizer05yes, sort of like N81017:36
DocScrutinizer05but 2 corners, not 117:36
antranigvNIN101: on N900? o.O17:36
LinkandzeldaDocScrutinizer05: so with a new battery having 1320mah, is it worth getting a fresh one?17:36
NIN101antranigv: yes17:37
DocScrutinizer05Linkandzelda: I'd say prolly not17:37
antranigvNIN101: any instructions?17:37
NIN101https://n900.quitesimple.org/crypto/encrypted_home/17:37
antranigvNIN101: love you 0_0 <317:37
NIN101but it's rather difficult (annyoin /time consuming)  to set up17:38
*** fk_lx_ is now known as fk_lx17:42
antranigvNIN101: I'll give it a try on one of my N900s17:49
*** corvinux has joined #maemo17:49
ceenewell, i've replaced yappari's registration code with the one on libwa17:53
ceenenow, that's the easy part, because that's a pretty small module17:53
ceenebut at least i've verified that the build system is working, linking and that the basics are fine17:53
ceeneissue now is that i think it's mandatory now the newprotocol17:54
DocScrutinizer05ok, on with the comparision chart17:59
DocScrutinizer05Luke-Jr: kbd backlight: YES (RGB)17:59
Luke-Jrinteresting18:02
DocScrutinizer05Luke-Jr: Primary Operating System ... well, maemo? Devuan bare bones BSP incl factory test programs and installer wizard?18:02
Luke-JrDocScrutinizer05: what's it ship with? website said Debian :p18:02
DocScrutinizer05it should already say Devuan18:03
DocScrutinizer05it however say nothing about armhf18:03
Luke-Jrcool, cuz Debian sucks now ;)18:03
DocScrutinizer05it says BSP18:03
DocScrutinizer05Luke-Jr: afaik pyra and Neo900 use identiacal WLAN/BT module18:07
Luke-Jrok, so change to Devuan..? anything else?18:07
KotCzarnyfremantle compatibility18:07
DocScrutinizer05afaik this module can't do ac18:08
DocScrutinizer05http://neo900.org/stuff/block-diagrams/neo900/neo900.html18:08
Luke-JrDocScrutinizer05: The WiLink8?18:08
DocScrutinizer05yup18:08
* Luke-Jr wonders if he misunderstood https://pyra-handheld.com/boards/threads/gpd-is-going-to-release-an-x86-console-palmtop-computer.76762/page-27#post-137075818:09
*** krnlyng has quit IRC18:10
DocScrutinizer05we also use same modem module 8though Neo900 offers more variants) which means GNSS is also identical, though the Neo900 one has additional safeguard to block GNSS18:11
*** krnlyng has joined #maemo18:11
DocScrutinizer05upgrade: Via USB in battery compartment18:11
Luke-Jrthat's there already ;)18:12
DocScrutinizer05s/USB/<a href=http://neo900.org/stuff/papers/hb.pdf>HackerBus/18:13
Luke-Jr(although hns was curious how you managed to get a 3rd USB port on OMAP3)18:13
Luke-Jroh18:13
DocScrutinizer05high power draw: 4..5h18:14
DocScrutinizer05s/hotswap/warmswap/18:15
*** krnlyng has quit IRC18:15
*** krnlyng has joined #maemo18:15
DocScrutinizer05we don't do the hotswap anymore, too much effort and we got suspend-to-disk meanwhile so we suspend device and then swap battery. The hotswap trick is maybe still working but not officially supported/warranted18:16
Luke-Jrsuspend-to-disk means it's not really Neo900-specific then?18:17
DocScrutinizer05USB: micrio-AB18:17
Luke-JrWhat is Micro-AB? O.o18:17
DocScrutinizer05well, it's not completely Neo900 specific, though our complete hw allows to do suspend to disk, which isn't warranted for arbitrary other platforms18:18
DocScrutinizer05NFC: <a href=http://neo900.org/stuff/papers/nfc-draft.pdf>YES</a>18:20
DocScrutinizer05https://en.wikipedia.org/wiki/USB#/media/File:USB_Micro-AB_receptacle.svg18:21
DocScrutinizer05that's it I guess18:22
Luke-Jrno battery life during usage claim? :P18:23
DocScrutinizer05err18:23
DocScrutinizer05https://pyra-handheld.com/boards/threads/gpd-is-going-to-release-an-x86-console-palmtop-computer.76762/page-27#post-1370758 chip is nonsensical, 802.11a is 5GHz and fine18:24
DocScrutinizer05ac is multichannel and possibly even spread over both bands 2.4 and 5 iirc18:24
DocScrutinizer05http://www.ti.com/lit/ds/symlink/wl1837mod.pdf18:25
DocScrutinizer05WLAN Baseband Processor and RF Transceiver Support of IEEE Std 802.11a, 802.11b, 802.11g, and 802.11n 20- and 40-MHz SISO and 20-MHz 2 × 2 MIMO at 2.4 GHz for High Throughput: 80 Mbps (TCP), 100 Mbps (UDP) 2.4-GHz MRC Support for Extended Range and 5-GHz Diversity Capable18:26
DocScrutinizer05((<Luke-Jr> no battery life during usage claim? :P)) ???18:27
DocScrutinizer05I don''t see anything except >>Battery life (claimed, high power draw)<<18:28
DocScrutinizer05I answered that18:28
Luke-Jryou did?18:29
DocScrutinizer05though I think "high power draw" is not the typical usecase for Neo90018:29
Luke-Jroh18:29
DocScrutinizer05we rather brag with 10 days standby18:29
DocScrutinizer05and over 24h with light use18:30
DocScrutinizer05wich actually brings the conceptual differneces between Neo900 and Pyra to the point like nothing else does18:31
Luke-Jr1320mAh is correct? any idea what voltage?18:32
DocScrutinizer05the usual18:32
Luke-JrI guess users can put any battery in18:32
DocScrutinizer05it's LiIon18:32
DocScrutinizer05yes, you can connect arbitrary LiIon to HB18:32
Luke-Jrwill you be shipping with any battery?18:32
DocScrutinizer05of course! standard Bl-5J18:34
DocScrutinizer05BL18:34
DocScrutinizer05or compatible18:34
DocScrutinizer05whatever we can source and is decent18:35
Luke-Jrdid the side-of-kb LEDs turn out to be RGB?18:36
Luke-Jror just the backlight?18:36
DocScrutinizer05(nik wondered where we got the 3rd USB) well, OMAP3 has 1 OTG and 2 host USB interfaces18:36
*** protem has quit IRC18:36
Luke-Jr"OMAP3 has up to USB 3 ports (according to the data sheet). One is used for the OTG port. The next one needs an external controller chip and is needed for the 3G/4G module. And the third one is not available through pinmux or only if the second one is not high speed. So to my knowledge there are only 2 ports and no spare one."18:37
DocScrutinizer05lemme check (http://neo900.org/stuff/eaglefiles/proto_v2/3-2015-09-09/Neo900_no-vectorfonts.pdf)...18:39
DocScrutinizer05p33 sheet2918:39
DocScrutinizer05indicator and 2 corner LEDs18:39
* Luke-Jr pokes KDE for not liking neo900.org18:40
DocScrutinizer05next page (34) MOD 3 momocrome LEDs left to KBD18:41
DocScrutinizer05err ooops, seems we picked a single RGB for that18:42
Luke-Jrso 1 RGB on face, and 1 RGB on left side of kb?18:42
Luke-Jrand 1 RBG kb backlight18:42
DocScrutinizer05kbd are backlight LEDs18:42
Luke-JrI don't know how to read schematics btw18:42
DocScrutinizer05well, let me count: we got: indicator LED and 2 AUX (corner) LEDs which are RGB and can do patterns like N90018:44
DocScrutinizer05then we got 6 RGB backlight (KBD) LEDs, each individually controllable in color and brightness (N900 has 6 white LEDs for that)18:45
DocScrutinizer05then one more RGB LED plain visible at left side of kbd18:46
Luke-Jrhm18:46
DocScrutinizer05and one RGB privacy LED which replaces the red-only LED at camera lens18:46
Luke-Jrthe 3 face LEDs are all independent, or share the same signal?18:47
* Luke-Jr not sure he was aware of the red LED O.o18:47
DocScrutinizer05which ones?18:47
Luke-Jr[15:44:07] <DocScrutinizer05> well, let me count: we got: indicator LED and 2 AUX (corner) LEDs which are RGB and can do patterns like N90018:47
DocScrutinizer05those are completely independant18:47
DocScrutinizer05all our LEDs are "solitaire"18:47
DocScrutinizer05except the display backlight white ones18:48
Luke-Jrbacklight has RGB *and* white ones?18:48
DocScrutinizer05no18:48
DocScrutinizer05DISPLAY18:48
Luke-Jroh18:48
Luke-Jrforgot that even existed XD18:48
DocScrutinizer05hehe18:48
buZzhmm, there isnt a GSM-free neo900?18:49
buZzi thought it was a privacy oriented platform :D18:49
DocScrutinizer05FSM-free?18:49
Luke-Jrok, so Notification LEDS: 3 RGB LEDs on the face, 1 on left side of keyboard (not visible when closed)18:49
DocScrutinizer05GSM even18:49
buZzno we always need finite state machines DocScrutinizer05 :D18:49
Luke-JrAnd Keyboard Backlight: Yes (6 RGB LEDs)18:49
Luke-JrbuZz: Neo900 allows you to power off the GSM, IIRC18:49
buZzwhy would i buy a car with a gun, only to disable the gun18:50
DocScrutinizer05Luke-Jr: yep when 'on the face' means 'surface'. 2 are on case corners18:50
Luke-Jrso actually on the corner, ok18:50
DocScrutinizer05why would you buy a car?18:50
buZzyeah good point18:51
Luke-Jrso Notif LEDs: 3 RGB LEDs on the display (2 visible from the sides), 1 on left side of keyboard (not visible when closed)18:51
*** veikko has quit IRC18:51
DocScrutinizer05yes18:51
DocScrutinizer05er wait18:51
DocScrutinizer05we got N900 indicator LED plus 2 new ones in case corners (360° visoble), then we got a little one left side of kbd18:52
DocScrutinizer05so 4 LEDs18:52
Luke-Jrright18:52
DocScrutinizer05plus privacy LED18:52
KotCzarnybuzz: because you want to hide under the radar18:53
DocScrutinizer05the litthe formerly red light next to main camera lens18:53
DocScrutinizer05now also RGB18:53
Luke-Jrhow do I turn the red light on? O.o18:53
buZzi just dont wanna support systems i want to take no part in :)18:53
DocScrutinizer05buZz: welcome, and thanks for the constructive contributions18:54
Luke-JrDocScrutinizer05: oh, in the middle of the torch?18:54
DocScrutinizer05Luke-Jr: you lost me18:54
Luke-Jrthe red light18:54
DocScrutinizer05yes18:54
DocScrutinizer05between the 2 big white flash LEDs18:54
buZzi guess i need to stick to N800/N810 then :/ sad18:55
KotCzarnyyou can always desolder modem chip from n90018:55
DocScrutinizer05yes, a N900 successor is no valid replacement for N81018:55
DocScrutinizer05if that wasn't obvious yet18:55
buZzi really wish ppl would just make PDAs again :(18:55
DocScrutinizer05when you don't like N900 you won't like Neo900 either18:56
Luke-JrbuZz: Pyra will have a modem-free model, and there's GPD Win18:56
buZzLuke-Jr: ah cool, didnt see that yet (@ modemfree)18:56
DocScrutinizer05Neo900 can also be ordered without any modem18:56
buZzah it can? also didnt see that18:56
buZzwhich is why i asked18:56
DocScrutinizer05just don't hope for substantial savings from this18:56
*** pagurus has joined #maemo18:57
buZzif money was a motivation i wouldnt be looking at neo900/pyra at all ;)18:57
DocScrutinizer05fair point18:57
DocScrutinizer05buZz: Neo900 get built to order18:57
Luke-JrDocScrutinizer05: look good now?18:58
DocScrutinizer05lemme F518:58
* Luke-Jr throws "Optional" on Neo900 modem18:58
KotCzarnymake it 'option: modem free'18:59
DocScrutinizer05pyra still lacks a dualtouch r-ts like Neo900 got18:59
DocScrutinizer05Pyra uses "our" chip ;-)19:00
* Luke-Jr fixes19:00
Luke-Jrnow if only someone would fork Pyra and add the Neo900-exclusive features to it.. :p19:01
DocScrutinizer05LEDs look good enough, though "on display" is a tad missleading since the corner two are in main body spacerframe19:01
Luke-Jrso when kb and display separate, they stay with the kb half?19:02
DocScrutinizer05so basicaly above stylus and symmetrically on left side19:02
DocScrutinizer05yes19:02
DocScrutinizer05on the lower left and right corner/edhe of device19:03
Luke-JrTotal 5 RGB LEDs: 1 on the display; 2 on the sides; 1 on left side of keyboard (not visible when closed)<br>1 on the rear above the camera (between the flash LEDs; visible only when camera open)19:03
DocScrutinizer05YES!! :-)19:03
DocScrutinizer05BT is identical between Pyra and Neo19:05
DocScrutinizer05http://www.ti.com/lit/ds/symlink/wl1837mod.pdf19:05
Luke-Jrdo you have some way to get FM & NFC off that, or use a separate chip?19:06
DocScrutinizer053.7V vs 4.2V -- this is just nominal vs maximal voltage of a standard LiIon cell19:06
DocScrutinizer05we got separate chip for FM, and a very unique and versatile NFC subsystem of our own design19:07
DocScrutinizer05designed by Werner Almesberger19:07
DocScrutinizer05(with a little 'help' by me)19:08
Luke-Jrseems like the wl1837mod *should* have FM on the chip, but it's disabled I guess19:08
DocScrutinizer05We'll check that19:08
DocScrutinizer05if we can use it, we will19:08
Luke-JrI didn't see any mainline kernel code for it at least19:09
DocScrutinizer05unless effort is lower with a separate FM-TX/RX chip19:09
Luke-Jrthat sounds likely if you already have a separate chip done19:09
DocScrutinizer05again, check our *very* nice blockdiagram!19:10
DocScrutinizer05~bd19:10
infobot[bd] Bangladesh19:10
Luke-Jrlol infobot19:10
DocScrutinizer05~#neo900 bd19:10
infobotmethinks #neo900 bd is http://neo900.org/stuff/block-diagrams/neo900/neo900.html the very fine and detailled Block Diagram, or http://talk.maemo.org/showthread.php?p=1445200#post144520019:10
DocScrutinizer05makes me wonder why we don't have this chat in #neo900 instead of here where it's rather OT19:10
DocScrutinizer05now we're almost done so nm19:10
Luke-Jrwhoa, Neo900 has dual SIM?19:11
ceenewhich software has that diagram been made with?19:11
DocScrutinizer05Luke-Jr: (block diagram) you get all the datasheets from there, just a mouseclick away19:11
*** fuz_ has quit IRC19:11
DocScrutinizer05Luke-Jr: yep, 'dual' SIM19:11
DocScrutinizer05ceene: ask wpwrak19:12
DocScrutinizer05ceene: /join #neo90019:12
DocScrutinizer05ceene: (dual SIM) depending on what modem might support in future with a firmware update, we might support dual SIM dual standby, for now we canonly support SIM swap. Plus you can use either of both slots as smartcard reeader muutually exclusive to modem SIM19:13
*** corvinux has quit IRC19:27
*** corvinux has joined #maemo19:27
*** fuz_ has joined #maemo19:35
*** xray256_ has quit IRC19:36
*** alien2003 has joined #maemo19:37
*** xray256_ has joined #maemo19:38
*** Avasz has joined #maemo19:40
*** Avasz has quit IRC19:42
ceenewell, so it seems that the guy from Chat-API which implements WA protocol on PHP lives also here in Madri19:43
KotCzarny:)19:44
ceenes/Madri/Madrid19:44
KotCzarnybeer coding session?19:44
ceeneprobably, yeah19:44
ceenehe's almost studied on the same building as me19:44
ceenelol19:44
ceenehe's done the shorter grade19:44
KotCzarnysmall world19:45
ceenebut we're profession colleagues19:45
*** Avasz has joined #maemo19:47
*** Avasz has joined #maemo19:47
*** xray256_ has quit IRC20:11
*** xray256_ has joined #maemo20:16
*** vahe1 has quit IRC20:30
*** lobito1 has joined #maemo20:50
KotCzarnyofftopic but funny: http://i.imgur.com/pTYT70h.png20:51
*** lobito has quit IRC20:51
*** lobito1 is now known as lobito20:52
APicHi.21:08
* APic is going to buy a spare N900 from a Friend. How can he securely erase all his private Data, but leave the Device flashable for me?21:08
KotCzarnyjust do full flash ?21:09
keriothere's a thing in settings, isn't it21:10
KotCzarnyrun rescueos and do dd ?21:10
kerioidk if it makes it a "secure" erase though21:10
KotCzarnyunless he works in data forensics simple dd </dev/zero is enough21:10
keriowriting zeroes over the emmc is enough in any case21:11
DocScrutinizer05~tell apic about flashing-cmdline21:13
DocScrutinizer05when you want to make sure, do a dd if=/dev/urandom of=/home/user/xxx; rm /home/user/xxx; dd if=/dev/urandom of=/home/user/MyDocs/xxx; rm /home/user/MyDocs/xxx21:16
DocScrutinizer05*after* flashing21:16
APicThanks.21:17
DocScrutinizer05yw21:17
APicB-)21:17
KotCzarny /dev/urandom is SLOW21:18
DocScrutinizer05you could do (ls -lR /; cat /home/user/xxx)|dd of=/home/user/xxx  to speed up21:23
DocScrutinizer05particularls for /home/user/MyDocs/xxx instead of /home/user/xxx  which otherwise will take quite a while via dev/urandom21:24
KotCzarnyfull flash should be enough, if there are any files in mydocs remaining, just delete them21:25
*** pagurus has quit IRC21:25
kerioAPic: most definetely do not do dd if=/dev/whatever of=/path/to/file without a count=21:26
APicOk21:28
APicThanks21:28
kerioboot from rescueOS, zero out the emmc, then flash both COMBINED and VANILLA21:28
KotCzarnyDAMN21:31
KotCzarnyi see hotpixel on my lappy21:31
KotCzarny:/21:31
KotCzarnymy life is ruined :/21:32
DocScrutinizer05kerio: yes, he shall do exactly that21:32
DocScrutinizer05do dd until no more room on storage left21:32
DocScrutinizer05APic: ignore that21:32
KotCzarnynow that i look.. 4 of them21:32
APicOk21:33
DocScrutinizer05APic: what you should NOT do is "zero out the eMMC"21:33
kerioKotCzarny: rip21:33
KotCzarnywth, 621:34
keriodisplay a checkerboard pattern fullscreen21:35
kerioor a solid color i guess21:35
keriocheckerboard would make them easier to spot21:35
KotCzarnycould be i just didnt look at the screen closely before21:35
KotCzarny1680x1050 is quite high dpi21:36
KotCzarny(for 15")21:36
*** xray256_ has quit IRC21:36
DocScrutinizer05APic: for two reasons: you shouldn't write brute force to the device anyway, and for sure not all zeros since that might get optimized out by the eMMC's contrller and not result in any real write21:44
DocScrutinizer05after you did fill the complete storage with one file with pseudo random data (not all zeros), you can optimize the eMMC again by doing exactly that: write all zeros to a file until storage full, then delete the file21:47
DocScrutinizer05this will possibly tell the controller that the flash pages are unused21:48
DocScrutinizer05unlikely but possible21:48
APicOk21:48
KotCzarnystill, overthinking21:48
DocScrutinizer05your chances are better on the vfat fs than on any other21:48
KotCzarnyremove the files then do full flash21:48
kerioeither the controller knows about all zeroes and will just mark the pages as unused or it doesn't know about all zeroes and will just write them21:49
keriobut by marking the pages as unused you'll still obtain the desired result21:49
kerioand most definetely you need to do that on the whole device anyway, not on a single partition21:49
DocScrutinizer05or the controller knows about vfat and optinizes21:49
keriobecause the controller doesn't split the device in partitions21:49
KotCzarnyalso, 'controller optimizing' would mean that you get meaningful data on read, still, you would get all zeros. so as i said, unless you are doing forensic flash data retrieval as a work/hobby, no point in overthinking21:50
DocScrutinizer05good point, make that dd if=/dev/urandom of=/home/user/xxx; dd if=/dev/urandom of=/home/user/MyDocs/xxx; rm /home/user/MyDocs/xxx; rm /home/user/xxx;21:50
keriostill no need to use urandom but ok21:51
kerioand you forgot about the swap, which is probably even more critical21:51
kerioconsidering that private material ends up there all the time21:51
DocScrutinizer05no, you also could use /dev/one21:51
keriosurely it depends on the innards of the controller21:51
KotCzarnywhat about fingerprints on the screen?21:52
keriodeleted nand pages appear as 0xff, not 0x0021:52
KotCzarnydna samples in keyboard?21:52
kerioKotCzarny: eeew21:52
keriowhat do YOU do with your n90021:52
DocScrutinizer05I didn't forget about swap, I considered it safe enough and likely enough to get corrupted for all but the most security relevant purposes21:52
KotCzarnykerio, i assume you are treating n900 with white gloves, eh?21:52
kerio( ͡° ͜ʖ ͡°)21:53
DocScrutinizer05(use dev/one (which doesn't exist)) or do what I suggested to speedup21:54
DocScrutinizer05(ls -lR /; cat $file)|dd of=$file21:54
KotCzarnyls -lR is WRONG21:55
KotCzarnyfind / -type f is right21:55
keriowat21:55
keriothat's just to generate some data or whatever21:55
KotCzarnykerio, do ls -lR and see the output21:55
KotCzarnyalso, using ascii is no better than /dev/zero21:56
kerio?21:56
keriothe idea is that only writes of zeroes are optimized away21:56
keriofor whatever meaning of "optimized away" doc means21:56
keriowriting anything else will trigger an erase/write cycle on the page that the controller wants to use21:57
KotCzarnyidea is that doing reverse write then doing statistical analysis on the floating data still present on data cells21:57
keriono, that's not the idea21:57
kerioeveryone here agrees that that's bullshit21:57
kerioespecially for flash memory21:57
keriowhere if you trigger an erase you're pretty damn sure that the data is gone21:58
kerioliterally shocked out of existance21:58
KotCzarnykerio, sure, but you think data cells are 0/121:58
KotCzarnyit's not exactly 0/121:58
keriobut even on rotational drives there's literally no account of anyone ever recovering data from a zeroed out platter21:58
keriobecause if you could do that21:58
keriothen you could use the same principle to store more data21:59
keriowhich is what hard drive manufacturers *do*21:59
KotCzarnykerio, thing is they did that21:59
KotCzarnyresidual magnetism21:59
keriocitation needed21:59
KotCzarnyhttp://m.www.na-businesspress.com/JMPP/MedlinWeb.pdf22:00
KotCzarnysee residual magnetism22:01
KotCzarnythat's why corpos destroy media physically22:01
kerio"This data can be recovered with certain software and hardware scans"22:01
KotCzarnyhttps://en.wikipedia.org/wiki/Data_remanence22:02
KotCzarnyhttps://en.wikipedia.org/wiki/Data_remanence#Feasibility_of_recovering_overwritten_data22:03
kerioyes, i was about to link that22:03
kerioAn analysis by Wright et al. of recovery techniques, including magnetic force microscopy, also concludes that a single wipe is all that is required for modern drives.22:04
kerio(where modern = after 2001, over 15gb)22:04
kerioand you destroy drives instead of overwriting them because physically punching through the platters with a lever takes like 5 seconds22:05
KotCzarnyalso remember, it's official info in wikipedia22:05
KotCzarnywhat is in nsa arsenal is another story22:05
APicFriend posted this: http://www.microsoft.com/en-us/mobile/support/faq/?action=singleTopic&topic=FA12165022:05
APicHow about that?22:05
kerioall i asked was an article where someone shows recovery of at least one byte from a hard disk platter that was overwritten with a NUL22:06
kerioAPic: that's what i suggested initially but i'm not sure if it actually overwrites stuff22:06
KotCzarnykerio: http://imgur.com/gallery/zMuJzWt22:06
KotCzarnypunching leaves some data instact22:06
*** krnlyng has quit IRC22:07
*** xelo has joined #maemo22:08
keriook actual question22:09
keriois there a way to restore mtd1 (CAL) to a pristine state?22:09
*** krnlyng has joined #maemo22:12
KotCzarnykerio: http://www.vistax64.com/system-security/208829-who-can-crack-gutmann-method.html#post96091522:17
keriolots of sources22:20
KotCzarnyi guess connecting n900 to pc and feeding it to truecrypt format would be faster than 'on device' clear22:20
KotCzarnykerio, thing is you won't hear about such low level data recovery22:21
KotCzarnyif there is a backdoor, who's gonna brag about it?22:21
DocScrutinizer05kerio is right about flash erase22:22
KotCzarnyregarding flash: http://www.freerepublic.com/focus/f-chat/2678482/posts22:23
salamisamieh22:23
kerioDocScrutinizer05: the thing is22:24
kerioif the controller is smart enough to treat zeroes differently22:24
salamisamii ran apt-get update fcam-drivers and reboot and camera doesnt work22:24
keriowhy wouldn't it also do background garbage collection of the pages?22:24
DocScrutinizer05((and you destroy drives instead of overwriting them because...)) ...you can't erase a disk that's already defect22:24
keriosalamisami: normal kernel?22:24
salamisamipower v5322:24
kerioDocScrutinizer05: that, too22:24
keriocan't ATA Secure Erase if the drive doesn't work22:24
DocScrutinizer05kerio: (garbage collection) they do, usually22:25
KotCzarny3. If you fill your hard drive with porn, they may stop looking for hidden data, and just fap instead.22:28
*** louisdk has joined #maemo22:28
KotCzarnylol22:28
kerioDocScrutinizer05: so what's the issue with writing zeroes?22:28
salamisamiso.... is there any way to make the camera work again (which does not include flashing the phone)22:31
KotCzarnyuninstall fcam and fcam-drivers22:32
KotCzarnyor fcam-modules, dont remember22:32
salamisamiso no blessn900 for power kernel then?22:32
kerioi never understood who's responsible for the kernel module22:32
KotCzarnyi think it's just incompability of the modules22:32
KotCzarnybtw. did you reboot after installing fcam?22:36
Siceloyou just need to reinstall :)22:36
* Sicelo has PK & BlessN90022:37
*** alien2003 has quit IRC22:37
Siceloand also PK & FCamera on the 2nd N900. just reinstall the drivers. it should be in wiki22:37
salamisamii did reboot22:38
salamisamiwell i removed fcam drivers and now the default cam works again22:38
salamisamiwhats the nicest calculator application for maemo btw22:41
KotCzarnyi use bc22:41
DocScrutinizer05clearly HP45 :-)22:49
Linkandzeldaany of you tried meego?22:53
salamisamiyou mean harmattan?22:54
Linkandzeldayea22:54
salamisamiwell i own N022:54
salamisamin922:54
DocScrutinizer05sorry, HP42  http://my-maemo.com/software/applications.php?fldAuto=812&faq=4122:55
Linkandzeldajust wondering if there's any point in trying it out on my n90022:55
DocScrutinizer05http://maemo.org/packages/view/free42/22:56
DocScrutinizer05Linkandzelda: harmattan doesn't work too nice on N900 afaik22:58
Linkandzeldai see22:59
DocScrutinizer05also it's abandoned very early during development22:59
Linkandzeldaim still searching for a vsync fix, saw that harmattan had it apparently22:59
salamisamidunno why you'd even want harmattan on n90022:59
salamisamiwhenever i was using n9 i wished it had maemo instead22:59
DocScrutinizer05there are fremantle/N900 vsync fixes I think22:59
DocScrutinizer05salamisami: indeed23:00
Linkandzeldaif you find something i'd like to try it23:00
DocScrutinizer05ask pali23:00
DocScrutinizer05he might know23:00
DocScrutinizer05or freemangordon23:00
Linkandzeldathe bug report was closed with Status:RESOLVED WONTFIX a long time ago, thats about all i discovered23:00
DocScrutinizer05hmm I _think_ some kernel hackers found a way to enable the hw vsync23:04
DocScrutinizer05or maybe they hoped for such and didn't manage to implement it, dunno23:05
*** krnlyng_ has joined #maemo23:13
*** krnlyng has quit IRC23:17
*** futpib has quit IRC23:53

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