From owner-freebsd-usb@FreeBSD.ORG Mon Oct 4 11:07:17 2010 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 478F210656AB for ; Mon, 4 Oct 2010 11:07:17 +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 9CB778FC1E for ; Mon, 4 Oct 2010 11:07:16 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=SYwBy6LCpUoA:10 a=IkcTkHD0fZMA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=S-bAuPZ71MqSQgLGbUoA:9 a=2oNJNW2egRmI0cgSuXIA:7 a=QxT3FV1Vw_skrRgll3yWCfxF7WYA:4 a=QEXdDO2ut3YA:10 a=SV7veod9ZcQA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 30206369; Mon, 04 Oct 2010 13:07:15 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 4 Oct 2010 13:08:28 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101004100641.GA3403@bsdjail.com> In-Reply-To: <20101004100641.GA3403@bsdjail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010041308.28424.hselasky@c2i.net> Cc: ed@freebsd.org, Ruslan Bukin Subject: Re: /dev/ttyU0 - block at open 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: Mon, 04 Oct 2010 11:07:17 -0000 Hi, This is not directly related to USB, but rather TTY. Ed, any clues? --HPS On Monday 04 October 2010 12:06:41 Ruslan Bukin wrote: > Hi! > > I am using u3g driver for Gobi 2000 QDL device. > The open ("/dev/ttyU0", O_RDWR) does not return anything, > But it returns immediately with only O_NONBLOCK or O_NDELAY flags. > > is it normal behavior or not? > > The device is answering for commands normally in non-block state, > but only returns error when I try to write firmware to it. > > I think may be the problem is in block/non-block modes. > > Thanks > > -Ruslan > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"