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

#rockbox log for 2017-01-30

00:01:07 Quit Moarc (Ping timeout: 240 seconds)
00:01:33[Saint]The canonical answer is to fix your damn metadata, though.
00:01:47 Join Moarc [0] (
00:02:54[Saint]Ugggh, I just re-read your question, and the massive list of comparators required for your use case are not trivial.
00:03:56[Saint] isn't /impossible/. Sec.
00:05:40[Saint]Hmmm, no, it's not as ugly as I thought...assuming this works.
00:06:49[Saint]%?if(%pp,<=,9)<0%pp|%pp> should work to zero-pad, which IMO is nicer than space-padding.
00:09:10[Saint]there's also %?and() for using logical comparators against multiple tags without nesting.
00:09:17 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131])
00:10:54[Saint]From memory the syntax is:
00:11:34[Saint]%?and() will only fire if _all_ tags compared against the operator are true.
00:12:19[Saint]you can use %?or() to for comparisons you want to fire if _any_ of them are true.
00:14:13[Saint]There's also several other approaches that spring to mind. Mostly because I'm a lunatic.
00:15:41[Saint]Defining a separate viewport for this value and then using the text alignment tags is the most flexible case as it allows for both RTL text and values of arbitrary length.
00:15:41amazoniantoad[Saint], hey man the bluetooth module project worked!
00:15:43amazoniantoadthanks for your help
00:15:58[Saint]amazoniantoad: Not a problem, what route did you end up taking?
00:16:17*[Saint] was just waxing lyrical abour our convoluted theme engine, which is a topic he likes to rant about
00:21:34amazoniantoad[Saint], I soldered to the aux input
00:21:49amazoniantoadThen soldered the power supply to the pcb board of the ipod
00:22:05amazoniantoadNext I just need to drill some holds or something in the back of the ipod
00:22:15amazoniantoadSo I can turn the bluetooth on and get a signal out
00:22:20amazoniantoadIt's crystal clear too
00:23:59amazoniantoadHow can I add a list of artists to rockbox? I want to be able to have the option of searching by album v artist v playlists
00:24:09amazoniantoadAll I can seem to do is add playlists though
00:26:25[Saint]This is precisely what the Database function is for.
00:26:37[Saint]It does exactly that.
00:29:24amazoniantoadOh cool
00:34:41chrisjj[Saint], that didn't work, but this adjusted version
00:34:55chrisjj%?if(%pp,<,10)< %pp|%pp>
00:35:11chrisjjdid, and gives a good result:
00:35:54 Quit pamaury (Ping timeout: 255 seconds)
00:35:57[Saint]chrisjj: FWIW, this is a _very_ error prone way of handling this.
00:36:01chrisjj"That" being your 22:58.
00:36:12chrisjjI've just seen your 23:06. Thanks.
00:36:48[Saint]The "right" way to do this is to give this value its own viewport and use the alignment tags.
00:37:35[Saint]then it'll work with values of arbitrary length whether they're space padded, zero-padded, or otherwise.
00:38:15chrisjjThis value is embedded in a line, so the viewport coordinates would be font-size dependent.
00:38:47[Saint]correct. but you should be specifying a specific font anyway.
00:39:05[Saint]allowing the user to use userfont makes for a very easily broken theme.
00:39:23[Saint]if a user loads a 40pt font it screws up the entire theme.
00:40:01[Saint](by way of pushing down all other lines)
00:41:03 Quit Moarc (Ping timeout: 240 seconds)
00:41:04chrisjjI was following the lead of the default theme cabbiev2, which uses the user's font choice.
00:42:01chrisjjHowever I take your point and if I release this, I'll switch to a known font size. Shame that can't allow the users choice of font family, though.
00:43:51 Join Moarc [0] (~chujko@
00:43:53[Saint]cabbie does somewhat of a compromise by allowing the use of userfont, but forcing a specific font when cabbiev2.cfg is loaded.
00:44:16[Saint]it allows for users to break the display at their discretion, which I'll admit isn't ideal.
00:44:23[Saint]I struggled with how exactly to handle that.
00:46:45[Saint]Another concern was size of the end binary, as including a font that doesn't make the users eyes bleed, which also has wide unicode glyph coverage, balloons the size of the shipped archive quite a lot.
00:48:29***Saving seen data "./dancer.seen"
00:49:59[Saint]From a UI/UX point of view there's many aspects of cabbie that I wouldn't necessarily repeat.
00:53:34 Quit ender` (Quit: Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.' — Isaac Asimov)
01:13:11fs-bluebotBuild Server message: New build round started. Revision 2220a4b, 255 builds, 15 clients.
01:13:37 Quit alexweissman (Remote host closed the connection)
01:14:36 Quit girafe (Read error: Connection reset by peer)
01:20:30*__builtin is unsure how he should integrate libSDL into rockbox plugins
01:22:17__builtinit can't go into pluginlib for multiple reasons, the main one being the size and resulting code bloat
01:22:46__builtindoes someone have any ideas?
01:23:53fs-bluebotBuild Server message: Build round completed after 642 seconds.
01:23:54fs-bluebotBuild Server message: Revision 2220a4b result: 6 errors 0 warnings
01:24:51[Saint]The only real "fix" I'm aware of would be gutting the plugin system to allow for dynamically relocatable plugins.
01:25:41__builtinI think wodz did some work on that, with the elf loader
01:25:56[Saint]gevaerts worked on it a wee bit too from memory.
01:26:15[Saint]more than a wee bit.
01:30:55__builtinrelocatable plugins would allow for multitasking between plugins, too, right?
01:32:44 Quit Rower (Ping timeout: 264 seconds)
01:32:57 Join Rower [0] (
01:37:25[Saint]Not in and of itself, but it is a prerequisite for the Do It Right way of achieving it.
01:54:45fs-bluebotBuild Server message: New build round started. Revision 324ad24, 255 builds, 15 clients.
02:03:55 Quit furrywolf (Ping timeout: 256 seconds)
02:04:26fs-bluebotBuild Server message: Build round completed after 582 seconds.
02:04:28fs-bluebotBuild Server message: Revision 324ad24 result: All green
02:06:43 Quit xorly (Ping timeout: 240 seconds)
02:48:30***Saving seen data "./dancer.seen"
03:02:41 Quit Moarc (Ping timeout: 248 seconds)
03:03:32 Join Moarc [0] (
03:15:58 Quit dys (Read error: Connection reset by peer)
03:23:42 Quit ranmachan (Ping timeout: 258 seconds)
03:33:07 Quit Rower (Ping timeout: 240 seconds)
03:33:53 Join Rower [0] (
04:07:19 Quit ZincAlloy (Quit: Leaving.)
04:19:04 Quit Rower (Ping timeout: 240 seconds)
04:19:15 Join Rower [0] (
04:48:34***Saving seen data "./dancer.seen"
04:48:59Bilgus__builtin: I found part of the issue of the first bug struct GameRec GameList[240];
04:50:16BilgusMoved it to 250 and I got $ more moves in before it freaked moved it to 300 and I got 4 moves and it swaped a pawn with my knight so still something wrong..
04:50:24Bilgus$ = 4
05:01:11[Saint]A strange game, Bilgus.
05:01:17[Saint]The only winning move is not to play.
05:01:47BilgusIts all fuckered
05:02:28[Saint]wow...way to make me feel old my man.
05:02:40[Saint]_someone_ has to get that reference, surely?
05:05:51BilgusI can't say I've seen that movie or maybe I have and forgotten it
05:08:44BilgusNope never saw it lol but I did make that tic tac toe game :p
05:50:32 Quit Rower (Ping timeout: 258 seconds)
05:50:49 Join Rower [0] (
06:01:27 Join Senji [0] (~Senji@
06:04:25 Quit Senji_ (Ping timeout: 255 seconds)
06:08:29 Quit TheSeven (Disconnected by services)
06:08:40 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
06:29:51 Quit Bray90820 (Ping timeout: 245 seconds)
06:32:18 Join Bray90820 [0] (
06:32:45 Quit [Saint] (Remote host closed the connection)
06:33:57 Join [Saint] [0] (~sinner@rockbox/staff/saint)
06:35:00 Join dys [0] (
06:35:48 Quit Rower (Ping timeout: 240 seconds)
06:36:21 Join Rower [0] (
06:46:04Bilgusok I believe chessbox is fixed
06:48:35***Saving seen data "./dancer.seen"
07:29:13 Join wodz [0] (
07:54:32 Quit amiconn (Quit: - Chat comfortably. Anywhere.)
07:54:32 Quit pixelma (Quit: .)
07:56:58 Join pixelma [0] (pixelma@rockbox/staff/pixelma)
07:56:58 Join amiconn [0] (amiconn@rockbox/developer/amiconn)
08:14:00amazoniantoadBilgus, hey\
08:14:03amazoniantoadYou there?
08:14:11Bilgusyep for a minute
08:14:33amazoniantoadBilgus, so I ahd it all working and the soldering point broke right before I was about to glue it
08:14:40amazoniantoadIO spent the past 5 hours trying to get it to take again
08:14:54amazoniantoadJust got it, but now the bluetooth powers but the ipod doesn't. Could the battery just be low?
08:15:05amazoniantoadShould I charge it? I mean the screen wont turn on
08:15:28Bilguswhich wire was it?
08:15:45amazoniantoadBlack one
08:15:48amazoniantoadBlue circle
08:16:04amazoniantoadI mean holy hell this was a pain the second time
08:16:25amazoniantoadBut if the bluetooth is turning on, my ipod should be okay right?
08:16:36amazoniantoadI'm kinda worried now because the screen wont turn on.
08:17:32Bilgushow long did you hold the soldering iron there?
08:18:04amazoniantoadWant to see a picture of the state of things?
08:18:08Bilgus1st thing i'd do is disconnect the battery
08:18:31Bilgussecond thing i'd do is look for solder bridges
08:19:17amazoniantoadwhat are those?
08:19:53Bilgusand the 3rd is take your meter and set it to the diode function ->|- lower right and check across each diode
08:20:29Bilgusput one lead on the blue circle and the other on the other side of those black boxes top to bottom in that pic
08:20:41Bilgusthen flip the leads and do it again
08:21:03Bilgusyou should get a reading 100-300 one way and a reading of -1 or 0 the other
08:21:05fs-bluebotGerrit review #100 at : IAP rework patch 8: Revert to static buffers by Ralf Ertzinger
08:21:24amazoniantoadThe top looks like shit now
08:21:29amazoniantoadit was really nice the first time around
08:21:44amazoniantoadEverything worked too
08:21:47Bilgusfirst thing that red wire is too long and prone to shorting against the case
08:21:57 Quit Rower (Ping timeout: 264 seconds)
08:22:08Bilgusyou probably fried those diodes heating them up too much
08:22:19amazoniantoadI tested them and still get power
08:22:29 Join Rower [0] (
08:22:34amazoniantoadShould I check again?
08:22:38amazoniantoadI just did it a min ago
08:22:40Bilgusbut i do see what looks like a solder bridge above them too
08:23:08Bilguswell what a diode does is block flow one way but not the other kinda like a one way valve
08:23:25amazoniantoadI see
08:23:31amazoniantoadSo I need to move the wire to the left?
08:24:02Bilguswire to the left?
08:24:25BilgusI see right now that you have a solder bridge just above the blob in that pic
08:24:36Bilgusup and to the right
08:25:00Bilgusadd some flux there and heat it up with your iron and it should cling to each pad
08:25:04amazoniantoadboth of those black chips give me power
08:25:23Bilgusbe sure to wipe your iron first though you don't want to add any more sodler
08:25:24amazoniantoadso am I trying to break the bridge?
08:25:57Bilgusto test diodes you need to d/c the battery and put meter on ->|-
08:26:29Bilgusand put one lead on your blob and the other on the grey side of those black rectangles
08:26:37Bilgusthen flip and note the readings
08:27:40Bilgusshould always have the power disconnected when doing things unless there is no way around it or you need to actually test for power
08:33:48 Join ender` [0] (
08:34:41 Join funman_ [0] (~fun@
08:34:42 Quit funman (Ping timeout: 240 seconds)
08:34:42 Quit Cu5tosLim3n (Excess Flood)
08:34:52 Join Cu5tosLimen [0] (~CustosLim@unaffiliated/cust0slim3n)
08:36:18amazoniantoadYeah I think the board is fried
08:38:07amazoniantoadI removed the bluetooth solder
08:38:11amazoniantoadthe screen wont turn on
08:38:37Bilgusok so again its the solder bridge above it did you test the diodes yet?
08:38:48amazoniantoadI removed the solder bridge?
08:38:53amazoniantoadThe thing to the right of the blob?
08:39:03amazoniantoadlet me test the diodes again
08:40:08amazoniantoad-.04 on the left diode
08:40:19amazoniantoad3.84 on the right
08:40:26amazoniantoadBilgus, ^
08:42:22 Quit jhMikeS (Ping timeout: 255 seconds)
08:42:31Bilgusok so green is at the solder bridge
08:42:48Bilgusthe diodes get tested twice
08:43:15Bilgus1st time red on top black on bottom then black on top and red on bottom
08:44:07amazoniantoadBilgus, I removed the soldering point
08:44:15amazoniantoadupdated picture?
08:44:27amazoniantoadso that piece of solder is the soldering bridge?
08:44:39Bilgusyes its shorting those two pads
08:44:51amazoniantoadI just removed the fucking solder
08:44:59amazoniantoadreally frustrated lol
08:45:11Bilgusgood blob of flux and touching your iron will make it separate
08:45:59Bilgusnow as for the diodes assuming you kep your leads the same way when you tested both diodes the one on the left is bad
08:46:27Bilgusbut you need to test both like I said above
08:46:38amazoniantoadWell the one on the left is .04
08:46:44amazoniantoadand the one on the right reads 3.84
08:46:57Bilgusand when you flip your meter leads?
08:47:07amazoniantoadYou mean switch black and red?
08:47:15amazoniantoadlet me try that now
08:48:20amazoniantoadone on left jumps from .03 to 1.59
08:48:29amazoniantoadthe right one reads around .04
08:48:36***Saving seen data "./dancer.seen"
08:49:24 Quit Bray90820 (Ping timeout: 240 seconds)
08:49:55Bilgusthe one on left still sounds suspect
08:49:57amazoniantoadBilgus, so how do I separate the bridge?
08:50:23Bilgusblob of flux then touch your clean iron to the solder blob
08:51:05Bilgusthen pull iron away fling it towards something non flamable then touch it again if it syill isn't separated
08:54:31 Join Bray90820 [0] (
08:55:18 Join petur [0] (~petur@rockbox/developer/petur)
08:58:14amazoniantoadjust dropped solder down the port for the battery ribbon
08:58:18amazoniantoadI'm going to go hang myself now
09:00:09 Join alexweissman [0] (
09:00:35 Quit petur (Read error: Connection reset by peer)
09:00:59 Join p3tur [0] (~petur@
09:01:00 Quit p3tur (Changing host)
09:01:00 Join p3tur [0] (~petur@rockbox/developer/petur)
09:06:01 Quit Bray90820 (Ping timeout: 258 seconds)
09:11:48 Join Bray90820 [0] (
09:18:09 Nick p3tur is now known as petur (~petur@rockbox/developer/petur)
09:33:23 Join xorly [0] (
09:51:47 Nick funman_ is now known as funman (~fun@
09:51:50 Quit funman (Changing host)
09:51:50 Join funman [0] (~fun@rockbox/developer/funman)
09:58:08 Join elensil [0] (~edhelas@2001:1c02:1903:d800:a81b:a73f:9e5c:5061)
10:05:38 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
10:19:34 Quit xorly (Ping timeout: 255 seconds)
10:21:32wodzprof_wolfff: Patched build returns this on usb plug
10:21:40wodzprof_wolfff: HID does work
10:22:40 Quit Rower (Ping timeout: 240 seconds)
10:23:25 Join Rower [0] (
10:26:00wodzprof_wolfff: dd reads and writes above 2GB are successful.
10:28:58 Quit pamaury (Ping timeout: 276 seconds)
10:34:59wodzprof_wolfff: And this patched build does not hang on unplug
10:48:37***Saving seen data "./dancer.seen"
10:52:11 Quit Bray90820 (Ping timeout: 240 seconds)
10:55:35 Join xorly [0] (
10:55:52 Join Bray90820 [0] (
11:08:24 Quit Rower (Ping timeout: 240 seconds)
11:08:44 Join Rower [0] (
11:29:22 Quit Bray90820 (Ping timeout: 248 seconds)
11:35:27 Join robertd1 [0] (
11:39:37 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
11:42:44 Quit Marex (Ping timeout: 240 seconds)
11:43:46 Join Marex [0] (~Marex@
11:45:36 Join ranmachan [0] (
11:50:08 Join Bray90820 [0] (
12:01:44 Quit Bray90820 (Ping timeout: 240 seconds)
12:19:43 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:20af:c468:972a:a6e2)
12:26:47 Join Bray90820 [0] (
12:26:48wodzpamaury: ping
12:31:08 Quit Bray90820 (Ping timeout: 240 seconds)
12:37:55pamaurywodz: pong
12:37:59 Join Bray90820 [0] (
12:37:59 Quit xorly (Ping timeout: 258 seconds)
12:38:17wodzpamaury: what is the outcome of your aplay tests?
12:38:40wodzpamaury: what sounds does mtp program does? beeps?
12:44:00 Join skapazzo [0] (~skapazzo@
12:48:40***Saving seen data "./dancer.seen"
13:01:10pamaurywodz: no luck :( I found the proper sequence of enable sound, so at least I can always play sound, but it's still distorted
13:02:05wodzpamaury: What about mtp program? You said it produces undistorted sound (what kind of btw. beeps?)
13:02:42wodzpamaury: alright. beeps are generated in hardware by loading proper program into dsp
13:03:13pamaurywell in the case of mpt I'm not so sure
13:03:39wodzpamaury: seems like sony has proprietary ioctl for this
13:03:45pamauryI disassembled the code and as far as I can tell, the only way it interacts with alsa is though the and and aplay
13:04:20pamauryand if you look at the mixer script, it uses amixer to tweak controls and aplay to play some audio files in /usr/local/share
13:05:38pamauryI also disassembled the OF and the audio code is really complicated. But I found the "Builtin" audio startup sequence and it matches what I came up with, basically:
13:05:38pamauryamixer set cname='CODEC Power Switch' 1
13:05:46pamauryamixer set cname='CODEC Mute Switch' 0
13:06:16pamauryamixer set cname='Playback Src Switch' 1 # can't remember the exact name, 1 is for 'Music'
13:06:30pamauryand then the regular alsa stuff
13:07:58wodzpamaury: but then implies you could simpy play wav
13:08:25pamauryyeah, and when I do it doesn't work, sound is distorted
13:14:09wodzpamaury: Is noican == noise canceling HP?
13:14:40pamauryI guess
13:21:45 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury)
13:22:24pamaurywodz: one odd thing I noticed today is that the "silence32.wav" file played by is encoded with 32-bit depth
13:26:16 Join TheLemonMan [0] (~root@irssi/staff/TheLemonMan)
13:29:51wodzpamaury: interesting
13:30:28wodzpamaury: well even name implies it is 32bit version :-)
13:30:58 Quit petur (Read error: Connection reset by peer)
13:30:58 Join p3tur [0] (~petur@rockbox/developer/petur)
13:31:01 Nick p3tur is now known as petur (~petur@rockbox/developer/petur)
13:31:11pamauryyeah but 32-bit audio is unexpected
13:31:32pamauryI'm wondering if it's possible that the pcm is broken and only expects 32-bit samples
13:31:53pamaury_I will test this theory tonight
13:32:21wodzpamaury_: silence32.wav is the only wav on device
13:32:43pamaury_yes I know
13:35:26pamaury_I'm still studying the code of mtpapp and OF to see what they do with the dsp stuff
13:36:06 Quit ZincAlloy (Quit: Leaving.)
13:36:15wodzpamaury_: This file is not silence it is a noise :P
13:37:01pamaury_I know find that puzzling, but when played on device it seems to give silence...
13:37:17pamaury_I mean in mptapp
13:37:25wodzpamaury_: you mean by aplay?
13:37:35pamaury_I didn't try it with aplay directly
13:40:33 Quit Rower (Ping timeout: 264 seconds)
13:40:52*wodz is curious enough to test right now
13:41:09 Quit Senji (Ping timeout: 264 seconds)
13:41:22 Join Rower [0] (
13:43:23pamaury_wodz: don't forget to power up codec and unmute using the sequence I put above
13:43:50wodzpamaury_: Yeah, just realized that :/
13:45:32pamaury_I left my player at home so I don't have the exact code but you should be able to figure it out ;)
13:46:13pamaury_also the dsp stuff is very confusing, the OF opens two devives: /dev/dsp and /dev/sound/dsp and I can't figure out from the sony headers which ioctl applies to what
13:52:28 Join Senji [0] (~Senji@
13:52:37*pamaury_ remembers that /dev/dsp is the old OSS stuff
13:55:44wodzpamaury_: aplay outputs noise for this file. I can't tell for sure but sounds similar enough to my PC so I can't tell the difference.
14:00:11pamaury_wodz: you could try to convert an audio file to wav in 16-bit signed stereo and also in 32-bit signed stereo and try both with aplay ?
14:00:26*wodz just trying
14:02:51wodzpamaury_: 16bit wav plays just fine (minus fact that bitrate is wrong. I bet sony expects 48kHz and I dumped 44.1kHz one)
14:04:05wodzhmm, maybe I screwed conversion
14:05:22pamaury_wodz: apaly is supposed to tell the pcm driver the sample rate and all
14:05:46pamaury_but now I'm quite convinced that the driver is now following orders correctly
14:05:55wodzpamaury_: What kind of distortion it was?
14:06:28wodzpamaury_: No I screwed export to wav apparently. The file advertised itself as 32kHz despite being 44.1kHz
14:07:10pamaury_wodz: I can't tell exactly
14:07:16pamaury_it's just...wrong
14:07:40wodzpamaury_: Sonding like overdrived? Or totally scrambled or what?
14:09:38wodzBTW. working for me init sequence: amixer cset iface=MIXER,name='CODEC Power Switch' 1; amixer cset iface=MIXER,name='CODEC Mute Switch' 0; amixer cset iface=MIXER,name='Playback Src Switch' 1
14:10:42pamaury_not you can recognize the sound but something is not right, it sound saturated and I'm not sure the sampling rate is correct. But it might just be a problem with the sampling rate
14:11:49wodzpamaury_: The sound could be distorted here as well, I just don't know very well rockbox test tune to tell.
14:12:56wodzpamaury_: Do you have a clue what is 'CODEC Acoustic Switch' ?
14:13:26pamaurywodz: try with a music you know
14:13:31pamauryno clue
14:13:46wodzpamaury: I don't have here any file I know well enough
14:16:22wodzpamaury: amixer cset iface=MIXER,name='CODEC Acoustic Switch' 1 seems to make difference. The sound is clearer without saturation
14:16:49wodzhell, I don't have cable to record it back and compare :/
14:18:28pamaury_the acoustic setting is directly forwarded to the codec driver, you'll have to RE it to find out
14:19:34wodzpamaury_: I think it will be easier to record samples and compare to originals
14:20:06wodzit very well might be some funky switch with wrong name
14:25:24 Quit Rower (Ping timeout: 240 seconds)
14:25:59 Join Rower [0] (
14:27:05BilgusI tell you what, that chessbox program is a marvel of data input it's a wonder it ever worked at all, big old buffer overflow waiting to happen at every turn
14:29:28Bilgusand looking at the original source it was just as shaky if not more so in original form
14:48:42***Saving seen data "./dancer.seen"
15:01:42 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:b108:e3c0:7a91:5d30)
15:05:22 Quit wodz (Ping timeout: 248 seconds)
15:08:54 Quit Galois (Ping timeout: 255 seconds)
15:10:34 Join Senji_ [0] (~Senji@
15:13:01 Quit Senji (Ping timeout: 252 seconds)
15:15:09 Join Galois [0] (
15:21:19 Join Senji [0] (~Senji@
15:23:39 Quit Senji_ (Ping timeout: 240 seconds)
15:40:37prof_wolfffwodz: at first glance it seems that the USB wire transfers are ok in both directions, but the logs shows read errors when then the OS is detecting and mounting the HDD partitions, looking at your first dmesg log (when you tried to write files) makes me think that the n2g hangs when trying to write 'bad' sectors
15:42:11 Quit Rower (Ping timeout: 240 seconds)
15:42:23 Join Rower [0] (
15:44:46prof_wolfffI do not known how exactly n2g ftl works and how it manages bad sectors, anyway I would start with the read errors, to known if they are real you can try to launch Apple disk mode and read the whole disk using dd and verify if the read errors still appears on dmesg
15:45:09 Join jhMikeS [0] (
16:16:32 Join Senji_ [0] (~Senji@
16:18:12 Quit fs-bluebot (Ping timeout: 255 seconds)
16:19:00 Quit bluebrother (Ping timeout: 245 seconds)
16:19:24 Quit Senji (Ping timeout: 240 seconds)
16:20:45 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
16:23:35 Quit jhMikeS (Ping timeout: 245 seconds)
16:27:58 Quit Rower (Ping timeout: 258 seconds)
16:28:18 Join Rower [0] (
16:32:44 Join fs-bluebot [0] (
16:47:52 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
16:48:44***Saving seen data "./dancer.seen"
16:51:28 Join paulk-collins [0] (
16:53:09 Join jhMikeS [0] (
16:55:18 Join xorly [0] (
17:18:53 Quit xorly (Ping timeout: 260 seconds)
17:20:49 Quit pamaury (Remote host closed the connection)
17:25:21 Quit pamaury_ (Ping timeout: 256 seconds)
17:39:26 Quit petur (Quit: Connection reset by beer)
17:43:43 Quit Rower (Ping timeout: 252 seconds)
17:44:19 Join Rower [0] (
17:48:46 Join furrywolf [0] (
18:04:41 Quit elensil (Quit: Leaving.)
18:14:42 Join mutnai [0] (6db91733@gateway/web/freenode/ip.
18:15:22 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
18:19:20 Quit Ruhan (Quit: Connection closed for inactivity)
18:21:26pamaurywodz (logs): CODEC Acoustic seems to help a lot :)
18:21:51pamauryI tried 32-bit pcm and doesn't make a difference, ie distorted without Acoustic, correct with Acoustic
18:22:02pamauryhowever 48KHz sounds wrong, even with Acoustic
18:22:47pamauryI'll try to record if I can find my jack cable...
18:24:21 Join girafe [0] (
18:26:36 Join xorly [0] (
18:28:33 Quit pixelma (Quit: .)
18:28:33 Quit amiconn (Quit: - Chat comfortably. Anywhere.)
18:30:47 Join pixelma [0] (~pixelma@rockbox/staff/pixelma)
18:30:47 Join amiconn [0] (~amiconn@rockbox/developer/amiconn)
18:44:39 Quit Rower (Ping timeout: 240 seconds)
18:45:04 Join Rower [0] (
18:48:47***Saving seen data "./dancer.seen"
19:07:14 Quit ender` (Quit: I used to build time machines when I was older.)
19:09:14 Quit Senji_ (Read error: Connection reset by peer)
19:09:32 Join Senji_ [0] (~Senji@
19:12:54 Join ender` [0] (
19:27:38 Join lebellium [0] (
19:30:57 Quit Rower (Ping timeout: 264 seconds)
19:31:24 Join Rower [0] (
19:45:38 Quit mutnai (Ping timeout: 260 seconds)
19:48:02 Quit alucryd (Remote host closed the connection)
19:49:01pamaurydys: pamaury/onkyo_teac_tools">
19:49:03 Join alucryd [0] (~quassel@archlinux/developer/alucryd)
19:49:20pamauryI wrote the tool and tried it on TEAC firmware 1.30
19:50:17pamauryit produces 2 elf files: one which looks like init (my guess is that it inits the SDRAM and/or peripherals) and is quite small. The second is the entire application. There is no way to distinguish data from code so the tool marks all data sections as code
20:12:19dyspamaury: It works on all images I have. the call-graph script now resolves 3786 calls (vs. 2491 with the boot headers still in)
20:14:17[Saint]wow - haven't seen TEAC in decades.
20:14:24[Saint]they're still alive?
20:15:31dys[Saint]: they appear to build luxury DAPs now.
20:15:43dys…with crappy firmware
20:16:15[Saint]Huh, I guess the shitty cassette tape market died off.
20:16:16dysused ones can be bought rather cheap compared to the USRP
20:19:17 Join mutnai [0] (6db91733@gateway/web/freenode/ip.
20:20:49 Join petur [0] (~petur@rockbox/developer/petur)
20:22:09 Quit mutnai (Client Quit)
20:29:37 Quit scorche (Ping timeout: 248 seconds)
20:32:57 Join scorche [0] (~scorche@rockbox/administrator/scorche)
20:48:50***Saving seen data "./dancer.seen"
21:51:40 Quit kugel (Ping timeout: 240 seconds)
22:16:49 Quit Rower (Ping timeout: 248 seconds)
22:17:17 Join Rower [0] (
22:18:35pamaurylebellium: I have some sound on the E580 \o/
22:18:57pamaury(non-distorted sound)
22:19:37 Join wodz [0] (
22:21:58pamaurywodz: hey
22:22:16pamauryI modified rockbox to set acoustic mode and indeed the sound is now okay :)
22:22:28wodzpamaury: nice to hear that sound on nwz is somewhat working :-)
22:23:03pamauryIt's still a hack for now, using system("amixer ..."); but at least I can reliably play sound and it's not distorted
22:23:22wodzpamaury: big step forward indeed
22:23:46pamaurythere are few annoying things though: Sony exports the volume as a percent instead of dB
22:23:59wodzpamaury: How is this is done in amixer? some ioctl?
22:24:22pamauryusing the 'standard' playback volume
22:24:43pamaurythere might be other ways, I don't know
22:24:52pamaurydoes the codec expose the registers to userspace ?
22:25:17pamauryalso what the hell is acoustic mode ??
22:27:03wodzpamaury: looking at cs47l01_d.ko I think it exposes codec registers somewhere in /proc. This is not very useful though as I can't find any documentation about cs47l01
22:29:45pamauryit might be close enough to other codecs that with RE we figure some things out ?
22:30:11pamauryit's a bit strange that google does not seem to know *anything* about cs47L01
22:32:29wodzpamaury: I think registers are exposed under /proc/asound/card0/
22:33:15*pamaury looks
22:34:06wodzdriver seems to support both reading and writing (I mean in both reading and writing hook there are calls to i2c transfer function)
22:34:55wodzpamaury: right, that match what I see in disasm
22:35:41pamaurythere are interested bits, like "vol", but it's likely it is also in percent
22:39:27wodzpamaury: On init driver reads nvp I think index 0x0b
22:43:28pamaurywodz: is that the driver from E580 ?
22:43:52pamaurybecause index 0xb=011=kas, seems strange
22:45:48wodzfrom e474
22:46:54pamauryah let me see
22:46:57wodzthe call is icx_nvp_read(0xb, &buf, 8)
22:47:25pamauryhum also kas
22:48:47wodzpamaury: It checks lower uint32 with 3 and 0x103
22:48:51***Saving seen data "./dancer.seen"
22:49:37pamauryhum, that sounds like a destination check, ie node "shp
22:49:50pamaurywhich is note 12
22:52:31__builtinBilgus: nice
22:56:06__builtinare you sure short is 4 bytes though? (I haven't checked)
22:57:16wodz__builtin: on most 32bit archs short is 2 bytes
22:57:17 Quit paulk-collins (Quit: Leaving)
22:58:05wodz__builtin: definitely on rockbox archs (coldfire, sh4, arm, mips) short is 2 bytes
22:58:20__builtinyeah, that's what I was thinking, maybe Bilgus tested on a 64-bit sim or something?
22:58:52wodzcould be
22:59:00__builtinby the way, how far did the whole ELF loader thing get?
23:00:42wodzWorking proof of concept for single target.
23:03:03 Quit Rower (Ping timeout: 260 seconds)
23:03:06__builtinhmm, ok
23:03:24 Join Rower [0] (
23:04:57 Quit petur (Quit: Leaving)
23:05:41wodz__builtin: Extend this to more target is a matter with adding export symbol defines to target specific sources. But then problems starts - the next step would be to dynamically allocate plugin/codec buffer. I didn't reach that stage.
23:06:59wodz__builtin: And 'module symbol dependencies' are not touched - I mean it should be possible to load 'module' which exports some symbol needed by other module (just like dependent modules in linux kernel)
23:08:58lebelliumpamaury: congrats! I knew you wouldn't need more than 24 hours to fix any issue :D
23:10:13pamaurywe still don't understand why it works though...
23:10:23pamaurylebellium: does 'Acoustic mode' rings a bell ?
23:10:50lebelliumThere is no "acoustic mode" in OF
23:10:59lebelliumor at least not called like that
23:14:08 Quit wodz (Quit: Leaving)
23:24:44 Join Bilgus_ph [0] (~Bilgus_ph@
23:24:51 Quit pamaury (Read error: Connection reset by peer)
23:33:18Bilgus_phyou know __builtin i didn't even think about it being a 64 bit sim maybe i should make it explicit with uint8 just to be sure. also im pretty sure rolling the buffer will break .pgn saving but since partial games weren't saved anyways it isn't too high on my list
23:35:03[Saint]I looked at the chessbox.rock source, and my God you weren't kidding were you Bilgus_ph...
23:35:15[Saint]I'm really surprised that ever worked.
23:35:32[Saint]Actually, I'm not confident it ever did.
23:36:27__builtinideally the whole plugin needs a rewrite
23:37:27__builtinI looked at it and it is not something that facilitates easy debugging, or even reading
23:38:34 Quit Senji_ (Ping timeout: 240 seconds)
23:39:29Bilgus_phYeah I CALLS NOT IT
23:40:43__builtinmaybe I'll find a good SDL chess program to port and replace it :D
23:41:40__builtinthe current engine is very strong, though
23:42:03__builtinI've never managed to beat it, or even gain an advantage on it
23:43:46__builtingood, so it's not just me! :D
23:45:21 Quit Bray90820 (Ping timeout: 248 seconds)
23:48:03 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131])
23:51:02 Join Bray90820 [0] (
23:55:13__builtinBilgus: one thing regarding uint8_t, though
23:55:22__builtinsizeof(char) is guaranteed by the standard to be 1
23:55:27__builtinand char is almost always 8 bits
23:56:35__builtinand if it's not, we have bigger issues than that :P

Previous day | Next day