Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 14:06:41 +0400
From:      Ruslan Bukin <br@bsdpad.com>
To:        freebsd-usb@freebsd.org
Subject:   /dev/ttyU0 - block at open
Message-ID:  <20101004100641.GA3403@bsdjail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101004100641.GA3403>