.png)
Eu executo Kali Linux (distro baseada em Debian) e tenho minicom
, socat
, e atinout
. Conectei um telefone Samsung Galaxy ao USB e quero acessá-lo usando comandos AT. Quando executo dmesg
, não vejo nenhuma porta onde o telefone esteja conectado.
[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
Quando eu lanço tty
, eu vejo /dev/pts/6
.
Se eu configurar minicom
com /dev/pts/6
, não recebo nada, tento digitar AT, mas nunca recebo OK! Meu telefone está enraizado e tenho depuração 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
E se eu iniciar no terminal:
echo AT | atinout - /dev/pts/6 -
Ele imprime AT em outro terminal, não aquele em que iniciei. E nunca recebo um OK depois do meu AT.
Qualquer ideia? Porque não consigo me comunicar com meu telefone por meio de comandos AT.