01:00 |
01:06:53 | | Quit mendel_munkis (Read error: Connection reset by peer) |
01:21:48 | | Join mendelmunkis [0] (~mendelmun@4.sub-174-244-144.myvzw.com) |
01:43:37 | *** | Saving seen data "./dancer.seen" |
01:46:45 | | Quit mendelmunkis (Read error: Connection reset by peer) |
01:59:03 | | Join mendelmunkis [0] (~mendelmun@ool-435680b7.dyn.optonline.net) |
02:00 |
02:01:56 | | Join mendel_munkis_ [0] (~mendelmun@ool-435680b7.dyn.optonline.net) |
02:04:48 | | Quit mendelmunkis (Ping timeout: 258 seconds) |
02:27:21 | braewoods | there we go. i found a solution i like better to the odd bytes problem... |
02:27:48 | braewoods | if the last byte is missing i'll just OR in a substitute. |
02:59:16 | | Join petur [0] (~petur@77.77.179.66) |
02:59:16 | | Quit petur (Changing host) |
02:59:16 | | Join petur [0] (~petur@rockbox/developer/petur) |
03:00 |
03:43:41 | *** | Saving seen data "./dancer.seen" |
03:52:16 | edhelas | o/ |
05:00 |
05:01:09 | braewoods | \o/ |
05:01:19 | braewoods | test run of critical code in bootloader flash appears good |
05:01:36 | braewoods | next time i'll test it in the real section |
05:03:57 | | Join vmx [0] (~vmx@ip5f5ac60f.dynamic.kabel-deutschland.de) |
05:10:23 | | Quit kugel_ (Ping timeout: 265 seconds) |
05:43:43 | *** | Saving seen data "./dancer.seen" |
05:44:17 | | Join kugel [0] (~kugel@ip5b40dab6.dynamic.kabel-deutschland.de) |
05:44:18 | | Quit kugel (Changing host) |
05:44:18 | | Join kugel [0] (~kugel@rockbox/developer/kugel) |
06:00 |
06:40:01 | | Quit Stanley00 (Remote host closed the connection) |
07:00 |
07:19:31 | | Quit vmx (Ping timeout: 258 seconds) |
07:42:15 | | Join vmx [0] (~vmx@ip5f5ac60f.dynamic.kabel-deutschland.de) |
07:43:47 | *** | Saving seen data "./dancer.seen" |
08:00 |
08:23:48 | braewoods | next up... |
08:24:15 | braewoods | finishing the rework of the last feature of iriver_flash |
08:29:27 | | Join massiveH [0] (~massiveH@ool-18e4e82f.dyn.optonline.net) |
08:51:49 | | Quit vmx (Ping timeout: 264 seconds) |
09:00 |
09:24:48 | | Quit massiveH (Quit: Leaving) |
09:43:50 | *** | Saving seen data "./dancer.seen" |
10:00 |
10:49:06 | | Join vmx [0] (~vmx@ip5f5ac60f.dynamic.kabel-deutschland.de) |
11:00 |
11:43:51 | *** | No seen item changed, no save performed. |
11:58:49 | | Quit petur (Quit: Connection reset by beer) |
13:00 |
13:28:31 | bilgus_ | speachy looking into your usb patch a bit deeper I assad a function to suspend skin updates yet the progress bar was still displayed |
13:29:31 | bilgus_ | Now it did make the popup flawless but I pondered for a moment how viewport_clear seemed to skip over the area |
13:30:21 | speachy | bilgus_: I think the progress bar is being updated via the audio playback processing callback. |
13:30:23 | bilgus_ | yes/no gui has themes enabled therefore it gets passed back the viewport from the skin and that viewport is clipped |
13:30:31 | | Quit vmx (Quit: Leaving) |
13:31:24 | bilgus_ | the updates happen in skin_display.c:skin_wait_for_action |
13:32:54 | bilgus_ | to suspend I just added while (suspend_skin_updates) sleep(1); to the top and a exposed setting function that sets the bool and posts redraw to the button queue to get it out of the refresh loop |
13:34:04 | bilgus_ | but since yes/no gui has that clipped viewport it can't fully clear the display |
13:34:26 | speachy | hmm, could just make yesno into a full-screen viewport |
13:34:55 | bilgus_ | yep but after you do the themem one to copy its settings |
13:35:27 | bilgus_ | then it stays themed but no bars etc |
13:35:49 | bilgus_ | make a copy don't want to change the passed skin_vp |
13:37:19 | bilgus_ | also while tracking the skin stuff in the wps for the onda VX I took wodz suggestion to check it out with gdb and now I can't repro |
13:37:34 | speachy | also had a request to, if the default usb operation is to charge, make holding select trigger mass storage instead. |
13:37:53 | bilgus_ | weird but I did discover it takes two runs through the refresh to fully display everything |
13:38:17 | bilgus_ | speachy agree and also a timeout to default to mass storage |
13:38:27 | bilgus_ | even if its 5 minutes |
13:39:00 | speachy | I think any timeout should be chargeonly; folks wanting mass storage would be more likely to be paying attention |
13:39:15 | bilgus_ | I only say that because itd suck to have a button failure |
13:40:24 | bilgus_ | not be able to get back in to change it although I wonder if all bootloaders now have native usb |
13:40:47 | bilgus_ | in the old days thatd have been more likely |
13:41:18 | speachy | native usb or removeable storage |
13:41:44 | speachy | (and/or easy entry into the OF) |
13:42:08 | bilgus_ | as long as there is a way around it then I say sounds good |
13:42:09 | speachy | I don't know if we really should care about blatant hardware failure like that |
13:42:26 | bilgus_ | eh Ive had builds that fail to button |
13:43:01 | bilgus_ | but as long as there is an alternate way to get usb thats fine |
13:43:33 | speachy | I'm not confident that globally holds |
13:43:51 | bilgus_ | oh speaking of buttons your yes no gui sometimes picks up the usb insert and kicks out without waiting for button press |
13:43:53 | *** | Saving seen data "./dancer.seen" |
13:44:00 | bilgus_ | it needs a queue clear |
13:44:03 | speachy | yeah, I saw that a couple of times |
13:44:18 | speachy | that's more of a bug in yesno though? |
13:44:26 | bilgus_ | yep |
13:44:37 | bilgus_ | oversight more than a bug I suppose |
13:44:52 | bilgus_ | so skin_render takes two runs to fully update a blanked display |
13:45:37 | bilgus_ | rather than having to call it and wait for it to get a second run to update I'll probably make the dirty_vp check just force everything |
13:50:42 | bilgus_ | I'm sure its set up this way to cut down on flicker |
13:51:27 | bilgus_ | so maybe better bet is to just make the second refresh hapen with wait_for_action() |
13:51:58 | bilgus_ | (it already does if the device has RTC which is why its apparent in the sim but not on device |
13:52:05 | bilgus_ | ) |
13:58:28 | | Join lebellium [0] (~lebellium@89-92-69-66.hfc.dyn.abo.bbox.fr) |
14:00 |
14:11:22 | speachy | how would I clear the queue? |
14:12:07 | speachy | about to push an updated version of the patch that adds the force-msp-if-charge-default thing. |
14:13:30 | bilgus_ | should have an explicit button clear queue |
14:14:12 | bilgus_ | button_clear_queue() |
14:14:17 | bilgus_ | action.c |
14:15:01 | bilgus_ | co sorry thats not where its defined |
14:15:04 | bilgus_ | no* |
14:15:47 | speachy | there's an 'action_wait_for_release()' in there already |
14:17:40 | bilgus_ | IIRC that only ignores one press there are potentially several things in the queue |
14:18:25 | bilgus_ | so thatd stop me holding a button from being picked up.. |
14:19:01 | bilgus_ | duh button.c |
14:19:06 | bilgus_ | but its just queue_clear(&button_queue); |
14:21:23 | | Quit kugel (Ping timeout: 265 seconds) |
14:21:32 | speachy | ok, new version of g#2568 up |
14:21:38 | fs-bluebot | Gerrit review #2568 at http://gerrit.rockbox.org/r/2568 : usb: prompt user about what to do upon usb insertion (v5 WIP) by Solomon Peachy |
14:22:11 | speachy | and the one-line g#2957 |
14:22:13 | fs-bluebot | Gerrit review #2957 at http://gerrit.rockbox.org/r/2957 : YesNo: Clear the button queue so a latent keypress doesn't skip the prompt by Solomon Peachy |
14:24:21 | | Quit koniu (Remote host closed the connection) |
14:24:44 | | Join koniu [0] (~koniu@gateway/tor-sasl/koniu) |
14:27:08 | bilgus_ | as far as making it full screened I wonder what the implications are elsewhere |
14:27:25 | bilgus_ | plugins would already be full screen |
14:27:58 | bilgus_ | ao maybe some of the menus I think there are a few places that prompt |
14:28:22 | bilgus_ | though there wouldn't be a skin vp in effect |
14:28:47 | speachy | there arnen't many users |
14:29:30 | bilgus_ | touchscreens do the same thing we are talking about |
14:31:57 | bilgus_ | maybe we can make the rect part always show just only fill them if we have TS |
14:33:12 | bilgus_ | or we could just leave it and put a rect around it |
14:33:19 | bilgus_ | then its a pop up |
14:42:25 | speachy | huh. I just trashed something.. popup always returned after a second, then when I tried to press a key the next time, it went away except for the message line, still scrolling back and forth over one line of the menu |
14:42:27 | speachy | (on the x3) |
14:42:57 | speachy | and when I tried to hit another key, I got the tlb refill exception (aka segfault) |
14:43:12 | speachy | so something's still not quite kosher in viewport-land |
14:47:59 | bilgus_ | was this with it as current patch or when you tried to change the VP? |
15:00 |
15:10:00 | speachy | current patch as pushed right now |
15:10:28 | speachy | (ie using the vp that yesno creates) |
15:13:59 | bilgus_ | it gets it from sb_skin_get_info_vp |
15:14:19 | bilgus_ | becuse of the sikin_theme_enable |
15:15:25 | bilgus_ | both in viewport.c |
15:20:53 | bilgus_ | I imagine its still an issue of 'out of band' access ill push my suspend stuff |
15:43:56 | *** | Saving seen data "./dancer.seen" |
15:51:11 | | Join kugel [0] (~kugel@ip5b40dab6.dynamic.kabel-deutschland.de) |
15:51:11 | | Quit kugel (Changing host) |
15:51:11 | | Join kugel [0] (~kugel@rockbox/developer/kugel) |
15:57:32 | bilgus_ | does 2958 help? |
15:57:38 | bilgus_ | g#2958 |
15:57:40 | fs-bluebot | Gerrit review #2958 at http://gerrit.rockbox.org/r/2958 : skin_engine add skin_suspend by William Wilgus |
15:58:05 | speachy | with the wps wonkiness you mean? |
15:58:07 | bilgus_ | I still can't get it to reliably pop and stay something is causing it to return |
15:58:25 | bilgus_ | yes should make it stop updating |
15:58:44 | bilgus_ | it works when I can actually get it to stay up on usb plug |
15:59:01 | bilgus_ | but even clearing the queue isn't helping |
15:59:25 | bilgus_ | I'm thinking maybe a better bet would be to give the usb stidd a hook in the wps event loop |
15:59:31 | bilgus_ | stuff* |
16:00 |
16:00:03 | speachy | yeah, I think so. |
16:00:09 | bilgus_ | even if we make it a function pointer |
16:00:51 | bilgus_ | that way we can pass that around rather than reimplementing the code |
16:01:15 | bilgus_ | a run my func hook |
16:02:09 | bilgus_ | there are actually a few of those I'll have a look tonight about consolidating that into a useful mechanism.. |
16:02:42 | speachy | on the x3 that doesn't seem to work; the WPS is partially redrawn over the popup and it goes away in a few seconds |
16:03:11 | bilgus_ | thats just after you get rid of the pop right? |
16:03:47 | bilgus_ | ^ what I was talking about it taking two refreshes |
16:04:14 | speachy | no, it pops up, gets trashed, and goes away, all within a second or two |
16:04:32 | speachy | no touching buttons |
16:04:36 | bilgus_ | oh I got it to work on about the 3rd plug |
16:05:35 | speachy | just failed 10x in a row |
16:05:45 | bilgus_ | the prompt is returning early otherwise update would still be suspended |
16:06:20 | bilgus_ | add a sleep at the end of the prompt function and see if it exits early? |
16:06:38 | speachy | it gets trashed nearly immediately after it pops up, and goes away in about another second |
16:08:31 | bilgus_ | is it still active when that happens are you able to still hit select to usb connect? |
16:09:19 | speachy | doesn't yes |
16:09:21 | speachy | yes |
16:09:59 | bilgus_ | well putting it in the proper event loop should just melt this all away |
16:10:06 | speachy | yeah. |
16:14:52 | bilgus_ | ACTION_USB_PLUG_PROMPT? |
16:15:14 | bilgus_ | then we can just plut that in all the loops applicable |
16:24:35 | bilgus_ | ugh but that changes the order of execution |
16:24:54 | bilgus_ | you have to then wait for an ack or something in the usb thread |
16:25:45 | speachy | yeah, I quickly figured out it was more complex than I had time to figure out. |
16:26:29 | bilgus_ | or it could just auto to charging only and maybe we can reconfigure to mass storage later? |
16:27:07 | bilgus_ | or we just dump it to main menu |
16:27:36 | bilgus_ | still needs a hook but it gets rid of all this maneuvering |
16:28:13 | speachy | consider the (very) common car use case, where rb gets turned on because its usb power gets turned on. |
16:29:22 | bilgus_ | not following the exact issue there? just the prompt would be annoying |
16:29:47 | bilgus_ | but you know when that is active so not too hard to work around |
16:29:48 | speachy | yeah, I realized that was nonsense after I'd typed it |
16:30:29 | speachy | I just don't want the music to stop playing when it's configured to ask. Ideally returning to the WPS, but back to the main menu is probably okay. |
16:30:50 | bilgus_ | we can exit the wps while music is still playing |
16:31:10 | bilgus_ | I'll play with it a bit with a new branch |
16:31:25 | bilgus_ | reimplement some of that and see how it shakes out |
16:31:42 | speachy | ACTION_WPS_STOP stops music. I think only ACTION_WPS_BROWSE does what I want |
16:32:38 | speachy | or add ACTION_USB_PLUG and have the rootmenu do the right thing, including returning to the WPS. |
16:41:31 | bilgus_ | sounds like the right way, I don't remember if the FMS uses the same framework or it needs to do the same] |
17:00 |
17:04:43 | | Quit lebellium (Quit: Leaving) |
17:05:41 | | Join MrZeus [0] (~MrZeus@2a02:c7f:70d0:6a00:e5cf:6949:8ae2:903d) |
17:43:59 | *** | Saving seen data "./dancer.seen" |
18:00 |
18:17:21 | | Quit MrZeus (Read error: Connection reset by peer) |
18:18:47 | | Join MrZeus [0] (~MrZeus@90.221.154.147) |
19:00 |
19:36:19 | | Quit bluebrother (Disconnected by services) |
19:36:24 | | Join bluebrother^ [0] (~dom@rockbox/developer/bluebrother) |
19:38:00 | | Join fs-bluebot_ [0] (~fs-bluebo@55d4b6fb.access.ecotel.net) |
19:40:23 | | Quit fs-bluebot (Ping timeout: 265 seconds) |
19:44:01 | *** | Saving seen data "./dancer.seen" |
20:00 |
20:25:59 | | Join massiveH [0] (~massiveH@ool-18e4e82f.dyn.optonline.net) |
20:32:37 | | Quit MrZeus (Ping timeout: 246 seconds) |
20:40:37 | | Join Huntereb [0] (~Huntereb@174.226.15.9) |
20:41:16 | | Quit bilgus_ (Remote host closed the connection) |
20:43:10 | | Join bilgus_ [0] (~bilgus@65.186.35.190) |
20:50:25 | | Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) |
20:51:32 | | Join john1 [0] (~john@2a0a:b640:1:5b::a08d) |
20:55:51 | | Quit john1 (Client Quit) |
21:00 |
21:05:12 | | Join Stanley|00 [0] (~stanley00@unaffiliated/stanley00) |
21:06:45 | | Quit Stanley00 (Ping timeout: 240 seconds) |
21:33:12 | | Join bleb_ [0] (~cm@unaffiliated/bleb) |
21:35:14 | | Quit bleb (Ping timeout: 256 seconds) |
21:35:20 | | Nick bleb_ is now known as bleb (~cm@unaffiliated/bleb) |
21:44:02 | *** | Saving seen data "./dancer.seen" |
22:00 |
22:07:11 | | Quit Moarc (Quit: i znowu NADMUCHAĆ BALONA) |
22:09:23 | | Join Moarc [0] (~chujko@a105.net128.okay.pl) |
22:11:42 | | Quit Stanley|00 (Read error: Connection reset by peer) |
22:12:20 | | Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) |
22:24:20 | | Quit Stanley00 (Remote host closed the connection) |
22:31:57 | | Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) |
22:51:19 | | Quit Huntereb (Read error: Connection reset by peer) |
23:00 |
23:09:26 | | Quit TheSeven (Ping timeout: 244 seconds) |
23:10:18 | | Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) |
23:18:03 | | Join Stanley|00 [0] (~stanley00@unaffiliated/stanley00) |
23:21:14 | | Quit Stanley00 (Ping timeout: 260 seconds) |
23:44:06 | *** | Saving seen data "./dancer.seen" |