Linux USB "On The Go" (OTG) on OMAP H2
The new USB "On-The-Go" (OTG) capabilities are not yet widely
understood, or even generally available. The most visible feature of
OTG is that it defines the behavior of intelligent "Dual-Role" USB
devices, such as cameras or wireless handsets, which act either as USB
host or as USB peripheral. That role choice is made each time the
device is used, rather than once when it's designed, giving a
flexibility previously unknown with USB. Using a new kind of USB
connector, OTG lets USB support more "peer to peer" style application
models. You could
Hook a cell phone to a laptop to synchronize schedules, get new audio recordings, or swap other documents;
Print a picture from a camera to a USB printer;
Connect a USB keyboard to your PDA;
Update game data on your portable console over USB.
This document should be useful to developers investigating the use
of Linux to implement OTG-capable products. It presents the USB OTG
support contributed by Texas Instruments for the OMAP
H2 software development platform running an Linux 2.6 kernel. That
builds on the standard Linux USB host and peripheral side driver
frameworks, making small additions as described here. It also includes
drivers implementing OTG support on OMAP platforms.
OMAP H2 Platform
The H2 software development platform includes a Texas Instruments
OMAP 5912/16xx series processor, with an ARM 926TEJ cpu, a DSP, battery
power management, and a wealth of other features often used in cell
phones. USB support includes:
Three integrated USB controllers: OHCI host, USB Device Controller
(UDC), and an OTG controller, all supporting full speed USB (12
Mbit/s).
"Mini-AB" connector on the H2 sample board. All "dual-role" OTG devices should have exactly one such external USB connector.
External USB OTG transceiver, Philips ISP1301 (controlled over I2C), with an alternate software-visible wiring option.
USB VBUS is hooked up to a TI TPS650
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1¡¢½«Îļþcheckoutµ½±¾µØÄ¿Â¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn addtest.php(Ìí¼Ótest.php)
svn add *.php(Ìí¼Óµ±Ç°Ä¿Â¼ÏÂËùÓеÄphpÎļþ)
......
×öΪRED HAT LINUXµÄÆô¶¯À´Ëµ,Èç¹ûÖ»ÊǸöÈËʹÓõϰ,Ö»ÐèÒªÆôÓÃÒÔÏ·þÎñ,Èç¹û»¹ÔÚ¾«¼õµÄ»°,Ö»ÆôÓÃNetwork¾Í¿É,ÕâÊÇFedora core 2Æô¶¯·þÎñ.
acpid£ºÌṩ¸ß¼¶µçÔ´¹ÜÀí¡£
cpuspeed£ºÄÜÌá¸ßϵͳÔËÐÐЧÂÊ¡£
crond£ºÖ´ÐÐÀýÐÐÐÔ³Ìʽ¡£
Iptables£º ·À»ðǽ¡£
Kudzu£º×Ô¶¯¼ì²âÓ²¼þµÄ±ä¸ü¡£
Network£º ¼¤»îÍøÂç½Ó¿Ú¡£
Random£º¼ ......
apache-tomactµÄ°²×°
Ò».JDKµÄ°²×°
1. ÏÈ´ÓÍøÉÏÏÂÔØjdk(jdk-1_5_0-linux-i586.rpm) £¬ÍƼöSUNµÄ¹Ù·½ÍøÕ¾http://www.sun.com/£¬ÏÂÔØºó·ÅÔÚ/homeĿ¼ÖУ¨¿ÉÒÔʹÓÃwinscpÈí¼þÊ©ÐÐÉÏ´«£©£¬µ±È»ÆäËüµØ·½Ò²ÐС£
½øÈ밲װĿ¼
#cd /home
#cp jdk-1_5_0_-linux-i586.rpm.bin /usr/local £¨¿½±´ÃüÁ
#cd /usr/lo ......