Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: vaishali on March 07, 2013, 09:16:03 AM

Title: power and usb problem with a13 micro board
Post by: vaishali on March 07, 2013, 09:16:03 AM
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.
Title: Re: power and usb problem with a13 micro board
Post by: JohnS on March 07, 2013, 09:46:32 AM
I don't have a Micro

John
Title: Re: power and usb problem with a13 micro board
Post by: vaishali on March 07, 2013, 11:07:57 AM
hello ...
is there anyone who have this a13 micro??..

Please help...
Title: Re: power and usb problem with a13 micro board
Post by: Fadil Berisha on March 07, 2013, 04:40:32 PM
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"
Title: Re: power and usb problem with a13 micro board
Post by: vaishali on March 08, 2013, 06:48:15 AM
hi Fadil,

yes,i have tried with usb hub also.but no progress.
Title: Re: power and usb problem with a13 micro board
Post by: iso9660 on March 08, 2013, 08:43:19 AM
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...
Title: Re: power and usb problem with a13 micro board
Post by: 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.
Title: Re: power and usb problem with a13 micro board
Post by: jwischka on March 09, 2013, 03:00:23 PM
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?
Title: Re: power and usb problem with a13 micro board
Post by: vinifr on March 09, 2013, 03:47:29 PM
You could use kernel stage/sunxi-3.0 from https://github.com/linux-sunxi/linux-sunxi.git (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 (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
...
Title: Re: power and usb problem with a13 micro board
Post by: 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.
Title: Re: power and usb problem with a13 micro board
Post by: jwischka on March 10, 2013, 03:06:58 PM
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.
Title: Re: power and usb problem with a13 micro board
Post by: vinifr on March 10, 2013, 06:54:18 PM
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 (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 (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/wiki)
https://github.com/linux-sunxi/u-boot-sunxi/commit/dcd5ba6ce61b48bfba12d142281924ef1a344fae (https://github.com/linux-sunxi/u-boot-sunxi/commit/dcd5ba6ce61b48bfba12d142281924ef1a344fae)