How to enable s5pv210 android2.3 system to support USB mouse (by gooogleman)

Source: Internet
Author: User

By goooogleman

Platform: s5pv210 sate210

When sate210 launched the Android system at the end of March, I tried to support USB flash drives and mouse on all four USB hubs, in the past two days, the android VGA 1024*768 resolution system was customized for the customer, and suddenly found that the mouse and USB flash drive are not supported, only the following information will be printed, when the mouse is plugged.

Later, I found that make menuconfig was not selected.

#
# USB input devices
#
Config_usb_hid = y

Add it when making menuconfig, and copy the. config file to save it as sata210_config.config.

In the future, you only need to execute the sata210_config.config script to configure a system that supports the USB mouse.

Also, do not need to weld r33 resistance, you can add the following gpio High Level in the mach-smdkc110.c to prevent USB hub chip Reset

If (! Gpio_request (s5pv210_gph0 (1), "gph0_1 "))
{
// Xeint1 setting high level
Gpio_direction_output (s5pv210_gph0 (1), 1 );
Initi_gpio_cfgpin (s5pv210_gph0 (1), initi_gpio_sfn (1); // 0001 output
Initi_gpio_setpull (s5pv210_gph0 (1), initi_gpio_pull_none );
Gpio_set_value (s5pv210_gph0 (1), gpio_level_high );
}

#! /Bin/bash
Make mrproper
CP sata210_config. config
Make-J8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.