Drivers for USB cables to program Ham radios

I am using Chirp software, and have 2 different radio types I want to be able to program using Chirp. One is a Baofeng, with your typical “2-pin” cable for these radios. The other is a Kenwood TS-440S, which has a cable that is USB on one side, and goes into the microphone plug on the other end. These were mostly working in Windows, though sometimes I would pick the wrong one, and just go back and switch them.

  1. So, my first question is, does Ubuntu/linux pick up what cable type and what driver to use automatically?
  2. Next question is, if no to #1, how do I go about troubleshooting this?
  3. I guess I have to figure out the brand and model of cable?
  4. Can I get any of this information from my working Windows system?
  5. Can it use the same driver?
  6. How does one install drivers on Ubuntu/linux, anyhow?
    Thank you.

Hi,

I moved your post to the correct category and added relevant tags.

Thanks.

I don’t think I know how to find the different categories. Plus, I would have put this under communications (if that category exists) or drivers, not audio visual.

Generally speaking, almost all topics would fall under Support and Help.

For a brief guide on which tags are currently available for this category, see here.

Thanks.

1 Like

I wonder if “peripherals” might be the best tag then.

You can edit and add whichever tags you think are the best fit.

The drivers for most of those cables should be already present on your system so there is nothing extra to install. Typically most of those cables are just USB to serial adapters. You can use dmesg to see the device attach. You should see something like this -

[98788.402947] usb 1-9: new full-speed USB device number 7 using xhci_hcd
[98788.526993] usb 1-9: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
[98788.527003] usb 1-9: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[98788.527007] usb 1-9: Product: USB Serial
[98788.708944] usbcore: registered new interface driver ch341
[98788.708966] usbserial: USB Serial support registered for ch341-uart
[98788.708985] ch341 1-9:1.0: ch341-uart converter detected
[98788.709492] usb 1-9: ch341-uart converter now attached to ttyUSB0

The last line is helpful as you can see that it is ttyUSB0. if you add another programming cable it would increment and be ttyUSB1 and so on.

lsusb is another command to add to the toolbox, especially when you pair it with dmesg.

Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter

The helpful thing here is you can see the manufacturer which can let you know which device is which.
You will want to make sure your user has the dialout group so that you can access those devices.

Hopefully this helps you to get started.

2 Likes

Thanks. Will need to look that over. I am the only user, at least for now.

1 Like