USB serial device naming

Hans Petter Selasky hselasky at c2i.net
Mon Dec 14 09:04:09 UTC 2009


On Monday 14 December 2009 09:53:51 Ed Schouten wrote:
> * Hans Petter Selasky <hselasky at c2i.net> wrote:
> > Also TTY should have a printout in dmesg, which unit is create if this
> > string is specified.
>
> Just patch your ucom driver to print that information. It doesn't belong
> in the TTY layer. Can't you just extend usbconfig to also dump that
> information?

Hi,

A printout in USB is OK for the user, but what about applications?

Probably I could extend with an USB IOCTL for the TTY device to do what I 
want, in addition to a printout.

USB_IOCTL_GET_PARENT_NAME

--HPS



More information about the freebsd-usb mailing list