Sabre Board for Smart Devices question?

cancel
Showing results for 
Search instead for 
Did you mean: 

Sabre Board for Smart Devices question?

Jump to solution
482 Views
sparkyee
Contributor I


Hi,

    I just recieved my Sabre Board for Smart Devices. I have gotten the

board to boot to a serial console OK. I ahve also hooked up a HDMI

monitor and can see ANDROID booting up to a start screen with a

clock and lock symbol showing. I have tried to get a mouse and/or keyboard

to work on the other USBOTG port but they don't see to have power. I

am trying to unlock the ANDROID screen to see other APPS.  I also

tried putting a mouse on the Debug USB/serial emulator port with no

success. How do I power up these peripherals??

Thanks a Lot!

Larry

Labels (2)
0 Kudos
1 Solution
177 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Larry,

     By default, USB OTG works as device, It's power is not opened. If you want it to work as a host, you do a little modification in BSP source code. open linux/arch/arm/mach-mx6/board-mx6q_sabresd.c,and find function "static void __init imx6q_sabresd_init_usb(void)", in this function, open USB OTG POWER. see following:

static void __init imx6q_sabresd_init_usb(void)

{

....

//gpio_direction_output(SABRESD_USB_OTG_PWR, 0);

gpio_direction_output(SABRESD_USB_OTG_PWR, 1);

...

}

then recompile linux kernel and burn it into iNAND FLASH or SD card , boot your board, USB OTG can be used as HOST, your mouse can be used.

Reards,

Weidong

View solution in original post

0 Kudos
3 Replies
177 Views
Yuri
NXP TechSupport
NXP TechSupport

I tried to connect a USB mouse on the SDP with the recent Android (13.4.1) demo image - it works.

177 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Yuri & Larry,

     The BSP I checked is linux(L3.0_1.1.0_121218 Version),So Thank you for your supplying status of OTG on android.

Regards,

Weidong

178 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Larry,

     By default, USB OTG works as device, It's power is not opened. If you want it to work as a host, you do a little modification in BSP source code. open linux/arch/arm/mach-mx6/board-mx6q_sabresd.c,and find function "static void __init imx6q_sabresd_init_usb(void)", in this function, open USB OTG POWER. see following:

static void __init imx6q_sabresd_init_usb(void)

{

....

//gpio_direction_output(SABRESD_USB_OTG_PWR, 0);

gpio_direction_output(SABRESD_USB_OTG_PWR, 1);

...

}

then recompile linux kernel and burn it into iNAND FLASH or SD card , boot your board, USB OTG can be used as HOST, your mouse can be used.

Reards,

Weidong

View solution in original post

0 Kudos