----- "Gustavo Freitas" gst.freitas@gmail.com escreveu:
No centOS tem o seguinte
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 413c:a001 Dell Computer Corp. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Qual seri a porta por exemplo
/dev/ttyUSB1 /dev/ttyUSB2
Olá Gustavo,
A identificação no Linux, e acredito que em outros SO tbm, não é ligada a porta USB, mas ao dispositivo ligado a ela. Assim, a primeira porta serial será "/dev/ttyUSB0" e a segunda "/dev/ttyUSB1", independentemente da porta USB onde for inserida, mas dependendo da ordem em que for ligada.
De forma similiar se ligar um HD USB ele será, dependendo da ordem de inserção, "/dev/sdb", "/dev/sdc", etc...
Att.,
Antonio.