--- Log for 13.10.115 Server: sinisalo.freenode.net Channel: #rockbox --- Nick: logbot- Version: Dancer V4.16 Started: 26 days and 19 hours ago 00.02.16 Quit amayer (Quit: Leaving) 00.14.44 Join ruhans [0] (uid76353@gateway/web/irccloud.com/x-kvkdakobehqgmxcs) 00.24.34 Quit bertrik (Remote host closed the connection) 00.34.09 Quit petur (Quit: Leaving) 00.40.54 *** Saving seen data "./dancer.seen" 00.52.19 Quit ender` (Quit: Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. -- Seneca) 01.41.38 Join swift110 [0] (~swift110@unaffiliated/swift110) 01.41.39 # hey all 01.43.18 Join Strife89 [0] (~Strife89@adsl-98-80-212-18.mcn.bellsouth.net) 01.54.25 # swift110: ask your question if you have one 02.05.17 Quit pamaury (Ping timeout: 240 seconds) 02.14.44 # sure if I install rockbox to my iPod would it be dual-boot or would it just be rockbox 02.28.21 Join [Franklin] [0] (~franklin@unaffiliated/franklin) 02.28.21 Quit [Franklin] (Client Quit) 02.29.34 Join [Franklin] [0] (~franklin@unaffiliated/franklin) 02.33.25 Quit greatwolf (Ping timeout: 246 seconds) 02.34.40 Join greatwolf [0] (greatwolf@gateway/shell/panicbnc/x-pkmjqregtnryqcbe) 02.40.14 # [Franklin]: ducky gets in a wierd state if unpluged (of course) but pla BUTTON_BACK is universally availble to every target and would be a good choice for a kill switch 02.40.56 *** Saving seen data "./dancer.seen" 02.41.05 # <[Franklin]> yeah 02.41.16 Quit ZincAlloy1 (Quit: Leaving.) 02.41.42 # * [Saint] is more of a fan of multi-key plugin exit triggers. 02.41.45 # <[Saint]> ala iPods. 02.41.51 # <[Saint]> It makes sure it's a deliberate action. 02.42.00 # <[Franklin]> but this adds in button handling to the main loop, which might slow it down if it's thread-dependent 02.42.01 # <[Saint]> (menu+select, for instance) 02.42.25 # <[Saint]> It's not only useful if you've run out of buttons in the keymap. 02.42.35 # <[Saint]> It's very useful for making sure exiting the plugin is deliberate. 02.43.03 # <[Saint]> Well...that's my $0.02, anyway. 02.43.11 # <[Saint]> Do what you will with it. ;) 02.43.24 # `++++++ 02.43.27 # '+++++. 02.43.30 # ++++++ 02.43.33 # .+++++' 02.43.36 # ++++++` 02.43.39 # ++++++ 02.43.43 # :+++++; 02.43.44 # * [Saint] gets ready to do some kickin' 02.43.53 # 02.43.58 # Sorry guys 02.44.05 # <[Franklin]> [Saint]: it's probably a ducky malfunction :P 02.44.23 # :P 02.44.23 # <[Saint]> phew. I was hovering over my kick alias. ;) 02.45.22 # <[Franklin]> foolsh: I tried testing on a windows box today and it didn't work too well 02.47.33 Join opal [0] (~opal@h241.26.40.69.dynamic.ip.windstream.net) 02.51.20 # <[Franklin]> it worked after some fiddling around with it though 02.51.37 Quit swift110 (Ping timeout: 240 seconds) 02.51.54 # <[Franklin]> had to connect first in HID mode so it recognized it, then again holding down a key, and then run the script 02.59.59 # * foolsh will source a windows box somehow 03.00.40 Part opal 03.02.33 Quit JanC (Ping timeout: 240 seconds) 03.06.42 Join franklin [0] (~quassel@cpe-71-71-39-6.triad.res.rr.com) 03.06.42 Quit franklin (Client Quit) 03.16.44 Join JanC [0] (~janc@lugwv/member/JanC) 03.25.35 Join franklin [0] (~quassel@cpe-71-71-39-6.triad.res.rr.com) 03.25.36 Quit franklin (Remote host closed the connection) 03.26.59 Join franklin [0] (~quassel@cpe-71-71-39-6.triad.res.rr.com) 03.27.21 Quit franklin (Changing host) 03.27.21 Join franklin [0] (~quassel@unaffiliated/franklin) 03.27.27 Quit [Franklin] (Quit: leaving) 03.29.03 Nick franklin is now known as [Franklin] (~quassel@unaffiliated/franklin) 03.42.38 # how does screendump work? 03.42.55 # i`ve been able to do it before but never knew how 03.50.52 Quit [Franklin] (Quit: No Ping reply in 180 seconds.) 04.35.50 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) 04.38.54 Quit JdGordon (Ping timeout: 265 seconds) 04.40.59 *** Saving seen data "./dancer.seen" 04.42.18 # <[Saint]> jtdesigns01: enable screendump, plug USB. 04.42.27 # <[Saint]> USB detection is the trigger. 04.42.43 # * [Saint] is pretty sure this is covered in our fine manual... 04.43.07 # <[Saint]> s/pretty sure/abundantly confident/g 05.14.12 Quit tchan (Quit: WeeChat 1.2) 05.30.52 Quit TheSeven (Disconnected by services) 05.31.05 Join [7] [0] (~quassel@rockbox/developer/TheSeven) 05.52.04 Quit shamus (Ping timeout: 240 seconds) 06.04.10 Join shamus [0] (~shmaus@ip-206-192-194-12.marylandheights.ip.cablemo.net) 06.15.29 Join tchan [0] (~tchan@c-50-172-238-57.hsd1.il.comcast.net) 06.15.29 Quit tchan (Changing host) 06.15.29 Join tchan [0] (~tchan@lunar-linux/developer/tchan) 06.30.09 Quit yosafbridge (Read error: Connection reset by peer) 06.38.18 Join yosafbridge [0] (~yosafbrid@105.ip-167-114-152.net) 06.41.01 *** Saving seen data "./dancer.seen" 06.41.22 Quit [7] (Remote host closed the connection) 06.43.43 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 07.03.15 Join opal [0] (~opal@h241.26.40.69.dynamic.ip.windstream.net) 07.14.44 Part opal 07.22.41 Quit [Saint] (Remote host closed the connection) 07.23.28 Join [Saint] [0] (~hayden@rockbox/staff/saint) 07.31.14 Part [Saint] ("Part.") 07.35.04 Join [Saint] [0] (~hayden@rockbox/staff/saint) 07.44.10 Quit soap (Read error: Connection reset by peer) 07.44.36 Join soap [0] (~soap@rockbox/staff/soap) 08.08.49 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 08.14.25 Join Guest18189 [0] (~Slayer@c-69-255-136-113.hsd1.va.comcast.net) 08.15.05 Join ender` [0] (krneki@foo.eternallybored.org) 08.17.07 Quit Guest66888 (Ping timeout: 244 seconds) 08.25.31 Quit utrack (Ping timeout: 250 seconds) 08.25.31 Quit Makinit (Ping timeout: 250 seconds) 08.25.31 Quit n17ikh (Ping timeout: 250 seconds) 08.26.02 Join Makinit [0] (makinit@makinit.nl) 08.26.03 Join n17ikh [0] (~n17ikh@unaffiliated/n17ikh) 08.28.43 Join utrack [0] (~u@unaffiliated/utrack) 08.41.04 *** Saving seen data "./dancer.seen" 09.09.52 Join xorly [0] (~xorly@ip-86-49-15-121.net.upcbroadband.cz) 09.22.01 Quit Strife89 (Ping timeout: 260 seconds) 09.24.04 Join petur [0] (~petur@rockbox/developer/petur) 09.37.01 Join Strife89 [0] (~Strife89@adsl-98-80-212-18.mcn.bellsouth.net) 10.22.06 Join maruk [0] (~papier@titanium.v6.sdv.fr) 10.33.18 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) 10.41.06 *** Saving seen data "./dancer.seen" 10.57.16 Quit petur (Ping timeout: 244 seconds) 11.09.18 Join petur [0] (~petur@rockbox/developer/petur) 12.24.09 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 12.24.37 # pamaury: hey! 12.26.12 # pamaury: I think locking is still not correct. I think that basically all operations must be mutex protected. Otherwise you have no guarantee that other thread does not change the dev_node object in the middle 12.31.42 # wodz: if you are unsure you can lock but I don't see what could happen 12.35.19 # too much locking cannot really hurt in this case I guess 12.35.48 # (of course I'm assuming libusb is thread safe, which thinking about it now is not obvious) 12.36.20 # it was one of the main goals of libusb-1.0 AFAIK 12.36.59 # yeah the doc says it's thread-safe 12.41.07 *** Saving seen data "./dancer.seen" 12.42.01 # foolsh: you are the one writing DuckyScript ? 12.42.15 # and having a problem with HID being too slow ? 12.42.35 # wodz: should I review hwstub_server again or are you doing more changes ? 12.43.56 # pamaury: I am working on hwstub_shell now actually. If you have time please look at hwstub_server 13.00.49 # wodz: what are you planned modification for hwstub_shell ? 13.13.55 # filling hwstub.dev.{taget, layout} on opening device 13.15.38 # so you keep hwstub_shell design of one device open at a time, the lua code can change the opened device and you can specify one on the command line to use first ? 13.17.14 # thats my idea yes 13.18.21 # I thought about the API problem we talked about yesterday and I may have an elegant solution, very similar to libusb actually 13.19.03 # how exactly it would be supposed to work? 13.20.49 # you would have notion of context, all operations are done in this context (open, close, get dev list, usb requests). Simialrly to libusb, there is a default NULL context, that if initialise will spawn a tcp server (unless it can find one) 13.21.12 # but if you want, you can init one with different TCP server or even use usb devices directly 13.22.55 # in fact this requires very little modification to the API because only open/list need a context pointer, the other functions take a device as a parameter and a device is always part of a context 13.23.29 # smart indeed 13.24.21 # I guess with this design we have two context typs: usb (hwstub + jz) and tcp 14.04.07 Join p3tur [0] (~petur@78-23-23-252.access.telenet.be) 14.04.07 Quit p3tur (Changing host) 14.04.07 Join p3tur [0] (~petur@rockbox/developer/petur) 14.07.52 # pamaury: Ok. Now it should be possible to play with hwstub_server + hwstub_shell. The shell tries to connect to localhost:8888 (hardcoded for now). Then you have 3 new commands in lua 1) hwserver_get_dev_list() 2) hwserver_dev_open(id) 3) hwserver_dev_close(id). You can also call hwstub.info() after open() to get familiar stats about hwstub running on particular device. 14.08.27 # what do you mean familiar stats ? 14.08.59 # pamaury: http://pastie.org/10478554 14.09.30 # isn't this printed by some lua code ? 14.09.53 # hwstub.info() is lua function, yes 14.10.02 # there also the problem that some lua magic happen because of some lua code, you need to rerun it every time you open a function 14.10.07 # (for example to get correct registers) 14.10.32 # hmm, didn't think about it 14.12.12 # I think the proper way to do that is to have the lua code define a funcion called device_init() (for example) which is implemented in init.lua and that calls whatever functions are necessary to setup everything correctly 14.12.27 # because you can just rerun the script 14.12.30 # *you can't 14.14.37 # I'll have a try at fixing this once you upload the patchset to gerrit 14.14.46 # since I wrote most of the lua code 14.15.30 # pamaury: I just uploaded to gerrit 14.17.19 # ok, so what is the next step right now ? (apart from the lua problem) 14.17.47 # should I have a go at reworking the hwstu API as I suggested ? 14.18.51 # yes 14.19.00 # and there is qeditor to fix 14.19.49 # ah right 14.20.14 # ok so let me have a try at the API this afternoon/evening 14.41.10 *** Saving seen data "./dancer.seen" 15.06.41 Quit dan- (Ping timeout: 250 seconds) 15.08.51 Quit orly_owl (Ping timeout: 256 seconds) 15.08.57 Join amayer [0] (~amayer@mail.weberadvertising.com) 15.09.45 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833) 15.19.47 Join dan- [0] (~d@101.165.69.172) 15.19.47 Quit dan- (Changing host) 15.19.47 Join dan- [0] (~d@unaffiliated/danneh-/x-7505085) 15.32.17 Quit wodz (Quit: Leaving) 15.54.04 Quit Strife89 (Ping timeout: 240 seconds) 16.34.15 Join Aldem [0] (~Aldem@unaffiliated/aldem) 16.38.52 Join ZincAlloy [0] (~Adium@p57B94659.dip0.t-ipconnect.de) 16.41.12 *** Saving seen data "./dancer.seen" 16.48.53 Join rela [0] (~x@pdpc/supporter/active/rela) 17.00.00 Join girafe [0] (~girafe@AGrenoble-651-1-466-206.w90-42.abo.wanadoo.fr) 17.04.40 Join Jinx [0] (Dojo@unaffiliated/jinx) 17.10.21 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 17.14.34 Quit p3tur (Remote host closed the connection) 17.26.22 Quit Aldem (Quit: Later) 17.27.19 Quit munch (Ping timeout: 246 seconds) 17.32.18 Join munch [0] (~munch@c-174-55-32-16.hsd1.pa.comcast.net) 17.32.18 Quit munch (Changing host) 17.32.18 Join munch [0] (~munch@unaffiliated/munch) 18.10.12 Quit K1773R (Read error: Connection reset by peer) 18.10.22 Join K1773R [0] (~K1773R@unaffiliated/k1773r) 18.30.24 Quit maruk (Quit: Leaving.) 18.35.31 # pamaury: Nope, I'm just an innocent bystander.... ducky is all [Franklin] 18.41.14 *** Saving seen data "./dancer.seen" 18.46.45 # okay, that's what I thought, I had a sudden doubt ^^ 18.53.44 # well I might have nudged him toward it at some point, but it's all him 19.29.23 Join lebellium [0] (~chatzilla@89-93-179-187.hfc.dyn.abo.bbox.fr) 19.34.39 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman) 19.54.01 Join TheLemon1an [0] (~lemonboy@unaffiliated/thelemonman) 19.56.46 Quit TheLemonMan (Ping timeout: 246 seconds) 20.05.46 Quit uber (Ping timeout: 264 seconds) 20.17.18 Join uber [0] (~uber@unaffiliated/uber) 20.25.44 Quit TheLemon1an (Ping timeout: 265 seconds) 20.27.24 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman) 20.32.37 Join bertrik [0] (~quassel@rockbox/developer/bertrik) 20.41.18 *** Saving seen data "./dancer.seen" 20.47.06 Nick suYin`OFF is now known as suYin (mysuyin@server2.shellfire.net) 20.54.58 Quit TheLemonMan (Ping timeout: 264 seconds) 20.56.50 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman) 21.11.33 Quit fs-bluebot_ (Ping timeout: 264 seconds) 21.12.25 Quit bluebrother (Ping timeout: 250 seconds) 21.13.17 Quit xorly (Ping timeout: 250 seconds) 21.14.14 Join fs-bluebot [0] (~fs-bluebo@f053153119.adsl.alicedsl.de) 21.14.18 Join bluebrother [0] (~dom@rockbox/developer/bluebrother) 21.38.07 Quit rela (Read error: Connection reset by peer) 21.42.08 Nick suYin is now known as suYin`OFF (mysuyin@server2.shellfire.net) 21.51.26 Join einhirn [0] (~Miranda@p5B0C5C08.dip0.t-ipconnect.de) 21.56.50 Join rela [0] (~x@pdpc/supporter/active/rela) 22.05.20 Join swift110 [0] (~swift110@216-164-59-81.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com) 22.07.17 Quit swift110 (Changing host) 22.07.17 Join swift110 [0] (~swift110@unaffiliated/swift110) 22.14.23 Quit rela (Ping timeout: 250 seconds) 22.16.47 Quit bertrik (Remote host closed the connection) 22.21.00 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.") 22.41.21 *** Saving seen data "./dancer.seen" 22.42.24 Quit foolsh (Remote host closed the connection) 22.43.49 Join foolsh [0] (~quassel@2601:241:c200:4bc5:ac5f:177e:8a09:10de) 22.44.26 Quit petur (Quit: Leaving) 22.47.53 Quit JanC (Ping timeout: 240 seconds) 22.47.56 Join JanC_ [0] (~janc@lugwv/member/JanC) 22.52.08 Quit einhirn (Ping timeout: 260 seconds) 22.52.36 Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) 22.53.20 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) 23.06.37 Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 42.0/20151008162217]) 23.09.32 Quit amayer (Quit: Leaving) 23.15.36 Join o43 [0] (~antonio@c-50-167-171-132.hsd1.ga.comcast.net) 23.28.40 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 23.28.50 Quit o43 (Quit: Lost terminal) 23.40.33 Quit ender` (Quit: Do not meddle in the internals of kernels, for they are subtle and quick to panic.)