--- Log for 01.02.121 Server: verne.freenode.net Channel: #rockbox --- Nick: logbot Version: Dancer V4.16 Started: 21 days and 13 hours ago 01.04.22 Quit livvy (Remote host closed the connection) 01.06.41 Join livvy [0] (~livvy@gateway/tor-sasl/livvy) 01.45.54 Quit hook54321 (Ping timeout: 260 seconds) 01.47.42 Join hook54321 [0] (sid149355@gateway/web/irccloud.com/x-qkximmszipdqvyqs) 01.48.26 *** Saving seen data "./dancer.seen" 01.58.56 Nick f1reflyylmao is now known as f1refly (~f1refly@2a01:c23:8c9d:1a00:e232:d9ce:feb1:edec) 02.18.50 Quit massiveH (Quit: Leaving) 02.33.03 Join petur [0] (~petur@rockbox/developer/petur) 03.29.24 Quit TorC (Ping timeout: 240 seconds) 03.30.07 Join TorC [0] (~Tor@fsf/member/TorC) 03.48.30 *** Saving seen data "./dancer.seen" 03.52.41 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 03.53.35 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 04.30.36 Quit pamaury (Ping timeout: 240 seconds) 05.00.51 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 05.30.11 # FroggestSpirit: on the m3k poweroff is not actually handled by the kernel, if you try to shut down the device it enters a deadloop instead of actually shutting down 05.48.34 *** Saving seen data "./dancer.seen" 06.13.25 Join blbro[m] [0] (blbrostrat@gateway/shell/matrix.org/x-sdsdhkbqqarvimin) 06.23.30 Quit heredoc (Quit: ZNC - http://znc.in) 06.27.39 # braewoods: didn't seem to be any of the usual suspects with respect to baud rate, but I was trying to hold probes against tiny test points and the UART cable I grabbed was one of the more ...special.. ones from my stash.. 07.32.06 Join ubervison [0] (~ubervison@2a02:aa12:b106:1b80:4978:337a:24bd:4bbc) 07.33.22 Quit ubervison (Client Quit) 07.43.51 Quit Stanley00 (Remote host closed the connection) 07.48.37 *** Saving seen data "./dancer.seen" 07.56.14 Join MrZeus [0] (~MrZeus@194.37.96.119) 07.56.36 Join St3ak` [0] (~st3ak@st3ak3000.powered.by.lunarbnc.net) 07.59.12 Quit St3ak (Ping timeout: 260 seconds) 08.03.52 Join ufdm [0] (~ufdm@c-73-164-63-214.hsd1.mn.comcast.net) 09.48.39 *** Saving seen data "./dancer.seen" 10.37.06 Join usvi [0] (~janne@81-197-111-76.elisa-laajakaista.fi) 10.37.15 # !faq 10.52.10 # my rockbox v 3.14 on sandisk sansa clip v2(?) cannot record correctly and reports internal free space as 0KB 10.53.56 # what is this on my internal storage, casiokids_fotihose, wtf 10.54.02 # 3.14 is quite old. update to 3.15 at minimum. 10.54.12 # will do 10.55.19 # <__builtin> do we want to do a 4.0/3.16 release at some point? 10.55.44 # <__builtin> I think the plan was to bump to 4.0 after gutting HWCODEC 10.57.19 # I'd like to; it's been over a year and I'd really like to stop getting bug reports about data corruptions with SSDs on iPods. ;D 10.58.07 # I remember I once filled the internal storage fully 10.58.24 # after that no operation was able to reclaim space 10.58.27 # but I will try to update 10.58.33 # even in the OF? 10.58.47 # what's OF ? 10.58.50 # original firmware? 10.59.07 # yeah 11.00.16 # lets see 11.01.20 # "not enough space for music DB, free 200MB" :D 11.01.28 # and shuts down 11.01.44 # oh that's funny. 11.01.54 # fsck/chkdsk? 11.02.11 Quit pamaury (Quit: Konversation terminated!) 11.02.37 # it is so sluggish 11.02.53 # I cannot get it to mount properly 11.03.00 # maybe Linux works better, 11.09.23 # FAT looks to be corrupted 11.09.37 # this is my take 11.15.16 # well I'll tinker a bit more, I'm not sure anymore what is happening 11.15.24 Quit jdarnley (Ping timeout: 256 seconds) 11.16.28 Join J_Darnley [0] (~J_Darnley@d51A44418.access.telenet.be) 11.32.20 # ah, it is clip zip it seems 11.35.36 Quit J_Darnley (Ping timeout: 246 seconds) 11.37.13 Join J_Darnley [0] (~J_Darnley@d51A44418.access.telenet.be) 11.41.44 Quit livvy (Remote host closed the connection) 11.44.53 # Buffer I/O error on dev sdb, logical block 16636, async page read 11.45.00 # lots of garbage like that 11.45.12 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 11.45.41 # I'd say the internal storage is corrupted and the device is toast 11.48.40 *** Saving seen data "./dancer.seen" 11.49.26 Quit Stanley00 (Ping timeout: 240 seconds) 11.50.30 # well we had a good run 11.52.46 Join livvy [0] (~livvy@gateway/tor-sasl/livvy) 12.07.29 Quit petur (Read error: Connection reset by peer) 12.13.41 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 12.40.26 Quit J_Darnley (Ping timeout: 240 seconds) 12.40.43 Join J_Darnley [0] (~J_Darnley@d51a44418.access.telenet.be) 12.56.05 # heh, I was able to resuscitate it. of course it will fail again in the future but this is progress 13.02.46 # usvi: install the multiboot stuff, that way you can put .rockbox on the sd card 13.03.39 Join FroggestSpirit [0] (18c0819f@d192-24-159-129.try.wideopenwest.com) 13.05.10 # efqw i got a working buildable kernel for M3K, its on the m3k thread/my github. im focusing more on the controls part, but if you want to take a look, i tried simplifying the build process 13.10.27 Quit RafiX (Ping timeout: 244 seconds) 13.10.56 Join vitt13 [0] (~vitt13@85.174.200.232) 13.12.53 # vitt13 i was able to get the m3k kernel working 13.16.51 Join lebellium [0] (~lebellium@89-92-69-66.hfc.dyn.abo.bbox.fr) 13.18.21 # FroggestSpirit: the main thing that we need to fix is power management basically. the m3k kernel will not power off the board properly, it's the _player GUI_ binary that makes a direct ioctl call to tell AXP192 to cut power 13.19.42 # huh, im not completely sure how to work the ioctl. the touch stuff is kind of a mess, they send different keys depending if a button is held or not 13.20.31 # unfortunately I don't actually know how to tinker with the actual code, but I did take a look at the messy touch driver 13.20.35 Join RafiX [0] (rafix@junkcc.net) 13.20.40 # what about sound? does it work? 13.21.03 # yeah, as far as i can tell, it works just as well as the official kernel 13.21.17 # if you want more details, simply load the player binary in something like ghidra, and search for ioctl calls 13.22.52 # Those ioctl calls are responsible for enabling the integrated headphone amp in the dac chip (it starts with amp disabled by default iirc), disabling it for powersaving, (possibly) volume changes, and system shutdown 13.23.04 # are they labelled? ive worked with assembly before, but havent used ghidra 13.23.22 # Just search for ioctl in the decompiled code 13.23.33 # The player binary is unstripped 13.23.38 # You get all of the symbols 13.23.43 # oh nice 13.24.02 # on the m3 pro they even had gdb on-device, lol 13.24.07 # (not on the m3k) 13.24.08 # the built kernel works with sound and volume changes, unless thats different? 13.25.51 # i have to get back to work, i should be able to look into it more this evening 13.25.59 Quit FroggestSpirit (Quit: Connection closed) 13.46.13 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 13.48.43 *** Saving seen data "./dancer.seen" 13.50.48 Quit Stanley00 (Ping timeout: 265 seconds) 13.55.25 # speachy: thanks, I will take this multiboot thing into consideration 14.32.12 Quit koniu (Remote host closed the connection) 14.32.38 Join koniu [0] (~koniu@gateway/tor-sasl/koniu) 14.43.13 Quit vitt13 (Quit: Leaving) 15.18.53 Join Ckatt [0] (~Ckat@xn--z7x.xn--6frz82g) 15.22.47 Join Marqueteur [0] (~Tor@fsf/member/TorC) 15.22.47 Quit TorC (Killed (cherryh.freenode.net (Nickname regained by services))) 15.22.47 Nick Marqueteur is now known as TorC (~Tor@fsf/member/TorC) 15.26.02 Quit Ckat (*.net *.split) 15.26.30 Nick Ckatt is now known as Ckat (~Ckat@xn--z7x.xn--6frz82g) 15.31.59 Join michall [0] (~michall@ip-109-196-247-164.static.system77.pl) 15.31.59 Part michall 15.32.15 Join michalll [0] (~michall@ip-109-196-247-164.static.system77.pl) 15.36.08 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 15.47.05 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 15.48.47 *** Saving seen data "./dancer.seen" 15.51.56 Quit Stanley00 (Ping timeout: 256 seconds) 15.54.33 Quit Acou_Bass (Ping timeout: 264 seconds) 16.00.02 Quit michalll (Remote host closed the connection) 16.07.35 Quit kugel (Ping timeout: 265 seconds) 16.12.32 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 16.17.36 Quit Acou_Bass (Ping timeout: 240 seconds) 16.22.05 # I'm afraid I need a bit of assistance in understanding everything in this multiboot thingy when I'm sober 16.44.48 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 16.51.46 Quit Acou_Bass (Ping timeout: 258 seconds) 16.59.37 Quit lebellium (Quit: Leaving) 17.01.14 Join ac_laptop [0] (~ac_laptop@186.2.247.129) 17.02.42 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 17.44.08 Quit Acou_Bass (Ping timeout: 256 seconds) 17.47.50 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 17.48.51 *** Saving seen data "./dancer.seen" 17.52.05 Quit Stanley00 (Ping timeout: 240 seconds) 18.05.47 Join Acou_Bass [0] (~Acou_Bass@cpc96070-bolt17-2-0-cust175.10-3.cable.virginm.net) 18.30.33 Quit Acou_Bass (Ping timeout: 256 seconds) 18.40.34 # <__builtin> is it just me, or is this forum page's layout really weird? https://forums.rockbox.org/index.php/topic,53727.msg247714/topicseen.html#msg247714 18.41.05 # <__builtin> I'm guessing it's due to the really long unbreakable URL in fossphile's first message 18.44.34 Join chrisb [0] (~chrisb@unaffiliated/chrisb) 18.46.15 Quit pamaury (Ping timeout: 246 seconds) 19.12.11 Join FroggestSpirit [0] (18c0819f@d192-24-159-129.try.wideopenwest.com) 19.12.43 # speachy I think I found the ioctl to power off the AXP192, should I just slap it into the poweroff command? 19.20.13 # sure 19.22.25 # how would I test it? I never noticed that rockbox wasn't powering down the player right 19.24.26 Quit MrZeus (Read error: Connection reset by peer) 19.26.52 Join MrZeus [0] (~MrZeus@2a02:c7f:a0aa:4400:a160:7263:20f9:235b) 19.40.25 Join MrZeus_ [0] (~MrZeus@194.37.96.151) 19.43.39 Quit MrZeus_ (Read error: Connection reset by peer) 19.44.41 Quit MrZeus (Ping timeout: 272 seconds) 19.46.23 Join MrZeus [0] (~MrZeus@194.37.96.119) 19.48.41 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 19.48.55 *** Saving seen data "./dancer.seen" 19.53.18 Quit Stanley00 (Ping timeout: 265 seconds) 20.25.03 # If I'm looking at this right, the place it needs to go is "jz_hibernate()" in arch/mips/xburst/soc-x1000/common/reset.c 20.30.42 Quit FroggestSpirit (Quit: Ping timeout (120 seconds)) 20.31.19 Join FroggestSpirit [0] (18c0819f@d192-24-159-129.try.wideopenwest.com) 20.34.09 # I think the key is whether or not the power button brings it back 20.34.40 # beyond that, measuring the current draw off the battery to make sure it's acutally shut down properly 20.34.56 # this should be the call : 20.34.57 # axp173_i2c_write_bit(axp173,0x32,1,7); 20.35.28 # it looks like FiiO repurposed a axp173 source for the axp192 20.37.25 Quit FroggestSpirit (Quit: Connection closed) 20.39.12 Join FroggestSpirit [0] (18c0819f@d192-24-159-129.try.wideopenwest.com) 20.42.36 Quit MrZeus (Ping timeout: 240 seconds) 20.58.41 Join massiveH [0] (~massiveH@ool-18e4e82f.dyn.optonline.net) 21.13.44 # speachy I think I got it, did you want to test the kernel? I saved a .sh onto the sdcard that just calls "poweroff". when running it on stock kernel, it crashes, but "turns off" the button lights stay on, and holding the volume down key + plugging it in does not put it into download mode. 21.13.44 # With the custom kernel, it crashes, but turns off. the button lights turn off, and holding the volume down key + plugging it in _does_ put it into download mode. 21.25.22 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 21.26.00 Quit Stanley00 (Remote host closed the connection) 21.34.05 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 21.43.28 Quit Stanley00 (Read error: Connection reset by peer) 21.44.04 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 21.48.45 Quit Stanley00 (Ping timeout: 240 seconds) 21.48.57 *** Saving seen data "./dancer.seen" 21.53.39 Quit ac_laptop (Ping timeout: 265 seconds) 21.59.37 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 22.07.08 Quit Stanley00 (Remote host closed the connection) 22.09.51 Quit FroggestSpirit (Quit: Connection closed) 22.10.38 Join f1reflyylmao [0] (~f1refly@dynamic-095-116-045-155.95.116.pool.telefonica.de) 22.12.02 Quit f1refly (Ping timeout: 264 seconds) 22.12.22 Join Stanley00 [0] (~stanley00@unaffiliated/stanley00) 22.12.22 Quit Stanley00 (Client Quit) 22.19.30 # yup, that's a good way to test it 22.19.48 # the most obvious way is to use a serial console however, but that would require taking apart the device :P 22.56.21 Quit mendel_munkis (Ping timeout: 264 seconds) 23.12.37 Join mendelmunkis [0] (~mendelmun@ool-43568247.dyn.optonline.net) 23.49.00 *** Saving seen data "./dancer.seen"