Thanks for the info, Maxime.

Will try out the WiFi driver. I've seen a GT9xx driver mentioned in the 
wiki (http://linux-sunxi.org/Touchscreen#Goodix). Maybe that could be 
hacked into working with the GT818. Or the GT818 driver from sunxi-3.4...

About the USB-Problem: I have tried two OTG cables which both work on a 
different tablet, so I'm pretty sure they work. I have uploaded a paste of 
kern.log here: https://pastebin.com/CV5cQZJA Maybe this will shed some more 
light on what's wrong. I could also deliver more info or try patches if 
necessary...

Best Regards,
Bim

Am Freitag, 12. Mai 2017 11:16:54 UTC+2 schrieb Maxime Ripard:
>
> Hi, 
>
> On Thu, May 11, 2017 at 02:45:11PM -0700, Bim Overbohm wrote: 
> > Hi All, 
> > 
> > I had a similar problem running a mainline 4.11 kernel on an A33 tablet 
> > (marked "Q8-2.4G 20140918". It came from a company called Trimeo and is 
> > simply called 7". It contains an APX223 power controller, RTL8189ETV 
> WiFi 
> > controller, 2x Nanya NT5CB128M15FP-DY DRAM chips (2x256MB), a Hynix 
> > H27UCG8T2BTR-BC NAND-flash chip and a Goodix GT818 touch controller. 
> > Display resolution is 1024x600). The self-compiled u-boot dtb would 
> > initialize the USB, but the kernel dtb would not work. 
>
> U-Boot doesn't use the DT for this USB setup. 
>
> > The kernel messages were something along the lines of "[ 9.366994] 
> > sun4i-usb-phy 1c19400.phy: could not find pctldev for node 
> > /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring 
> > probe". 
>
> That's not likely to be your issue. The probe should be deferred, and 
> reattempted later. 
>
> > I found no way to activate the pinctrl devices, so I fixed this by 
> > decompiling the dts, removing all the USB id detect pin and vbus 
> > settings and recompiling the dts (diff at end of message). The 
> > device boots into LXDE now and I can use an USB keyboard and 
> > mouse. I still have no WiFi though... 
> > 
> > Pastebin of unpatched dts file: https://pastebin.com/kL6WELuC 
> > 
> > A couple of questions: 
> > 
> > - Is there a proper way to make the pinctrls and OTG dual mode work 
> >   on the device?! I suspect they are needed to activate WiFi too... 
>
> As I said, that's probably not your issue. Are you sure of your 
> micro-USB cable? Is it setting the ID pin to the ground as it's 
> supposed to? 
>
> > - Is this a bug I should report for sunxi-next? 
>
> sunxi-next is just a merge of various upstream branches. It doesn't 
> make sense to report bugs there. You've found the right place already. 
>
> > - Is there a driver for the GT818 in the mainline kernel or a way to 
> >   make that device work? 
>
> It doesn't look like there is. 
>
> > - Is there a driver for the RTL8189ETV in the mainline kernel or a way 
> to 
> > make that device work? 
>
> https://linux-sunxi.org/Wifi#RTL8189ES_.2F_RTL8189ETV 
>
> Maxime 
>
> -- 
> Maxime Ripard, Free Electrons 
> Embedded Linux and Kernel engineering 
> http://free-electrons.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to