power and usb problem with a13 micro board

Started by vaishali, March 07, 2013, 09:16:03 AM

Previous topic - Next topic

vaishali

hi john and jwischka ,
i have 5v 3.6A power supply for a13 micro board.
and i am unable to connect keyboard and mouse.
i have tried connect my keyboard through usb hub connector but it did not detected my keyboard (Logitech K200) and not even the mouse.
I tried to connect the keyboard with the usb otg through usb otg to usb female connector.
I have loaded the preliminary image given in the wiki for micro in my sd card.
Do i need to do some changes in this image or the problem is of power supply.
Do i need to add drivers for USB in script file or .config.
Please help i am trying to solve this from long time.
dinks

JohnS


vaishali

hello ...
is there anyone who have this a13 micro??..

Please help...
dinks

Fadil Berisha

Have you tried to connect keyboard and mouse with USB HUB?
You can also search this forum for other solutions, for example "Using A13 MICRO without USB HUB, keyboard and monitor"

vaishali

hi Fadil,

yes,i have tried with usb hub also.but no progress.
dinks

iso9660

I have several a13 micro and all of them work like a marvel. I connected a large variety of usb devices and all of them also work very well. Have you tryed a different sdcard? Have you tryed with a different a13 micro? Try to not to plug the mouse and a different keyboard. Check the usb hub is a usb 2.0 one...

vaishali

hi iso9660,

i don't have many micro boards , so i can not change & check it.
But with the R18 kernel of jwischka i made image for my micro board , so now it is detecting my keyboard on usb otg but not in usb hub connected with usb host connector.
Currently my mouse is detected in both the usb otg & usb hub connector.
Thank you jwischka , for your help.
dinks

jwischka

Quote from: vaishali on March 09, 2013, 11:54:55 AM
hi iso9660,

i don't have many micro boards , so i can not change & check it.
But with the R18 kernel of jwischka i made image for my micro board , so now it is detecting my keyboard on usb otg but not in usb hub connected with usb host connector.
Currently my mouse is detected in both the usb otg & usb hub connector.
Thank you jwischka , for your help.

I'm not sure my kernel will actually work on a Micro? I wouldn't expect it to, completely?

vinifr

You could use kernel stage/sunxi-3.0 from https://github.com/linux-sunxi/linux-sunxi.git, there is a good support for USB. I use mouse, keyboard, module wifi, all through HUB USB. But there is problem: https://groups.google.com/forum/?fromgroups=#!topic/linux-sunxi/_J3fYLeZpjw


# git clone https://github.com/linux-sunxi/linux-sunxi.git
# git checkout stage/sunxi-3.0
...

vaishali

hi vinifr & jwishka,


R18 kernel works for my micro board.
But sunxi 3.0 branch kernek does not work with my micro.
With this 3.0 sunxi i can not connect my usb devices.
dinks

jwischka

Quote from: vaishali on March 10, 2013, 11:59:36 AM
hi vinifr & jwishka,


R18 kernel works for my micro board.
But sunxi 3.0 branch kernek does not work with my micro.
With this 3.0 sunxi i can not connect my usb devices.

Have you tried compiling the 3.4 kernel specifically for the micro? As I said, I'm rather surprised my kernel boots on the micro at all, given that it's not configured for that hardware. Any results are going to be "unsupported" at best.

vinifr

#11
Hi vaishali,

You need to use stage/sunxi-3.0 branch or stage/sunxi-3.4 branch. sunxi-3.0 branch does not work.

In fact, it not even boot.


# git clone https://github.com/linux-sunxi/linux-sunxi.git
# cd linux-sunxi
# git checkout stage/sunxi-3.0
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- sun5i_defconfig
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 uImage
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 modules
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=output modules_install

There is a specific .config here: https://groups.google.com/forum/?fromgroups=#!searchin/linux-sunxi/a13_micro/linux-sunxi/tZPUdBXCloI/O5O_N06HR3wJ

My personal .config: http://dl.dropbox.com/u/22273442/A13/config_a13_micro

You also need adjust u-boot for a13-micro.
https://github.com/linux-sunxi/u-boot-sunxi/wiki
https://github.com/linux-sunxi/u-boot-sunxi/commit/dcd5ba6ce61b48bfba12d142281924ef1a344fae