Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2015-10-13

00:02:16 Quit amayer (Quit: Leaving)
00:14:44 Join ruhans [0] (uid76353@gateway/web/
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:39swift110hey all
01:43:18 Join Strife89 [0] (
01:54:25pamauryswift110: ask your question if you have one
02:05:17 Quit pamaury (Ping timeout: 240 seconds)
02:14:44swift110sure 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:14foolsh[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: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:24foolsh `++++++
02:43:27foolsh '+++++.
02:43:30foolsh ++++++
02:43:33foolsh .+++++'
02:43:36foolsh ++++++`
02:43:39foolsh ++++++
02:43:43foolsh :+++++;
02:43:44*[Saint] gets ready to do some kickin'
02:43:58foolshSorry guys
02:44:05[Franklin][Saint]: it's probably a ducky malfunction :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] (
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] (
03:06:42 Quit franklin (Client Quit)
03:16:44 Join JanC [0] (~janc@lugwv/member/JanC)
03:25:35 Join franklin [0] (
03:25:36 Quit franklin (Remote host closed the connection)
03:26:59 Join franklin [0] (
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:38jtdesigns01how does screendump work?
03:42:55jtdesigns01i`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] (
06:15:29 Join tchan [0] (
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] (
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] (
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] (
08:14:25 Join Guest18189 [0] (
08:15:05 Join ender` [0] (
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] (
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] (
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] (
10:22:06 Join maruk [0] (
10:33:18 Join einhirn [0] (
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:37wodzpamaury: hey!
12:26:12wodzpamaury: 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:42pamaurywodz: if you are unsure you can lock but I don't see what could happen
12:35:19pamaurytoo much locking cannot really hurt in this case I guess
12:35:48pamaury(of course I'm assuming libusb is thread safe, which thinking about it now is not obvious)
12:36:20wodzit was one of the main goals of libusb-1.0 AFAIK
12:36:59pamauryyeah the doc says it's thread-safe
12:41:07***Saving seen data "./dancer.seen"
12:42:01pamauryfoolsh: you are the one writing DuckyScript ?
12:42:15pamauryand having a problem with HID being too slow ?
12:42:35pamaurywodz: should I review hwstub_server again or are you doing more changes ?
12:43:56wodzpamaury: I am working on hwstub_shell now actually. If you have time please look at hwstub_server
13:00:49pamaurywodz: what are you planned modification for hwstub_shell ?
13:13:55wodzfilling{taget, layout} on opening device
13:15:38pamauryso 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:14wodzthats my idea yes
13:18:21pamauryI thought about the API problem we talked about yesterday and I may have an elegant solution, very similar to libusb actually
13:19:03wodzhow exactly it would be supposed to work?
13:20:49pamauryyou 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:12pamaurybut if you want, you can init one with different TCP server or even use usb devices directly
13:22:55pamauryin 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:29wodzsmart indeed
13:24:21pamauryI guess with this design we have two context typs: usb (hwstub + jz) and tcp
14:04:07 Join p3tur [0] (
14:04:07 Quit p3tur (Changing host)
14:04:07 Join p3tur [0] (~petur@rockbox/developer/petur)
14:07:52wodzpamaury: 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 after open() to get familiar stats about hwstub running on particular device.
14:08:27pamaurywhat do you mean familiar stats ?
14:09:30pamauryisn't this printed by some lua code ? is lua function, yes
14:10:02pamaurythere 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:07pamaury(for example to get correct registers)
14:10:32wodzhmm, didn't think about it
14:12:12pamauryI 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:27pamaurybecause you can just rerun the script
14:12:30pamaury*you can't
14:14:37pamauryI'll have a try at fixing this once you upload the patchset to gerrit
14:14:46pamaurysince I wrote most of the lua code
14:15:30wodzpamaury: I just uploaded to gerrit
14:17:19pamauryok, so what is the next step right now ? (apart from the lua problem)
14:17:47pamauryshould I have a go at reworking the hwstu API as I suggested ?
14:19:00wodzand there is qeditor to fix
14:19:49pamauryah right
14:20:14pamauryok 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] (
15:09:45 Join orly_owl [0] (~david@unaffiliated/orly-owl/x-3167833)
15:19:47 Join dan- [0] (~d@
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] (
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] (
17:04:40 Join Jinx [0] (Dojo@unaffiliated/jinx)
17:10:21 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier.
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] (
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:31foolshpamaury: Nope, I'm just an innocent bystander.... ducky is all [Franklin]
18:41:14***Saving seen data "./dancer.seen"
18:46:45pamauryokay, that's what I thought, I had a sudden doubt ^^
18:53:44foolshwell I might have nudged him toward it at some point, but it's all him
19:29:23 Join lebellium [0] (
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 (
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] (
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 (
21:51:26 Join einhirn [0] (
21:56:50 Join rela [0] (~x@pdpc/supporter/active/rela)
22:05:20 Join swift110 [0] (
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] (
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] (
23:28:40 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier.
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.)

Previous day | Next day