From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 10:46:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93985106566B for ; Tue, 8 Jun 2010 10:46:06 +0000 (UTC) (envelope-from akashb503@yahoo.co.in) Received: from n8-vm0.bullet.mail.in.yahoo.com (n8-vm0.bullet.mail.in.yahoo.com [202.86.4.189]) by mx1.freebsd.org (Postfix) with SMTP id C63418FC18 for ; Tue, 8 Jun 2010 10:46:05 +0000 (UTC) Received: from [202.86.5.126] by n8.bullet.mail.in.yahoo.com with NNFMP; 08 Jun 2010 10:46:04 -0000 Received: from [203.104.18.55] by t6.bullet.mail.in.yahoo.com with NNFMP; 08 Jun 2010 10:46:04 -0000 Received: from [127.0.0.1] by omp107.mail.in2.yahoo.com with NNFMP; 08 Jun 2010 10:46:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 438788.38870.bm@omp107.mail.in2.yahoo.com Received: (qmail 21131 invoked by uid 60001); 8 Jun 2010 10:46:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1275993964; bh=QYA9Vh+YSQeQYkRNvdDGYZJilTDCzf3x8bFDtvmXCP8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=DsQla03CIsTc7jkcVgkD/yLX63Jj5mVMwd4vJLk+d7Kysn/HroDDXpSpjU0/r4bi/+U0bF62J6qExIe5AhgA3QDQCG6wF5PK2gfoD8qbW319gNme0WMzSpTE8I3TtsiEDwcXakGIP+qDsRsxF2gQao/uOaU/fNrFOEwzZrQZBeY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=2x7rMXmY3AWRT/3RVQjEi1RyCXjpbKuHsLavO2G2+2izeOf2xN4/dZcO/cDI88+OFyhGtQz3sJ2lI8+TEAehW2GSdMWCa6lfOdQlUEtqhPjOS2n0UsGtI45TSrv+NgP4YGdc6iTnYYL/6VfJiA166shGbOjs9NMi4j9XJze1GC8=; Message-ID: <274113.20639.qm@web95109.mail.in2.yahoo.com> X-YMail-OSG: sTjk0QMVM1lxFSCeDxKuyikhEcNkjCZXQ0lLiY0n83UGaIo .wNyKAzS1rt_abFM_P1vAA3.a7AOn1AK_yl2hPYWeMog7IB0K.h6mgtbfIuK DujsR6ODySsAqqjnLfOlYJa5aeons1puuPTSMDnYxcGwYr3MDiEu5mmFHsdg pirjlhQFYkpNbX9h37OEnrSoIotDkJqrqQ0ykQYiiCO72CVDVQdLWtkw._I. VBCUOCNxemGbZ Received: from [122.181.19.78] by web95109.mail.in2.yahoo.com via HTTP; Tue, 08 Jun 2010 16:16:03 IST X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.103.269680 References: <629087.29185.qm@web95103.mail.in2.yahoo.com> <4C06171E.2070608@a1poweruser.com> <382060.97070.qm@web95103.mail.in2.yahoo.com> Date: Tue, 8 Jun 2010 16:16:03 +0530 (IST) From: akash kumar To: "C. P. Ghost" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: minicom freebsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2010 10:46:06 -0000 Hi,=0A=0AFinally worked for me. Thanks all for your help.=0ABelow are the s= teps.=0A=0A1. /var/log/messages has below message when ever usb port is ins= erted. =0A> Unknown USB device: vendor 0x4348 product* 0x5523* bus uhub2 = =0A=0A2. grepping for vendor no. =0A> grep 0x4348 /usr/src/sys/dev/usb/* = =0A/usr/src/sys/dev/usb/usbdevs:vendor WCH 0x4348 QinHeng Electro= nics =0A=0A> cat /usr/src/sys/dev/usb/usbdevs | grep WCH =0Avendor WCH = 0x4348 QinHeng Electronics =0A/* WCH products */ =0Aproduct WCH CH341= SER *0x5523 * CH341/CH340 USB-Serial Bridge =0Aproduct WCH2 CH341S= ER 0x7523 CH341/CH340 USB-Serial Bridge =0A=0A=0A3. After bit of = googling with 'CH341/CH340 USB-Serial Bridge', found that specific module i= s missing.=0A Added uchcom in to the config file and rebuilt the kernel an= d booted =0Awith it. =0A> kldstat -v | grep uchcom =0A 309 uhub/uchco= m =0A=0A4. After rebooting could see below messages i.e device being recogn= ized =0Aas the module is already present =0Augen2.3: at usb= us2 =0Aucom0: on usbus2 =0A= ucom0: CH340 detected =0A=0AThe device is created with name /dev/cuaU0 and= it worked finally with minicom. =0A=0A=0AThanks,=0AAkash.=0A=0A=0A=0A_____= ___________________________=0AFrom: C. P. Ghost =0ATo: = akash kumar =0ACc: freebsd-questions@freebsd.org=0AS= ent: Wed, 2 June, 2010 3:36:54 PM=0ASubject: Re: minicom freebsd 8.0=0A=0AO= n Wed, Jun 2, 2010 at 11:30 AM, akash kumar wrote:= =0A> Hi,=0A>=0A> I was referring to minicom command similar to one on linux= .=0A> On linux the config file is /etc/minirc. and the Serial = Device is /dev/ttyUSB0, which was working for me.=0A> On freebsd the conf= ig file is /usr/local/etc/minicom/minirc., but not sure what to= update in the field 'pu port'.=0A>=0A> I tried with /dev/ugen2.2 but got b= elow error=0A>> minicom: cannot open /dev/ugen2.2: Permission denied=0A>=0A= > Please let me know what needs to be updated in the 'pu port' field.=0A=0A= Ah, okay. ugen is a generic device. I think you can't use that directly=0Ai= f you have a usb-to-serial converter.=0A=0AI guess you need to kldload a ke= rnel module specific to your usb-to-serial=0Aconverter. For example somethi= ng like uplcom, umodem etc. This would=0Acreate a new entry in /dev that yo= u can use in minicom.=0A=0APermissions for those devices can be set in /etc= /devfs.rules (and restarting=0Adevfs with /etc/rc.d/devfs restart). You may= also want to look at /etc/devd.conf=0A=0AI'm not familiar with usb-to-seri= al converters, so I can't help more than that.=0AOthers may have more exper= ience there.=0A=0A> Thanks,=0A> Akash.=0A=0A-cpghost.=0A=0A-- =0ACordula's = Web. http://www.cordula.ws/=0A=0A=0A