Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node MCU
Date: Sun, 10 Jul 2016 12:49:07
Message-Id: 20160710124854.GA21692@solfire
In Reply to: Re: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node MCU by Corbin Bird
1 Corbin Bird <corbinbird@×××××××.net> [16-07-10 14:03]:
2 >
3 > On 07/07/2016 10:22 PM, Meino.Cramer@×××.de wrote:
4 > >Hi,
5 > >
6 > >I have bought an ESP8266 Lua NodeMCU board, which has
7 > >an FTDI-like chip on board to map USB to serial and
8 > >vice versa. It is an CH340 one.
9 > >There is an according module in the driver (compiled
10 > >and - to get shure - loaded by hand).
11 > >
12 > >When I connect the ESP8266 board to my Gentoo PC
13 > >nothing happens (dmesg shows nothing).
14 > >When pressing RST on the board, I see this sometimes:
15 > >
16 > >[ 4340.105221] usb 7-4: new full-speed USB device number 9 using
17 > >ohci-pci
18 > >[ 4340.630234] usb 7-4: device not accepting address 9, error -62
19 > >
20 > >(both lines are printed right after another - no delay...)
21 > >
22 > >or this:
23 > >
24 > >[ 4473.567739] usb 7-4: new full-speed USB device number 11 using
25 > >ohci-pci
26 > >[ 4473.712306] usb 7-4: New USB device found, idVendor=1a86,
27 > >idProduct=7523
28 > >[ 4473.712316] usb 7-4: New USB device strings: Mfr=0, Product=2,
29 > >SerialNumber=0
30 > >[ 4473.712321] usb 7-4: Product: USB2.0-Serial
31 > >[ 4473.763259] usbcore: registered new interface driver ch341
32 > >[ 4473.763278] usbserial: USB Serial support registered for ch341-uart
33 > >[ 4473.763295] ch341 7-4:1.0: ch341-uart converter detected
34 > >[ 4473.786463] usb 7-4: ch341-uart converter now attached to ttyUSB1
35 > >[ 4473.888987] usb 7-4: USB disconnect, device number 11
36 > >[ 4473.889485] ch341-uart ttyUSB1: ch341-uart converter now
37 > >disconnected from ttyUSB1
38 > >[ 4473.889511] ch341 7-4:1.0: device disconnected
39 > >[ 4474.292773] usb 7-4: new full-speed USB device number 12 using
40 > >ohci-pci
41 > >
42 > >there is no new device under /dev/.
43 > >
44 > >Do I miss something seriously important here related to using the
45 > >CH340 driver...or is this board simply demaged ???
46 > >
47 > >Thank you very much in advance for any help!
48 > >
49 > >Best regards,
50 > >Meino
51 > >
52 > >
53 > >
54 > >
55 > >
56 > >
57 > >
58 > >
59 > If memory serves, udev/eudev generates the nodes/devices in /dev now.
60 > To get the correct hardware ID, it uses a specific database.
61 >
62 > The hardware ID's database may need to be updated ( or supplemented ).
63 > The package "sys-apps/pciutils" has the hardware database included in
64 > it.
65 >
66 > I have a 990FX chipset MB that is constantly ID as a 880 chipset board.
67 > No info on 990FX chipsets found in the hardware ID's database.
68 > The kernel keeps applying a 880 chipset workaround for the PCI bus,
69 > every boot.
70 >
71 > Same problem I think, different hardware.
72 >
73
74 Hi Corbin,
75
76 Thanks for your help, Corbin! :)
77
78 neither lsusb nor usb-devices do list the device.
79
80 Another CH340 based board do register correctly and ttyUSB is created.
81 Therefore (I think) the infrastructure of my Gentoo LINUX can handle
82 such board correctly and this [CENSORED] one ist either send without
83 any firmware or simply demaged.
84
85 I need the help of one who has solved similiar problems
86 with an NodeMCU v3 Lua (ESP8266)-board...sigh...
87
88 Best regards,
89 Meino