<ccaione>
the input supply for the regulators in the AXP is (pretty much always) the ipsout voltage
<ccaione>
now to define this voltage I have been using the fixed regulator axp_ipsout_reg
<ccaione>
but dunno if there is a better way to define it
<wens>
my knowledge is that ipsout is best effort @ 5V
<ccaione>
wens: yep, that's why the fixed regulator
<hramrach>
but you need more instructions which means more work with memory fetching them
<hramrach>
heh, what was I reading
shineworld has joined #linux-sunxi
shineworld has left #linux-sunxi [#linux-sunxi]
rz2k has quit []
Black_Horseman has quit [Remote host closed the connection]
<libv>
hramrach: ah, that just needed patches sent in
geecko has joined #linux-sunxi
physis has joined #linux-sunxi
<libv>
ah, heh, a heavily maimed mk802 just arrived
<libv>
the previous owner cut crude venting holes
<libv>
with a drill... he wasn't even smart enough to use a soldering iron
<libv>
he even used a knife to open it. terrible.
<wens>
I used a drill to open a hole for the uart lines on the q8h
<libv>
wens: soldering iron is dandy for that
physis has quit [Ping timeout: 252 seconds]
<libv>
use a bad tip though
<libv>
wens: the plastic melts on both sides making the hole very sturdy
<libv>
yuck.
* libv
just took the cables out, and got the wiff of a heavy smoker
gzamboni has quit [Quit: Quitte]
<wens>
that's why I went for the drill and file
<libv>
the previous owner really was quite the pikey
<libv>
heavy smoker, lifted off the front pads on the OTG connector, badly maimed the case...
<ccaione>
libv: did you pay for that? :)
<libv>
yes, he is getting a negative review for this one
gzamboni has joined #linux-sunxi
Wizzup has quit [Ping timeout: 246 seconds]
Wizzup has joined #linux-sunxi
<libv>
wens: give it a go with a soldering iron next time, you'll be amazed how quick and clean it is, it just smells a bit bad and you need to have a cheap soldering iron you do not care for, or some bad old tip
<wens>
I only have one I borrowed :p
<libv>
that's also ok ;p
<wens>
hah, not ok for my friend I guess
<libv>
i have one of those really cheap soldering irons laying about which are perfect for smelting holes
<libv>
it's useless for anything else, but great for holes
Wizzup has quit [Remote host closed the connection]
Wizzup has joined #linux-sunxi
indy has quit [Ping timeout: 246 seconds]
indy has joined #linux-sunxi
arokux2 has quit [Ping timeout: 255 seconds]
<libv>
wow, heavily worn usb host port
merbanan has joined #linux-sunxi
<plaes>
ebay?
<libv>
of course
<libv>
you can't get a 512mb mk802 anywhere else anymore :)
<libv>
this device was on "buy now"
<libv>
for 10eur
<libv>
and was labelled "the perfect easter gift"
<libv>
i had seen a pair of holes in the case on the picture, but the owner of course never mentioned any of that in the description.
<plaes>
apparently easter eggs were included :P
<libv>
:)
<libv>
i only have had 2 other ebayed devices that were smelling that badly of smoke
<libv>
one was a thrustmaster top gun stick which i maimed for an electronics project
<libv>
and the other was a matrox g400 max, which i got after fosdem 2013, as i always wanted it when it was "recent", and i just spent an evening admiring the pictures of vsyrjala's extreme matrox collection at the delirium tremens in brussels (after fosdem)
<libv>
it went into an antistatic ziplock bag, and that's where it still is
<libv>
if i left the window open and the light on this summer, i might open the bag to get rid of the insects :p
<libv>
anyway, more pictures, now that the 2 ground connections were soldered again, and a glue gun was used
deasy has joined #linux-sunxi
Wizzup has quit [Remote host closed the connection]
Wizzup has joined #linux-sunxi
joedj has quit [Ping timeout: 246 seconds]
deffrag has joined #linux-sunxi
deffrag__ has quit [Ping timeout: 240 seconds]
theskilledworker has joined #linux-sunxi
theskilledworker has joined #linux-sunxi
<plaes>
libv: something is wrong with the pictures..
<plaes>
for mk802
<libv>
yes, they are still being created
<libv>
2 more to cut down and rescale
<plaes>
ok.. from the wiki page it seemed that the pictures were somehow missing
<libv>
yes, they are, they haven't been uploaded yet :)
physis has joined #linux-sunxi
theskilledworker has quit [Quit: Leaving]
physis has quit [Ping timeout: 252 seconds]
arky has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
lkcl has quit [Read error: Operation timed out]
F1skr has joined #linux-sunxi
vector80 has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
shineworld has joined #linux-sunxi
<vector80>
Hi my kernel is 3.479+, and in my fex file, here is my gpio config: http://sprunge.us/fRfB
<vector80>
During booting, I get this error: gpio count < =0 ,gpio_count is: 0
<vector80>
This kernel error message is in : ./arch/arm/plat-sunxi/sys_config.c: printk(KERN_ERR "gpio count < =0 ,gpio_count is: %d\n", gpio_count);
<vector80>
So, what is wrong with my FEX ?
<vector80>
I can export all 18 pins via sys/class/gpio, and I can set direction and value by that interface.
<vector80>
The problem is, why the FEX is not working, why it does not automatically set pin direction and values ?
<vector80>
When I boot my system, I allways see that all 18 pin directions are input, and all of their values are based on their hardware Pull-up ( If a pin is pulled up, it is HIGH, otherwise it is LOW ).
<vector80>
My meaning is, FEX file has no effect on the pin direction and values, why...
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<wigyori>
morning
lkcl has joined #linux-sunxi
<gzamboni>
vector80, sorry yesterday i had to go, so you did manage to make the speaker work, it was the gpio thing
<vector80>
gzamboni: Yeah, I made it
<vector80>
It was two reason
<gzamboni>
now the problem is that you cant initialize it with the fex default value/direction
<vector80>
One is the wrong PA, and second is the SW-mute pin
<vector80>
yes, you are %100 right
<gzamboni>
nice, i saw your message
<vector80>
cool
<vector80>
Why the FEX is not working then ?
<gzamboni>
i dont know, i did never test the initital values/directions
<vector80>
gzamboni: I afraid nobody tested this
<vector80>
Because if you look at the wiki,
<vector80>
I am doing everything compatible with the book :)
<vector80>
I am now reading kernel source
<vector80>
To understand why that function is returning -1
<gzamboni>
they are all set as output , dunno why in your cat debug gpio they are shown as in
<Turl>
hi bbrezillon
<Turl>
bbrezillon: what happened to the other patches on your series?
petr has joined #linux-sunxi
<vector80>
gzamboni: yes, that is the proof that sunxi-gpio driver is not working... :(
<Turl>
vector80: are you sure they are set incorrectly? maybe gpio driver is just misreporting
<Turl>
vector80: try checking with pio tool
<vector80>
pio tool... Let me check what is it
<vector80>
but I must tell you
<vector80>
if they were correct,
<vector80>
my sound would be OK
<vector80>
I can't get sound until I set PH25 to OUTPUT and HIGH
<vector80>
When I do it manually via /sys/class/gpio interface, it works.
<Turl>
vector80: pio is on sunxi tools
<bbrezillon>
Turl: hi, we discussed it with mripard and arnd, and it seems the clk should be defined under an mfd device spliting the PRCM block into several sub devices
<vector80>
let me check
<gzamboni>
vector80, the new gpio driver in 3.4 doesnt parse the gpio_init in fex
<vector80>
gzamboni: As I expected :)
<gzamboni>
the sunxi-gpio driver worked fine here, i dont have anything setup here now to test, but its working.
<Turl>
bbrezillon: ah ok :)
<vector80>
gzamboni: You mean, your pins get direction and value setting from FEX correctly ?
arky has quit [Quit: Leaving]
<gzamboni>
vector80, no, the inital values/directions i dont know if they are working, but it works when you set them manually using echo in /sys/class/gpio/export /sys/class/gpio/gpioxx_pxx/direction and getting/setting values with /sys/class/gpio/gpio15_pg0/value
<vector80>
gzamboni: Of course, I already mentioned this above. When manually setting, it works.
<vector80>
But from FEx, they don't.
<gzamboni>
i just gave a fast look in the gpio-sunxi.c and the driver doesnt seem to do it
<vector80>
yes, thats why it throws an error message there
<vector80>
I compiled sunxi-tools
<vector80>
How to input argument to this pio executable ?
<gzamboni>
the error you're getting is from the infrared
<vector80>
"./pio print"
<gzamboni>
ir-gpio
<vector80>
gzamboni: Are you sure ?
<gzamboni>
[ 2.334538] try to request ir_para gpio failed yes, if you set ir_para used to 0 you wont get it
<gzamboni>
verify if you dont have any of the gpios beeing used by other parameters in your fex
<vector80>
But I am not talking about that error
<Turl>
vector80: ./pio -m 'Pnn' I think
<Turl>
or something like that
<gzamboni>
gpio count < =0 ,gpio_count is: 0 this one ?
<Turl>
look at the help printed when you run it
<vector80>
I mean this one: [ 1.474151] gpio count < =0 ,gpio_count is: 0
<gzamboni>
yes, you do the same as is done with the shutdown pin, ( if the logic is the same), otherwise you inverse
<vector80>
no, I have PA control on PH15
<vector80>
But my SPEAKER-MUTE pin is on PH25
<vector80>
So, when I start playing,
<vector80>
I must set both pins
<gzamboni>
he has pa control on PH15 and he has a circuit to mute only the speakers using PH25
<vector80>
First I must enable PA power, and then UNMUTE my speakers
<vector80>
I can't see a way to do this on current sunxi-codec.c file
<gzamboni>
do you want the mute funtionality in the userspace ?
<vector80>
Can you help me, how to do it?
<Turl>
probably because you're the first doing it :p
<Turl>
it shouldn't be hard to add support
<vector80>
yes, but I really couldn't understand how to set a pin direction and set its value in the sunxi-codec.c file
<gzamboni>
if there is the hardware support for muting i think you should do the support in the userspace, otherwise you should remove all the hardware circuit to mute the speakers
<vector80>
gzamboni: I think, the best solution would be in the sunxi-codec.c file
<vector80>
As you see, for PA patch yesterday,
<vector80>
I POWER ON the PAM8620 when start playing something
<vector80>
and I shut it down when stop playing
<vector80>
So, I wish I could do it in the same functions
<vector80>
i.e static int codec_play_start(void)
<gzamboni>
yes, but do you want to fork the kernel ?
<vector80>
Any other option ?
<gzamboni>
double fork :P
<gzamboni>
allways on on the hardware, no mute hardware control
<gzamboni>
for the speakers
<gzamboni>
but i'm not an expert, if the design company did it there should be a reason
<gzamboni>
either i do know this PAM8620 audio amp
<vector80>
gzamboni: You know, I could do it via syus/class/gpio
<Turl>
(maybe switch 1/0, don't recall if you need high or lo to mute
<vector80>
"audio_mute_ctrl"
<vector80>
I have to add this to my FEX ?
<Turl>
yes, with your pin
<vector80>
Turl: Thank you very much
<vector80>
Let me try it
<vector80>
Pls give me afew mins
<Turl>
sure :)
<Turl>
vector80: make sure the levels are ok, I used lo == unmute, hi == mute
slapin has joined #linux-sunxi
<slapin>
hi, all!
<Turl>
hey slapin :)
<slapin>
for OE - why we fork setup-scripts, and don't add our layer to layers.txt? is there any specfic reason? Dodn't Koen added our layer to Angstrom scripts?
<slapin>
*Didn's
<slapin>
damn
<slapin>
Didn't that is
<Turl>
slapin: dunno :)
<Turl>
slapin: who is working on OE from here?
<slapin>
Turl: some people do, includong me
<slapin>
Turl: I was just out af everything for a month or so, hence I ask
<slapin>
I just don't remember why fork it at all
_massi_ has joined #linux-sunxi
<slapin>
but whatever, I'll do a fix and fix wiki
* libv
hears music
<slapin>
libv: ?
<Turl>
slapin: I thought it wasn't being worked on much judging by list/chat activity
<libv>
someone talked about fixing the wiki, and it sounded like music in my ears :p
<Turl>
but I see it has recent commits on the repo
<Turl>
libv: haha
<Turl>
libv: do you have a trigger for wiki? :)
<libv>
no, just happened to glance at my irssi terminal :)
<Turl>
libv: well timed glance on there :)
<slapin>
hey
<slapin>
Turl: I don't have commit acces there, will you fix that?
<slapin>
Turl: I mean push access
<slapin>
hno, mnemoc: ^
<vector80>
Turl: You are no:1
<vector80>
I fixed it by your help
<vector80>
Should I create a patch file for it ?
<slapin>
ah damn wtf....
<slapin>
sorry, all, please ignore, had some eyesore, no it is gone...
<slapin>
*now
Skaag has joined #linux-sunxi
<Turl>
vector80: :)
<Turl>
vector80: that would be great, send it to the list
<vector80>
Alright
<vector80>
Let me do it
<vector80>
I had to change your code slightly
<gzamboni>
;-) thanks Turl
<vector80>
But it work perfectly now
<vector80>
Thank you soo much again
<Turl>
slapin: do you need push access to sth?
<Turl>
:) anytime vector80, gzamboni
<gzamboni>
shouldn't we create a alsa control for that ?
<Turl>
gzamboni: yes, that would be the best solution
<gzamboni>
because i dont see any interest of using the hardware mute for the speakers other than if vector80 has already made a mass production
<slapin>
Turl: NO
<slapin>
Turl: I've everything at hand now. MUHAHAHAHAH!
<gzamboni>
gotta go
<Turl>
slapin: not sure if I should worry or not
<Turl>
:)
<Turl>
gzamboni: see you :)
xavia has joined #linux-sunxi
leviathanch has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<slapin>
Turl: I've submitted pull request to Koen. if no reaction, will update wiki tonight.
<slapin>
mripard, hno, Turl: any news?
<Turl>
slapin: I don't recall how long you've been away
<Turl>
slapin: but uboot is being mainlined these days, patches going back and forth
<Turl>
I think there was some wiki tag to put console commands in instead of using <pre>
<slapin>
Turl: I wonder... (about <pre>)
<slapin>
Turl: I wish the paragraph "If your card gets mounted during insertion, unmount it before doing any dd. And yes, as usual, check that your device name is correct BEFORE doing dd. You will not be able to undo this operation." look more alert-like...
enrico_ has joined #linux-sunxi
<slapin>
Turl: but can't think of something...
<slapin>
or anything...
<Turl>
slapin: yeah, it'd be cool to have alert boxes
<Turl>
slapin: in the meantime you can bold the text so it's more visible
<slapin>
Turl: no box, just some visible text, which will not be missed
kuldeepdhaka has quit [Ping timeout: 258 seconds]
kuldeepdhaka_ has joined #linux-sunxi
<slapin>
Turl: dunno how to make it bold - is it ''' ? I don't remember anything :(
<slapin>
who is wiki guru 80 lvl here?
<Turl>
slapin: the wiki has a "wysiwyg" kinda editor
<Turl>
bold is ''' and italics ''
<Turl>
I just did the change
<slapin>
Turl: thanks a lot!
FreezingCold has joined #linux-sunxi
bonbons has joined #linux-sunxi
rta has quit [Ping timeout: 252 seconds]
arky has joined #linux-sunxi
arky has quit [Read error: Connection reset by peer]
rta has joined #linux-sunxi
FDCX has quit [Ping timeout: 246 seconds]
Fusing has joined #linux-sunxi
Fusing has quit [Client Quit]
FDCX has joined #linux-sunxi
_massi_ has quit [Remote host closed the connection]
FR^2 has quit [Quit: Connection reset by peer]
enrico_ has quit [Quit: Bye]
shineworld has joined #linux-sunxi
shineworld has quit [Client Quit]
diego_r has quit [Ping timeout: 240 seconds]
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
bbrezillon has quit [Quit: WeeChat 0.4.1]
sap has joined #linux-sunxi
deasy has joined #linux-sunxi
Skaag has quit [Ping timeout: 240 seconds]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
FDCX has quit [Remote host closed the connection]
<ccaione>
uhm, the sunxi master is not updated? I get ERROR: v7_dcache_inval_range - start address is not aligned - 0x7fb68be0
<ccaione>
s/sunxi/sunxi u-boot/
<Turl>
ccaione: I think someone merged uboot master recently
<Turl>
maybe it broke something
<ccaione>
good :D
<ccaione>
Turl: could you pass me u-boot and the spl somewhere? ain't no time for that :)
kuldeepdhaka_ has quit [Ping timeout: 258 seconds]
ccaione has quit [Ping timeout: 260 seconds]
nabblet has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
notmart has joined #linux-sunxi
notmart has quit [Client Quit]
w00tc0d3_ has quit [Changing host]
w00tc0d3_ has joined #linux-sunxi
geecko has quit [Ping timeout: 240 seconds]
w00tc0d3_ is now known as w00tc0d3
w00tc0d3 has quit [Changing host]
w00tc0d3 has joined #linux-sunxi
nabblet has quit [Quit: leaving]
ccaione has joined #linux-sunxi
souther has quit [Ping timeout: 259 seconds]
leviathanch has joined #linux-sunxi
souther has joined #linux-sunxi
mmarker has joined #linux-sunxi
deasy has joined #linux-sunxi
eagles0513875 has quit [Ping timeout: 246 seconds]
leviathanch_ has joined #linux-sunxi
<mmarker>
I hate asking hardware suggestions...but does anyone have a good sunxi board? I'd like one based on the A7 since I love virtualization, but a good other option would be nice :D
<libv>
mmarker: a20 olinuxino or cubietruck
<libv>
mmarker: as featured on the front page of our wiki
<oliv3r>
hey all
<oliv3r>
i've been slacking with sunxi so much latley!
<oliv3r>
i'm so ashamed :(
<oliv3r>
what have I missed?
<mmarker>
That's what I was leaning towards. Only thing on the wiki that concerned me was the cubietruck has some WiFi/VGA crosstalk? I'm stuck with a monitor that only has a free VGA port left...and couldn't see anything clear as to what the specific issue was.
nedko_ is now known as nedko
nedko has quit [Changing host]
nedko has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
<lioka>
mmarker: oh, don't worry. you can't have working virtualization and working hdmi/vga/whatever in one kernel anyway
<libv>
mmarker: olinuxino also has a vga breakout cable
<mmarker>
Lioka: kernel version issues, I'm guessing?
<mmarker>
Libv: looking at that. Tossup is the ram.
<mmarker>
Also not afraid of kernel hacking. It's been a long time since I meddled with kernel code
<lioka>
mmarker: 3.4 (with video) vs mainline (i.e. 3.14) for virtualization
<mmarker>
Looks: assuming people are working on mainlining drivers? Again, would like to get back into it.
<mmarker>
And die android auto complete.
leviathanch2 has joined #linux-sunxi
leviathanch has quit [Read error: Connection reset by peer]