00:01:27 | | Quit TheSeven (Ping timeout: 260 seconds) |
00:01:53 | | Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) |
00:41:08 | | Quit t0mato (Quit: Ping timeout (120 seconds)) |
00:44:58 | *** | Saving seen data "./dancer.seen" |
00:50:52 | | Join t0mato [0] (~t0mato@193.32.127.155) |
01:00 |
01:06:03 | | Quit livvy (Ping timeout: 240 seconds) |
01:47:21 | | Quit ac_laptop (Ping timeout: 265 seconds) |
02:00 |
02:45:02 | *** | Saving seen data "./dancer.seen" |
03:00 |
03:11:47 | | Join dweeber [0] (~dweeber@c-73-52-129-219.hsd1.ut.comcast.net) |
03:24:59 | | Quit Tsesarevich (Ping timeout: 244 seconds) |
03:25:27 | | Join amiconn_ [0] (jens@rockbox/developer/amiconn) |
03:25:28 | | Quit amiconn (Killed (egan.freenode.net (Nickname regained by services))) |
03:25:28 | | Nick amiconn_ is now known as amiconn (jens@rockbox/developer/amiconn) |
03:25:48 | | Join pixelma_ [0] (marianne@rockbox/staff/pixelma) |
03:25:48 | | Quit pixelma (Killed (wilhelm.freenode.net (Nickname regained by services))) |
03:25:48 | | Nick pixelma_ is now known as pixelma (marianne@rockbox/staff/pixelma) |
03:27:18 | | Quit aevin (Remote host closed the connection) |
03:28:32 | | Join Tsesarevich [0] (Tsesarevic@fluxbuntu/founder/joejaxx) |
03:29:46 | | Join aevin [0] (~brootvors@unaffiliated/aevin) |
03:34:26 | | Quit kadoban (Ping timeout: 240 seconds) |
03:36:29 | | Quit atsampson (Ping timeout: 244 seconds) |
03:39:25 | | Quit SiliconExarch (Ping timeout: 240 seconds) |
03:44:40 | | Quit koniu (Remote host closed the connection) |
03:45:05 | | Join koniu [0] (~koniu@gateway/tor-sasl/koniu) |
03:51:44 | | Join atsampson [0] (~ats@cartman.offog.org) |
03:52:58 | | Join SiliconExarch [0] (sewiredci@gateway/shell/matrix.org/x-lezsahwlxyicjqgj) |
03:53:35 | | Join kadoban [0] (kadobanmat@gateway/shell/matrix.org/x-amlihaymkcktjzfs) |
04:00 |
04:27:49 | | Join ZincAlloy [0] (~Adium@ip5f5acf9f.dynamic.kabel-deutschland.de) |
04:45:03 | *** | Saving seen data "./dancer.seen" |
04:54:56 | | Quit t0mato (Quit: Ping timeout (120 seconds)) |
05:00 |
05:05:05 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
05:10:54 | | Join t0mato [0] (~t0mato@193.32.127.155) |
05:13:19 | | Join johnb2 [0] (~johnb2@p5b3afebe.dip0.t-ipconnect.de) |
05:42:52 | | Quit mendelmunkis (Ping timeout: 246 seconds) |
05:47:31 | | Quit johnb2 (Quit: Nettalk6 - www.ntalk.de) |
06:00 |
06:45:07 | *** | Saving seen data "./dancer.seen" |
07:00 |
07:18:36 | bluebrother | speachy: the fontstats.py for the translate page? That code doesn't look to complicated to move to python3 to me. |
07:54:34 | | Join felangga [0] (~felangga@36.68.11.5) |
07:55:49 | felangga | Hello, I have ipod classic with 32gb CF. On linux it's always showing error like this "blk_update_request: I/O error, dev sdb, sector 161426 op 0x0:(READ) flags 0x84700 phys_seg 29 prio class 0" |
07:56:09 | felangga | but when I remove the CF and using card reader, the CF seems to be fine |
07:57:14 | felangga | When sync the song, the device always unmounted and mounted again |
08:00 |
08:05:45 | speachy | bluebrother: it's a mess of byte vs char logic. I rewrote it last night. and it runs _far_ faster now too |
08:06:55 | speachy | felangga: what rockbox version? |
08:07:17 | felangga | speachy: I'm using stable 3.15 |
08:07:33 | speachy | try with a current daily or dev build. |
08:07:49 | felangga | speachy: hmm okay, I will try the dev build |
08:07:57 | speachy | (Back up your .rockbox directory first, in case you want to revert) |
08:08:22 | felangga | FYI: when I'm using the original firmware, the sync went okay |
08:13:25 | felangga | speachy: still having the same issue https://imgur.com/a/J3sQGRq |
08:14:35 | speachy | bluebrother: I need to get the entire server-side infra python3-clean within the next couple of months. |
08:15:18 | speachy | but really, all python2 code in the tree needs to get updated or replaced... |
08:16:36 | bluebrother | you're aware of 2to3? That should help |
08:17:00 | speachy | felangga: please go into the system/debug menu on your player (with the dev build firmware) and dump out a few things.. |
08:17:55 | felangga | ok wait |
08:18:24 | speachy | 'disk info' and 'dump ata identity info' |
08:18:38 | speachy | the latter will create a file 'identity_info.bin' |
08:19:11 | speachy | oh, and hardware info too please. |
08:20:20 | speachy | bluebrother: yep. But something abut python just rubs me the wrong way. and I'm fond of perl. That probably says a lot about how my brain is wired. |
08:20:57 | bluebrother | heh, it's the other way around for me. Never got the hang about perl. Too much write-only for me :) |
08:22:15 | bluebrother | Perl's confusing. Python ... once you understood the idea behind it it becomes pretty clear and consistent. At least for me. |
08:22:18 | speachy | py2 vs py3 is generally straightforward, but string manipulation can potentially be a big headache. py3 was barfing on some of the lang files not having clean utf-8 and I was having to add all sorts of hacky things in there to even diagnose what was going wrong. |
08:22:35 | bluebrother | but then again I guess that's rather subjective anyway. |
08:24:11 | felangga | speachy: where doest the dump file go ? |
08:24:13 | speachy | bluebrother: I've found that "the python way of doing things" doesn't scale into maintainable codebases. Very hard to un-train that way of thinking from folks for whom python was their first language. |
08:25:17 | speachy | but then I mostly exist on the deeply embedded side of the software spectrum. :) |
08:25:59 | | Join MrZeus [0] (~MrZeus@05467834.skybroadband.com) |
08:25:59 | speachy | perl was written by a linguist, and perl vs python can be summed up as the old 'decriptivist' vs 'prescriptivist' approach to language |
08:27:05 | bluebrother | the problem is that people need to understand the (sometimes pretty different) ways different languages approach things. But that happens for all kind of languages. |
08:27:58 | bluebrother | like seeing c++ code that is actually c. Or sometimes even the other way around. And while an oop approach in c can make sense the problem is when it's forced in for problems where it doesn't fit. |
08:28:00 | felangga | speachy: https://gofile.io/d/kbnVIs |
08:28:02 | bluebrother | seen that quite a bit. |
08:28:18 | felangga | speachy: that;s the identity_info.bin |
08:28:35 | bluebrother | btw, I'm originating in embedded / c development :) |
08:28:40 | speachy | bluebrother: I hate C++ with a deep undying passion |
08:28:45 | bluebrother | though not that much embedded or c anymore these days |
08:29:05 | speachy | there have been something like three C++ codebases I've seen that didn't make me want to gouge my eyes out |
08:29:14 | bluebrother | imo the problem isn't c++ itself. The problem is how it's (often) used. |
08:29:16 | speachy | the rest (especially the commercial ones) ... |
08:29:47 | bluebrother | as for commercial ones I've seen my fair share of ... "interesting" C codebases too :) |
08:29:59 | | Join MrZeus_ [0] (~MrZeus@05467834.skybroadband.com) |
08:30:15 | speachy | I blame a lot of the real-world awfulness of C++ on microsoft, actually. their tooling tended to encourage stuff that wouldn't fly anywhere else. |
08:30:43 | | Quit MrZeus (Ping timeout: 260 seconds) |
08:30:55 | bluebrother | well, there are a couple of other problems. Like letting unexperienced developers to stuff that is widely used, without supervision or the like. |
08:31:17 | speachy | to do well, C++ requires a very high skill/discipline level. |
08:31:24 | bluebrother | and in my experience unexperienced developers tend to favor complicated approaches. Cool, it's complex! Let's use that! |
08:31:27 | speachy | and as much as I dislike C++, QT is _very_ nice. |
08:31:30 | bluebrother | true, true. |
08:32:02 | bluebrother | the longer you do software the more you try to stay away from complexity. At least that's true for me :) |
08:32:29 | bluebrother | but then you often have this overly complex legacy codebase you cannot easily replace, if at all. |
08:32:51 | bluebrother | so yeah, there is a problem to that. Though I don't think it's the (main) fault of the language. |
08:32:59 | speachy | amen. what's the saying? if you write code as complicated as you can, you're by definition not smart enough to debug it? |
08:33:19 | bluebrother | something like that :) |
08:33:27 | speachy | felangga: thank you. |
08:33:52 | bluebrother | I'm a huge fan of the Zen of Python |
08:34:17 | | Join MrZeus [0] (~MrZeus@2a02:c7f:70d0:6a00:19e8:ee00:fb86:7196) |
08:34:23 | bluebrother | though I'm not completely sure if I agree with that namespace statement. Seen too many unnecessary (and useless) namespaces used, especially in c++. |
08:34:25 | | Quit MrZeus_ (Ping timeout: 240 seconds) |
08:37:01 | speachy | felangga: I'm not going to be able to dig into this immediately though. the weather is nice outside and I have a lot to get done before the rain comes down in buckets again |
08:38:34 | felangga | speachy: oh okay, thank you |
08:40:12 | | Quit MrZeus (Read error: No route to host) |
08:41:42 | | Join MrZeus [0] (~MrZeus@05467834.skybroadband.com) |
08:45:08 | *** | Saving seen data "./dancer.seen" |
08:47:28 | speachy | felangga: I suspect aggressive power management isn't agreeing with the card. but I need to check what it claims to support first. can you get screenshots of the other stuff I asked for though? |
08:51:33 | felangga | speachy: okay, but right now it won't mounted again. I need to reformat using card reader again |
08:52:17 | felangga | speachy: is it possible the usb cable is broken? |
08:52:33 | felangga | speachy: I'm using iflash for the CF adapter |
09:00 |
09:11:04 | | Quit pamaury (Ping timeout: 240 seconds) |
09:22:10 | | Quit koniu (Remote host closed the connection) |
09:22:34 | | Join koniu [0] (~koniu@gateway/tor-sasl/koniu) |
09:27:31 | felangga | speachy: someone already had this issue before https://forums.rockbox.org/index.php?topic=51011.0 |
09:44:31 | | Join ac_laptop [0] (~ac_laptop@186.2.247.129) |
10:00 |
10:45:09 | *** | Saving seen data "./dancer.seen" |
10:52:52 | | Quit felangga (Quit: Konversation terminated!) |
11:00 |
11:39:35 | | Quit ZincAlloy (Quit: Leaving.) |
11:53:08 | | Quit ac_laptop (Ping timeout: 260 seconds) |
12:00 |
12:45:10 | *** | Saving seen data "./dancer.seen" |
13:00 |
13:14:42 | | Join ZincAlloy [0] (~Adium@ip5f5acf9f.dynamic.kabel-deutschland.de) |
13:22:31 | | Join ac_laptop [0] (~ac_laptop@186.2.247.129) |
13:30:32 | toruvinn | speachy, perl isnt that different from python except for readability. it's much faster though. ;-) |
13:31:09 | toruvinn | oh and python i sactually less forgiving, which is a good thing imo. |
14:00 |
14:45:13 | *** | No seen item changed, no save performed. |
14:49:25 | speachy | toruvinn: perl and I go way back. :) |
15:00 |
15:36:19 | speachy | the perl one is now live. runtime is ~3.5s vs ~30s for the python2 code, and it's doing more work too. |
15:44:13 | | Join atrt7 [0] (~atrt7@47.187.107.124) |
15:44:23 | | Part atrt7 |
16:00 |
16:00:24 | | Quit JanC (Remote host closed the connection) |
16:04:37 | | Join JanC [0] (~janc@lugwv/member/JanC) |
16:18:49 | | Join J_Darnley [0] (~J_Darnley@d51A44418.access.telenet.be) |
16:19:31 | | Quit jdarnley (Ping timeout: 258 seconds) |
16:32:14 | | Join livvy [0] (~livvy@gateway/tor-sasl/livvy) |
16:32:59 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
16:45:16 | *** | Saving seen data "./dancer.seen" |
16:57:45 | _bilgus | has anyone seen any reference to the tree scrolling buttons in the manuals? |
17:00 |
17:36:36 | | Quit St3ak (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
17:37:04 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
17:41:48 | _bilgus | so for the XDUOO X3 I'm thinking i'll emulate multiple button presses |
17:43:01 | _bilgus | it won't get me repeat and release events and it'll be limited in the pressing order but its very simple to emulate |
18:00 |
18:14:21 | | Quit St3ak (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
18:15:19 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
18:15:49 | | Quit St3ak (Client Quit) |
18:16:10 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
18:45:17 | *** | Saving seen data "./dancer.seen" |
18:47:09 | | Quit pamaury (Ping timeout: 244 seconds) |
18:58:29 | | Quit ZincAlloy (Quit: Leaving.) |
19:00 |
19:13:16 | | Quit bluebrother (Disconnected by services) |
19:13:20 | | Join fs-bluebot_ [0] (~fs-bluebo@55d470cd.access.ecotel.net) |
19:13:21 | | Join bluebrother^ [0] (~dom@rockbox/developer/bluebrother) |
19:15:54 | | Quit fs-bluebot (Ping timeout: 260 seconds) |
19:18:04 | | Quit St3ak (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
19:18:28 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
19:19:07 | | Quit St3ak (Remote host closed the connection) |
19:19:36 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
19:28:48 | | Quit St3ak (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
19:29:07 | | Join St3ak [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) |
19:51:02 | | Join mendelmunkis [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
20:00 |
20:22:46 | speachy | _bilgus: you're going to need to fix up a pile of plugin keymaps too |
20:45:20 | *** | Saving seen data "./dancer.seen" |
21:00 |
21:57:51 | | Quit koniu (Remote host closed the connection) |
21:58:18 | | Join koniu [0] (~koniu@gateway/tor-sasl/koniu) |
22:00 |
22:45:23 | *** | Saving seen data "./dancer.seen" |
22:47:52 | _bilgus | really that shouldn't bother them a bit |
22:54:10 | | Quit MrZeus (Ping timeout: 265 seconds) |
22:54:30 | _bilgus | oh speachy I was reading in the source that the adc shared a clock with something else, any ideas? |
22:54:43 | _bilgus | should say 'something else' |
22:57:17 | speachy | The SADC base clock is hanging directly off the XTAL. |
22:57:54 | speachy | IIRC the AIC and UART also share that clock. |
22:58:54 | speachy | (the I2S clock is used for the actual audio output to the codec, and it's driven off PLL1) |
22:59:17 | speachy | I think the USB peripheral also has some dependency on that too. |
23:00 |
23:04:08 | speachy | 13.2.2 of the PM |
23:06:32 | speachy | I take that back; it affects everything on the APB. 13.2.4.1 bit 31. |
23:07:39 | _bilgus | https://github.com/beaubelgrave/linuxrs97/blob/jz47xx/drivers/mfd/jz4740-adc.c#L129 |
23:08:17 | _bilgus | so you'd think that the device wouldn't even run if that clock wern't working |
23:08:48 | speachy | the -40's SADC is different from the -60 |
23:09:34 | speachy | IIRC it can operate up into the 2MHz range (instead of 200K max that the -60 does) |
23:09:36 | _bilgus | it appears this works for both |
23:10:50 | _bilgus | the device in question has been both processors and I don't see another adc source file not that there isn't |
23:11:11 | speachy | the only control we have over the ADC's source clock is whether to devide the XTAL by 2 or not. |
23:11:31 | speachy | divide. gah. late. |
23:11:31 | _bilgus | About |
23:11:31 | _bilgus | Custom Kernel for RS-97 Hardware (JZ4760) |
23:12:10 | speachy | (within the ADC itself we can clock-gate things, but that's it) |
23:12:55 | _bilgus | hmm the search continues for rolo no-adc I suppose maybe it'll fall out at some point |
23:13:14 | speachy | this afternoon I completely lost all keyboard usage. |
23:13:53 | speachy | turns out one of my repaired vol buttons got bumped just the wrong way and jammed down. |
23:14:07 | speachy | was a bit of a WTF-is-going-on moment. |
23:14:27 | _bilgus | yeah and they have the highest priority too |
23:14:31 | speachy | Also I can say that the clear display screen makes the player (finally) usable in sunlight. |
23:17:35 | _bilgus | the multiple keys thing all I can figure is there are diodes involved |
23:21:49 | _bilgus | well crap don't need to mess with the plugins for the multibutton emulation but damned if I don't have to to change all the BUTTON_POWER REFERENCES to BUTTON_PWRALT |
23:22:28 | _bilgus | I found out using button power for anything with button_repeat ends in a shut down |
23:24:54 | speachy | yep. |
23:26:18 | _bilgus | this patch should make it much better I moved the scrolling stuff to PLAY / PREV|NEXT |
23:26:47 | _bilgus | i was able to get it about 9/10 but the order of presses does matter |
23:27:02 | _bilgus | prev/next have higher priority than play |
23:31:27 | _bilgus | well so far the plugins all use BUTTON+POWER singly sure there are a few in here |
23:31:34 | _bilgus | somewhere |
23:31:54 | speachy | there are several |
23:32:06 | speachy | look in the manual :) |
23:32:34 | _bilgus | heh |
23:34:29 | speachy | I still need to finish generating plugin screenshots and filling in the missing manual keymap entries, but I do recall several POWER combos. |
23:36:15 | _bilgus | hmm FLIPIT_STEP_BY_STEP (BUTTON_HOME | BUTTON_PLAY) |
23:36:23 | _bilgus | that should work now too! |
23:36:32 | speachy | I didn't get to that one yet |
23:36:42 | _bilgus | this patch should fix it |
23:36:44 | speachy | I've had to make a few fixes to keymaps along the way.. |
23:36:58 | _bilgus | let me make sure they show properly |
23:37:52 | _bilgus | well yes and no home has to be pressed first which is slightly annoying with play being under your thumb |
23:38:18 | _bilgus | meh works well enough |
23:38:37 | speachy | I'm going to turn into a pumpkin now. |
23:38:42 | _bilgus | night |
23:38:43 | speachy | gnite |
23:39:43 | | Join Huntereb [0] (~Huntereb@174.226.20.225) |
23:55:03 | | Quit livvy (Ping timeout: 240 seconds) |