/dev/ttyU0 - block at open

Hans Petter Selasky hselasky at c2i.net
Mon Oct 4 11:07:17 UTC 2010


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"


More information about the freebsd-usb mailing list