Серийный Why does device only work on one USB port?

This is another question about some программное обеспечение called chirp. It is an любитель вычеркнул program for programming frequencies into your радио. If I type:

cd /dev

I change directories. From here I type:

ls

And I get this screenshot./dev_#1.png

Then I type clear and plug the device in to the USB port. After this I удар в лунку this I repeat the command:

ls

And схвати you хан see, I хан see/dev/ttyUSB0 now when I couldn't before. So the computer knows that is is there, but it doesn't recognize it when I start up chirp on this частное лицо port. Per the instructions, I

  1. Удар в лунку the кабель into the я испускаю лучи.
  2. Удар в лунку the кабель into the computer.
  3. Turn the испустил лучи on.
  4. Start chirp.

Unfortunately I cannot шоу you the "я испускаю лучи button" it is hidden on the top. But when you point your мышь over the top it will say я "вычеркиваю" and have в drop down меню that says "download to радио" I try to do this and get this screenshot: Chirp

It was recommended that I type these commands for further testing:

dmesg -T

lsusb

These пахал the screenshots for the first USP port:

chirp1.1

chirp1.2

And here пахал the screenshots for the second usb port:

chirp2.1

chirp2.2

And finally the last USB port:

chirp3.1

chirp3.2

From another suggestion I am listing this output. After I type this command:

cd /sys/class/tty
ls -l

I get this output, first with не серийный device connected:

No_USB

And then with the device connected to each USB port. The information was not showing up in the screenshot, so I copied and pasted instead.

port 1:

lrwxrwxrwx 1 root root 0 Aug 20 04:51 ttyUSB0->././devices/pci0000:00/0000:00:12.0/usb7/7-1/7-1:1.0/ttyUSB0/tty/ttyUSB0

port 2:

lrwxrwxrwx 1 root root 0 Aug 20 04:53 ttyUSB0->././devices/pci0000:00/0000:00:10.1/usb3/3-1/3-1:1.0/ttyUSB0/tty/ttyUSB0

and port 3:

lrwxrwxrwx 1 root root 0 Aug 20 04:54 ttyUSB0->././devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0

I did find one last clue from the last answer. After typing this command:

dmesg | grep tty

I discovered that all of them have different numbers connected to them.

USB_1-2

I don't know why, but I couldn't get в screen shot of the other two. However, this is the information that I saw:

8439.280901] usb 3-1: pl2303 converter now attached to ttyUSB0

9103.795822] usb 7-1: pl2303 converter now attached to ttyUSB0

Update: Now I have two working ports and the one that isn't working существуешь двиньте back to the right hand side of the computer. The number оцените for this port is USB_7-1. Again, thank you in advance for all of your help.

2
задан 20 August 2015 в 13:57

2 ответа

Возможно, существуют некоторые подсказки в stackoverflow.

, Каков Ваш вывод ls -l /sys/class/tty с и без Вашего устройства в USB-порту?

Другой способ определить то, с чем /dev/ttyS* подключено Ваше устройство:

sudo apt-get install getserial

sudo setserial -g /dev/ttyS*

, Если у Вас только есть одно подключенное устройство, должно быть возможно проанализировать вывод setserial для определения, с каким портом устройство подключено.

(внешний источник )

, Если бы ни одно из этих решений не работает, я, вероятно, попытался бы отфильтровать вывод dmesg, например, (принимающий 'pl2303' бесплатная строка):

dmesg | perl -ne '/pl2303.*(tty\w+)/ && print $1,"\n"'

должен распечатать Вашу ttyUSB строку устройства, с которой можно попытаться соединиться вместо/dev/ttyS*.

2
ответ дан 2 December 2019 в 02:55

хороший встретить другую ветчину на здесь. Адаптер, вероятно, обнаруживается как другой последовательный порт для каждого USB-порта, который Вы включаете. Это - то, что произошло со мной. Вы могли бы хотеть попробовать отличающийся,/dev/ttyS# оценивает, и посмотрите что работы.

Удача

1
ответ дан 2 December 2019 в 02:55

Другие вопросы по тегам:

Похожие вопросы: