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
相关文档:
例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......
Service Discovery Protocol(SDP)提供一种能力,让应用程序有方法发现哪种服务可用以及这种服务的特性。
服务发现协议(SDP或Bluetooth SDP)在蓝牙协议栈中对蓝牙环境中的应用程序有特殊的含意,发现哪个服务是可用的和确定这些可用服务的特征。SDP定义了bluetooth client发现可用bluetooth server服务和它们的特征的方法。 ......
一:前言
最近在研究android的sensor driver,主要是E-compass,其中用到了Linux input子系统.在网上也看了很多这方面的资料,感觉还是这篇分析的比较细致透彻,因此转载一下以便自己学习,同时和大家分享!
(这篇博客主要是以键盘驱动为例的,不过讲解的是Linux Input Subsystem,可以仔细的研究一下!)
键盘驱动将检 ......
2007-9-24
我学Linux的几个体会
从 4G spaces 作者:Eric
这是我为 Youbentou 计划贡献的第一篇文档, 算是后续文章的开篇词. 本文按照GPL协议发布.
Linux 是一个高效的工作环境, 对于想要学习Linux的人, 这一点无需我多解释. 因此, 本文不是劝大家都投身Linux (虽然我一直在这么做), 而是给有志于学好 Linux 的人几 ......
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 ......