Samsung Pop 5570 在 Ubuntu 10.10 中无法连接。处于开发模式
中通过 USB 调试连接的 Samsung Pop 5570
Adb 设备未列出在 ubuntu 10.10 adb 设备 ??????????没有权限
我确实在 /etc/udev/rules.d 文件夹中添加了 51-android.rules 文件,但 adb devices 仍然显示设备机智??????没有权限。
51-android.rules 文件包含以下内容:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e8", MODE="0666"
如果我缺少某些内容,请告诉我
Adb devices is not listing my Samsung Pop 5570 wen connected in with USB debugging on in ubuntu 10.10
adb devices
?????????? no permissions
i did add the 51-android.rules file in /etc/udev/rules.d folder but still adb devices shows that devices wit ?????? no permissions.
51-android.rules file has the following contents:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e8", MODE="0666"
please let me know if i am missing something
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我通过在 51-android.rules 文件中附加 #samsung 并将“adb”命令复制到 /bin 文件夹解决了该问题。
$ restart udev
$ cp adb /bin
$ sudo adb Kill-server
$ sudo adb start-server
$ sudo adb devices
附加设备列表
S5570e905be1c设备
I resolved the issue by appending #samsung in the 51-android.rules file and copying the "adb" command to /bin folder.
$ restart udev
$ cp adb /bin
$ sudo adb kill-server
$ sudo adb start-server
$ sudo adb devices
List of devices attached
S5570e905be1c device
编辑:我怀疑你的子系统名称是罪魁祸首(只需尝试“usb”即可)。但是,我无法评论该子系统名称在 10.10 中是否仍然有效,因为我不知道对 udev 进行了哪些更改。
第一步是使用 lsusb 验证您的供应商 ID 是否正确(这似乎是三星的供应商 ID,但检查一下也没什么坏处)。
我也在运行 10.10,但我有一台 HTC 设备。这是我的规则文件的内容:
编辑文件后,我拔掉了设备的插头。为了以防万一,我杀死了 adb 的守护进程:
然后我重新连接了我的设备并执行了“adb devices”。 adb 在没有 sudo 的情况下启动了守护进程。我的设备已正确列出。
Edit: I suspect your subsystem name is the culprit (simply try "usb" instead). However, I am unable to comment as to whether or not that subsystem name is still valid in 10.10 as I do not know what changes have been made to udev.
First step would be to verify that your vendor id is correct with lsusb (that appears to be Samsung's vendor id, but it can't hurt to check).
I am also running 10.10, but I have an HTC device. Here is my rule file's content:
After editing the file, I unplugged my device. Just in case, I kill adb's daemon:
I then reconnected my device and executed "adb devices". adb started the daemon without sudo. My device was listed properly.
我通过在 51-android-rules 文件前加上 #samsung 前缀解决了上述问题,我的意思是,
'#samsung SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e8", MODE="0666"'。
我杀死了 adb 服务器并以 SU 模式重新启动,然后运行
$sudo adb devices,
我能够看到列出的设备。
I resolved the above problem by prefixing the 51-android-rules file with #samsung, i mean,
'#samsung SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e8", MODE="0666"'.
I killed the adb server and restarted in SU mode and then ran
$sudo adb devices,
i was able to see my device listed.