Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
FR^2 has quit [Quit: Leaving]
afaerber has quit [Ping timeout: 265 seconds]
kdubious has joined #linux-sunxi
<kdubious> Any way to get 256xfs MCLK from an A20?
xLinuxBot has joined #linux-sunxi
naobsd has joined #linux-sunxi
afaerber has joined #linux-sunxi
physis has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ganbold has joined #linux-sunxi
ninolein has quit [Ping timeout: 252 seconds]
physis has quit [Ping timeout: 240 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Nacho has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 256 seconds]
p1u3sch1 has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
khuey is now known as khuey|away
kaspter has joined #linux-sunxi
xLinuxBot_ has joined #linux-sunxi
xLinuxBot has quit [Ping timeout: 250 seconds]
Netlynx has joined #linux-sunxi
xLinuxBot_ has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
penghb has quit [Ping timeout: 252 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
IgorPecovnik has joined #linux-sunxi
khuey|away is now known as khuey
IgorPecovnik has quit [Ping timeout: 264 seconds]
kaspter has quit [Remote host closed the connection]
IgorPecovnik has joined #linux-sunxi
reinforce has joined #linux-sunxi
IgorPecovnik has quit [Ping timeout: 264 seconds]
philippe_fouquet has joined #linux-sunxi
cubeast has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
Philipp__ has joined #linux-sunxi
philippe_fouquet has quit [Read error: Connection reset by peer]
khuey has quit [Ping timeout: 272 seconds]
naobsd has joined #linux-sunxi
diego_r has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
naobsd has quit [Client Quit]
<sunxi_fan1> kdubious: are you talking about I2S interface?
sehraf has joined #linux-sunxi
sehraf has quit [Client Quit]
sehraf has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
xLinuxBot_ has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
FlorianH has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 256 seconds]
Black_Horseman has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
ricardocrudo has quit [Ping timeout: 246 seconds]
ricardocrudo has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
xLinuxBot_ has quit [Ping timeout: 250 seconds]
xLinuxBot_ has joined #linux-sunxi
kaspter has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
khuey has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
Philipp__ has quit [Remote host closed the connection]
philippe_fouquet has joined #linux-sunxi
khuey is now known as khuey|away
Renard has joined #linux-sunxi
xLinuxBot_ has quit [Ping timeout: 240 seconds]
p1u3sch1 has quit [Ping timeout: 244 seconds]
p1u3sch1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
xLinuxBot_ has joined #linux-sunxi
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
FR^2 has joined #linux-sunxi
simosx has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
IgorPecovnik has joined #linux-sunxi
simosx has quit [Quit: Leaving]
gzamboni has quit [Remote host closed the connection]
gzamboni has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
IgorPecovnik has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
<sunxi_fan1> hola, finally i'm listening some good Supertramp tunes from the mainline kernel with simple-audio-card and my A20->I2S-DAI driver toward the UDA1380-Codec..
<plaes> ooh.. nice
<sunxi_fan1> it's been quite a tour..
kaspter has quit [Ping timeout: 252 seconds]
<sunxi_fan1> i've updated the gist here: https://gist.github.com/aventuri/c40d08b946b0d1da5081
<sunxi_fan1> still rough, many corner cases are still not matched. but at least 48K/44k1 16bit signed stereo Little endian work ok!
<sunxi_fan1> they are the 99% of digital music i.e.! :-)
<sunxi_fan1> but of course, with less stress, i'll try to polish the driver and fill the "blanks"!
<sunxi_fan1> summer i's starting
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
IgorPecovnik has joined #linux-sunxi
kaspter has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
cubeast has quit [Quit: Leaving]
IgorPecovnik has quit [Ping timeout: 264 seconds]
YAJ has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
afaerber has joined #linux-sunxi
xLinuxBot_ has quit [Quit: Leaving]
IgorPecovnik has joined #linux-sunxi
wingrime has joined #linux-sunxi
<wingrime> moin!
pmattern has joined #linux-sunxi
FlorianH has quit [Ping timeout: 240 seconds]
domidumont has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
FlorianH has joined #linux-sunxi
YAJ has quit [Quit: Page closed]
aballier has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 255 seconds]
p1u3sch1 has joined #linux-sunxi
pmattern has quit [Quit: Genug für heute.]
IgorPecovnik has quit [Ping timeout: 264 seconds]
dodo_ has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
<dodo_> Hi. I have installed Debian Jessie 8.1 from directly from debian servers in a cubieboard A20. It doesn't have audio because i'm using the kernel from debian. Can I use the kernel & modules from the official ISO image (a Debian Wheezy 7.6) released from cubietech in Jessie??
<dodo_> I just need audio, no hdmi.
domidumont has quit [Read error: Connection reset by peer]
philippe_fouquet has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
kdubious has quit [Ping timeout: 246 seconds]
<sunxi_fan1> dodo_: you mean "analog audio" from the audio jack, i suppose..
<dodo_> sunxi_fan1: yes
<dodo_> I need audio input and output, with jackd
<sunxi_fan1> in that case, you'll need the mainline kernel from "linux-wip" tree here: https://github.com/jwrdegoede/linux-sunxi/tree/sunxi-wip
<dodo_> sunxi_fan1: Ok. I will download it.
<dodo_> sunxi_fan1: by the way, can I still use the kernel & modules from the official .img released from cubietech?
<sunxi_fan1> sorry, but you'll need to setup a "new kernel", the one i pointed you to.. because the "codec" module (that's the name of the analog audio driver for A10/A20) is available only there..
<sunxi_fan1> so you'll need to use its modules..
<dodo_> ok. thanks :)
<dodo_> i will try sunxi-wip
<sunxi_fan1> and you'll need to put in place the compliant "device tree" file, because there's also that part to be configured for analog audio. that means it could be a matter of tweaking the "uboot" script too.. :-)
<sunxi_fan1> check the difference between "cubietruck" where the codec entry is there:
<sunxi_fan1> and a20-cubieboard where theresn't
<dodo_> ok thanks
Kasreyn has joined #linux-sunxi
wingrime has quit [Ping timeout: 246 seconds]
premoboss has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
reinforce has joined #linux-sunxi
dodo_ has quit [Ping timeout: 244 seconds]
bonbons has joined #linux-sunxi
<bgola> hello! by any chance is anyone using the LED driver PCA9685 with sunxi-3.4 kernel ? :)
fredy has quit [Excess Flood]
philectro has joined #linux-sunxi
<bgola> the kernel driver was added in linux-3.10 and depends on the pwm framework (added in 3.5)
fredy has joined #linux-sunxi
domidumont has joined #linux-sunxi
premoboss has quit [Quit: Sto andando via]
<philectro> salut
diego_r has quit [Quit: Konversation terminated!]
FR^2 has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
afaerber has quit [Quit: Verlassend]
dodo_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 244 seconds]
dodo_ has quit [Quit: Leaving]
ricardocrudo has quit [Remote host closed the connection]
draconlord has joined #linux-sunxi
paulk-collins has quit [Quit: Quitte]
physis has joined #linux-sunxi
gnufan has joined #linux-sunxi
gnufan has left #linux-sunxi [#linux-sunxi]
sunxi_fan has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
draconlord has quit [Remote host closed the connection]
aballier has quit [Ping timeout: 246 seconds]
aballier has joined #linux-sunxi
aballier has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
orly_owl has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has quit [Changing host]
akaizen has quit [Client Quit]
kdubious has joined #linux-sunxi
<kdubious> Any idea how to get 256xfs MCLK on I2S from an A20?
physis has quit []
dev1990 has joined #linux-sunxi
leowt has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<sunxi_fan> kdubious: are you talking about mainline or sunxi-legacy 3.4 kernel?
<kdubious> Hi sunxi_fan. 3.4
<kdubious> I've been using dan-and & nikkov
<kdubious> I do not have a scope
<kdubious> but, it looks like there is a MCLK signal on 44.1 & 48
<kdubious> and it looks like the signal is NOT 256xfs
afaerber has joined #linux-sunxi
<sunxi_fan> for 3.4 i can't really help you because i'm working on mainline 4.x.. BUT i can tell you that you should just "check" (i.e. add a printk) the MCLK DIV register.
<sunxi_fan> if, as it is, the clk source from PLL2 is 24.576.000Hz for a 48KHz fs, that means a 512xfs and so, if your MCLK DIV is 2 (as it's in my case on mainline..) that bring a 256xfs
<sunxi_fan> that is a circa 12MHz square wave. i connected the "cheapo" 60MHz scope on my Olimex A20 SOM EVB and it was indeed more a triangle wave then a square one.. :-) maybe there were some capacitive effects in the cable!
<kdubious> the kernel prints:
<kdubious> get_clock_divder_master: rate=(48000), mclk_div=(2), mpll=(0), bclk_div=(4), mult_fs=(256)
dev1990_ has joined #linux-sunxi
kivutar has joined #linux-sunxi
dev1990 has quit [Ping timeout: 246 seconds]
<sunxi_fan> the mclk_div looks ok to me.. which "feeling" do you have?
<kdubious> Sad, angry, confused feelings...
<kdubious> I don;t have a scope, so I can't tell if things are good
<kdubious> my multimeter shows me a signal during playback (~800mV DC), on each I2S pin
<kdubious> I'm trying to connect to an Audio Alchemy DAC that requires 256xfs MCLK + the other 3 I2S lines
<kdubious> the front display of the DAC always reads:
<kdubious> PLL INVALID
<kdubious> my "cables" are .5 meters
<kdubious> is that too long?
<kdubious> do I need resistors in the lines?
ninolein_ has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
<sunxi_fan> umh. 0.5m is quite long, indeed. I2S is supposed to be a bus for PCB, very few cm of traces...
bonbons has quit [Quit: Leaving]
<sunxi_fan> of course, yo cant make a fast test with a "very" shorter cable. do you?
<kdubious> I'll try to make something a few cm, and work outside of a chassis
<sunxi_fan> then, thinking "out of the box", i can tell you the codec i'm using for my test, a low cost UDA1380 breakout board.., can work also WITHOUT the MCLK because can synth with an internal PLL the local system clock out of the "left right" clock! doh.. quite effective for saving a highly oscillating wire as the MCLK
<sunxi_fan> i don't know your alchemi DAC (if you have a pointer.. we can read about it) but maybe it has "modes" where the MCLK is not needed!
<kdubious> I've been speaking to the DAC designer. It requires the MCLK
paulk-collins has joined #linux-sunxi
<sunxi_fan> and maybe some 470ohm resistor in series could reduce the spikes, if you have them handy, a trial could be time well spent.
<sunxi_fan> OTOH the "mean" measure of tension with the multimeter is not very significative, of course..
<kdubious> with the multi-meter, all I can really do is tell if the clock is running, I think
<kdubious> so i don;t think MCLK runs for 88.2 & 96
<kdubious> but I "see" it run on 44.1 & 48
<kdubious> ok, off to create a shorter connector
<kdubious> thanks, sunxi_fan
<sunxi_fan> with that I2S link in a PS2 connector?
<kdubious> yes
<kdubious> that's it
<sunxi_fan> you are playing in completely another league then my codec! :-)
<kdubious> think I should plug an old mouse into it?
<sunxi_fan> with the tag slight shaving off the 2K, i suppose they could get there and make the integration for you! :-)
<sunxi_fan> you'll need really to "cut" a cable from a dusty mouse in the drawer, to find the right jack..
<sunxi_fan> which devices are supposed to be compliant with that fancy I2S connector?
<kdubious> Sorry, I was soldering
<kdubious> well... no devices are compliant
<sunxi_fan> maybe this info can lead you to the right expectation about cable length..
<kdubious> so, here I am, making them a "server" that will connect to their I2S
<kdubious> that's my company
<kdubious> I have the connector, almost ready to test with a 10cm "cable"
<sunxi_fan> let me tell you an "el cheapo" A20 on top of this beast will be pretty "ridicoulous"! ;-) you'll need at least an ebony case handcrafted!
<sunxi_fan> nice web site. don't get me wrong, BTW. i was joking.. i'm for first really convinced the Allwinner gears deliver an impressive performance in respect to the low cost they are selling off.. i'm just wondering how the "end user" can understand the value inside..
<kdubious> the value is the software
<kdubious> an I2S signal straight from the CPU, versus a dirty PC motherboard
<sunxi_fan> the SOC approach is surely better then a "heavy PC", indeed..
<sunxi_fan> which A20 board are you using for test? cubietruck?
<kdubious> ITEAD
paulk-collins has quit [Ping timeout: 250 seconds]
khuey|away is now known as khuey
paulk-collins has joined #linux-sunxi
khuey is now known as khuey|away
khuey|away is now known as khuey
leowt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulk-collins has quit [Quit: Quitte]
FlorianH has quit [Ping timeout: 272 seconds]
<kdubious> sunxi_fan, are you still there?
sunxi_fan has quit [Ping timeout: 244 seconds]
ricardocrudo has quit [Ping timeout: 246 seconds]
sehraf has quit [Read error: Connection reset by peer]
dev1990 has joined #linux-sunxi
kdubious has quit [Quit: Page closed]
fredy has quit [Ping timeout: 240 seconds]
dev1990_ has quit [Remote host closed the connection]
fredy_ has joined #linux-sunxi