#qi-hardware IRC log for Tuesday, 2015-06-23

paul_boddieI was asking on the #ci20 channel about jz4740 interrupts yesterday, but does anyone here know much about them?20:23
paul_boddieAfter looking at various manuals, I now have no idea what I should be defining in the CP0 status register.20:36
larscprobably nothing21:24
DocScrutinizer05wpwrak: new anelok stuff in git? :-) I just thought about how to implement some sort of pattern recognition so the gadget could more or less 'guess' the needed password from dunno moving it across the URL or the website or whatever21:43
DocScrutinizer05dunno if a hacked mouse sensor "camera" would do21:45
DocScrutinizer05hmmmm, or screen EMI ;-)21:47
DocScrutinizer05but then, this prolly differs *massively* from one monitor model to next. even when both are LCD same size same technology21:48
DocScrutinizer05if only each browser had an option to show the current URL as QR21:49
DocScrutinizer05maybe your own server could overlay such QR to any referrer site you come with to it21:50
DocScrutinizer05"F6 wpwrak.de <enter>"  ->  http://somewhere.com/password -> http://wpwrak.de shows QR code for "http://somewhere.com/password" -> (anelok reads QR) -> (hit enter to return to) http://somewhere.com/password21:53
DocScrutinizer05anelok provides password for http://somewhere.com/password21:54
Action: DocScrutinizer05 ponders claiming a patent ;-)21:57
DocScrutinizer05wpwrak: with this concept ypou don't even need QR and camera of sorts, a simple animated gif and a photdiode suffices :-D22:07
DocScrutinizer05when you make complete screen blink black&wite, you can sense this from as far as 50cm, or more22:09
DocScrutinizer05morse the fingerprint of md5sum of referrer URL. Should suffice to make anelok identify which of your stored passwords is needed 22:10
DocScrutinizer05some 10 to 15 baud are possible for sure by such morse monitor gif22:12
DocScrutinizer05so, 2.5s for 4 chars plus checksum22:14
DocScrutinizer05the anel.ok site could get used by all anelok users, it doesn't hold any special info or complicated infra that needs auth or protection22:16
DocScrutinizer05it simply converts referrer URL to a 4char fingerprint plus checksum (1char) and converts and displays that to a flickering black and white animated gif. On <enter> it returns to referrer site22:18
DocScrutinizer05the privacy issues are moderate22:19
wpwrak(new stuff) yeah, trying to finally test whether RF can actually send and receive22:25
DocScrutinizer05ooh, and for auth input, did you consider "tresor code" input method? like:   left:$many, right:5, left:7, right:2, left:5, hit-OK22:25
DocScrutinizer05err, you don't have that nice scrollwheel anymore, do you?22:26
wpwrak(QR) well, one way is to have some browser plugin that either auto-detects when a password is wanted or that receives some special signals. QR would be fancier, though :) alas, also on the hw side22:27
DocScrutinizer05read on! ;-)22:27
wpwrak(tresor code) abandoned that approach in 2013. where have you been ? ;-)22:28
DocScrutinizer05you know you can even abuse normal LED as photdiode?22:28
DocScrutinizer05(where have you been?) on youtube, watching a video of xiangfu22:28
wpwrakaaah ! ;-)22:29
DocScrutinizer05it was top hit on google22:29
wpwraklink ?22:29
DocScrutinizer05git was 2nd22:30
wpwrakaah :)22:30
wpwrakwow. that's old :)22:30
DocScrutinizer05yeah, but names like anelok are awesome22:30
wpwrakindeed. very google-friendly ;-)22:31
wpwraktake this, amazon "echo" :)22:31
wpwraki actually had a photo sensor input in the design for a while. but nobody did anything with the idea, so i kicked it out again. space is critical, no room for might have beens :)22:32
DocScrutinizer05you got a LED, right?22:37
DocScrutinizer05btw a photsensor is fine to save energy by dimming backlight22:37
DocScrutinizer05if you got any ;-)22:38
DocScrutinizer05hey, you have a transparent case (of sorts) - so adding a photo-(LE)D shouldn't be any big issue22:39
DocScrutinizer05those red SMD LEDs are really tiny22:39
DocScrutinizer05and work amazingly well as photodiode22:39
DocScrutinizer05http://wstaw.org/m/2015/06/24/plasma-desktopuk1947.png  LED3 iirc  https://github.com/r0ket/r0ket/blob/master/hardware/r0ket/r0ket.sch.png22:42
DocScrutinizer05if the case was completely transparent, a simple tiny LED mounted directly on PCB and connected to a A/D GPIO should suffice to receive the morse-gif22:45
DocScrutinizer05if you want to paint it black, you might need a window for the LED22:45
DocScrutinizer05usecase: on PC hit F6, enter "anel.ok", activate anelok receive mode and hold device direction screen, hit PC <enter>, wait until anelok received valid fingerprint code (display flashes with code received), hit PC <enter> again to return to $arbitrary_page, on anelok authenticate for password playback, plug in anelok to PC USB where it registers as kbd and "types" the (username and) password22:50
DocScrutinizer05sounds good?22:52
DocScrutinizer05lemme rephrase to eliminate some fuzzy wording22:53
DocScrutinizer05usecase: on PC in browser $arbitrary_page hit F6, enter "anel.ok", activate anelok receive mode and hold device direction screen, hit PC <enter>, wait until anelok received valid fingerprint code (anelok display flashes with fingerprint code received), hit PC <enter> again to return to $arbitrary_page, on anelok authenticate for password playback, plug in anelok to PC USB where it enumerates as kbd and "types" the (username and) 22:54
DocScrutinizer05(wait until...) shouldn't take longer than 3 s usually22:56
DocScrutinizer05for the "morse" encoding you probbaly could re-use ordinary barcode decoder and instead of width of black and white stipes in barcode you use black and bright periods of duration proportional to bar's width23:00
DocScrutinizer05in the animated gif23:01
DocScrutinizer05oooh, and probably ANELOK should rather display both the fingerprint code and the associated name (aka website URL or whatever) on receiving a valid code23:06
DocScrutinizer05err the display is OLED, right? not LCD with backlight23:09
Action: DocScrutinizer05 just pondered exploiting the LCD backlight LEDs as photosensor. That won't fly with OLED23:10
DocScrutinizer05could you share a http link to recent anelok schematics please?23:11
wpwrakcurrent design (CR2032): http://downloads.qi-hardware.com/people/werner/anelok/tmp/anelok-20150107.pdf23:53
wpwraknote that this will change a fair bit23:53
wpwraklemme make a WIP snapshot ...23:54
wpwrakkey changes: AAA battery, 2nd MCU23:55
--- Wed Jun 24 201500:00

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