> On 16 Jan 2020, at 12:26, Hans Petter Selasky <h...@selasky.org> wrote:
> 
> On 2020-01-16 11:23, Daniel Braniss wrote:
>> 63549 a.out    CALL  openat(AT_FDCWD,0x1045b,0x2<O_RDWR>)
>> 63549 a.out    NAMI  "/dev/ttyU0"
>> 63549 a.out    RET   openat -1 errno 6 Device not configured
>> 63549 a.out    CALL  nanosleep(0xbfbfec20,0xbfbfec10)
>> 63549 a.out    RET   nanosleep 0
>> 63549 a.out    CALL  writev(0x2,0xbfbfe408,0x4)
>> 63549 a.out    GIO   fd 2 wrote 28 bytes
>>       "open: Device not configured
>> and the console:
>> Jan 16 12:17:14 neo-black-1 kernel: umodem_cfg_set_dtr: onoff=1
>> Jan 16 12:17:14 neo-black-1 kernel: umodem_cfg_set_rts: onoff=1
>> Jan 16 12:17:15 neo-black-1 kernel: umodem0: at uhub5, port 1, addr 2 
>> (disconnected)
>> Jan 16 12:17:15 neo-black-1 kernel: umodem_detach: sc=0xd494c400
>> Jan 16 12:17:16 neo-black-1 kernel: umodem_cfg_set_break: onoff=0
>> Jan 16 12:17:16 neo-black-1 kernel: umodem0: detached
>> Jan 16 12:17:23 neo-black-1 kernel: umodem_probe:
>> Jan 16 12:17:23 neo-black-1 syslogd: last message repeated 1 times
>> Jan 16 12:17:23 neo-black-1 kernel: umodem0 on uhub5
>> Jan 16 12:17:23 neo-black-1 kernel: umodem0: <SM SM-2D PRODUCT USB UART, 
>> class 2/0, rev 1.10/1.00, addr 2> on usbus5
>> Jan 16 12:17:23 neo-black-1 kernel: umodem0: data interface 1, has no CM 
>> over data, has no break
> 
> Also do:
> 
> ls /dev/cuaU*
looks fine
> 
> To make sure there are not multiple devices there!
> 
> Can you try to open up /dev/cuaU0 instead?
> 
> Same result?
> 

the open succeeds, but read returns 0, and the device is detached again.

i will now try the whole termcap stuff (speed, raw mode, etc)

danny



_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to