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
Andy-D has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
flyhorse_PaiZR has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
khuey is now known as khuey|away
FDCX_ has quit [Ping timeout: 240 seconds]
<sunxi_fan> Turl: it's more then mainline. it's the 4.1rcX "work in progress" you can find here: https://github.com/jwrdegoede/linux-sunxi/tree/sunxi-wip
sunxi_fan has left #linux-sunxi [#linux-sunxi]
flyhorse has joined #linux-sunxi
naobsd has joined #linux-sunxi
flyhorse_PaiZR has quit [Read error: Connection reset by peer]
Gerwin_J has quit [Ping timeout: 264 seconds]
flyhorse_srvqF has joined #linux-sunxi
<Turl> sunxi_fan1: have you tried setting the dac output to direct on alsamixer?
flyhorse has quit [Read error: Connection reset by peer]
<Turl> sunxi_fan1: mixed, left mixer to left, right mixer to right should do the trick as well
dlan_ is now known as dlan
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 250 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 245 seconds]
arossdotme has quit [Ping timeout: 245 seconds]
flyhorse has joined #linux-sunxi
flyhorse_srvqF has quit [Read error: Connection reset by peer]
arossdotme has joined #linux-sunxi
cajg has quit [Ping timeout: 276 seconds]
nicksydney has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
nicksydney has quit [Ping timeout: 244 seconds]
nicksydney has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 272 seconds]
p1u3sch1 has joined #linux-sunxi
nicksydney has quit [Ping timeout: 244 seconds]
nicksydney has joined #linux-sunxi
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #linux-sunxi
nicksydney_ has joined #linux-sunxi
nicksydney_ has quit [Read error: Connection reset by peer]
nicksydney has quit [Ping timeout: 272 seconds]
meow` has quit [Ping timeout: 256 seconds]
meow` has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
flyhorse_JeNrl has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
Akagi201 has joined #linux-sunxi
domidumont has joined #linux-sunxi
physis_ has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_JeNrl has quit [Read error: Connection reset by peer]
physis has quit [Ping timeout: 265 seconds]
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
sehraf has joined #linux-sunxi
simosx has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
mrnuke has quit [Ping timeout: 265 seconds]
mrnuke has joined #linux-sunxi
diego_r has joined #linux-sunxi
sunxi_fan1 is now known as sunxi_fan
domidumont has quit [Read error: Connection reset by peer]
domidumont has joined #linux-sunxi
trepidaciousMBR2 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
trepidaciousMBR2 has quit [Quit: trepidaciousMBR2]
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
hehopmajieh__ has joined #linux-sunxi
HeHoPMaJIeH has quit [Ping timeout: 255 seconds]
awe00 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 256 seconds]
iamfrankenstein1 has joined #linux-sunxi
<sunxi_fan> Turl: yes i tried all the mixer controls.. there are not that many..
<sunxi_fan> but the audio got always out of left earphone only (some time mixed, some time only one channel)
cajg has joined #linux-sunxi
<sunxi_fan> BTW i had a check to the sunxi-codec.c and i indeed found how a channel could get mixed together the other one..
<sunxi_fan> with this line #507 of sunxi-codec.c
<sunxi_fan> static SOC_VALUE_ENUM_SINGLE_DECL(right_output_mixer, SUNXI_DAC_ACTL,
<sunxi_fan> SUNXI_DAC_ACTL_LDACRMIXS, 0x3,
<sunxi_fan> right_output_mixer_text,
iamfrankenstein has joined #linux-sunxi
<sunxi_fan> here the "bitmask" 0x3 indeed show we are tweaking two (2) different a20 registers (they are the same in the A10 BTW):
<sunxi_fan> #define SUNXI_DAC_ACTL_RDACRMIXS (14)
<sunxi_fan> #define SUNXI_DAC_ACTL_LDACRMIXS (13)
<sunxi_fan> ..and the last one LDACRMIXS is putting the LEFT channel out of the right DAC (mixed together with the right one, i suppose.. if it's not disabled on the other control..)
iamfrankenstein1 has quit [Ping timeout: 264 seconds]
<sunxi_fan> let me tell you that i printed the register with regmap_read() at each play_start() callback so to check the real value, and indeed it was something similar but i need to investigate more this issue (because my earphone show the mixing on the left earphone only, and here it seems like you eventually get L+R on the right codec only.. ) i don't know if in A10 cubie L & R are reversed.. i plan to test on another Olimex A20 board i hav
<sunxi_fan> anyway i think a single call tweaking two registers deserves at least a remark in the source code..
iamfrankenstein has quit [Ping timeout: 240 seconds]
<sunxi_fan> :-) the same goes for the Direct/Mixed path selection in:
<sunxi_fan> static SOC_VALUE_ENUM_SINGLE_DECL(dac_output_mux, SUNXI_DAC_ACTL,
<sunxi_fan> SUNXI_DAC_ACTL_MIXPAS, 0x3,
<sunxi_fan> sunxi_dac_output_values);
<sunxi_fan> sunxi_dac_output_text,
<sunxi_fan> where the code tweaks two registers in one shot..
<sunxi_fan> #define SUNXI_DAC_ACTL_DACPAS (8)
<sunxi_fan> #define SUNXI_DAC_ACTL_MIXPAS (7)
iamfrankenstein has joined #linux-sunxi
<mripard> sunxi_fan: how is that wrong ?
domidumont has quit [Ping timeout: 246 seconds]
domidumont has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 252 seconds]
physis_ has quit [Ping timeout: 250 seconds]
physis has joined #linux-sunxi
<sunxi_fan> sorry i'f i'm explaining badly. i'm not saying it's "wrong", just not very clear and IMHHHO this kind of access to two registers in a shot would deserves a remark in the code. just an opinion.
dev1990 has joined #linux-sunxi
physis has quit [Read error: Connection reset by peer]
physis has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
simosx has quit [Quit: Leaving]
<sunxi_fan> i found the source of the single channel audio.. PEBKAC!! i didn't plug the earphone jack completely, so i was getting back on the earphone just one channel on the wrong ear.. on the Olimex A20 SOM EVB, the jack input was more smooth so i saw it was getting fully inside and working ok. my bad! :-)
lemonzest has joined #linux-sunxi
<mripard> sunxi_fan: it's not two registers, it's two bits of a register
<mripard> both controlling the input of the same ASoC widget
<mripard> so no, it doesn't need anything
<mripard> because it just makes sense
adj_ has quit [Quit: Leaving]
naobsd has joined #linux-sunxi
reinforce has joined #linux-sunxi
<Turl> sunxi_fan: :)
Akagi201 has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
<sunxi_fan> mripard: if you are ok, i'm ok.
<sunxi_fan> audio codec works good enough for my purpose and i think i've got at least the basics for turning to my i2s test.. thanx for all the help
f15h has joined #linux-sunxi
kaspter has joined #linux-sunxi
dantob has joined #linux-sunxi
premoboss has joined #linux-sunxi
f15h has quit [Remote host closed the connection]
flyhorse_SpPwy has joined #linux-sunxi
flyhorse has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
jemk has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
adj2 has joined #linux-sunxi
adj2 has quit [Remote host closed the connection]
adj2 has joined #linux-sunxi
dev1990_ has joined #linux-sunxi
dev1990 has quit [Ping timeout: 265 seconds]
dantob has quit [Quit: dantob]
naobsd has joined #linux-sunxi
diego_ has joined #linux-sunxi
diego_r has quit [Disconnected by services]
diego_ is now known as diego_r
diego_ has joined #linux-sunxi
diego_r has quit [Disconnected by services]
diego_ is now known as diego_r
diego_ has joined #linux-sunxi
diego_r has quit [Disconnected by services]
diego_ is now known as diego_r
gianMOD has joined #linux-sunxi
simosx has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_SpPwy has quit [Read error: Connection reset by peer]
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
flyhorse_iibKB has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
gianMOD has quit [Remote host closed the connection]
adj2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
adj_ has joined #linux-sunxi
robogoat has quit [Ping timeout: 255 seconds]
<RSpliet> jackdaniel: https://gitlab.com/turtle-solutions/u-boot/commits/sunxi-nand-wip-ubi teaches u-boot to mount a ubi partition on your nand device
<RSpliet> with DT defs for olimex lime
robogoat has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gzamboni has quit [Ping timeout: 264 seconds]
philippe_fouquet has quit [Remote host closed the connection]
simosx has quit [Quit: Leaving]
fredy has quit [Excess Flood]
gzamboni has joined #linux-sunxi
fredy has joined #linux-sunxi
premoboss has quit [Ping timeout: 256 seconds]
f15h has joined #linux-sunxi
f15h has quit [Client Quit]
awe00 has quit [Ping timeout: 255 seconds]
domidumont has quit [Ping timeout: 246 seconds]
flyhorse has joined #linux-sunxi
flyhorse_iibKB has quit [Read error: Connection reset by peer]
bonbons has joined #linux-sunxi
domidumont has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
flyhorse_ZwLoz has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
T0mW has quit [Ping timeout: 258 seconds]
gianMOD has joined #linux-sunxi
khuey|away is now known as khuey
diego_r has quit [Ping timeout: 255 seconds]
domidumont has quit [Ping timeout: 246 seconds]
kaspter has quit [Ping timeout: 240 seconds]
Netlynx has quit [Quit: Leaving]
adj_ has quit [Quit: Leaving]
gianMOD has quit [Remote host closed the connection]
ricardocrudo has quit [Ping timeout: 256 seconds]
oliv3r has quit [Ping timeout: 256 seconds]
oliv3r has joined #linux-sunxi
faisal has joined #linux-sunxi
gzamboni has quit [Ping timeout: 264 seconds]
lemonzest has quit [Quit: Leaving]
paulk-collins has quit [Ping timeout: 276 seconds]
gzamboni has joined #linux-sunxi
flyhorse_ZwLoz has quit [Ping timeout: 244 seconds]
firnsy has quit [Ping timeout: 256 seconds]
firnsy has joined #linux-sunxi
gianMOD has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
paulk-collins has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
adj_ has joined #linux-sunxi
vincenzo has joined #linux-sunxi
vincenzo has quit [Quit: Konversation terminated!]
RSpliet has quit [Read error: Connection reset by peer]
RSpliet has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
awe00 has joined #linux-sunxi
awe00 has quit [Ping timeout: 258 seconds]
gianMOD has quit [Read error: Connection reset by peer]
naobsd has quit [Ping timeout: 276 seconds]
naobsd has joined #linux-sunxi
awe00 has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
firnsy has quit [Quit: No Ping reply in 180 seconds.]
jero has quit [Ping timeout: 245 seconds]
firnsy has joined #linux-sunxi
Guest65208 has joined #linux-sunxi
sehraf has quit [Read error: Connection reset by peer]
awe00 has quit [Ping timeout: 265 seconds]
buZz has quit [Ping timeout: 245 seconds]
buZz has joined #linux-sunxi
buZz is now known as Guest14128
Guest14128 is now known as buZz
Akagi201 has joined #linux-sunxi
faisal has quit [Ping timeout: 276 seconds]
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
paulk-collins has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
Akagi201_ has joined #linux-sunxi