Date: Sat, 29 Sep 2018 15:03:04 +0200 From: Axel Rau <Axel.Rau@Chaos1.DE> To: freebsd-hardware@freebsd.org Subject: <FTDI USB - Serial> not ready after reboot Message-ID: <34F4A003-3FA2-4CB3-89E7-38FDD5EE3AAD@Chaos1.DE>
next in thread | raw e-mail | index | archive | help
Hi all, the daemon opens /dev/ttyU3 on startup to read serial data. In case of reboot the device seems to be not ready and the daemon does = not get any data even it seems the opn succeeds. It works after manual = restarting the daemon. I could not find a suitable rcorder requirement. How could I make sure the daemon does not start too early? Thanks, Axel PS: crw------- 1 root wheel 0xd3 Sep 29 12:54 ttyU3 crw------- 1 root wheel 0xd4 Sep 29 11:56 ttyU3.init crw------- 1 root wheel 0xd5 Sep 29 11:56 ttyU3.lock =46rom dmesg: Root mount waiting for: usbus2 ugen2.3: <FTDI USB - Serial> at usbus2 uftdi0 on uhub7 uftdi0: <USB - Serial> on usbus2 Root mount waiting for: usbus2 ugen2.4: <FTDI USB - Serial> at usbus2 uftdi1 on uhub7 uftdi1: <USB - Serial> on usbus2 ugen2.5: <FTDI USB - Serial> at usbus2 uftdi2 on uhub7 uftdi2: <USB - Serial> on usbus2 Root mount waiting for: usbus2 ugen2.6: <FTDI USB - Serial> at usbus2 uftdi3 on uhub7 uftdi3: <USB - Serial> on usbus2 random: unblocking device. ugen0.2: <vendor 0x046a wired keyboard> at usbus0 ukbd1 on uhub1 ukbd1: <vendor 0x046a wired keyboard, class 0/0, rev 2.00/1.03, addr 2> = on usbus0 kbd3 at ukbd1 root@db2:/usr/local/etc/rc.d # kldstat Id Refs Address Size Name 1 25 0xffffffff80200000 20647f8 kernel 2 1 0xffffffff82266000 381080 zfs.ko 3 2 0xffffffff825e8000 a380 opensolaris.ko 4 1 0xffffffff825f3000 adf0 uftdi.ko =2D-- PGP-Key:29E99DD6 =E2=98=80 computing @ chaos claudius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34F4A003-3FA2-4CB3-89E7-38FDD5EE3AAD>