00:08:07 | | Join ac_laptop [0] (~ac_laptop@186.2.247.129) |
00:36:45 | *** | Saving seen data "./dancer.seen" |
01:00 |
01:13:29 | | Join __Bilgus [0] (41ba23be@65.186.35.190) |
01:16:36 | __Bilgus | speachy ( logs) Xduoo X3 battery bench 12 hours https://pastebin.com/L2Yb1A6V |
01:44:55 | | Quit ac_laptop (Ping timeout: 240 seconds) |
02:00 |
02:36:46 | *** | Saving seen data "./dancer.seen" |
02:40:57 | | Join advcomp2019_ [0] (~advcomp20@65-131-168-14.sxct.qwest.net) |
02:40:58 | | Quit advcomp2019_ (Changing host) |
02:40:58 | | Join advcomp2019_ [0] (~advcomp20@unaffiliated/advcomp2019) |
02:43:55 | | Quit advcomp2019 (Ping timeout: 240 seconds) |
02:57:31 | | Join advcomp2019__ [0] (~advcomp20@65-131-168-14.sxct.qwest.net) |
02:57:31 | | Quit advcomp2019__ (Changing host) |
02:57:31 | | Join advcomp2019__ [0] (~advcomp20@unaffiliated/advcomp2019) |
03:00 |
03:00:25 | | Quit advcomp2019_ (Ping timeout: 240 seconds) |
03:03:54 | | Join lebellium [0] (~lebellium@89-92-253-148.hfc.dyn.abo.bbox.fr) |
03:39:32 | | Quit __Bilgus (Remote host closed the connection) |
04:00 |
04:36:50 | *** | Saving seen data "./dancer.seen" |
05:00 |
05:07:08 | | Join johnb2 [0] (~johnb2@p5b3afd15.dip0.t-ipconnect.de) |
06:00 |
06:36:53 | *** | No seen item changed, no save performed. |
06:37:36 | | Join sakax [0] (~r0b0t@unaffiliated/r0b0t) |
06:54:13 | | Quit lebellium (Quit: Leaving) |
07:00 |
07:06:23 | | Quit Oksana (Read error: Connection reset by peer) |
07:22:52 | | Join ac_laptop [0] (~ac_laptop@186.2.247.129) |
07:27:16 | | Quit johnb2 (Ping timeout: 265 seconds) |
07:53:24 | | Join akaWolf [0] (~akaWolf@akawolf.org) |
08:00 |
08:36:55 | fs-bluebot_ | Build Server message: New build round started. Revision f791df1, 280 builds, 9 clients. |
08:36:56 | *** | Saving seen data "./dancer.seen" |
08:40:06 | speachy | __Bilgus, a recalibrated curve and runtime current estimates are now committed. |
08:40:59 | | Quit mendelmunkis (Remote host closed the connection) |
08:41:01 | | Join mendel_munkis_ [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
08:50:00 | | Join johnb2 [0] (~johnb2@p5b3afd15.dip0.t-ipconnect.de) |
08:50:51 | fs-bluebot_ | Build Server message: Build round completed after 837 seconds. |
08:50:54 | fs-bluebot_ | Build Server message: Revision f791df1 result: All green |
08:52:54 | | Quit tchan (Read error: Connection reset by peer) |
08:52:58 | | Join tchan1 [0] (~tchan@c-98-220-238-152.hsd1.il.comcast.net) |
08:53:08 | | Quit tchan1 (Client Quit) |
08:53:27 | | Join tchan [0] (~tchan@lunar-linux/developer/tchan) |
08:56:44 | speachy | that 12h runtime represents 50% better than the manufacturer's claims. |
08:58:33 | johnb2 | There exist 2 different batteries: one with 1500 mAh (model has a button ESC, one with 2000 mAh). |
09:00 |
09:02:15 | speachy | johnb2: for the x3 you mean? |
09:02:28 | johnb2 | yes |
09:02:53 | speachy | probably isn't any way to tell them apart at runtime though.. |
09:03:12 | johnb2 | maybe the website still refers to the first version (1500) or RB is doing better. |
09:03:29 | johnb2 | No, probably not. |
09:04:05 | johnb2 | AFAIK, it is just different labeling and different battery for the two models. |
09:04:06 | speachy | I don't think the OF utilized dynamic clocking, if the other ingenic/linux-based players are any indication. |
09:04:57 | johnb2 | I used to have an X3 a few years ago - and just ordered one seeing you working on it ;-) |
09:05:01 | | Quit akaWolf (Ping timeout: 264 seconds) |
09:05:53 | johnb2 | I found some better photos of the device taken apart in a German forum and asked the guys whether I can upload them to the wiki. |
09:06:36 | johnb2 | On head-fi some folks replace the dark screen with some transparent plastic. |
09:07:09 | johnb2 | These photos show the screen from inside: |
09:07:26 | johnb2 | http://www.hifi-forum.de/viewthread-125-9819-2.html#91 |
09:08:50 | johnb2 | In this thread they have a link to a replacement battery on Aliexpress, which are hard to find. |
09:08:53 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
09:09:09 | johnb2 | Is it ok to add a link to it on our Wiki (X3 page)? |
09:10:10 | | Join __bILGUS [0] (41ba23be@65.186.35.190) |
09:10:27 | __bILGUS | JOHNB you never cease to amaze me lol |
09:15:02 | johnb2 | 1500 is the older version, BTW. |
09:18:14 | speachy | johnb2: I ordered five of those batteries a couple of months ago. one's in my X3 now. they're not an exact replacement though. |
09:18:28 | speachy | and yeah, go ahead and add the link. |
09:18:53 | speachy | I assume the second internal photo is the smaller-capacity battery? |
09:22:16 | johnb2 | That tiny Picture from post 93? He wrote, that it was glued too heavily, so he didn't want to rip it off to check capacity. |
09:23:11 | speachy | the aliexpress batteries have a regulator IC and are slightly shorter on the long dimension than the original. |
09:23:54 | speachy | also slightly thicker. If I tighten down the case screws all the way a couple of the buttons don't operate properly. |
09:24:24 | johnb2 | I read some threads where they said the player/battery got very hot during charging. |
09:24:45 | johnb2 | Maybe that's without the protection circuitry. |
09:26:20 | speachy | yes. two reasons for that −− the first is that the CPU was running flat-out, even when idle. the second is due to the charging/battery circuitry. |
09:26:40 | speachy | the CPU is clocked _far_ lower now, and it's probably feasible to drop it further. |
09:28:50 | | Quit kugel (Ping timeout: 256 seconds) |
09:30:12 | | Join kugel [0] (~kugel@ip5b40ce59.dynamic.kabel-deutschland.de) |
09:30:12 | | Quit kugel (Changing host) |
09:30:12 | | Join kugel [0] (~kugel@rockbox/developer/kugel) |
09:35:02 | speachy | can't do anything about the fact that the USB power supply circuitry seems to always draw over a watt. |
09:35:15 | speachy | (charging is purely HW controlled) |
09:35:23 | __bILGUS | I dig that leather case idea |
09:36:20 | __bILGUS | we can turn the charging on and off we could do d duty cycle of 3 on 2 off\ |
09:36:29 | __bILGUS | If |
09:36:50 | __bILGUS | give it a cool down period |
09:37:09 | speachy | __bILGUS we are supplied a GPIO that tells us if we're charging. that's it. |
09:37:34 | __bILGUS | oh well that expected I suppose but unfortunate |
09:39:35 | __bILGUS | I was writing asm in god bolt lastnight no clue where the code for greydata came from in C but for one it doesn't go at 8bytes a pop it goes by a single byte and I think some of the logic is off on the shifts |
09:40:27 | __bILGUS | I'm secent at arm asm so i'm back porting the clip+ routine to c |
09:40:58 | __bILGUS | decent, (not typing though apparently) |
09:41:22 | speachy | fixed the typo on the charger IC. |
09:41:36 | speachy | MCP73_8_63. :) |
09:43:04 | speachy | has no external comms capability. I'd be willing to bet that there's no temperature sensor hooked up to it. |
09:44:06 | __bILGUS | that is a bit scary guess this gets a metal box to charge in along with samsung devices |
09:44:45 | __bILGUS | minus the back it kinda in a metal box |
09:47:09 | speachy | wonder if there's a drop-in replacement for that SSD1306 screen that doesn't suck so much. |
09:48:44 | speachy | so.. I guess the original battery curve as committed is the 1500mAh unit. that explains the patch in Poretsky's tree to hack in two battery types |
09:50:19 | __bILGUS | how did he do it as far as selection goes? |
09:50:42 | __bILGUS | how did he do it as far as selection goes?i think a menu with settable mah values would suffice |
09:50:52 | speachy | the discharge curves are pretty different |
09:51:03 | speachy | there's already an option in the UI to select battery capacity |
09:51:27 | __bILGUS | how did he do it as far as selection goes?i think a menu with settable mah values would sufficei thought so after I said that |
09:51:37 | speachy | he abused the "battery type" configuration that was intended to select between alkaline and NiMH cells |
09:52:08 | __bILGUS | oh that is a decent idea |
09:53:00 | speachy | https://github.com/poretsky/rockbox/commit/4ee2b53a449fa740ef38056b9197ad7d8e77c71a |
09:53:04 | __bILGUS | you could also just infer |
09:57:00 | | Quit sakax (Read error: Connection reset by peer) |
09:57:13 | johnb2 | speachy https://cdn.head-fi.org/a/8657630.jpg shows how the tinted screen eats up the brightness of the display. |
09:57:22 | | Join sakax [0] (~r0b0t@unaffiliated/r0b0t) |
09:57:46 | __bILGUS | no I guess you couldn't was gonna say if runtime is > 6 hrs switch it but that would be annoying to have to run the first build for >6 hrs to get it to calibrate |
09:58:46 | speachy | johnb2: yeah, I should do that to mine. but I was thinking a higher-res screen in the same physical case/board footprint. |
09:58:52 | __bILGUS | johnb that is significant I wonder if I could get glass waterjet cut like that |
09:59:18 | __bILGUS | speachy that screen reminds me of the Clip+ its not that bad |
09:59:44 | speachy | it's the same resolution as the clip+ but even without the tinted window it's a lot dimmer. |
10:00 |
10:00:19 | __bILGUS | we can probably up the drive strength |
10:01:43 | __bILGUS | I think for the glass if I could get a rectangle blank of the right size I coul probably radius the corners with a diamond wheel |
10:02:33 | speachy | __bILGUS: we're already maxing out the brightness. I think anything else would require hardare mods. |
10:03:30 | __bILGUS | I'd have to look at the lcd code a bit closer but we should be able to set olded drive strength independent of brightness |
10:04:22 | __bILGUS | or irrespectivelying |
10:04:56 | speachy | I think changing that will require a hardware mod. section 8.8 of the SSD1306 datasheet |
10:05:15 | __bILGUS | oh and it has a 'dim mode setting' on the lcd controller wonder what that does |
10:07:09 | speachy | I don't see any reference to "dim mode", what version of the datasheet are you referencing? |
10:07:19 | johnb2 | https://www.head-fi.org/threads/rockbox-xduoo-x3.803844/page-144 : they use a Nintendo replacement screen as replacement for the "window" |
10:07:27 | __bILGUS | well poop these are very rigid hardware as far configurability goes |
10:08:29 | __bILGUS | johnb the plastic makes it feel cheap |
10:09:18 | __bILGUS | piece of thick soda glass with some polish would raise it a bit out of case and feel very nice under finger |
10:09:20 | speachy | huh, they cut the DS screen cover down. |
10:09:28 | johnb2 | That is true :-) but probably rather easy to implement. |
10:09:58 | __bILGUS | ill be doing it before I start using this in my truck |
10:10:27 | speachy | __bILGUS: word of warning −− this thing gets _hot_ when left in the sun. |
10:10:31 | __bILGUS | speachy https://cdn-shop.adafruit.com/datasheets/SSD1305.pdf |
10:10:58 | __bILGUS | I'm in the habit of bringing it in in the summer |
10:11:05 | speachy | __bILGUS: that's the 1305, not the 1306.. |
10:11:37 | __bILGUS | I found it by looking for the commands I didn't see anything listing the LCD controller |
10:12:00 | speachy | https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf |
10:12:10 | speachy | no dim mode on the 1306 |
10:13:34 | __bILGUS | how did you decide it was a 1306? |
10:14:03 | speachy | 1306 is 128x64 resolution. 1305 is 132x64 |
10:15:42 | __bILGUS | crowd goes wild, you powers of dadduction have exceded my own |
10:15:58 | __bILGUS | lol |
10:16:07 | speachy | no idea about the actual OLED display though. |
10:16:28 | __bILGUS | and they probably dont either |
10:17:18 | __bILGUS | well this should make my lcd exploration a bit simpler |
10:18:31 | __bILGUS | damn I was excited when I thought it had that split screen like the clip+ |
10:19:06 | speachy | well, you could swap out the display with one of those if you felt so inclined. :) |
10:20:03 | __bILGUS | nah thats just too much trouble |
10:21:03 | __bILGUS | wonder if this one has a dma too |
10:21:07 | speachy | johnb2: were there actual links to the screens they used? I'm having a hard time finding something that's not a "stick-on" |
10:22:31 | johnb2 | yes, but don't recall them. They said, just search for Nintento DS replacement screen on *bay |
10:22:46 | johnb2 | which I did. They were around 8 bucks. |
10:22:55 | speachy | __bILGUS: I don't think we can take advantage of the 4760's LCD controller. |
10:23:29 | johnb2 | https://www.ebay.com/itm/ZedLabz-replacement-screen-lens-plastic-cover-for-Nintendo-DS-Lite-NDSL-Black/372145611157?hash=item56a59b6195:g:asUAAOSwZNhfD6XP |
10:24:09 | johnb2 | that should yield two screens |
10:24:17 | speachy | __bILGUS: and we have to drive.. 12 pins? |
10:26:08 | speachy | hmm. the bitdelay() function isn't sane given the CPU reclocking. |
10:27:17 | __bILGUS | that area I don't believe to be sane in multiple ways |
10:27:42 | __bILGUS | I'm still playing with it atm |
10:29:20 | __bILGUS | i think the display is in parallel mode |
10:29:31 | speachy | yes, it's parallel in the 8080 mode, I believe. |
10:29:41 | speachy | that bitdelay needs to be >=40ns |
10:29:42 | __bILGUS | concur |
10:29:59 | speachy | (it's really the "data setup time") |
10:30:11 | __bILGUS | that probably explains some of the grey lib wonkyness good catch |
10:30:41 | speachy | could probably use one of the many HW timer peripherals to do this, assuming the pin can be remapped. |
10:35:49 | speachy | huh, this thing has a PS/2 keyboard controller |
10:37:00 | *** | Saving seen data "./dancer.seen" |
10:38:15 | __bILGUS | kitchen sink? |
10:45:20 | speachy | okay, we can't rely on the LCD controller or any HW peripherals to accelerate this |
10:46:44 | speachy | the I/Os used for the display are only muxed to the display controller and GPIO. |
10:50:05 | speachy | I'm using the OS Timer to implement udelay, we can piggy back on that (or do something similar with another timer) for the lcd delays. |
10:50:12 | speachy | s/lcd/oled/ |
10:54:18 | __bILGUS | that is probably sufficient I think thats how I did it for the Clip+ rewrite or maybe that was the SD |
10:58:30 | speachy | ugh, my udelay is actually mdelay. oops. |
11:00 |
11:02:52 | speachy | if I switch it to using PCLK rather than EXCLK, that'll give us a 96MHz base. |
11:03:16 | speachy | with a prescaler of 4, that'll give us 24 clocks per us, which is coincidentally 41ns. |
11:04:18 | speachy | make that 42ns. so with that we'd have a worst-case 84ns setup time. |
11:05:19 | speachy | the next lowest prescaler is 1.. 10.41ns per tick, worst-case setup time of 52ns |
11:05:53 | speachy | want me to make that change? |
11:07:13 | __bILGUS | sure I pull in the new stuff before I finish the grey routine |
11:07:21 | __bILGUS | I'll* |
11:07:55 | __bILGUS | I should probably do that on master and try it too |
11:18:02 | | Quit johnb2 (Quit: Nettalk6 - www.ntalk.de) |
11:19:29 | speachy | okay, it's written. appears to work. |
11:48:16 | | Quit prof_wolfff (Ping timeout: 265 seconds) |
11:52:25 | | Quit fs-bluebot_ (Ping timeout: 264 seconds) |
11:53:01 | | Quit bluebrother (Ping timeout: 264 seconds) |
11:54:24 | | Join bluebrother [0] (~dom@rockbox/developer/bluebrother) |
11:56:20 | | Join fs-bluebot [0] (~fs-bluebo@55d4360a.access.ecotel.net) |
11:59:04 | fs-bluebot | Build Server message: New build round started. Revision f4bf27c, 280 builds, 9 clients. |
11:59:19 | speachy | ...the new udelay() function was completely _broken_. |
11:59:22 | | Quit bluebrother (Disconnected by services) |
11:59:26 | speachy | embarrasingly so |
11:59:27 | | Join bluebrother^ [0] (~dom@rockbox/developer/bluebrother) |
12:00 |
12:01:14 | speachy | __bILGUS: g#2697 |
12:01:16 | fs-bluebot | Gerrit review #2697 at http://gerrit.rockbox.org/r/2697 : xduoox3: Fix delay funciton in LCD code to be cpufreq-agnostic (WIP) by Solomon Peachy |
12:04:45 | | Quit __bILGUS (Remote host closed the connection) |
12:07:11 | speachy | It's running on my player now. |
12:08:58 | | Join johnb2 [0] (~johnb2@p5b3afd15.dip0.t-ipconnect.de) |
12:09:14 | | Join mendelmunkis [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
12:10:58 | | Quit mendel_munkis_ (Ping timeout: 246 seconds) |
12:12:55 | fs-bluebot | Build Server message: Build round completed after 832 seconds. |
12:12:57 | fs-bluebot | Build Server message: Revision f4bf27c result: All green |
12:36:08 | | Join lebellium [0] (~lebellium@aaubervilliers-653-1-153-110.w86-218.abo.wanadoo.fr) |
12:37:01 | *** | Saving seen data "./dancer.seen" |
12:54:44 | | Join MrZeus [0] (~MrZeus@05467834.skybroadband.com) |
13:00 |
13:03:10 | | Quit johnb2 (Quit: Nettalk6 - www.ntalk.de) |
13:31:30 | | Quit beencubed (Quit: Leaving) |
13:37:06 | | Join beencubed [0] (~beencubed@209.131.238.248) |
14:00 |
14:18:27 | fs-bluebot | Build Server message: New build round started. Revision a52eb1d, 280 builds, 9 clients. |
14:30:25 | fs-bluebot | Build Server message: Build round completed after 717 seconds. |
14:30:26 | fs-bluebot | Build Server message: Revision a52eb1d result: All green |
14:37:02 | *** | Saving seen data "./dancer.seen" |
14:37:32 | | Join prof_wolfff [0] (~prof_wolf@240.red-88-19-58.staticip.rima-tde.net) |
15:00 |
15:11:50 | | Quit ac_laptop (Ping timeout: 260 seconds) |
15:28:10 | | Nick mendelmunkis is now known as mendel_munkis (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
16:00 |
16:37:06 | *** | Saving seen data "./dancer.seen" |
17:00 |
17:01:31 | | Join ac_laptop [0] (~ac_laptop@186.2.247.129) |
17:06:44 | | Join mendelmunkis [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
17:08:25 | | Quit mendel_munkis (Ping timeout: 240 seconds) |
18:00 |
18:17:06 | | Quit pamaury (Ping timeout: 260 seconds) |
18:31:15 | | Join akaWolf [0] (~akaWolf@akawolf.org) |
18:37:09 | *** | Saving seen data "./dancer.seen" |
18:53:24 | | Join Oksana [0] (~Wikiwide@Maemo/community/ex-council/Wikiwide) |
19:00 |
19:42:05 | | Quit MrZeus (Ping timeout: 240 seconds) |
19:56:01 | | Join bluebrother [0] (~dom@rockbox/developer/bluebrother) |
19:56:23 | | Join fs-bluebot_ [0] (~fs-bluebo@55d43aeb.access.ecotel.net) |
19:58:51 | | Quit fs-bluebot (Ping timeout: 265 seconds) |
19:59:28 | | Quit bluebrother^ (Ping timeout: 256 seconds) |
20:00 |
20:02:25 | fs-bluebot_ | Build Server message: New build round started. Revision 8990c90, 280 builds, 9 clients. |
20:16:32 | fs-bluebot_ | Build Server message: Build round completed after 848 seconds. |
20:16:34 | fs-bluebot_ | Build Server message: Revision 8990c90 result: All green |
20:35:25 | | Quit mendelmunkis (Ping timeout: 240 seconds) |
20:36:20 | | Join mendelmunkis [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
20:37:10 | *** | Saving seen data "./dancer.seen" |
20:38:30 | | Quit lebellium (Quit: Leaving) |
20:42:26 | | Quit ac_laptop (Ping timeout: 258 seconds) |
20:52:26 | | Quit sakax (Quit: Leaving) |
21:00 |
21:28:25 | | Quit akaWolf (Ping timeout: 240 seconds) |
22:00 |
22:02:56 | | Quit mendelmunkis (Ping timeout: 258 seconds) |
22:09:50 | | Quit beencubed (Ping timeout: 258 seconds) |
22:22:12 | | Join beencubed [0] (~beencubed@209.131.238.248) |
22:26:33 | __builtin | speachy: out of curiosity, how are you generating those screenshots? |
22:26:44 | __builtin | manually or fancier? |
22:36:23 | | Join mendelmunkis [0] (~mendelmun@ool-ae2cb138.dyn.optonline.net) |
22:37:13 | *** | Saving seen data "./dancer.seen" |
22:38:20 | speachy | via the uisim screenshot hotkey |
22:38:45 | speachy | if I wanted to be clever I could probably take the clipplus screenshots and convert them to all the same solor. |
22:39:05 | speachy | If I wasn't going through the manual to fill in keymaps too it would be a lot faster.. |
23:00 |
23:20:55 | | Quit TheSeven (Ping timeout: 240 seconds) |
23:21:16 | | Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) |
23:32:08 | | Nick mendelmunkis is now known as mendel_munkis (~mendelmun@ool-ae2cb138.dyn.optonline.net) |