From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-172063-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8A0701382FE
	for <garchives@archives.gentoo.org>; Sat,  9 Jul 2016 00:00:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 163C821C067;
	Fri,  8 Jul 2016 23:59:55 +0000 (UTC)
Received: from mail-vk0-f66.google.com (mail-vk0-f66.google.com [209.85.213.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E36E7E0A69
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Jul 2016 23:59:53 +0000 (UTC)
Received: by mail-vk0-f66.google.com with SMTP id d67so11918494vkh.0
        for <gentoo-user@lists.gentoo.org>; Fri, 08 Jul 2016 16:59:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding;
        bh=Tbn79uxRvtu94OevGLG5Mdyn2/vKTWNt+g5WJTgGL5k=;
        b=D3c2EKOIDCO1wU61Y9gbcHHTvEwJL6VZShaMSJHDljqfQXW+57A9PCVuI3+6QNDY3W
         KnHfVFANVJzwGg5lcYlcUkJAi0V8ppYZVoPrRN4HgdTyJbrT9ESpFAJjQ1gar4Txx8QQ
         +h7cP8YgEHpwn3LYwWkIEwA9Diz5amC4/G6NQ2TQHcGkrvjcK4sj6auEIv1LVWTfvRmJ
         z4QwRVoS8AicONCKzPt2nrilIf0E+kwVg6KI/nlKctKS58hz1neCzxpRApDD4+pa71GI
         w3bRK50xq+g6V0lzhFnfaAfndLNByckCzSHn6804JmCDbps56S+ujzYOaYsByeVyh+27
         lQWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding;
        bh=Tbn79uxRvtu94OevGLG5Mdyn2/vKTWNt+g5WJTgGL5k=;
        b=MrquoyeXqgdcIKoww8xK//2KLDOwJZrcuNoFlwEKhwovfdt2RWI9rdtKXW3sm1WkLf
         rNtuzWUN0OWN1MxUaqw1MJU2onFjqr4RDsu7lqQWFmW5PSTg7qbm8MjMwOAzzOHbjy5U
         MzwEkRySlai4RKtHDIz/Mz+oR/8TwuLTv8UGVyIQnQ6W5xJFKWAafCp5GWrcpewgZWc9
         zXOE023OlTtTWCHxpKgqhLXxYsLhPjsuMjQiy4b+3BaFgObIVoA7SHEwaefpPBVz+8hm
         w6xFGxFPeFC2qbczqWVe/ZcOysmsKxgCP98nE+k/7XS2/ie8PulOCsuZAjFn4ILk0lyC
         NzDQ==
X-Gm-Message-State: ALyK8tKmuT+AVoh5D0YhoL0Q5HAv6zvW1/CY9WdFd57M+na+FITyAyLlxSpNqLQwBeQKag==
X-Received: by 10.31.147.197 with SMTP id v188mr3998721vkd.103.1468022392688;
        Fri, 08 Jul 2016 16:59:52 -0700 (PDT)
Received: from [10.10.0.10] (97-102-36-170.res.bhn.net. [97.102.36.170])
        by smtp.gmail.com with ESMTPSA id n16sm3061928vkd.2.2016.07.08.16.59.51
        for <gentoo-user@lists.gentoo.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 08 Jul 2016 16:59:52 -0700 (PDT)
Subject: Re: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node
 MCU
To: gentoo-user@lists.gentoo.org
References: <20160708032202.GA4623@solfire>
From: Fernando Rodriguez <cyklonite@gmail.com>
Message-ID: <221f45b5-c289-4473-319a-24e62db7b97d@gmail.com>
Date: Fri, 8 Jul 2016 20:00:51 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
In-Reply-To: <20160708032202.GA4623@solfire>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Archives-Salt: da980ea4-aef3-42a7-949d-5c19e9d9cc1f
X-Archives-Hash: 41be9d93b23eb474dfbb0f3f377ea6bc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/07/2016 11:22 PM, Meino.Cramer@gmx.de wrote:
> Hi,
> 
> I have bought an ESP8266 Lua NodeMCU board, which has 
> an FTDI-like chip on board to map USB to serial and
> vice versa. It is an CH340 one.
> There is an according module in the driver (compiled
> and - to get shure - loaded by hand).
> 
> When I connect the ESP8266 board to my Gentoo PC
> nothing happens (dmesg shows nothing).
> When pressing RST on the board, I see this sometimes:
> 
> [ 4340.105221] usb 7-4: new full-speed USB device number 9 using ohci-pci
> [ 4340.630234] usb 7-4: device not accepting address 9, error -62
> 
> (both lines are printed right after another - no delay...)
> 
> or this:
> 
> [ 4473.567739] usb 7-4: new full-speed USB device number 11 using ohci-pci
> [ 4473.712306] usb 7-4: New USB device found, idVendor=1a86, idProduct=7523
> [ 4473.712316] usb 7-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
> [ 4473.712321] usb 7-4: Product: USB2.0-Serial
> [ 4473.763259] usbcore: registered new interface driver ch341
> [ 4473.763278] usbserial: USB Serial support registered for ch341-uart
> [ 4473.763295] ch341 7-4:1.0: ch341-uart converter detected
> [ 4473.786463] usb 7-4: ch341-uart converter now attached to ttyUSB1
> [ 4473.888987] usb 7-4: USB disconnect, device number 11
> [ 4473.889485] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
> [ 4473.889511] ch341 7-4:1.0: device disconnected
> [ 4474.292773] usb 7-4: new full-speed USB device number 12 using ohci-pci
> 
> there is no new device under /dev/.
> 
> Do I miss something seriously important here related to using the
> CH340 driver...or is this board simply demaged ???
> 
> Thank you very much in advance for any help!
> 
> Best regards,
> Meino

What's running on the board? I'm not familiar with it or arduinos at all but it looks like it's being
detected and then disconnected. Are you trying to program the board through USB? If so, and since
it's detected when you reset the board, my guess is that it's got some kind of bootloader that is
initializing the UART->USB adapter and passing control to whatever firmware is already loaded, and
that firmware is not driving the UART/USB adapter. If that's the case the board's manual should tell you how
to program it.

Fernan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXgD6zAAoJEPbOFX/5Ulwc7+QP/3q9pQunL9XJiWounkakNjZe
Yb3jNK0D+G50T2/DGzFSMK/sXsEcTAr/w9Dhm2txwutPf3wGibr8O3gdfneRy/Gm
ImMXAqjL9ag3SFT3o5D7t97qKxRBJKOYa9enzBUDQGpUpQYJPRvn9v7PWJFwEHza
jVZJcW4HfnGeTdDgeqOsM8nbi8GITDd+WOV1tnIv573ifs3TCW5nGisEtCqwoVui
knzOc9I+DLY0QEPEEBnZlmiOQR6nsJQNrX3ixs/2odTO/lX10xmdTSy94yWMBuqY
8d8FYyiizjx9rkJamks5P04Q7hvXZos32EgcWq4jKINL4fyOXhfg9uxNs2366Wwh
bOlvt5wJdwH5ABvEcN71jU8pm9UrrdfDnXgRZY/irGWAxsLSWhftVIAlIz4hTSUa
2uowKMvKULXUJLFdVSltAItuXe2WM0pqEzoKPb9iXFZY88aWvGomrZxlbCtBQ3Gg
t2TYSzOYljnzYs+dVm22JBLtgbrxfaJexisJ3O/7h8gs6ACm0M9zi33Rm1df5Cgp
6o9ihJynW9svsJVab72LsRmbe0lVv+HgNfwKr5O3IEIE1Y7BhPx5EAFrgfE6M/SK
2sKR4YzdRgpxM7Td4wHtiCaROCfGsxK4wd69n2H2bp7cYPofYa48C//wZJWV6gmr
X0oZGic3DDPrR+77Hzi6
=eEG4
-----END PGP SIGNATURE-----