我运行 Kali Linux(基于 Debian 的发行版),并且有minicom
、socat
和atinout
。我将三星 Galaxy 手机连接到 USB 并想使用 AT 命令访问它。当我运行 时dmesg
,我没有看到手机连接到的任何端口。
[68106.267643] Generic PHY r8169-900:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-900:00, irq=IGNORE)
[68106.393299] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[68106.395577] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[68106.396055] r8169 0000:09:00.0 eth0: Link is Down
[68106.397738] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[68108.498714] r8169 0000:09:00.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[68108.498727] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[68240.791513] usb 1-1: new high-speed USB device number 51 using xhci_hcd
[68240.940501] usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 2.16
[68240.940507] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[68240.940511] usb 1-1: Product: Galaxy
[68240.940515] usb 1-1: Manufacturer: samsung
[68240.940518] usb 1-1: SerialNumber: 0149xxxxxxxxxxxxx
当我启动时tty
,我看到了/dev/pts/6
。
如果我使用 进行配置minicom
,/dev/pts/6
则什么也得不到,我尝试输入 AT,但从未收到 OK!我的手机已植根,并且具有 USB 调试功能。
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on May 6 2018, 08:02:47.
Port /dev/pts/6, 18:58:41
Press CTRL-A Z for help on special keys
如果我在终端启动:
echo AT | atinout - /dev/pts/6 -
它在另一个终端上打印 AT,而不是我启动的那个终端。并且我在 AT 之后从未收到 OK。
有什么想法吗?因为我无法通过 AT 命令与手机通信。