<Strswrd>
dgp: Hello! I was testing stuff yesterday and it seems like my startup problem is connected to my wireless keyboard. If I leave it unplugged until the android logo shows up the device boots. If I leave it in it usually takes a couple of on/off tries before I get the logo to show. It still sometimes acts up with the keyboard disconnected, but a lot less frequently..
<abrasive>
you're using the charger it came with, right?
<Strswrd>
yes...
<abrasive>
good :)
<dgp>
Strswrd: you might need a powered usb hub.. I can't get my gk802 to work with my mouse without a powered hub
<Strswrd>
I'm using a powered hub...also have tried wit an iPad charger connected with the cable that came with the dongle..
<Strswrd>
with
<dgp>
The gk802 also does lots of weird stuff if you don't use the stock supply. I have a really good 5v supply and it refuses to talk to anything usb like that
<dgp>
Strswrd: mm ok, turn on adb wireless and connect to it from your pc.. get a shell via adb, run su to become root (you'll need to ok it on the screen) and then run dmesg after plugging in your usb bits
<dgp>
it should say what is going on there
<dgp>
if possible add a serial console and capture the output
newbie12 has joined #imx6-dongle
<Strswrd>
Yeah, I'll try adb when I get home... have yet to order a cp2102 board..
<dgp>
a cp2102 is a must have :)
<abrasive>
the d+ and d- lines of the host and device ports are wired together :/
<abrasive>
so any charger which properly implements charger detection will prevent you using USB devices on the gk802
<dgp>
oh
<abrasive>
ditto powering it from a PC
<dgp>
so it's actually the same port?
<abrasive>
yeah
<abrasive>
they used the other native usb port on the imx6 for wifi :(
<dgp>
so it needs a charger with the data lines unwired
<abrasive>
yup
<abrasive>
because you can run it in gadget mode, if you want. the kernel doesn't like to switch back and forth though.
<dgp>
I have a <NDA blah blah> board with the same wifi module as the gk802
<dgp>
yeah, that's why my android image has a tool to turn on wireless debugging :)
<abrasive>
if they had put a hub IC in you could do both.
<abrasive>
instead of that pointless secure EPROM *fist shake*
<dgp>
that would add $1 to the BOM
<abrasive>
i'd imagine a hub IC would cost about the same as that EPROM on volume alone
<dgp>
I'm hoping the PCI-E and SATA bits are there
<abrasive>
PCIe might be a bit hopeful but SATA seems quite doable
<dgp>
abrasive: I have the SATA pads worked out..
<abrasive>
where'd that image of the board layout come from?
<dgp>
I'm just hoping the supplies are wired up
<dgp>
I think rz2k(?) got that from the guys that made it
<abrasive>
hah!
<abrasive>
with schematics? (hopeful)
<dgp>
I remember him saying something like "one of them sent me a screenshot form orcad and then stopped responding"
<dgp>
I took the chip off of my broken board though, so I have a fair few of the test pads worked out
mary1 has joined #imx6-dongle
<abrasive>
can you perhaps check that the ddc bus is still wired to the same pins on that board revision?
<dgp>
maybe. I took the chip off because the board got run over with a chair.. so a lot of the pads are gon
<dgp>
gone
<dgp>
but if I get jtag working we can use boundary scan to work stuff out
<abrasive>
oh, that kind of broken :)
<dgp>
I did intend to take the chip off with hot air but it managed to get on the floor and got busted
<dgp>
IIRC i2c1 does time out with the current mux config. i2c1 is DDC right?
<abrasive>
don't remember tbh
<abrasive>
it might be I2C2
<abrasive>
which is i2c-1 to linux
<abrasive>
there was a separate function to set it up in the gk802 board .c in the kernel
<dgp>
I saw some stuff about switching between i2c and ddc in the board file
<dgp>
where is the secure eeprom connected? or is that unknown?
<abrasive>
yeah... HDCP uses its own engine
<abrasive>
while we use it in i2c mode
<abrasive>
don't know
<abrasive>
but there is some other stuff on the ddc bus from memory
<dgp>
I thought the secure rom was for HDCP but it seems the imx part on the board doesn't support HDCP
<dgp>
but it's possible its a leftover from the reference board they copied
<abrasive>
the imx parts have onboard OTP for HDCP keys anyway
<dgp>
ah ok, so it have zero use
<dgp>
s/have/has/
<abrasive>
yeah. maybe it's for some sort of app store application? i have no idea.
<dgp>
the play store works on my image without it
<dgp>
maybe for some DRM but I think google's DRM libraries are just "copy this blob here" and not tied to the hardware
<Strswrd>
dgp: Is support for ethernet enabled in your image? I was planning to test it.. borrowed a usb-ethernet dongle from a friend.
hste has quit [Ping timeout: 240 seconds]
<dgp>
Strswrd: nope, I can add it at some point
hste has joined #imx6-dongle
Noskcaj has quit [Read error: Connection reset by peer]
bronzebeard_ has joined #imx6-dongle
<Strswrd>
dgp: No worries... just wanted to test. The wifi range isn't too good so I thought I might run a cable to the thing.. I'll just move the router instead.
<Strswrd>
btw.. wouldn't ethernet be nice to have in a kiosk-application?
<dgp>
Strswrd: client hasn't asked for it. My rule is only do stuff the have asked for
<dgp>
otherwise you open cans of worms that eat all of your time
mary1 has left #imx6-dongle [#imx6-dongle]
mary1 has joined #imx6-dongle
fossxplorer has joined #imx6-dongle
<Strswrd>
yeah... true
hste has quit [Ping timeout: 240 seconds]
<dgp>
it shouldn't be too hard to add it though
<Strswrd>
Ok... but I don't want be the "worm can".. so it's really no big deal for me
<dgp>
when I'm finished with this project I'll mess around with it :)
<dgp>
I want to try adding sata and stuff anyhow
<Strswrd>
:)
hste has joined #imx6-dongle
* dgp
hopes Strswrd has ordered his cp2102 board from ebay..
<Strswrd>
dgp: What are your thought about I/O scheduler on this stick? what would be best for the system SD-card approach do you think? I have a feeling it might do a difference in "fluidness" for us.. no?
<Strswrd>
hehe
<dgp>
I'm not even sure what it is at the moment heh
<Strswrd>
Can't use paypal from work..have to wait until I get home.
<dgp>
If you're getting into this tinkering with little computers stuff then you should get a few off them
<dgp>
s/off/of/
<Strswrd>
yeah.. probably. For now I'm just enjoying dabbing with stuff I don't really have any clue about..
<Strswrd>
:)
<dgp>
You know you've gone too far when you start having to buy 16 port switches to wire everything in at the same time..
<Strswrd>
hehe.. phew I heven't gone too far yet then.. (I guess you have) :)
<Strswrd>
haven't
<dgp>
way too far by a long shot. I don't think it's too much longer before I have every cpu architecture that can run debian
<mary1>
dgp: Hello dgp (and Strswrd). I'm following your discussion with interest, the JB firmware looks promising. I tried to use GK802 with the stock firmware and met a problem with networking. The network is very unstable, even with an external antenna mod. It prevents to use GK802 as a video player of RSTP video streams (Android app "ivysilani" for Czech public TV, btw). I guess the new kernel or JB may help. Would you mind if I test your JB firmwa
<Strswrd>
Sure..
<Strswrd>
not sure I can access czech tv from here though.. I could try some other in case it doesn't work
<dgp>
mary1: I haven't extensively tested the networking. I watched youtube on it for a while
<dgp>
mary1: as long as you understand there is no warranty with this image and I'm really busy so I'm not going to be fixing anything wrong with it for a while I can give you the link
<Strswrd>
my feeling is that the JB is better... I manged to stream a 720p movie using NaviX on xbmc. Only some small stuttering... but I think it is xbmc's fault
<mary1>
Strswrd: great, sound good.
<dgp>
Strswrd: if possible can you checkout logcat when xbmc is running?
<dgp>
The processor gets down clocked when it starts getting hot and it would be interesting to see if xbmc outputs anything about how the decoding is happening
<mary1>
dgp: sure, fortunatelly, it is not easy to brick GK802... so I can try :-)
<Strswrd>
.. it worked for 2:30hrs in the original casing without antenna mod
<dgp>
Strswrd: was the case hot?
<dgp>
running the antutu test on mine made the alu case very hot
<Strswrd>
I'll check xbmc & logcat
<Strswrd>
a bit hot... but I don't think it clocked down
<dgp>
mary1: I've sent you a link to the image. It's designed to be written directly to the 8gb sd card
<dgp>
take a backup of the card first so you can go back of course
<mary1>
dgp: thanks
<dgp>
The wifi seems pretty good to me but there again my ap is about 1m away
<Strswrd>
wifi seems to "hold" the signal strength better in your image than in the original one..
<dgp>
It could be because of newer drivers for the wifi
<dgp>
I wonder if the wifi will get worse if you have bt turned on though
<mary1>
The wifi was terrible in the stock firmware. The external antenna mod helps a lot with signal strength, however, there was sill the stability issue. I will test the JB image during this weekend.
<dgp>
the stock image seems to have been a rushed job.
<Strswrd>
yes.. I think so too
datagutt has joined #imx6-dongle
datagutt has quit [Remote host closed the connection]
datagutt has joined #imx6-dongle
bronzebeard_ has quit [Remote host closed the connection]
<Juggie>
xbmc working on android now for imx6?
<Juggie>
via libstagefright?
<dgp>
I have no idea if it uses hardware decoding. If Strswrd can take a look at logcat we should be able to find out :)
<Strswrd>
As soon as I get home :)
<Strswrd>
I used xbmc 12.2.. is that libstagefright enabled?
<Juggie>
no
<Juggie>
get gotham beta
<Strswrd>
ok then..
<Juggie>
well... maybe it is... check with 'o' when you play a video
<dgp>
I think the shipping is a bit killer on those though
<dgp>
yeah, only worth it if you want to buy a few
<rm>
not comparable to $69 free shipping
<rm>
but well okay, 1.7 GHz and 2GB RAM
newbie12 is now known as hp__
<dgp>
the x2 is the one I would go for
<dgp>
but when you think about it, what would you do with an arm machine like that?
<Juggie>
dgp, you have everything running pretty well on 4.2.2?
<dgp>
Juggie: it's 4.1.2 at the moment, it has most of the patches from the 4.2.2 kernel
<dgp>
I couldn't get the graphics to come up with the new gpu parts of the 4.2.2 kernel so it's possible it needs some stuff from android 4.2.2 to make it work
<Juggie>
dgp, for the stick though 4.1.2 is still great
<Juggie>
4.2.2 does not add anything useful
<dgp>
4.2.2 is mostly the mutliuser stuff I think
mary1 has left #imx6-dongle [#imx6-dongle]
cnxsoft has quit [Remote host closed the connection]
<Juggie>
my real interest is xbmc as i said, i dont care of it runs on android or linux :)
<Juggie>
dgp, when are you planning to release your android build?
<dgp>
The build is for a client at the moment, once I get paid and have some free time I'll clean it up and upload it somewhere
<dgp>
my main worry is that I don't want to be chased around by people saying "this no work, fix no or else" like I do with free android apps
<dgp>
s/no/now/
<Juggie>
github it w/ a anonymous account :P
<dgp>
that might be a good idea
rz2k has joined #imx6-dongle
Strswrd has quit [Quit: Page closed]
hste has joined #imx6-dongle
Strswrd has joined #imx6-dongle
<Strswrd>
Juggie: streaming a h264 1280x536 thru NaviX/XBMC right now.. testin v12.2 that I had installed
<Strswrd>
dcpu 0% acpu 0% vcpu 0% whatever that means..(when i've hit "o"
mary1 has joined #imx6-dongle
<Juggie>
Strswrd, check what video decoder its using
<Juggie>
its up on the right somewhere
<Juggie>
not sure which line
<Juggie>
should say 264 something
<Strswrd>
dc:ff-h264?
<Juggie>
thats the software decoder i believe
<Juggie>
correct, it is the software decoder
<Strswrd>
Ok.. its a little choppy (not too bad).. gonna install gotham then
<Juggie>
Thats what i said to do
<Juggie>
lol
<Strswrd>
yeah.. just threw myself in the sofa when I got home and tried what was already on the stick.. :)
<Juggie>
try gotham alpha 3
<Strswrd>
oki
<Strswrd>
same driver.. but cpu usage is 0% for all cores now
<dgp>
is it smooth?
<Strswrd>
seems similar to 12.2
<Strswrd>
its definately watchable.. but little choppy
<dgp>
I wonder how it's using software decoding but not using any "cpu"
<Strswrd>
maybe cpu load detection doesn't work in gotham?
<dgp>
you should be able to run top in the adb shell to see what is going on
<Strswrd>
yeah.. just gonna install adb
<Strswrd>
btw.. tried the "ivysilani" app that mary1 asked about... seems to work..
<Strswrd>
hard to understand the language though
<Strswrd>
especially since the app rotated the screen *tilting head
<dgp>
yeah that sucks, the device config says that it can't rotate and it goes and does it anyways
<dgp>
antutu did that
<Strswrd>
yup
<Juggie>
Strswrd, is it using the hardware decoder or software?
<Juggie>
can you pull the log from xbmc?
<Juggie>
Strswrd?
<Strswrd>
hold on... I had to answer the door
<Strswrd>
where is the log at?
<Juggie>
not sure... on linux its in homedir/.xbmc/temp/xbmc.log