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).

Notice: Only Gecko based browsers prior to FF4 support the multipart/mixed "server push" method used by this log reader to auto-update. Since you do not appear to use such a browser, this page will simply show the current log, and not automatically update.

#rockbox log for 2021-06-07

01:17:43 Quit tchan (Ping timeout: 264 seconds)
01:26:57***Saving seen data "./dancer.seen"
01:27:03braewoodswell this is good news
01:27:15braewoodsthe bootloader for gigabeats builds and works from current master
01:27:31braewoodsi did a manual install to find out how the process works
01:28:24braewoodsas i suspected though, beastpatcher works just fine with the 1.3 FW
01:28:42braewoodsjust wanted to confirm that it's compatible
01:33:37braewoodsdual boot actually works
01:45:16 Quit ufdm (Remote host closed the connection)
01:55:08braewoodsspeachy: i think i found a port specific minor bug. the rockbox UI appears to show a battery charging icon if USB connected... one problem though...
01:55:23braewoodsthe gigabeat S cannot charge from USB; it uses a separate barrel jack for that.
02:16:08 Join tchan [0] (
03:27:00***Saving seen data "./dancer.seen"
03:29:35 Join ufdm [0] (
04:54:56 Join K4os_ [0] (
04:56:03 Join rudi_s_ [0] (~simon@user/rudi-s/x-7673890)
04:58:48 Quit rudi_s (Ping timeout: 272 seconds)
05:27:04***Saving seen data "./dancer.seen"
06:53:07 Quit K4os_ (Ping timeout: 264 seconds)
07:27:08***Saving seen data "./dancer.seen"
07:55:18 Join F3l1x_10m [0] (~Al3x_10m@user/f3l1x-10m/x-3393542)
07:57:40 Quit F3l1x_10m_ (Ping timeout: 268 seconds)
08:27:19 Nick rudi_s_ is now known as rudi_s (~simon@user/rudi-s/x-7673890)
08:38:53 Join Guest10 [0] (
08:40:56 Quit Guest10 (Client Quit)
08:44:31 Join mendel_munkis [0] (
09:12:42 Join mendel_munkis_ [0] (
09:13:49 Quit mendel_munkis (Ping timeout: 245 seconds)
09:14:20 Nick mendel_munkis_ is now known as mendel_munkis (
09:27:09***Saving seen data "./dancer.seen"
09:28:37 Quit kadoban (Quit: node-irc says goodbye)
09:28:38 Quit blbro[m] (Quit: node-irc says goodbye)
10:47:07 Quit daswf852 (Ping timeout: 264 seconds)
10:49:32 Join mendel_munkis_ [0] (
10:51:47 Quit mendel_munkis (Ping timeout: 272 seconds)
11:13:37 Join kadoban [0] (~kadoban@user/kadoban)
11:15:49 Join blbro[m] [0] (~blbrostra@2001:470:69fc:105::8f7)
11:17:27 Quit ats (Ping timeout: 265 seconds)
11:18:07 Join ats [0] (
11:27:13***Saving seen data "./dancer.seen"
11:29:36 Join daswf852 [0] (~daswf852@user/daswf852)
11:49:30 Quit daswf852 (Ping timeout: 252 seconds)
12:09:32 Join K4os_ [0] (
12:49:42 Join skipwich [0] (~skipwich@user/skipwich)
13:02:06 Quit K4os_ (Ping timeout: 252 seconds)
13:15:35 Join lebellium [0] (~lebellium@2a01:cb10:2e:2000:688d:16a5:9529:dcd2)
13:27:17***Saving seen data "./dancer.seen"
13:44:11 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
13:55:34 Quit dys (Remote host closed the connection)
14:03:21 Nick mendel_munkis_ is now known as mendel_munkis (
14:03:30 Quit blbro[m] (Ping timeout: 272 seconds)
14:03:45mendel_munkisare there any decimal points I need to consider besides "," and "."?
15:05:53desowinI have working USB mass storage in Sansa Connect bootloader but not quite in the app
15:06:12desowinwith the app however, I have trouble getting debugf/logf working
15:06:46desowinhow am I supposed to enable it? when I select advanced in ../tools/configure it doesn't quite many any difference
15:07:11desowinHW should be capable of getting USB serial alongside MSC as it has enough bulk endpoints
15:07:31desowinbut it looks like some issue with the build system that I cannot grasp
15:07:41desowinis the USB serial working on any other target with latest master?
15:13:06desowinhmm, I think I know what's going on... while I can read MSC, any write I do does not seem to make it to the disk, so I was just booting the same app
15:16:15braewoodsmendel_munkis: no, there's no others used. you can read about libc localization to know more.
15:17:59braewoodsmendel_munkis: but when it comes to number formatting i've only ever seen , and . used for separating thousands and decimal points
15:18:09braewoodsbut if you're talking about parsing...
15:18:19braewoodsyou'll have to figure out some way to distinguish it.
15:18:48braewoodsin every parsed language though, i've only ever seen . supported for number decimal points.
15:19:35braewoodskinda makes sense though. if it varies with locale you're going to run into compiler problems.
15:19:49 Join amachronic [0] (~amachroni@user/amachronic)
15:20:31braewoodsdesowin: i believe speachy told me that logf has to be enabled on a per file basis via a macro.
15:20:44speachy#define LOGF_ENABLE
15:20:57speachy*before* logf.h is included
15:21:12speachy(which usually means at the very start of the file, as it can get picked up by another header)
15:21:17braewoodsspeachy: any insights into why rockbox still uses block comments where a C99 line comment will do?
15:21:28braewoodsold code or?
15:21:58speachylots of different authors and a lack of strict code style enforcement
15:21:58braewoodsi find it easier to uncomment line comments and block comments :|
15:22:04amachronicdesowin: to get USB serial working on Linux, I had to manually bind the USB IDs to a serial driver. But that prevented the mass storage from working so idk how you'd debug the mass storage that way.
15:22:06braewoodsthan block
15:22:27braewoodsamachronic: well they can use logf memory buffer
15:22:44braewoodsbut you gotta enable that first
15:22:47speachyalso if you trigger a panic it'll show the most recent logf contents
15:23:19braewoodsmaybe the usb serial thing could be improved though
15:23:29braewoodsideally it'd show up as com port
15:23:56braewoodsor a tty serial port
15:24:11braewoodsi'll see if there's any generic thing we can emulate
15:24:27braewoodshaving it work OOB with hosts would be nice
15:27:19***Saving seen data "./dancer.seen"
15:29:32amachronicwell I managed to get the shanling q1's audio working, but I discovered something odd about the clock frequency.
15:29:42amachronicit appears they connected a 24.576 MHz oscillator to the DAC
15:29:56amachronichowever the SoC works with a 24 MHz oscillator
15:30:17amachronicand I am wondering if the two are close enough that they are just using the 24.576 Mhz oscillator to drive the SoC.
15:30:27speachywhat, a second xtal? not a clock driven by the SoC itself?
15:30:48amachronicno, I expect for cheapness they are using the 24.576 Mhz to drive the DAC and SoC.
15:30:57amachronicbut I am ignorant of these things, so maybe that can't be done?
15:31:13amachronic(ie. can you wire one oscillator to two things like that?)
15:31:24speachyusually the DAC works with the clock derived from the audio data..
15:31:55speachyit's possible to do that, but would be quite unusual without goign through a clock buffer first
15:32:00amachronicyeah I managed to make it work properly in i2s slave mode but it also works in i2s master mode, but with distorted frequencies.
15:32:25amachronicthe DAC does have some internal PLLs or something.
15:32:26speachywhat's teh DAC in that thing?
15:33:08amachroniceasy to find datasheets online but I'm unsure of their provenance, or I would've linked them on the wiki
15:35:14 Join cockroach [0] (~blattodea@user/cockroach)
15:35:44speachymost likely the same clock is driving both, or alternatively the SoC is driving a derived clock out.
15:36:57speachythat .56 difference is only 2.3%, so wouldn't be particularly noticable if the SoC is running slightly fast.
15:37:47amachronicyeah but I had some artifacts on the LCD due to a 5% clocking difference (48 mhz vs 50.4 mhz), so it appears it _can_ make a difference
15:38:04speachythere doesn't seem to be any particular requirement that the codec uses any given frequency though.
15:38:16amachronicanyhow I was just wondering if this was possible and if it is worth accounting for the difference base clock.
15:40:32speachyyeah, there's nothing special from the codec's perspective. up to the SoC to drive MCLK and set the divisor appropriately
15:41:47speachyI'd just find it quite odd if it was hard-wired to a 24.56MHz external XTAL, as that would likely limit the max frequency output of the codec
15:42:53speachybut similarly I don't think there's anything special about the X1000 with rspect to 24MHz input either, though it'll mess up the nice integer divisors typically used for (eg) USB.
15:43:32speachyhow'd you derive that 24.576 MHz value?
15:43:55amachronicthere's a way to read back the DPLL setting from the DAC
15:44:06amachronicit's related to the incoming audio clock
15:44:12amachronicand it's also related to the CLK input on the DAC
15:44:24amachronicso plugging in the numbers I got something close to 24.576 MHz...
15:45:23amachronicyeah it's called DPLL number on the datasheet.
15:57:17mendel_munkisbraewoods: I know for sure that C uses , and . I seem to recall maybe having seen ' somewhere
15:57:58 Quit kadoban (Quit: Bridge terminating on SIGTERM)
15:58:55 Join kadoban [0] (~kadoban@user/kadoban)
16:00:06braewoodsmendel_munkis: really... i've only ever seen '.' used for actual numbers.
16:00:19 Join blbro[m] [0] (~blbrostra@2001:470:69fc:105::8f7)
16:00:35braewoodsno mentions of ,
16:01:03braewoodsbut ' can be used as a separator
16:01:09speachyah, I see, the DPLL sort of locks onto the MCLK.
16:32:25 Quit cockroach (Quit: leaving)
16:54:04amachronicalright the mystery is solved, turns out I made a combination of foolish mistakes.
16:54:35amachronicsomehow I got confused and use the bit clock instead of sample rate and that gives a result of 24.576 Mhz * 10, so I missed a 0.
16:56:25amachronicit appears the actual xtal input to the DAC is 38.4 Mhz.
16:57:43amachronicit sounds right when I base the calculations on 38.4 Mhz and put the DAC into i2s master mode.
17:03:25 Quit lebellium (Quit: Leaving)
17:04:32 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
17:27:21***Saving seen data "./dancer.seen"
17:32:33rb-bluebotBuild Server message: New build round started. Revision 55c95a9cf5, 297 builds, 10 clients.
17:41:23rb-bluebotBuild Server message: Build round completed after 530 seconds.
17:41:26rb-bluebotBuild Server message: Revision 55c95a9cf5 result: All green
17:56:05 Join cockroach [0] (~blattodea@user/cockroach)
18:01:49rb-bluebotBuild Server message: New build round started. Revision 41ced369f6, 297 builds, 10 clients.
18:11:05rb-bluebotBuild Server message: Build round completed after 557 seconds.
18:11:07rb-bluebotBuild Server message: Revision 41ced369f6 result: All green
18:11:15 Quit amachronic (Quit: amachronic)
18:41:43 Quit _bilgus__ (Ping timeout: 272 seconds)
19:08:14 Join dconrad [0] (~dconrad@
19:25:47mendel_munkisI just realized that ignoring trailing zeros while accounting for length is a bad thing
19:27:22***Saving seen data "./dancer.seen"
19:36:05 Join K4os_ [0] (
20:21:32 Quit K4os_ (Ping timeout: 258 seconds)
20:51:08 Quit JanC (Remote host closed the connection)
20:51:22 Join JanC [0] (~janc@user/janc)
21:21:35 Quit j-r (Ping timeout: 252 seconds)
21:21:58 Join j-r [0] (
21:27:23***Saving seen data "./dancer.seen"
22:11:44 Quit cockroach (Quit: leaving)
22:13:43dconradso I may have got brave/stupid and opened up my Hifiwalker H2/erosq
22:14:31dconradinteresting things: the DAC is a 5102A! So it's got all the modern bells and whistles
22:18:46dconradAnd I only slightly broke the back plastic piece, but I can glue it back together I think
22:22:23dconradAnd really the PCB design seems pretty well done
22:26:21dconradprocessor is X1000 9016111602303-E
22:33:05dconradwhat else can I look at/take pics of while it's apart?
22:34:01dconrad to download the zip
22:57:54 Quit tomato (Ping timeout: 264 seconds)
23:27:25***Saving seen data "./dancer.seen"
23:34:40dconradI think I got all the markings of all ICs, though bummer the pins on the processor aren't accessible, I can't ohm anything out to it
23:38:04braewoodsdconrad: isn't that usually the case today?
23:38:31dconradwell, yeah, but some part of me hoped
23:55:56 Quit dconrad (Remote host closed the connection)

Previous day | Next day