IRC log of #maemo-devel for Sunday, 2010-06-13

*** lardman has quit IRC00:01
*** SpeedEvil has quit IRC00:08
*** SpeedEvil has joined #maemo-devel00:09
*** lardman has joined #maemo-devel00:14
*** lardman has quit IRC00:34
*** silbo has quit IRC00:40
*** lbt has quit IRC00:42
*** lardman has joined #maemo-devel00:45
*** lardman has quit IRC00:51
*** lardman has joined #maemo-devel01:04
*** lardman has quit IRC01:07
*** lardman has joined #maemo-devel01:07
*** csaavedra has quit IRC02:06
*** BabelO has joined #maemo-devel02:14
*** BabelO has quit IRC02:28
*** BabelO has joined #maemo-devel02:28
*** _Lucretia__ has joined #maemo-devel02:39
*** _Lucretia_ has quit IRC02:42
*** lardman has quit IRC02:54
*** SpeedEvil has quit IRC03:14
*** SpeedEvil has joined #maemo-devel03:14
*** BabelO has quit IRC03:19
*** Docscrutemp has joined #maemo-devel03:32
*** Docscrutemp is now known as DocScrutinizer5103:33
*** swc|666 has joined #maemo-devel03:57
*** shinkamui has joined #maemo-devel04:18
*** t7g_ has joined #maemo-devel05:07
*** T7g has quit IRC05:11
*** DocScrutinizer2 has quit IRC05:11
*** DocScrutinizer has quit IRC05:12
*** DocScrutinizer has joined #maemo-devel05:12
*** DocAvalance has joined #maemo-devel05:13
*** DocAvalance is now known as DocAvalanche05:15
*** DocAvalanche has quit IRC05:15
*** DocAvalanche has joined #maemo-devel05:15
*** rcampbell has joined #maemo-devel07:21
*** DocScrutinizer51 has quit IRC07:33
*** DocScrutinizer has quit IRC07:34
*** DocAvalanche is now known as DocScrutinizer07:34
*** DigitalPioneer has joined #maemo-devel07:34
*** Docscrutemp has joined #maemo-devel07:34
*** Docscrutemp is now known as DocScrutinizer5107:34
*** rcampbell has quit IRC08:47
*** Venemo has joined #maemo-devel09:25
VenemoHi09:28
Venemocould someone help me with taming D-Bus?09:29
*** Ian-- has quit IRC10:18
*** Ian-- has joined #maemo-devel10:36
*** lbt has joined #maemo-devel11:05
*** kamui__ has joined #maemo-devel11:26
*** shinkamui has quit IRC11:31
*** BabelO has joined #maemo-devel11:51
*** Venemo has quit IRC12:04
*** lbt has quit IRC12:07
*** Venemo has joined #maemo-devel12:09
*** swc|666 has quit IRC12:43
*** silbo___ has joined #maemo-devel12:57
*** csaavedra has joined #maemo-devel13:18
*** silbo___ has quit IRC14:30
*** macbeth8c has joined #maemo-devel14:36
macbeth8chi does anybody know how to use application to block Maemo OS?14:36
macbeth8cpossibly during boot to run the app & sometimes block the system14:37
Venemowhat do you mean by "block the system"?14:40
macbeth8cI am writing the face recognition authorization app :)14:40
macbeth8cso if the face is rejected I need to blick the system with the pin code14:41
macbeth8c*block14:41
Venemooh14:43
Venemowell, honestly, I don't know that much about the system14:43
macbeth8cVenemo, do you know how to run the app on startup?14:43
Venemoyes14:43
Venemohttp://blog.exys.org/entries/2010/Maemo5_Lastfm_Widget_With_Qt.html14:44
Venemocheck the bottom of the page14:44
macbeth8cok good14:44
macbeth8cI bookmarked it14:45
macbeth8cthat's something useful however such application can be easily closed?14:46
macbeth8cis it bash script? can I add some logic to the script?14:46
Venemolook around in your /etc/event.d/ folder and its contents14:47
Venemoall the daemons are starting there14:48
VenemoI don't know a thing about bash or shell scrips, sorry :(14:48
VenemoThe N900 is my first Linux experience that lasted longer than 5 minutes :)14:48
macbeth8cVenemo, best way is to hacked the OS so that it will extend standard pin question14:50
macbeth8c*hack14:51
macbeth8cnot sure if we can make a pin-check from the app14:51
macbeth8care the maemo sources available, Venemo ?14:52
macbeth8cnot fully probably14:53
Venemowell, parts of it14:55
Venemomost of the OS is open14:55
Venemothe core drivers and Nokia apps are usually closed14:56
SpeedEvil /etc/X11/X11sesson.post14:57
SpeedEvilis the dir that all the user-X applications are started in14:57
macbeth8cdont have it on my scratchbox14:58
macbeth8cmaybe its only on device14:59
SpeedEvilNokia-N900-02-8:/etc/X11/Xsession.post# ls14:59
SpeedEvil04hildon-welcome-wait               32mafw14:59
SpeedEvil15hildon-status-menu                32mafw-gst-renderer14:59
SpeedEvilThe scripts are caled in numeric order15:00
SpeedEvilSo if you add something before 04 - then it comes up before all of the stuff, and you get a basically blank X server15:01
SpeedEvilat 80, you get it completed all initialisation15:01
macbeth8cSpeedEvil, what is the type of files in the catalogue?15:01
macbeth8cfile 32mafw15:01
SpeedEvilshell scripts15:01
macbeth8cok I see so its like a startup sequence?15:02
SpeedEvilyes15:02
lcukVenemo, :) "first linux experience"  thats common for a lot of people, theres something different about having this little dedicated linux box than booting up a live cd15:02
SpeedEvilIt starts with bringing up hildon-status-menu - then it runs all od the others in teh right order - as some may require earlier bits to work to come up peoprley15:03
macbeth8cso... can I use all the OS resources & libraries at 01?15:03
SpeedEvilmacbeth8c: That's a multi-part question really.15:03
SpeedEvilmacbeth8c: OS can mean many things.15:03
macbeth8cinstalled libraries & qt15:04
SpeedEvilAt '00' - the X server has started, but you have none of the services that usually run as user. for example, tracker.15:04
SpeedEvilyes15:04
macbeth8cinteresting :-)15:05
SpeedEvilX server is the graphical program that all display happens through.15:05
SpeedEvilBefore that you see only the moving dots.15:05
macbeth8cok SpeedEvil is the user always allowed to close the window of the app?15:06
* lcuk had a pic with a wolf with red eyes instead of dots 15:06
SpeedEvilWhen there is no window manager, the first application effectively has that role.15:07
SpeedEvilIt is the application which would manage closing programs.15:07
SpeedEvilSo, no.15:07
macbeth8cwhat is the sequence number of window manager?15:08
SpeedEvilI think it's hildon-desktop15:09
Venemolcuk - yes, that is true :)15:09
macbeth8cso 0415:09
SpeedEvilThere is no specific number15:09
SpeedEvilthey are just called in numeric order15:09
Venemolcuk - add to that the fact that I'm a Windows developer by my work, so I can't use Linux for my general OS needs :(15:09
*** silbo___ has joined #maemo-devel15:09
macbeth8cSpeedEvil why?15:10
SpeedEvilhttp://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture15:10
SpeedEvilbecause15:10
*** BabelO has quit IRC15:10
SpeedEvilThat happened to be the way the developer of the bit that runs the script did things15:11
SpeedEvilIt allows easy reordering, and replacement of bits, as well as insertion15:11
*** BabelO has joined #maemo-devel15:11
macbeth8cSpeedEvil, if you had the task of placing the authentication app in the OS like me, how would you do it?15:12
*** kW_ has quit IRC15:12
lcukVenemo, :) its a position a lot of people are in, hope you are enjoying your n900 :)15:14
SpeedEvilYou basically want to ask the user for PIN on boot?15:14
Venemolcuk - yes, it gives me a very good impression of how life goes outside MS's reach :P15:15
macbeth8cSpeedEvil, yes, if the face recognition task fails15:15
Venemolcuk - also, developing for it is like back in the old times, exploring everything again :)15:16
macbeth8coh and I must be able to use camera resource of course15:16
SpeedEvilmacbeth8c: err - face recognition?15:16
macbeth8cSpeedEvil, yea :)15:16
SpeedEvilAs I understand it - if you put an application into '01' or so int hat sequence - and it does not exit - the boot will stall.15:17
SpeedEvilAnd the user cannot kill it.15:17
SpeedEvilThis unfortunately isn't quite clean.15:17
SpeedEvilAs for example, there would be no clean way to power off from this state15:18
macbeth8cyea..15:18
SpeedEvilThe 'right' way would be to do more or less the 'standard' http://en.wikipedia.org/wiki/X_display_manager_%28program_type%29 solution for multi-user devices.15:19
SpeedEvilWhere you have a nice lock if the user wanders away, and also an initial login screen when they have to login.15:19
SpeedEvilThis is significantly harder though15:19
SpeedEvilIsn't there a way to get a PIN on boot already?15:19
SpeedEvilIf so - work out where that program is, and replace.15:20
macbeth8cyea it would be nice :)15:20
SpeedEvilAlso multiple users would be nice.15:21
SpeedEvilFor example - it might be nice to be able to give your phone to someone in 'guest' or 'guest-offline' - where they get a blank user, with all the applications, but no access to the normal users files15:21
SpeedEvilThat again is another step up in effort alas.15:22
macbeth8cSpeedEvil, that application is to be a protection against theft15:23
Venemowell, the N900 asks for PIN on boot, but anyone can skip it and use its non-phone functionality15:23
Venemoalso, anyone can access any data on it without any password15:23
macbeth8cit will be probably once per day/week the application will start and scan the face15:23
Venemomachbeth8c: a simple "Enter password" dialog would suffice for me15:24
SpeedEvilIf face recognition works, there is little resaon not to use it for unlock15:24
macbeth8cSpeedEvil, yea it works already , I am working on it some time, just I need to placed in the right place and polish15:26
Venemohuh15:30
Venemoawesome15:30
macbeth8cits my term project at school :D15:30
SpeedEvilhave you done any tests on false positive/negative ratges?15:31
macbeth8cSpeedEvil, not yet but I will15:31
macbeth8cI also want to do an extension to align the pic with the coordinates from gravity sensors15:33
macbeth8cit will decrease false negative15:33
macbeth8ctoo bad N900 doesnt have 3D sensors :D15:34
SpeedEvilIt can easily sense down15:34
macbeth8cSpeedEvil,  how?15:34
SpeedEvilhttp://wiki.maemo.org/N900_Hardware_Accelerometer15:35
macbeth8cbookmarked15:35
macbeth8cno example code??15:36
macbeth8cok got it15:36
macbeth8cSpeedEvil, do you know what are the readings in scratchbox of it? ;-)15:37
*** Acedip has joined #maemo-devel16:04
*** DigitalPioneer has quit IRC16:36
*** Acedip has quit IRC16:37
*** DocScrutinizer has quit IRC16:37
*** DocScrutinizer has joined #maemo-devel16:37
*** DocAvalance has joined #maemo-devel16:38
*** DocScrutinizer is now known as DocScrutinizer216:40
*** DocAvalance is now known as DocScrutinizer16:40
macbeth8cDocScrutinizer, hi :)16:57
DocScrutinizerhi16:57
macbeth8cI was able to connect it16:57
macbeth8cyday16:58
DocScrutinizerfine16:58
macbeth8cyea16:58
*** kamui__ has quit IRC17:10
*** Acedip has joined #maemo-devel17:21
*** silbo___ has quit IRC18:29
*** silbo has joined #maemo-devel18:31
*** silbo has quit IRC18:44
*** Aranel has quit IRC19:11
*** silbo___ has joined #maemo-devel19:27
*** lirtex has joined #maemo-devel19:34
*** kW_ has joined #maemo-devel19:43
kW_Hello! Has anyone experience putting Maemo 5 PR 1.2 completely on a eMMC partition?20:05
*** rcampbell has joined #maemo-devel20:11
zgoldbergAnybody around to do some quick application QA and provide a thumbs up (or down) for Zhaan?  http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/zhaan/0.5-1/20:19
SpeedEvilI have it on my stack20:26
Venemowhat is Zhaan?20:36
zgoldbergA UPnP Control point20:36
*** silbo___ has quit IRC20:44
*** silbo__ has joined #maemo-devel20:47
*** DocScrutinizer has quit IRC20:57
*** DocScrutinizer has joined #maemo-devel20:57
macbeth8cSpeedEvil, what are the differences between Maemo 5 and previous versions of the OS?21:08
*** timoph|AFK is now known as timoph21:20
*** Acedip has quit IRC21:21
SpeedEvilnot really looked at past versions21:37
*** timoph is now known as timoph|AFK21:45
lirtexHow can I display a pop-up message in maemo (n900), like those yellow "notes" that are used by default in the n900?21:56
w00t_lirtex: read up on libnotify22:00
fralsor libhildonnotify me thinks?22:01
w00t_Venemo will likely be very helpful for you22:01
w00t_(as he's been working on those all day)22:01
VenemoI answered on qt-maemo already :)22:11
w00t_k22:11
*** shinkamui has joined #maemo-devel22:18
*** fregl has quit IRC22:19
*** fregl has joined #maemo-devel22:25
*** swc|666 has joined #maemo-devel22:30
SpeedEvilmacbeth8c: http://tech.slashdot.org/story/10/06/13/1456251/Lenovo-Trying-Face-Recognition-For-Logins-On-New-Laptops22:56
kW_Hello! How can I reset the N900 (e.g. a forced reboot)?23:01
SpeedEvilhold the powerbutton down for 10s23:02
SpeedEvilthat should always reboot it23:02
Venemosudo gainroot23:02
Venemoreboot23:02
SpeedEvilif it does not, remove the battery23:02
kW_well, it does not reboot after 10 seconds (note that no proper OS is running at this stage on my N900)23:03
SpeedEvilah23:03
SpeedEvilremove the battery, or allow it to run down23:04
kW_well, removing the battery works... but is there anything "nicer" to reboot or poweroff the machine?23:04
SpeedEvilSetup a watchdog to watch the powerbutton23:04
kW_well, I just disabled the watchdogs ;-) because they stop my machine prematurely...23:05
macbeth8ckW_, use console to shut down23:06
macbeth8ccmd root and shutdown23:07
macbeth8cSpeedEvil, thanks for the story23:08
kW_macbeth8c: well, at this stage, I do not have network and thus no ssh... and also no console23:09
kW_(it is at the early booting stage)23:09
macbeth8ckW_, you can try the kill sequence23:09
macbeth8ckW_, there is a special sequence of the keys to press to shut down linux machine23:10
macbeth8cit works on regular linux , not sure about maemo23:10
kW_well, it is Alt+SysRq+B23:10
kW_I think that the N900 lacks some keys for this... ;-)23:11
macbeth8ckW_, so what do you have?23:14
macbeth8c:D23:14
macbeth8cif it is early boot stage you can easily take off the battery23:16
macbeth8cthere are no disks to damage...23:16
kW_macbeth8c: well, I'm more worried about mechanical wear and tear23:17
macbeth8cdo you need to do it often?23:17
kW_well, until I got the software right :-)23:19
macbeth8cdont want to discourage you but that may be infinity long ;-)23:20
macbeth8c"there is one more bug" :D23:21
kW_well, this is why I ask ;-)23:21
macbeth8ckW_, run without battery only on the adapter23:22
macbeth8cand see what happens23:22
macbeth8cthat may enable you to switch it of from outside instead of manipulating the battery23:23
*** _Lucretia__ has quit IRC23:24
macbeth8c*of/off23:24
*** _Lucretia__ has joined #maemo-devel23:25
kW_macbeth8c: well, running it from an ordinary usb cable connected to a USB host does not seem to work23:27
macbeth8cyep, try the regular adapter, the power on higher rate of energy23:28
macbeth8cUSB is less rate23:28
Venemowell, I don't wanna be rude23:28
Venemobut why is this in any way related to development?23:29
macbeth8cVenemo, it is23:29
kW_is it possible to redirect the console to something like serial-over-USB?23:29
kW_Venemo: well, when developing software which runs _very early_ in the boot process (and when actually developing the boot process itself...)23:29
macbeth8ckW_, may I ask you who do you setup this early run in the system?23:30
macbeth8cmy question asked in the afternoon was about this thing23:31
macbeth8c;-)23:31
kW_macbeth8c: well, I want to run the N900 on a fully-encrypted root partition23:32
kW_macbeth8c: for this to work, the user has to input the passphrase very early in the boot process23:32
kW_macbeth8c: it seems to be actually easier than on the openmoko, because the n900 has a keyboard which you can actually read from simple shell scripts when booting23:32
macbeth8ckW_, Im developing face recognition based authentication23:32
kW_that's cool :-) (however, I doubt that it can be prevented that somebody prints out some facebook-image and uses this for authentication... ;-))23:33
macbeth8ckW_, true23:34
macbeth8ckW_, we use in our institute now 3D based authentication that is much more difficult to fool23:35
macbeth8cbut mine is just a student project23:35
SpeedEvilmacbeth8c: Two factor.23:36
SpeedEvilYou display a sequence of words, and gurn at the appropriate ones.23:36
macbeth8cgurn?23:38
VenemokW_ - sorry, I misunderstood then.23:39
*** kW_ has quit IRC23:40
macbeth8cSpeedEvil, you mean let user to choose the words?23:41
SpeedEvilI mean that the system authenticates the face23:47
SpeedEvilThe system then uses movements of that face to confirm that the mind behind the face knows a secret23:47
macbeth8cSpeedEvil, this is what I try to avoid in Biometrics23:48
SpeedEvilAs a simple example - you setup a rule 'always smile at star-trek char names'23:48
macbeth8cto remember secrets23:48
SpeedEvilIn that case, I would approach it differently.23:48
macbeth8cthere is also other project on the mobile platform if you are interested23:48
SpeedEvilI would use iris recognition with the main camera.23:48
macbeth8cit uses accelerometer to record the patterns of walk/gait of the user23:49
*** kW_ has joined #maemo-devel23:49
lcuki would hack the main camera to flash when it detects an eye in close proximity ;)23:49
macbeth8cevery creature has individual23:49
macbeth8cso if phone detects that the owner starts move in different patterns then unusual it blocks itself23:50
lcukmacbeth8c, something as simple as storing the phone in another pocket or with different orientation would really put a dampner on your da23:51
lcuky23:51
kW_cool23:51
kW_move-based authentication23:51
lcukplus, if you cant login the user would have to walk around the block again23:51
macbeth8clcuk, then you need the secret code to unlock it23:52
macbeth8c:)23:52
lcuknot foretting of course different shoes23:52
macbeth8cits not like block forever23:52
lcuksprained ankle23:52
lcukpirate amputation23:52
lcukdonkey rides23:52
lcukmacbeth8c, when WILL it be useful then?23:53
macbeth8clcuk, but it is worth research23:53
lcukworth research is something distinct and repeatable23:53
lcukie - using the accelerometer buried into some footwear23:53
lcukbut basing it on a device in your pocket will be prone to lots and lots of noise23:53
lcukhaving said that, "shake your phone to the beat in your head"23:54
lcukwould work23:54
macbeth8clcuk, think of it in this way...23:54
macbeth8cyou implement it to detect the walk pattern and if it detects unusual behavior it connects to the web and checks if the phone id is on the :stolen list:23:55
macbeth8cthen if it is it blocks and gives the IP of the theft23:55
lcukfuck, so i'd get phone calls just because i start running?23:56
macbeth8cno, you place the phone on the list in case it would be stolen23:56
lcukhuh, sure - so im walking down the street23:56
lcukand meet my missus - so i link arms with her23:56
lcukmy gait will change23:56
macbeth8clcuk, you can implement the change periods... like if the gait is changed over the long period of time23:57
lcukwould the system phone my emergency number ?23:57
lcukhow long?23:57
macbeth8cdont know.. not doing this project myself23:58
lcukit might work for the Proclaimers23:59
lcuk(8) i would walk 500 miles (8)23:59
lcuk(8) and i would walk 500 more (*)23:59

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