From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 21:55:43 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA7F106566B for ; Tue, 3 Nov 2009 21:55:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF778FC19 for ; Tue, 3 Nov 2009 21:55:42 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=YgHpy36AcwMA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=75OBNcyTBNFUEMVpWAcA:9 a=53TJCCPaOz20soDuc_IA:7 a=qgQv5g2AMstxn8JQSB6KwAHuEbkA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1320947773; Tue, 03 Nov 2009 22:55:40 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 22:56:57 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> <200911012209.37403.hselasky@c2i.net> <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911032256.58552.hselasky@c2i.net> Cc: Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 21:55:43 -0000 On Tuesday 03 November 2009 22:27:03 Torfinn Ingolfsen wrote: > On Sun, 01 Nov 2009 22:09:34 +0100 > > Hans Petter Selasky wrote: > > Try to fetch: > > > > /sys/dev/usb/serial/uchcom.c > > > > From FreeBSD 9-current and rebuild the uchcom module or kernel. > > I noticed that the latest uchcom.c had been MFC'ed to RELENG_8, so I > fetched and built that instead. > root@kg-t2# uname -a > FreeBSD kg-t2.kg4.no 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Nov 3 20:13:10 CET > 2009 root@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 > > And in /var/log/messages I see: > Nov 3 22:17:43 kg-t2 kernel: ugen0.2: at usbus0 > Nov 3 22:17:43 kg-t2 kernel: ucom0: 1.10/2.50, addr 2> on usbus0 Nov 3 22:17:43 kg-t2 kernel: ucom0: CH340 > detected > and usbconfig shows: > root@kg-t2# usbconfig list > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > But where is ucom0? > root@kg-t2# ls -l /dev/uc* > ls: /dev/uc*: No such file or directory > root@kg-t2# ls -l /dev/ucom0 > ls: /dev/ucom0: No such file or directory > root@kg-t2# ls -l /dev/ucom0 /dev/cuaU0 --HPS