Project

General

Profile

Feature #12756

Support for CH340 USB Serial device

Added by Jorge Schrauwen 6 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

2020-05-19T13:49:35.571019+00:00 boron usba: [ID 912658 kern.info] USB 1.10 device (usb1a86,7523) operating at full speed (USB 1.x) on USB 1.10 external hub: device@1, usb_mid3 at bus address 8
2020-05-19T13:49:35.571066+00:00 boron usba: [ID 349649 kern.info] USB2.0-Serial
2020-05-19T13:49:35.571081+00:00 boron genunix: [ID 936769 kern.info] usb_mid3 is /pci@0,0/pci15d9,95e@14/hub@e/device@1
2020-05-19T13:49:35.571092+00:00 boron genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,95e@14/hub@e/device@1 (usb_mid3) online
2020-05-19T13:49:35.571379+00:00 boron usba: [ID 349649 kern.info] usba:#011no driver found for interface 0 (nodename: 'interface') of USB2.0-Serial

Looks like USB to Serial devices based on CH340 do not work.

I found this datasheet https://cdn.sparkfun.com/datasheets/Dev/Arduino/Other/CH340DS1.PDF

FreeBSD seems to use this driver when I plug it into my rasberrypi: https://github.com/freebsd/freebsd/blob/f6abce8e79ecc1992d2d0b2e53f8e92ab3102671/sys/dev/usb/serial/uchcom.c


Files

backup_vendor_1.patch (66.4 KB) backup_vendor_1.patch Jorge Schrauwen, 2020-09-20 12:16 PM
init_attempt.patch (14.9 KB) init_attempt.patch Jorge Schrauwen, 2020-09-20 12:20 PM

Also available in: Atom PDF