使用adb forward dev命令转发linux字符设备

时间:2019-06-28 08:18:45

标签: android linux bash adb device

我搞砸了adb forward命令(我的目标是将我的麦克风计算机输入转发到智能手机的麦克风);我正在使用Ubuntu。

因此,我从文档中读取了以下内容:

let config = AWSServiceConfiguration(region: .USWest2, credentialsProvider: getAwsAuthenticationProvider())
AWSS3.register(with: config, forKey: "USWest2")
AWSS3TransferUtility.register(with: config, forKey: "USWest2")
//--> later in code
     let transferUtility = AWSS3TransferUtility.s3TransferUtility(forKey: "USWest2")
     transferUtility.uploadFile ()

所以我尝试了:

adb forward local remote
Forward socket connections.

Forward specs are one of:

· tcp:port

· localabstract:unix domain socket name

· localreserved:unix domain socket name

· localfilesystem:unix domain socket name

· dev:character device name

· jdwp:process pid (remote only)

输出为:

adb forward dev:"/dev/snd/hwC0D0" dev:"/dev/snd/hwC0D2"

为什么给我这个错误?如何使用error: cannot bind listener: unknown socket specification 'dev:/dev/snd/hwC0D0' ?我在互联网上找不到该命令的有用指南。

0 个答案:

没有答案