Sample Header Ad - 728x90

Trying to install a driver for CH34x Serial Hub

1 vote
2 answers
428 views
I am running the latest version of Raspbian on an R Pi 5 and trying to use a CH348 serial hub with it, but it needs the driver. All the instructions and guides haven't worked, and I get errors about directories not existing or the driver file not being in the right format. * Driver: CH34x * I also tried following this guide https://github.com/WCHSoftGroup/ch9344ser_linux only to get that:
/lib/modules/6.6.62-v8-16k+/build: No such file or directory.
I want to install the driver to use this hub board for a project I have been working on. * Error1:
-shellsession
    $ make
    make -C /lib/modules/6.6.62-v8-16k+/build  M=/home/amp/Downloads/LINUX/driver
    make[1] : *** /lib/modules/6.6.62-v8-16k+/build: No such file or directory.  Stop.
    make: *** [Makefile:7: default] Error 2
* Error2:
-shellsession
    $ rpi-source
      File "/usr/bin/rpi-source", line 111
        except urllib2.HTTPError, e:
               ^^^^^^^^^^^^^^^^^^^^
    SyntaxError: multiple exception types must be parenthesized
**New Details:** * When I run lsusb the board shows up:
Bus 003 Device 004: ID 1a86:55d9 QinHeng Electronics USB2.0 To Multi Serial
* But the ports do not register/show-up when I run ls /dev/tty* * dmesg:
[   29.329064] usb 3-2: new high-speed USB device number 2 using xhci-hcd
    [   29.479177] usb 3-2: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.3a
    [   29.479180] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [   29.479183] usb 3-2: Product: USB2.0 To Multi Serial Ports
    [   29.479184] usb 3-2: Manufacturer: wch.cn
    [   99.373486] usb 3-2: USB disconnect, device number 2
    [  137.636035] usb 3-2: new high-speed USB device number 3 using xhci-hcd
    [  137.786126] usb 3-2: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.3a
    [  137.786131] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  137.786134] usb 3-2: Product: USB2.0 To Multi Serial Ports
    [  137.786137] usb 3-2: Manufacturer: wch.cn
So it sees the hub is there but not making the ports accessable.
Asked by Michael H. (11 rep)
Nov 20, 2024, 07:19 PM
Last activity: Dec 2, 2024, 12:50 PM