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 2017-11-13

00:03:15 Quit namedpipe1 (Quit: Leaving.)
00:07:27 Join mendelmunkis [0] (~Moshe@ool-ade5604c.dyn.optonline.net)
00:11:21 Quit petur (Quit: Leaving)
00:12:04mendelmunkisI'm trying to add an AI to pacbox and I'm having trouble figuring out if I would need to make any adjustments to how often rb->yield() gets called. How can I tell how often to call it?
00:12:46__builtinmendelmunkis: shouldn't matter too much
00:13:01__builtinjust frequent enough to not starve the other threads in the system (once a frame usually works)
00:14:08mendelmunkisWhat about in a plugin I would theoretically be writing from scratch?
00:15:14__builtinagain, there's not a hard and fast rule on that
00:15:54__builtinI use once a frame as a rule of thumb
00:16:36 Join dvorak [0] (~Moshe@ool-ade5604c.dyn.optonline.net)
00:18:55 Quit mendelmunkis (Ping timeout: 240 seconds)
00:21:03 Quit dvorak (Ping timeout: 248 seconds)
00:22:39 Quit pamaury (Ping timeout: 248 seconds)
00:30:41[Saint]What do you mean by "an AI"?
00:31:19[Saint]I mean, the ROM itself has a demo feature that runs as an idle display that clearly displays the game mechanics in the player character.
00:31:28[Saint]There's not a lot that need be done here.
00:31:46[Saint]The game already knows how to play itself with a structured rule set.
00:32:14[Saint]It's more connecting the dots than anything else.
00:33:59__builtin[Saint]: he left
00:34:41[Saint]Oh, right. I see. Sorry.
00:34:54namedpipeHi guys. I know this might be a slightly irrelevant question, but I stumbled upon the old chat logs (https://www.rockbox.org/irc/log-20161110#09:50:45) which mention the disassembly of FiiO X1 II (FX1221). Does anyone know how to open it properly?
00:34:54namedpipeBackstory: Yesterday FX1221 became unresponsive with no obvious way to reboot or shut it down. Holding the power button didn't help, and since there is no reset hole, I decided to disassemble it to reattach the battery. I just charged it, so waiting for the battery to drain itself would take forever. That was an inexpressibly painful mistake. Most likely I already broke something, not to mention the scratched and bent plastic. I wasted
00:34:54namedpipea few painful hours trying to get the PCB out of the fullmetal chassis with no luck. Every disassembly guide I found was about the first generation player (which is, by the way, better in literally everything), everything else was #rockbox and this Head-Fi post: https://www.head-fi.org/threads/819817/page-141#post-13258401
00:36:42__builtin[Saint]: you do raise a good point; I don't see why an AI would be needed
00:44:15[Saint]__builtin: I mean...right?
00:44:28[Saint]The game is procedural and already knows how to play itself.
00:48:41[Saint]copper: are you around my dear?
00:49:51 Quit namedpipe (Quit: ZNC - http://znc.in)
00:50:08 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
00:57:57 Quit ender` (Quit: Working computer hardware is a lot like an erect penis. It stays up as long as you don't fuck with it.)
01:00
01:03:46__builtinI'm not sure whether I should put in the effort to get my wolf3d port in a mergeable state
01:04:18***Saving seen data "./dancer.seen"
01:15:27 Quit michaelni (Ping timeout: 248 seconds)
01:15:51 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
01:15:57 Join dandels [0] (~dandels@unaffiliated/dandels)
01:19:29 Join alexweissman [0] (~alexweiss@71.16.157.226)
01:27:20 Quit cc___ (Ping timeout: 268 seconds)
01:27:40 Join michaelni [0] (~michael@213-47-41-20.cable.dynamic.surfer.at)
01:29:06 Quit alexweissman (Remote host closed the connection)
01:30:55 Quit dandels (Ping timeout: 240 seconds)
01:35:29 Quit chrisb (Read error: Connection reset by peer)
01:52:17 Quit Ruhan (Quit: Connection closed for inactivity)
01:58:55 Quit prof_wolfff (Ping timeout: 240 seconds)
01:59:44 Quit diox (Ping timeout: 264 seconds)
02:00
02:25:01 Join diox [0] (~u@h-152-220.A586.priv.bahnhof.se)
02:28:27 Join chrisb [0] (~chrisb@172.58.201.43)
02:29:21[Saint]How do we feel about bitmapstrips?
02:30:30__builtinexplain?
02:30:31[Saint]Given that the output is the same and the only difference is WPS/SBS/FMS/WRS code complexity, do I load individual images with unique identifiers, or load them as an ambiguous bitmapstrip with offset identifiers?
02:30:58 Join Strife1989 [0] (~quassel@adsl-98-80-183-140.mcn.bellsouth.net)
02:33:19__builtinoh, individual images do have some overhead over a bitmapstrip, but that's probably neglible nowadays
02:33:50 Quit Strife89 (Ping timeout: 248 seconds)
02:33:52__builtinI think individual images is better since they're easier to work with
02:34:24[Saint]difference:
02:34:24[Saint]%xl(image, image.bmp,0,0,1)
02:34:24[Saint]%xl(image1,image1.bmp,0,0,1)
02:34:24[Saint]%xd(image) %xd(image1)
02:34:25[Saint]vs
02:34:27[Saint]%xl(image_strip,image_strip.bmp,0,0,N)
02:34:29[Saint]%xd(image_strip,N) %xd(image_strip,N1)...%xd(image_strip,N*)
02:35:11[Saint]yeah, the bitmapstrip is cleaner, in terms of code complexity, but it's very highly ambiguous as to what's going on to someone not familiar with or trying to learn the code/syntax.
02:36:02[Saint]the problem with individual images in this context is with this theme I'll have to load a block of about 200 of them.
02:36:24[Saint](yep, really.)
02:36:33__builtinhmm, that makes me lean towards a bitmap strip
02:37:03__builtinloading ~200 individual files probably incurs a lot more overhead than 1 single big file
02:37:21[Saint]it'll be marginally slower to parse.
02:37:43__builtinwell, in loading from disk
02:39:09[Saint]which will happen whenever we exit/enter a screen.
02:39:31[Saint]we unload everything when switching screens.
02:40:09[Saint]though some buffers will be recoverable, it still needs to parse to figure out which.
02:41:06[Saint]we don't have enough freedom of resources to be able to just cache the entire theme on a lot of targets, honestly...with this theme, most targets.
02:42:11[Saint]For ease of use for the end user I'm really trying to keep it in one theme and not split it up across 'small, medium, large' and/or 'portrait,landscape', but I might have to.
02:45:27 Join alexweissman [0] (~alexweiss@71.16.157.226)
03:00
03:01:54 Quit [Saint] (Read error: Connection reset by peer)
03:03:04 Join [Saint] [0] (~sinner@rockbox/staff/saint)
03:03:33 Quit _meg (Ping timeout: 240 seconds)
03:03:47 Quit Moarc (Ping timeout: 252 seconds)
03:04:20***Saving seen data "./dancer.seen"
03:04:23 Join _meg [0] (~notsure@211.25.203.45)
03:05:36 Join Moarc [0] (~chujko@a105.net128.okay.pl)
03:09:04 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-zdvbpixttchjsccr)
03:12:55 Quit alexweissman (Remote host closed the connection)
04:00
04:01:53 Quit JdGordon (Ping timeout: 248 seconds)
04:10:44 Join alexweissman [0] (~alexweiss@71.16.157.226)
04:11:20 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
04:19:05 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
04:20:01 Quit JdGordon (Ping timeout: 248 seconds)
04:24:21 Quit JdGordon_ (Ping timeout: 268 seconds)
04:49:44 Join JdGordon [0] (~jonno@59-102-32-3.tpgi.com.au)
04:49:44 Quit JdGordon (Changing host)
04:49:44 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
05:00
05:04:24***Saving seen data "./dancer.seen"
05:06:15 Join Strife89 [0] (~quassel@adsl-98-67-57-160.mcn.bellsouth.net)
05:08:05 Quit Strife1989 (Ping timeout: 240 seconds)
05:18:14 Join Strife1989 [0] (~quassel@adsl-98-80-196-186.mcn.bellsouth.net)
05:18:51 Quit Strife89 (Ping timeout: 240 seconds)
05:25:15 Quit alexweissman (Remote host closed the connection)
05:27:43 Quit JdGordon (Ping timeout: 248 seconds)
05:32:43 Join Strife89 [0] (~quassel@adsl-98-80-192-155.mcn.bellsouth.net)
05:35:23 Quit Strife1989 (Ping timeout: 250 seconds)
05:40:44 Quit namedpipe (Quit: ZNC - http://znc.in)
05:42:17 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
05:46:31 Quit JdGordon (Ping timeout: 240 seconds)
05:55:12 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
06:00
06:00:09 Join Strife1989 [0] (~quassel@adsl-98-80-190-179.mcn.bellsouth.net)
06:02:57 Quit Strife89 (Ping timeout: 240 seconds)
06:05:31 Quit TheSeven (Ping timeout: 240 seconds)
06:06:51 Quit JdGordon (Ping timeout: 240 seconds)
06:11:44 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
06:16:35 Quit TheSeven (Ping timeout: 258 seconds)
06:16:47 Quit Strife1989 (Ping timeout: 260 seconds)
06:16:55 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
06:23:55 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
06:31:55 Quit TheSeven (Ping timeout: 258 seconds)
06:32:00 Quit JdGordon (Ping timeout: 268 seconds)
06:32:07 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
06:43:22 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
07:00
07:04:28***Saving seen data "./dancer.seen"
07:07:00 Join asaba [0] (~asaba@119.254.120.72)
07:25:11 Quit asaba (Quit: asaba)
07:29:55 Join asaba [0] (~asaba@119.254.120.72)
07:35:11 Quit asaba (Quit: asaba)
07:39:54 Join asaba [0] (~asaba@119.254.120.72)
07:49:15 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
08:00
08:03:53 Join deevious [0] (~Thunderbi@193.226.142.214)
08:06:49copper[Saint]: 200 images??
08:06:56coppergeezus
08:08:27 Quit Ruhan (Quit: Connection closed for inactivity)
08:18:42 Join ender` [0] (krneki@foo.eternallybored.org)
08:21:16 Quit namedpipe (Quit: ZNC - http://znc.in)
08:21:30 Join namedpipe [0] (~namedpipe@99b5.k.time4vps.cloud)
08:25:11 Quit asaba (Quit: asaba)
08:29:57 Join asaba [0] (~asaba@119.254.120.72)
08:40:11 Quit asaba (Quit: asaba)
08:42:46 Join asaba [0] (~asaba@119.254.120.72)
08:44:42 Quit asaba (Client Quit)
08:44:54 Join asaba [0] (~asaba@119.254.120.72)
08:46:00 Quit namedpipe (Quit: ZNC - http://znc.in)
08:46:14 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
08:47:47 Quit namedpipe (Client Quit)
08:48:04 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
08:52:38 Join petur [0] (~petur@91.183.48.77)
08:52:38 Quit petur (Changing host)
08:52:38 Join petur [0] (~petur@rockbox/developer/petur)
09:00
09:04:31***Saving seen data "./dancer.seen"
10:00
10:15:27 Quit _meg (Ping timeout: 240 seconds)
10:16:52 Join _meg [0] (~notsure@211.25.203.45)
10:27:14 Join cc___ [0] (~ac@AMarseille-653-1-124-23.w83-113.abo.wanadoo.fr)
10:28:54 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
10:33:21 Quit JdGordon (Ping timeout: 248 seconds)
10:42:11 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801)
10:43:27 Quit _meg (Ping timeout: 248 seconds)
10:44:00 Quit pamaury (Ping timeout: 248 seconds)
10:44:32 Join _meg [0] (~notsure@211.25.203.45)
10:55:37 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
11:00
11:04:33***Saving seen data "./dancer.seen"
11:10:25 Quit asaba (Quit: asaba)
11:10:41 Join asaba [0] (~asaba@119.254.120.72)
11:14:41 Quit cc___ (Quit: WeeChat 1.9.1)
11:20:19 Quit namedpipe (Quit: ZNC - http://znc.in)
11:20:34 Quit JdGordon (Ping timeout: 240 seconds)
11:21:26 Join namedpipe [0] (~namedpipe@99b5.k.time4vps.cloud)
11:24:12 Quit namedpipe (Client Quit)
11:24:30 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
11:28:02 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
11:34:59 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
11:38:12 Quit JdGordon (Ping timeout: 258 seconds)
11:40:48 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
11:41:10 Join dandels [0] (~dandels@unaffiliated/dandels)
11:43:20 Quit namedpipe (Quit: ZNC - http://znc.in)
11:43:40 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
11:47:23wodzpamaury: Yes, my fixes to mips threading are on github. Actually you are interested in wodz/rockbox-wodz/commit/f9e85db38c126cdbfc165067a18299a1124245b4">https://github.com/wodz/rockbox-wodz/commit/f9e85db38c126cdbfc165067a18299a1124245b4
11:55:08 Quit _meg (Ping timeout: 268 seconds)
11:55:49 Join _meg [0] (~notsure@211.25.203.45)
11:56:46 Join lebellium [0] (~hexchat@2a01cb0802f859000d3d69c01af3c4b3.ipv6.abo.wanadoo.fr)
12:00
12:05:27 Quit dandels (Ping timeout: 240 seconds)
12:08:16 Join dandels [0] (~dandels@unaffiliated/dandels)
12:17:08 Join cc___ [0] (~ac@AMarseille-653-1-124-23.w83-113.abo.wanadoo.fr)
12:30:39 Quit JdGordon_ (Ping timeout: 248 seconds)
12:39:57 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
12:52:32 Quit jhMikeS (Ping timeout: 248 seconds)
12:56:48 Quit dandels (Ping timeout: 268 seconds)
12:57:41 Join kevin [0] (45e4ab04@gateway/web/freenode/ip.69.228.171.4)
12:58:05 Nick kevin is now known as Guest56649 (45e4ab04@gateway/web/freenode/ip.69.228.171.4)
12:58:22 Nick Guest56649 is now known as kev2 (45e4ab04@gateway/web/freenode/ip.69.228.171.4)
12:59:11kev2haaa! You are all brilliant. Thank you for the great work. I just got it working on an X-fi
13:00
13:02:48 Join dandels [0] (~dandels@unaffiliated/dandels)
13:04:37***Saving seen data "./dancer.seen"
13:04:58 Quit namedpipe (Ping timeout: 252 seconds)
13:05:15 Join namedpipe [0] (~namedpipe@2002:c3b5:f6dc::1)
13:07:56 Part namedpipe
13:12:51 Quit JdGordon (Ping timeout: 240 seconds)
13:19:09kev2I am very impressed with the pitch control. The last time I had an mp3 player with pitch control was an incredibly cheap plastic one that held about 250MB. And it took a battery, leading to guilt. But now I have pitch control on a Creative which is rechargeable! I am quite happy.
13:20:03kev2the brand name of the junky one was Actions. It was fun.
13:20:14kev2bye , thank you
13:20:19 Quit kev2 (Quit: Page closed)
13:20:29 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
13:22:35 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
13:24:42 Quit jhMikeS (Ping timeout: 246 seconds)
14:00
14:18:38 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
14:20:27 Quit JdGordon (Ping timeout: 240 seconds)
14:33:21 Quit lebellium (Quit: Leaving)
14:33:37 Join lebellium [0] (~hexchat@2a01cb0802f859000d3d69c01af3c4b3.ipv6.abo.wanadoo.fr)
14:33:58lebelliumpamaury: My NWZ keymap suggestion https://pastebin.com/mVhhPh4y
14:34:19lebelliumalso in FMS ACTION_FM_MODE doesn't work
14:34:57lebelliumI first thought it was a wrong combination with ACTION_FM_MENU
14:35:30lebelliumbut even trying basic test with another key, it doesn't work
14:37:51lebelliumfor example I tried:
14:38:23lebellium /*{ ACTION_FM_EXIT, BUTTON_BACK, BUTTON_NONE },*/
14:38:32lebellium{ ACTION_FM_MODE, BUTTON_BACK, BUTTON_NONE },
14:43:15 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
14:44:51 Quit JdGordon_ (Ping timeout: 240 seconds)
14:56:56 Join amayer [0] (~amayer@107-1-97-172-ip-static.hfc.comcastbusiness.net)
15:00
15:01:54 Join alexweissman [0] (~alexweiss@71.16.157.226)
15:04:38***Saving seen data "./dancer.seen"
15:08:33 Quit krabador (Remote host closed the connection)
15:14:01 Join namedpipe [0] (~namedpipe@99b5.k.time4vps.cloud)
15:21:15 Quit wodz (Ping timeout: 250 seconds)
15:22:57 Part namedpipe
15:23:10 Join namedpipe [0] (~namedpipe@99b5.k.time4vps.cloud)
15:27:34 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
15:28:34 Quit JdGordon (Ping timeout: 240 seconds)
15:40:41 Quit alexweissman (Remote host closed the connection)
15:51:15 Join alexweis_ [0] (~alexweiss@71.16.157.226)
16:00
16:29:08 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
16:30:39 Quit JdGordon_ (Ping timeout: 248 seconds)
16:35:04 Quit alexweis_ (Remote host closed the connection)
16:36:59 Join alexweissman [0] (~alexweiss@71.16.157.226)
16:42:51Bilguslebellium, you might try putting the pre button codes ['BUTTON_NONE'] to the initial key for those so { ACTION_KBD_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_NONE }, becomes { ACTION_KBD_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
16:45:19Bilgusthe current action engine has a real annoying quality of ignoring the pre button code and if the key is mapped in the STD_CONTEXT you may be running into that
16:46:05Bilgusalternatively try #g1674
16:46:18Bilgus g#1674
16:46:22fs-bluebotGerrit review #1674 at http://gerrit.rockbox.org/r/1674 : Action.c FIX / Rework / Clean-up Action System by William Wilgus
16:59:43 Join JanC_ [0] (~janc@lugwv/member/JanC)
17:00
17:01:00 Quit JanC (Killed (barjavel.freenode.net (Nickname regained by services)))
17:01:00 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
17:04:40***Saving seen data "./dancer.seen"
17:08:41 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-rlnnvywoidlttoza)
17:19:15 Quit petur (Quit: Connection reset by beer)
17:28:15 Quit deevious (Ping timeout: 248 seconds)
17:30:08 Join deevious [0] (~Thunderbi@193.226.142.214)
17:39:31 Quit _meg (Ping timeout: 240 seconds)
17:39:56 Join _meg [0] (~notsure@211.25.203.45)
17:42:34 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
17:43:05 Quit alexweissman (Remote host closed the connection)
17:46:00 Quit JdGordon (Ping timeout: 240 seconds)
17:48:31 Quit pamaury (Ping timeout: 248 seconds)
17:53:13lebelliumBilgus: what I put in the pastebin has been tested on target
17:53:23lebelliumit looks like { ACTION_KBD_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_NONE }, is working properly
17:54:14Bilgusah you were saying the original didn't work, ok
17:55:57lebelliumno it worked but selecting characters with the power button isn't logical to me
17:56:29lebelliumThe only thing that doesn't work is ACTION_FM_MODE
17:56:43lebelliumI don't understand what's wrong here
17:57:26Bilgussame caveats apply..
17:57:51 Join alexweissman [0] (~alexweiss@71.16.157.226)
17:58:09lebelliumso I should try
17:58:16lebelliumium> { ACTION_FM_MODE, BUTTON_BACK, BUTTON_BACK },
17:58:19lebellium?
17:58:53Bilgusno it'd need to be button back | release
17:59:22Bilgusfor the action code (middle one)
17:59:54lebelliumIt already is:
17:59:56lebelliumcurrent code:
18:00
18:00:09lebellium{ ACTION_FM_MODE, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
18:00:16lebellium{ ACTION_FM_MENU, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE },
18:00:36lebelliumACTION_FM_MENU works but not ACTION_FM_MODE
18:01:36Bilgusthats because of what I was saying about it preferring the one with button NONE
18:03:16lebelliumdoes that mean that putting "BUTTON_POWER" instead of "BUTTON_NONE" for ACTION_FM_MENU would fix ACTION_FM_CODE?
18:03:23lebelliumMODE*
18:03:41Bilgusthat patch should fix that but rather than doing that you want to put the back button into ACTION MODe what are you changing ACTION_FM_EXIT to
18:04:51 Quit _meg (Ping timeout: 240 seconds)
18:04:53lebelliumI don't want to do anything with the back button, it was just a simple test
18:05:19Bilgusyou should try ACTION_FM_MODE, BUTTON_BACK|BUTTON_REL, BUTTON_BACK and ACTION_FM_EXIT, BUTTON_BACK|BUTTON_REPEAT, BUTTON_BACK
18:06:03Bilgusif you are using button back in fm mode you need to differentiate it from the fm exit action
18:06:15lebelliumit already is different
18:06:24lebelliumit was just a simple test
18:06:34lebelliumI just want to keep the current behaviour with the power button
18:06:38lebelliumjust make it works
18:07:25lebelliumif I understood properly I just need to put
18:07:32lebellium{ ACTION_FM_MENU, BUTTON_POWER|BUTTON_REPEAT, BUTTON_POWER },
18:07:40lebelliumand that will fix ACTION_FM_MODE
18:07:47Bilgusok i'll start from a bit back; the action sysyem in its current form will always prefer an action with PRE_BUTTON == ACTION_NONE
18:08:37lebelliumI understood that
18:09:14Bilgusah ok sorry, yes changing FM menu should work
18:09:16 Join _meg [0] (~notsure@211.25.203.45)
18:10:54 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:d4e4:ad2b:391d:d494)
18:22:41lebelliumnow neither ACTION_FM_MENU, nor ACTION_FM_MODE nor ACTION_FM_EXIT are working. I didn't even touch ACTION_FM_EXIT...
18:25:53lebelliumBilgus: https://pastebin.com/1jf0feGR
18:25:56lebelliumI'm lost
18:30:39 Join Dvno42 [0] (~Dvno42@70.231.53.193)
18:30:53Bilgusfor mode and menu put prebutton to Button_none and swap their order
18:31:29BilgusOR just apply that patch and stick with the original code
18:31:33lebelliumthe line order in the file matters?!
18:31:38Bilgusyes
18:32:42lebelliumfixing the keymap is not just for me so applying the patch doesn't really make sense, unless you plan to merge it soon
18:33:43BilgusI don't have the ability to merge it but it works fine
18:38:43 Join ofl_duo8 [0] (abead954@gateway/web/freenode/ip.171.234.217.84)
18:39:16ofl_duo8has anyone looked into the fw structure for newer ingenic players?
18:39:56ofl_duo8there's a ubifs partition that i'm trying to extract & mount
18:44:53 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
18:52:02lebelliumeven after doing "git reset −−hard origin/master" it keeps telling me I'm not on a branch
18:52:43 Quit alexweissman (Remote host closed the connection)
18:53:20 Quit dys (Ping timeout: 246 seconds)
18:53:50Bilgusyou might have a rebase in progress try rebase −−abort
18:59:30lebelliumhttps://pastebin.com/57ARevg5
18:59:34lebelliumboring....
19:00
19:04:00Bilgushuh doesn't look boring
19:04:36lebelliumI never had to set a user name and email before
19:04:44***Saving seen data "./dancer.seen"
19:04:56 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
19:05:32Bilgustry git review -d <#change id: for that patch#>
19:07:09lebelliumI set a fake email address...
19:07:17lebelliumcompiling your patch now
19:09:34lebelliumdoesn't help
19:11:26lebelliumwith your patch and the original code, ACTION_FM_MODE still doesn't work
19:13:25BilgusI don't see any other reason it shouldn't there is nothing taking control of the key in a lower chained context
19:13:29pixelmamaybe the definition for the back button is falling through to another button context and is cclashing there?
19:15:13Bilgusmaybe its like some other code I found and it doesn't act on the menu or mode action and instead depends on ACTION_STD_MENU,
19:15:54Bilgusyou'll have to look in the fm source to see what it is looking for
19:17:07Bilgusit'll have get_action(hz .... and a big old case statement
19:22:06lebelliumok now virtualbox won't even let me connect the USB device anymore. Too many connects/disconnects today
19:22:18lebelliumI'm fed up with all that, I give up
19:22:22lebelliumthanks for your help
19:22:35Bilgussorry
19:22:59pamauryI just looked at the logs, what is the problem?
19:23:27pixelmawhat is FM_MODE used for? Trying to remember if it is something that is only used on "many button" targets and is put into the menu on the others (which then should have a define which of the two keymap versions should be used). Just throwing out ideas without even looking at a target or so, just because I remember such things exist in a few places
19:24:04lebelliumpamaury: I can't get ACTION_FM_MODE work on NWZ-A10. It should switch between preset and scan mode (only if at least one preset is added)
19:25:05pamauryhave you made sure that FM_MODE is defined in radio.c ?
19:26:30pamauryI don't recall particularly looking at the radio keep for NWZ since no NWZ had radio before, it might be that your keymap works but radio.c ignores because it thinks there is no button for it (yeah radio.c is crazy)
19:27:34Bilgusthe whole action system is crazy it has a lot of moving parts
19:28:15Bilgushttps://github.com/Rockbox/rockbox/blob/03dd4b92be7dcd5c8ab06da3810887060e06abd5/apps/radio/radio.c#L654
19:28:28lebelliumradio.c is not easy to read for me. There are some CONFIG_KEYPAD for some targets and obviously NWZ are not there
19:29:26 Nick scorche` is now known as scorche (~scorche@rockbox/administrator/scorche)
19:30:15pamaurylebellium: looking at radio.c now, there should either be an entry for the NWZ keymap at the top, or it should be added to the list of the existing one
19:30:20pamaurybased on what the keymap supports
19:30:44pamauryfor example you could add the NWZ to the list there: https://github.com/Rockbox/rockbox/blob/03dd4b92be7dcd5c8ab06da3810887060e06abd5/apps/radio/radio.c#L97
19:31:40lebelliumbut then why do all other functions work (ACTION_FM_MENU, ACTION_FM_PLAY, ACTION_FM_STOP etc) without any NWZ entry in radio.c
19:31:49lebelliumwe would need it just for ACTION_FM_MODE?!
19:32:01Bilguspamaury is there any reason we couldn't automate that a bit like either on if it is defined in the keymap or a big bit flag define?
19:32:15pixelmalebellium: the Ondio keymap also doesn't define an ACTION_FM_MODE, I don't know if you need to switch it on or off at a different place (and wehre that would be)
19:32:23Bilguslebellium they probably fall through to std actions
19:32:24pixelmawhere too
19:35:37pamauryBilgus: don't ask me, I never touched radio.c :)
19:35:46pamaurybut yeah I think this could be simplified quite a lot
19:36:42pamaurybut the problem is that I suspect those defines were put there to reduce code size when features at not needed
19:37:11Bilgussure but i could still be done at compile
19:37:23pamauryBilgus: what do you have in mind?
19:40:01BilgusI'm thinking you can't do it on the actual actions since they are already defined but instead do it on a big bit flag FM_MODE = FM_ALL ... FM_MODE = FM_MENU | FM_MODE | FM_SEEK it'd probably still have to be in the key map but at least it'd be together
19:40:47BilgusI'm not a big fan of external scripts but it could also be parsed from the keymap
19:40:47pamauryit seems to be the entire FM_MENU, FM_MODE and all could be remove, just compile the code unconditionally, unless it *really* saves a lot of space
19:41:51BilgusI'm sure there is a specific target that needs it removed but ....
19:44:10pixelmameh, you can probably remove the FM_RECORD stuff for swcodec because only hwcodec targets with radio can record from the fm screen
19:44:54pixelmaswcodec targets with radio record fm from the recording screen (source set to radio)
19:46:10Bilguswe could switch it to #ifndef REMOVE_FM_MODE etc and put it back on the individual targets
19:46:44pamaurywould it be useful to #error for targets that don't define *any* of the FM_* ? This would avoid the current situation where someone struggles to make it work only to realize it was ignored?
19:47:49Bilgusbetter than nothing
19:48:14 Quit Ruhan (Quit: Connection closed for inactivity)
19:53:01 Quit Dvno42 (Quit: Dvno42)
19:53:41Bilguswhats the chances of 1674 ever getting pushed I somehow doubt its ever going to have enough testing sitting on gerrit
19:54:42pamauryif you are confident that's a good rework, we can push it and see what breaks ;)
19:55:57 Join Dvno42 [0] (~Dvno42@70.231.53.193)
19:56:02lebelliumpamaury: what's the target name I should put in there? (CONFIG_KEYPAD == SONY_NWZ_PAD)?
19:56:30BilgusI'll fix whatever breaks but it only actually changes one thing as far as the action system functionality goes
19:58:18BilgusCONFIG_KEYPAD SONY_NWZA860_PAD?
19:58:52Bilgusor CONFIG_KEYPAD == SONY_NWZ_PAD
20:00
20:00:34 Quit _meg (Ping timeout: 240 seconds)
20:03:02 Join _meg [0] (~notsure@211.25.203.45)
20:10:13Bilgusyeah I'm pretty confident in 1674 I added back the ifdef for the bootloader jic
20:20:57pamauryBilgus: have you tested 1674 on touchscreen? (in simulator)
20:21:04 Quit JdGordon_ (Ping timeout: 248 seconds)
20:21:33Bilgusbeyond compiling it no I can try it though
20:22:22pamauryI think you should try it at least to make sure it works, then we can push it, and then you fix the issues than come up ;)
20:30:19 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
20:33:43 Join alexweissman [0] (~alexweiss@71.16.157.226)
20:37:11 Quit Dvno42 (Quit: Dvno42)
20:39:50 Join Dvno42 [0] (~Dvno42@70.231.53.193)
20:53:15 Join dys [0] (~dys@tmo-103-45.customers.d1-online.com)
20:59:51 Join Ruhan [0] (uid76353@gateway/web/irccloud.com/x-bdodnstenvnetstb)
21:00
21:01:31BilgusPamaury I tested the xfi2 it seems to have the same functionality as without I'm guessing that target uses the 3x3 grid can you think of any off the top of your head that do touchscreen presses by coords?
21:02:04 Quit _meg (Ping timeout: 240 seconds)
21:03:04 Join _meg [0] (~notsure@211.25.203.45)
21:03:49pamauryBilgus: touchscreen targets support both 3x3 and coord, it's a setting
21:04:02pamaury(but it's 3x3 by default)
21:04:16Bilgusah ok cool
21:04:46***Saving seen data "./dancer.seen"
21:05:20Bilgusyes works as expected
21:09:35Bilgusspoke too soon does the file menu revert back to 3x3 mode?
21:10:03 Quit Dvno42 (Quit: Dvno42)
21:11:16pamauryBilgus: screens that don't implement coord code revert to 3x3
21:11:22pamauryI don't know about file menu
21:11:42Bilgusi'm checking it against the original
21:12:53lebelliumpamaury: I added (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || (CONFIG_KEYPAD == SONY_NWZ_PAD)||\ to radio.c
21:13:12lebelliumand it says (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || (CONFIG_KEYPAD == SONY_NWZ_PAD)||\
21:13:19lebelliumsorry
21:13:19lebelliummake: *** [/home/ubuntu/rockbox/A10/rockbox_build_keymaps_20171113/apps/radio/radio.o] Error 1
21:13:42Bilgusyeah it seems to work ok I was just a bit off on my presses the calibration setting seems to have recitified it
21:14:48pamaurylebellium: can you post the diff and a most precise error? Looks like you have an extra \ at the end of line?
21:14:55ofl_duo8ah screw this
21:15:15ofl_duo8to mount ubifs i have to recompile kernel
21:17:29 Quit ofl_duo8 (Quit: Page closed)
21:17:30lebelliumpamaury: it was due to the ||\ at the end.
21:18:23lebelliumACTION_FM_MODE finally works!
21:18:50 Quit dandels (Quit: WeeChat 1.9.1)
21:20:37 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
21:21:19Bilgusyay!
21:21:25lebelliumthank you all
21:21:38lebelliumpamaury: here the new keymapping if you agree https://pastebin.com/PhGDrffG
21:21:47Bilgusthat was all pamaury he remembered the exact reason
21:24:52pamaurylebellium: thanks, I'll push that
21:27:14 Join dandels [0] (~dandels@unaffiliated/dandels)
21:36:21lebelliumpamaury: is it easy to activate RTC and some plugins like text viewer/editor?
21:36:26lebelliumon NWZ I mean
21:37:26 Quit dys (Ping timeout: 240 seconds)
21:38:00pamauryactivating plugins yes, assuming keymaps are done (i don't remember if they are), RTC would mean adding a driver, probably not hard but not done yet, I'll have a look
21:38:59pamaurylebellium: for plugins you can edit tools/configure and change plugins="" to plugins="yes" to try it
21:39:03lebelliumshould we define keymaps plugin by plugin?
21:39:08 Join dys [0] (~dys@tmo-103-45.customers.d1-online.com)
21:41:44pamaurylebellium: some plugins use actionlib and some don't, I think I did (crappy) keymaps for the E360 so they should work on NWZ when enabled
21:41:56lebelliumok, I'll check on A10
22:00
22:00:50lebelliumpamaury: plugins keymap are no that crappy, even fairly decent
22:00:54lebelliumnot*
22:01:10lebelliumI think it's good enough to activate plugins
22:04:54 Quit alexweissman (Remote host closed the connection)
22:07:31 Join krabador [0] (~krabador@unaffiliated/krabador)
22:07:34 Join Dvno42 [0] (~Dvno42@70.231.53.193)
22:11:37 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
22:13:27 Quit _meg (Ping timeout: 240 seconds)
22:14:00 Join _meg [0] (~notsure@211.25.203.45)
22:20:52 Join alexweissman [0] (~alexweiss@71.16.157.226)
22:22:10 Join alexweis_ [0] (~alexweiss@71.16.157.226)
22:25:40 Quit alexweissman (Ping timeout: 240 seconds)
22:25:43 Quit krabador (Read error: Connection reset by peer)
22:25:56 Quit fs-bluebot (Ping timeout: 240 seconds)
22:26:02 Join krabador [0] (~krabador@unaffiliated/krabador)
22:26:22 Quit bluebrother (Ping timeout: 248 seconds)
22:31:22 Join krabador_ [0] (~krabador@unaffiliated/krabador)
22:31:28 Quit krabador (Read error: Connection reset by peer)
22:36:34 Quit krabador_ (Ping timeout: 240 seconds)
22:39:04 Quit _meg (Ping timeout: 240 seconds)
22:40:17 Join _meg [0] (~notsure@211.25.203.45)
22:41:03 Quit ZincAlloy (Quit: Leaving.)
22:49:18 Join igitoor_ [0] (igitur@2a00:d880:3:1::c1ca:a648)
22:51:47 Quit snw (Ping timeout: 255 seconds)
22:51:48 Quit igitoor (Ping timeout: 255 seconds)
22:51:55 Quit Jack87 (Ping timeout: 255 seconds)
22:51:55 Quit tomflint (Ping timeout: 255 seconds)
22:51:55 Quit EmanueleSorce[m4 (Ping timeout: 255 seconds)
22:52:50 Join MrZeus_ [0] (~MrZeus@81.144.218.162)
22:52:59 Join Jack87 [0] (Jack87@nasadmin/admin/jack87)
22:53:09 Join tomflint [0] (~tomflint@159.203.211.54)
22:53:09 Quit tomflint (Changing host)
22:53:09 Join tomflint [0] (~tomflint@unaffiliated/tomflint)
22:53:12 Join snow_bckspc [0] (~snow_bcks@ganon.dot-server.net)
22:53:46 Nick snow_bckspc is now known as snw (~snow_bcks@ganon.dot-server.net)
22:53:48 Join krabador [0] (~krabador@unaffiliated/krabador)
22:54:00 Quit MrZeus (Read error: Connection reset by peer)
22:58:20pamauryah great, tuner doesn't work on older NWZ because Sony subtly changed the ioctl, great job Sony
22:59:47 Quit walle303 (Ping timeout: 240 seconds)
22:59:51 Quit nialv7 (Ping timeout: 248 seconds)
23:00
23:00:35 Quit igitoor_ (Changing host)
23:00:35 Join igitoor_ [0] (igitur@unaffiliated/contempt)
23:02:37 Join prof_wolfff [0] (~prof_wolf@201.red-83-54-194.dynamicip.rima-tde.net)
23:04:48***Saving seen data "./dancer.seen"
23:06:23 Join walle303 [0] (walle303ke@pisg/dev/walle303)
23:16:45 Quit amayer (Quit: Leaving)
23:20:16 Quit Dvno42 (Quit: Dvno42)
23:26:19 Join Dvno42 [0] (~Dvno42@70.231.53.193)
23:31:28 Quit dys (Ping timeout: 248 seconds)
23:45:10 Join nialv7 [0] (m7nialmatr@gateway/shell/matrix.org/x-mprjdmkusvozhnng)
23:45:20 Join EmanueleSorce[m4 [0] (emanueleso@gateway/shell/matrix.org/x-cqxniqfbwetmpjis)
23:49:00 Join WilliamC [0] (~WilliamC@cpe-2606-A000-140E-4017-B452-39B-7AF7-6419.dyn6.twc.com)
23:49:34WilliamCThis is a bit unrelated but I'm using a AGPtek Rocker and I cannot get it recognized when I plug it into a USB cable

Previous day | Next day