Old progam needs a com port.

Asked by Tom Koller

I have an old application to reprogram an old cars control modules. It uses a USB cable interface. The cable is recognized as a usbserial device by the OS. But the program, written in the days of Ubuntu 10, needs to see a Com 1 to 4. I am running Ubuntu 16.04.

Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

What is needed to translate to the program?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you reboot with the device detached from the system and log in. Let the system settle then connect the cable. Open a terminal and run:

dmesg | tail ; lsb_release -a ; uname -a

What is the output please?

Thanks

Revision history for this message
Tom Koller (takoller) said :
#2

Thanks for the response. I've done what I could find. Nobody talks 'com' any more. Here is what you requested.

[ 8.377167] Bluetooth: RFCOMM socket layer initialized
[ 8.377182] Bluetooth: RFCOMM ver 1.11
[ 10.881500] wlan0: authenticate with d8:50:e6:e6:28:12
[ 10.889075] wlan0: send auth to d8:50:e6:e6:28:12 (try 1/3)
[ 10.891757] wlan0: authenticated
[ 10.892372] wlan0: associate with d8:50:e6:e6:28:12 (try 1/3)
[ 10.896022] wlan0: RX AssocResp from d8:50:e6:e6:28:12 (capab=0x411 status=0 aid=2)
[ 10.898153] wlan0: associated
[ 10.898238] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.048861] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Linux tom-car-tweaker 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Tom Koller (takoller) said :
#3

I just realized I made a mistake and didn't replug. Well, now you have a comparison.

[37161.317697] usb 1-2: New USB device found, idVendor=1a86, idProduct=7523
[37161.317712] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[37161.317719] usb 1-2: Product: USB2.0-Serial
[37162.411383] usbcore: registered new interface driver usbserial
[37162.412242] usbcore: registered new interface driver usbserial_generic
[37162.412538] usbserial: USB Serial support registered for generic
[37162.420089] usbcore: registered new interface driver ch341
[37162.424267] usbserial: USB Serial support registered for ch341-uart
[37162.424317] ch341 1-2:1.0: ch341-uart converter detected
[37162.428233] usb 1-2: ch341-uart converter now attached to ttyUSB0
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Linux tom-car-tweaker 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.