linux otg 鼠标 节点,otg 的host功能,使用otg转host的线,连接鼠标。无效。
otg 的host功能,使用otg转host的线,连接鼠标。无效。
看了一下log, 有一个切换动作,但又马上切换成device.
force_usb_mode_store 2->1
[ 14.344696] Using Buffer DMA mode
[ 14.344722] Periodic Transfer Interrupt Enhancement - disabled
[ 14.344733] Multiprocessor Interrupt Enhancement - disabled
[ 14.344745] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 14.344753] ^^^^^^^^^^^^^^^^^^Host Mode
[ 14.389737] Connectting with 00:1d:0f:5d:be:1c channel (6) ssid "TPLink_SQ", len (9)
[ 14.389737]
[ 14.392174] Init: Power Port (0)
[ 14.392189] shenqiao usb20otg_power enable =1rk_battery_charger_detect_cb , battery_charger_detect 5
[ 14.392446] ff580000.usb resume, HPRT0:0x1000
[ 14.392669] ff580000.usb suspend, HPRT0:0x1000
[ 14.418696] dwc_otg_hcd_handle_port_intr: hcd->state = 4, hcd->flags = 1
[ 14.427797] ff580000.usb resume, HPRT0:0x41801
[ 14.490379] rk_battery_charger_detect_cb , battery_charger_detect 0
[ 14.497202] wl_iw_event: Link UP with BSSID=00:1D:00:00:BE:1C
[ 14.497234] wl_bss_connect_done succeeded with 00:1d:0f:5d:be:1c
[ 14.514242] wl_bss_connect_done succeeded with 00:1d:0f:5d:be:1c
[ 14.559237] Indeed it is in host mode hprt0 = 00041901
[ 14.621121] dhd_set_suspend: Remove extra suspend setting
[ 14.626442] dhd_pno_get_for_batch : wifi location service is not supported
[ 14.626467] ANDROID-ERROR) failed to getting batching results
[ 14.626763] dhd_pno_stop_for_batch : wifi location service is not supported
[ 14.626779] NULL POINTER (_dhd_pno_clear_all_batch_results) : head->next is NULL
[ 14.626785] NULL POINTER (_dhd_pno_clear_all_batch_results) : head->next is NULL
[ 14.626794] ANDROID-ERROR) failed to stop batching scan
[ 14.736319] usb 2-1: new low-speed USB device number 2 using usb20_otg
[ 14.737090] Indeed it is in host mode hprt0 = 00041901
[ 14.936108] usb 2-1: New USB device found, idVendor=04f3, idProduct=0232
[ 14.936132] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 14.936141] usb 2-1: Product: OM
[ 14.940366] input: OM as /devices/ff580000.usb/usb2/2-1/2-1:1.0/input/input2
[ 14.940912] hid-generic 0003:04F3:0232.0001: input,hidraw0: USB HID v1.11 Mouse [OM] on usb-ff580000.usb-1/input0
[ 15.946522] init: untracked pid 1490 exited with status 0
[ 16.528754] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 218.30.118.222 192.168.10.104 TCP port 80 44748
[ 16.548257] dhd_tcpdata_info_get 1037: Add data info to tbl[1]: IP addr 106.39.219.1 192.168.10.104 TCP port 80 41307
[ 16.584213] init: untracked pid 1514 killed by signal 9
[ 16.700589] dhd_tcpdata_info_get 1037: Add data info to tbl[2]: IP addr 218.30.118.222 192.168.10.104 TCP port 80 45545
[ 16.805043] dhd_tcpdata_info_get 1037: Add data info to tbl[3]: IP addr 203.156.253.2 192.168.10.104 TCP port 80 33761
[ 17.130908] type=1400 audit(1471828926.059:18): avc: denied { write } for pid=1252 comm="chip.devicetest" name="force_usb_mode" dev="sysfs" ino=12262 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 17.131498] force_usb_mode_store 1->2
[ 17.131510] Uknown urb status -108
[ 17.131521] PortPower off
[ 17.131527] shenqiao usb20otg_power enable =0rk_battery_charger_detect_cb , battery_charger_detect 6
[ 17.329383] Using Buffer DMA mode
[ 17.329400] Periodic Transfer Interrupt Enhancement - disabled
[ 17.329406] Multiprocessor Interrupt Enhancement - disabled
[ 17.329414] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 17.329419] ^^^^^^^^^^^^^^^^^Device Mode
[ 17.363621] usb 2-1: USB disconnect, device number 2
[ 17.377732] type=1400 audit(1471828926.309:19): avc: denied { getattr } for pid=1728 comm="ci_thread" path="/system/xbin/su" dev="mmcblk0p10" ino=1834 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:su_exec:s0 tclass=file permissive=1
[ 17.619422] rk_battery_charger_detect_cb , battery_charger_detect 0
[ 17.629334] dwc_otg_hcd_suspend, usb device mode
[ 22.739478] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 3
[ 22.739650] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 2
[ 22.739747] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 1
[ 22.739828] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 0
[ 22.739932] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 101.199.97.144 192.168.10.104 TCP port 80 47740
[ 34.497717] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 0
[ 34.497911] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 106.120.160.177 192.168.10.104 TCP port 80 53291
[ 34.588465] dhd_tcpdata_info_get 1037: Add data info to tbl[1]: IP addr 106.39.203.221 192.168.10.104 TCP port 80 39069
[ 46.787690] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 1
[ 46.787715] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 0
[ 46.787728] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 106.120.167.73 192.168.10.104 TCP port 80 48702
linux otg 鼠标 节点,otg 的host功能,使用otg转host的线,连接鼠标。无效。相关推荐
- MTK6757的OTG线连接鼠标后,鼠标右键改为返回功能
找到如下路径: \frameworks\native\services\inputflinger\InputReader.cpp 找到如下函数: uint32_t CursorButtonAccumu ...
- linux 支持鼠标侧键,鼠标侧键有什么用 鼠标上各按键的功能是什么
鼠标最常见的三个键就是右击.左击还有滚轮,还有一些游戏鼠标会附有一些功能键,相信不少用户买了这种多功能键的鼠标都不知道有什么用!一般鼠标都是三个功能键,部分鼠标有6个功能键,甚至7个.下面来介绍下鼠标 ...
- 计算机上面的按键作用,鼠标侧键有什么用 鼠标上各按键的功能是什么
鼠标最常见的三个键就是右击.左击还有滚轮,还有一些游戏鼠标会附有一些功能键,相信不少用户买了这种多功能键的鼠标都不知道有什么用!一般鼠标都是三个功能键,部分鼠标有6个功能键,甚至7个.下面电脑知识大全 ...
- imx6ul的otg转host功能
平台:imx6ul 内核版本:4.1.15 otg接口默认就是device功能,用于下载镜像,作为从设备 host功能是外接设备(比如U盘.手机),作为主设备 imx6ul的otg默认作为从设备,如果 ...
- USB HOST与 USB OTG的区别及工作原理
在SmartQ 7上面,同时存在USB HOST与 USB OTG两个接口,我想问一下,这两个接口有什么区别么?我怎么认为HOST属于是多余呢? 麻烦高手解答,感激不尽!!! 零 USB背景知识 US ...
- USB Host Device And OTG
USB是一种数据通信方式,也是一种数据总线,而且是最复杂的总线之一. 硬件上,它是用插头连接.一边是公头(plug),一边是母头(receptacle).例如,PC上的插座就是母头,USB设备使用公 ...
- Real6410移植linux-2.6.39.1记录(3)-USB驱动移植(USB HOST以及USB OTG)
// 主题:Real6410移植linux-2.6.39.1 // 作者:kevinjz2010@gmail.com // 版权:kevinjz原创 // 平台:linux-2.39.1 real64 ...
- Unity3d C# 实现纯鼠标平滑控制场景摄像头(相机)实现自由旋转、移动和围绕节点移动旋转等功能(含源码工程)
相机控制 前言 效果 漫游效果 围绕节点效果 实现过程 功能范围 搭建场景 编码实现 变量设置 自由漫游 观察节点 功能使用 项目工程 瑕疵 前言 在很多情况下我们都会用到如题的功能,在一般情况下我们 ...
- otg usb 定位_教你简单认识OTG与OTG线
想必大家应该有经常使用USB数据线,但是另一种数据线OTG大家有没有听过呢?讲真,小编之前对它也不太清楚,最近才学习了与其相关的知识,现在小编就来与大家分享一下, 什么是OTG? OTG是On-The ...
最新文章
- iOS 的组件化开发
- mfc程序转化为qt_工控编程,Qt 学习之路
- 湖北工业大学c语言作业答案,湖北工业大学C语言PPT
- Ubuntu18.04安装Multiwfn
- 适配器(Adaptor)模式
- Qt修改QSS中的qlineargradient属性,实现颜色渐变
- poj1789 Truck History(最小生成树)
- 视觉SLAM笔记(47) 优化 PnP 的结果
- 机器学习必备的数学知识,一次学会
- C++函数调用时堆栈的变化情况
- 面试题:Java对象不再使用时,为什么要赋值为null?
- 三分钟教你如何做好网站备案
- 2015 Autumn Training #0
- el-select 多选取值_Python实战—Lasso回归选取关键特征
- Espresso指南一(Espresso下载、安装、设置、基础、速查表)
- Java List转Map时发生Duplicate key
- 电脑会员管理系统怎么弄,电脑会员卡管理系统怎么弄
- Python爬虫-爬取豆瓣读书
- android 判断图片的格式的,android判断文件是否是图片文件的方法
- 计算机改显存会有啥影响,显卡显存越大越好吗?显存对电脑速度的影响有哪些?...