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-09-26

00:07:19 Quit Bray9082_ (Read error: Connection reset by peer)
00:07:53 Join Bray90820 [0] (~Bray90820@2604:2d80:800a:8347:74ae:3209:5bad:17bc)
00:32:10***Saving seen data "./dancer.seen"
01:00
01:19:19foolsh[Franklin]: viewers.config needs an entry, but thats not here nor there if it has to be implemented some other way, i.e. start plugin first and wait till usb connect
01:22:20[Franklin]I was thinking that "running" a file would wait for usb connect too
01:24:01 Quit ender` (Quit: #define sizeof(x) ((rand() % 100 == 42) ? sizeof(x)-1 : sizeof(x)))
01:34:09foolshAh yeah, that would need it then
01:34:28foolshcould have a start/pause/resume button
01:38:27[Franklin]maybe an interactive menu too
01:39:00[Franklin]and if it's run without a file, it goes to that menu directly
01:39:14[Franklin]and on that menu is stuff like execution speed, virtual keyboard, etc.
01:40:34 Quit ZincAlloy (Quit: Leaving.)
01:40:55foolshI like that
01:43:07*[Franklin] isn't sure how the USB keyboard manages state (i.e. shift key held down)
01:43:19[Franklin]that might be a bit of a problem that needs figuring out
01:43:40*foolsh takes dive into remote_control.c
01:44:43[Franklin]so it appears that there's no key up event that needs to be sent
01:44:46[Franklin]only key down
01:44:56[Franklin]so no clues in remote_control as to how shift works
01:45:35[Franklin]foolsh: could you modify remote_control to add a shift option and test it?
01:46:02[Franklin]just make it send a shift key and see what happens
01:56:43foolshsure
01:58:31[Franklin]the way USB works is that it's poll-based
01:58:43[Franklin]therefore, it might be that a key is "down" if it's polled to be down
01:59:13[Franklin]if that's true, you have to continuously send shift for it to be "held down"
01:59:19[Franklin](i think)
02:00
02:06:47*[Franklin] will probably have to experiment a bit once he gets the device
02:32:11***Saving seen data "./dancer.seen"
02:42:44foolshapps/action.c is where I think the button press gets release on every tick
02:42:48TD-Linux[Franklin], USB HID keyboards have bitfields for modifiers + 6 8-bit keycodes that are down
02:42:55TD-Linuxthere are no "events"
02:44:09foolshAh this is good to know
02:46:37[Franklin]aha
02:47:08[Franklin]so to hold down shift, you just send shift and the key?
02:54:14 Quit emphaser ()
02:56:20foolsh../firmware/usbstack/usb_hid_usage_tables.h:#define HID_KEYBOARD_LEFT_SHIFT 0xE1
02:56:20foolsh../firmware/usbstack/usb_hid_usage_tables.h:#define HID_KEYBOARD_RIGHT_SHIFT 0xE5
02:58:19foolshstring interpretation may need some work, to send the string "AAAaaabbabBB" would need some logic in place?
03:00
03:01:02[Franklin]Yeah
03:01:18[Franklin]something like the duckyscript parser conveniently has ;)
03:15:22 Join Bray9082_ [0] (~Bray90820@173-17-46-117.client.mchsi.com)
03:16:05 Join cmhobbs_ [0] (~cmhobbs@ip98-186-66-92.fv.ks.cox.net)
03:17:47foolshhaha smart ass, you realize I know where you live right?
03:18:12 Quit Bray90820 (Ping timeout: 246 seconds)
03:22:20[Franklin]anyway, if it indeed works the way I think it does, everything should be relatively easy
03:23:41[Franklin]night
03:23:42 Quit [Franklin] (Quit: Lost terminal)
03:25:05 Quit maraz (Ping timeout: 260 seconds)
03:25:34 Quit Slasheri (Ping timeout: 250 seconds)
03:27:52 Join Slasheri [0] (miipekk@rockbox/developer/Slasheri)
03:28:00 Join maraz [0] (maraz@kapsi.fi)
03:37:39 Join krabador [0] (~krabador@unaffiliated/krabador)
03:46:21 Quit cmhobbs_ (Quit: Leaving)
03:46:41 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
04:00
04:00:37jtdesigns01how would i make a menu from an array of strings?
04:01:01jtdesigns01or at least from a nondeterminate amount of custom strings?
04:02:11 Quit soap (Ping timeout: 264 seconds)
04:03:11jtdesigns01night
04:03:33 Quit jtdesigns01 (Remote host closed the connection)
04:10:44 Quit Bray9082_ (Read error: Connection reset by peer)
04:11:16 Join Bray90820 [0] (~Bray90820@173-17-46-117.client.mchsi.com)
04:32:12***Saving seen data "./dancer.seen"
05:00
05:06:21 Quit JanC (Ping timeout: 248 seconds)
05:20:16 Join JanC [0] (~janc@lugwv/member/JanC)
05:23:02 Quit cmhobbs (Ping timeout: 255 seconds)
05:39:30 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
05:47:53 Quit [7] (Disconnected by services)
05:48:02 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
05:51:33 Quit krabador (Quit: Take The Time)
06:00
06:32:16***Saving seen data "./dancer.seen"
06:44:40 Join Strife89 [0] (~Strife89@adsl-98-80-234-70.mcn.bellsouth.net)
07:00
07:57:27 Join einhirn [0] (~Miranda@p5B0C5F1C.dip0.t-ipconnect.de)
08:00
08:24:40 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
08:32:19***Saving seen data "./dancer.seen"
08:50:56 Quit igitoor (Read error: Connection reset by peer)
08:51:06 Join igitoor_ [0] (igitur@2a00:d880:3:1::c1ca:a648)
09:00
09:00:19 Quit igitoor_ (Changing host)
09:00:19 Join igitoor_ [0] (igitur@unaffiliated/contempt)
09:00:27 Nick igitoor_ is now known as igitoor (igitur@unaffiliated/contempt)
10:00
10:24:48 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman)
10:32:21***Saving seen data "./dancer.seen"
10:45:37 Join ender` [0] (krneki@foo.eternallybored.org)
11:00
11:31:02 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
12:00
12:32:23***No seen item changed, no save performed.
12:56:02 Join petur [0] (~petur@rockbox/developer/petur)
13:00
13:07:29 Join soap [0] (~soap@rockbox/staff/soap)
14:00
14:10:01 Join ZincAlloy [0] (~Adium@pD9FB6FA8.dip0.t-ipconnect.de)
14:32:25***No seen item changed, no save performed.
14:44:26 Join jtdesigns01 [0] (~jonathan@2601:400:8000:2669:804d:c2b9:863d:2bc5)
15:00
15:25:35 Quit Ivoah2 (Quit: Connection closed for inactivity)
15:41:44 Join emphaser [0] (~thc@p5798AB74.dip0.t-ipconnect.de)
16:00
16:32:26***Saving seen data "./dancer.seen"
16:46:52 Quit soap (Read error: Connection reset by peer)
16:48:27 Quit zoktar (Ping timeout: 246 seconds)
16:48:52 Join soap [0] (~soap@rockbox/staff/soap)
16:51:17 Join krabador [0] (~krabador@unaffiliated/krabador)
16:56:02 Join zoktar [0] (~zoktar@78-72-45-32-no186.tbcn.telia.com)
16:56:02 Quit zoktar (Changing host)
16:56:02 Join zoktar [0] (~zoktar@unaffiliated/zoktar)
18:00
18:08:51 Quit petur (Quit: Leaving)
18:32:29***Saving seen data "./dancer.seen"
19:00
19:32:21 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
19:37:14 Join [Franklin] [0] (~franklin@unaffiliated/franklin)
19:46:22 Quit Moarc (Ping timeout: 272 seconds)
19:46:30[Franklin]hello
19:46:44[Franklin]is it possible for rockbox not to go to the USB connected screen on a USB connect?
19:47:03[Franklin]or, can I run a plugin after usb is connected?
19:52:23 Join Moarc [0] (~chujko@a105.net128.okay.pl)
19:56:24gevaertsYou can hold a button while plugging in
19:56:44[Franklin]ah
19:57:04[Franklin]yay!
19:57:05[Franklin]it works
19:57:13[Franklin]is there a setting for this?
19:57:16gevaertsNo
19:57:24[Franklin]is there a reason not to add one?
19:57:50*gevaerts can't remember what the consensus was
19:58:08*[Franklin] doesn't see anything wrong with it
19:58:12[Franklin]and it
19:58:20[Franklin]and it'll save some headaches in the future
20:00
20:09:46 Join nlogex [0] (~filip@dhcp-108-168-16-140.cable.user.start.ca)
20:29:28 Quit nlogex (Quit: WeeChat 1.3)
20:30:28 Join nlogex [0] (~filip@dhcp-108-168-16-140.cable.user.start.ca)
20:32:32***Saving seen data "./dancer.seen"
20:35:14[Franklin]weird... rockbox/firmware/export/font.h:36:21: error: sysfont.h: No such file or directory
20:43:42[Franklin]huh
20:43:43[Franklin]it seems to be working again
20:57:48 Join fs-bluebot [0] (~fs-bluebo@x5ce0ec06.dyn.telefonica.de)
20:57:52 Quit bluebrother (Disconnected by services)
20:57:58 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
20:58:22[Franklin]great
20:58:31*[Franklin] just messed up his "new" e200
20:58:48*[Franklin] tried reformatting it and now it won't boot
20:59:03[Franklin]lsusb says: 0781:0720 SanDisk Corp. Sansa C200 series in recovery mode
20:59:59 Quit fs-bluebot_ (Ping timeout: 250 seconds)
21:00
21:00:44gevaertsHow did you try to reformat?
21:00:50[Franklin]fdisk
21:00:56gevaerts(apart from "wrongly")
21:01:00[Franklin]deleted all partitions, made a new one
21:01:05[Franklin]there were 2
21:01:11*[Franklin] probably deleted the firmware one too
21:01:13gevaertsWell, yes. You shouldn't have done that :)
21:01:21[Franklin]well, now I know
21:02:15gevaertsWell, off to http://www.rockbox.org/wiki/SansaE200Unbrick you go
21:02:29*[Franklin] is already there
21:02:38[Franklin]so manufacturing mode then?
21:02:53gevaertsDepends. Does plain recovery mode work?
21:03:06*[Franklin] doesn't see any 16MB drive after following recovery mode instructions
21:03:23[Franklin]so I think it's "bricked"
21:03:41gevaertsIn that case manufacturing mode, yes
21:04:22[Franklin]so which mi4 to use?
21:04:31[Franklin]1.00.12 or 1.01.11A?
21:04:58gevaertsShouldn't matter
21:05:01[Franklin]or 1.02.15a?
21:05:06[Franklin]so just the latest one?
21:05:11gevaertsYes
21:06:12gevaertsJust make sure to check that you copy the right files. Doing things like renaming a random file to something.bin and using that *can* brick the e200
21:06:45gevaertsBut if you use the correct files, I've never heard of recovery not working unless the hardware was broken
21:08:02[Franklin]yay
21:08:06[Franklin]recovery mode!
21:08:20gevaertsOn c200 there's a fun bug in the OF that makes it unable to reformat the data partition if the data partition is corrupted in the right way
21:08:51gevaertsBut on e200 I don't think we've seen that
21:08:53[Franklin]thankfully that thing got dropped in liquids a while ago :)
21:09:17*gevaerts hit that bug before it was known about :)
21:10:13[Franklin]gevaerts: so once in recovery mode I copy the same file I used with e200tool?
21:10:41[Franklin]or not
21:10:59gevaertsYes
21:11:03gevaertsAnd the mi4 file
21:11:09[Franklin]both?
21:11:11gevaertsYes
21:11:17gevaertsAnd a sansa.fmt file
21:11:27[Franklin]huh
21:11:27gevaertsSo three files in all
21:11:31[Franklin]you sure?
21:11:59[Franklin]the wiki says:
21:12:00[Franklin]Do not copy .rom, .btl, or .bin files to that partition unless you know exactly what you are doing. Again: You might brick your player!
21:12:04gevaertsBasically you're now in regular recovery mode except it was started from USB and not from flash
21:12:23[Franklin]ah
21:12:26gevaertsSo you do need to recover the bootloader
21:12:28gevaertshttp://www.rockbox.org/wiki/SansaE200Unbrick#Restoring_the_bootloader
21:12:36[Franklin]so I ignore the "word of caution"
21:13:03gevaertsWell, not exactly
21:13:12gevaertsYou now know what you're doing :)
21:14:09gevaertsI don't think you'll be able to ruin much with .rom files anyway. It's the .bin files that are *really* dangerous
21:14:15[Franklin]ok, formatting
21:14:35gevaertsThose get flashed to the i2c boot rom, which happens to be the one that handles manufacturing mode
21:15:00[Franklin]ooh
21:21:29 Quit Tristitia (Remote host closed the connection)
21:21:36 Quit nlogex (Quit: WeeChat 1.3)
21:23:34 Join petur [0] (~petur@rockbox/developer/petur)
21:29:31 Join nlogex [0] (~filip@dhcp-108-168-16-140.cable.user.start.ca)
21:29:47 Quit tchan (Quit: WeeChat 1.2)
21:43:04 Join tchan [0] (~tchan@lunar-linux/developer/tchan)
21:54:19 Nick munch` is now known as munch (~munch@2601:98a:302:955d:126f:3fff:fed7:41)
21:54:19 Quit munch (Changing host)
21:54:19 Join munch [0] (~munch@unaffiliated/munch)
22:00
22:32:32 Quit Rower (Ping timeout: 240 seconds)
22:32:34***Saving seen data "./dancer.seen"
22:33:23 Join Rower [0] (husvagn@d83-183-134-99.cust.tele2.se)
22:40:08 Quit petur (Remote host closed the connection)
22:45:12 Quit tchan (Quit: WeeChat 1.2)
22:46:11 Quit krabador (Remote host closed the connection)
22:58:12 Quit nlogex (Quit: WeeChat 1.3)
23:00
23:20:41 Join tchan [0] (~tchan@lunar-linux/developer/tchan)
23:37:46 Quit [Franklin] (Remote host closed the connection)

Previous day | Next day