无法通过 adb 在 Ubuntu 9.10 上访问 Motorola Milestone(HTC Magic 工作得很好)
我有两部手机,HTC Magic,从今天开始还有摩托罗拉 里程碑。
虽然 Magic 运行完美,但我无法访问里程碑 通过 USB(adb 设备)。
以下是我的日志输出和设置:
HTC Magic
lsusb:
Bus 001 Device 009: ID 0bb4:0c02 High Tech Computer Corp.
/etc/udev/rules.d/51-android.rules:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
/var/log/messages
Jan 12 20:05:44 ubuntu kernel: [ 764.343311] scsi 9:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
Jan 12 20:05:44 ubuntu kernel: [ 764.343826] sd 9:0:0:0: Attached scsi generic sg2 type 0
Jan 12 20:05:44 ubuntu kernel: [ 764.353414] sd 9:0:0:0: [sdb] Attached SCSI removable disk
摩托罗拉里程碑
lsusb:
Bus 001 Device 010: ID 22b8:41da Motorola PCS
/etc/udev/rules.d/51-android.rules:< /strong>
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
/var/log/messages
Jan 12 20:10:09 ubuntu kernel: [ 1028.580017] usb 1-3: new high speed
USB device using ehci_hcd and address 11
Jan 12 20:10:09 ubuntu kernel: [ 1028.731068] usb 1-3: configuration
#1 chosen from 1 choice
注释
- 在两部手机上都启用了 USB 调试
- 更改 udev 规则后,我执行了“service udev reload”并且 “adb Kill-server”->没有帮助
- 我什至尝试重新启动整个机器。没有成功。
有人遇到过类似的问题并有解决方案吗?
I've two phones, the HTC Magic and since today also the Motorola
Milestone.
While the Magic works perfectly, I'm not able to access the Milestone
via USB (adb devices).
Here are my log outputs and settings for both:
HTC Magic
lsusb:
Bus 001 Device 009: ID 0bb4:0c02 High Tech Computer Corp.
/etc/udev/rules.d/51-android.rules:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
/var/log/messages
Jan 12 20:05:44 ubuntu kernel: [ 764.343311] scsi 9:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
Jan 12 20:05:44 ubuntu kernel: [ 764.343826] sd 9:0:0:0: Attached scsi generic sg2 type 0
Jan 12 20:05:44 ubuntu kernel: [ 764.353414] sd 9:0:0:0: [sdb] Attached SCSI removable disk
Motorola Milestone
lsusb:
Bus 001 Device 010: ID 22b8:41da Motorola PCS
/etc/udev/rules.d/51-android.rules:
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
/var/log/messages
Jan 12 20:10:09 ubuntu kernel: [ 1028.580017] usb 1-3: new high speed
USB device using ehci_hcd and address 11
Jan 12 20:10:09 ubuntu kernel: [ 1028.731068] usb 1-3: configuration
#1 chosen from 1 choice
Notes
- USB Debugging is enabled on both phones
- After changing the udev rules I did a "service udev reload" and
"adb kill-server" -> didn't help - I even tried to restart the whole machine. Without success.
Anyone encountered a similar problem and had a solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
与往常一样,问题比预期的要简单。即使启用了USB 调试,您还必须拉下通知栏并转到USB 连接。
您有 4 个选项:
这里您必须选择“无”
之后一切正常。
The problem is, as usual, simpler than expected. Even though USB debugging is enabled you additional have to pull down the notification bar and go to USB connection.
There you have 4 options:
Here you have to select "None"
After that everything works fine.
实际上,我必须使用“存储卡管理”选项才能在 Ubuntu 8.10 上运行。在“无”模式下,它不会安装。
I actually had to use the "Memory Card Management" option for it to work on Ubuntu 8.10. In "None" mode it would not mount.
请注意,对于某些较新的手机,您也可以选择PC 模式,而不是选择无。我花了 45 分钟试图让它工作,而我所要做的就是将其设置为该值。
注意
这是在 Ubuntu 12.04 LTS 上。
Note that for some newer phones, rather than selecting None, PC Mode might also work as well. I spent a good 45 minutes trying to get this to work when all I had to do was set it to that.
Note
This is on Ubuntu 12.04 LTS.