Some breadcrumbs for people looking to write USB drivers. Hopefully others
can add to the trail.
Solaris 8 doesnt come with any official documentation on
"Heres how to write a USB driver".
On the other hand, it DOES ship with pseudo-documentation.
/usr/include/sys/usb/*
/etc/dacf.conf
so I'm thinking anyone could in theory write a USB leaf device driver
at this point, if they can figure out what needs to be where.
Maybe.
Looks like any USB "client" driver needs to be added to dacf.conf, since
usbms is in there.
But I'm a lightweight when it comes to STREAMS drivers. Anyone who is a
STREAMS guru want to look at the file, and explain what probably happens
after that point?
Hmmm... then again... usbprn is also a dynamically pluggable USB device.
AND it is present in /etc/driver_aliases, as
usbprn "usbif,class7.1.1"
So maybe /etc/dacf.conf is ONLY for "console-related" USB items. (durn).
Whereas there is still an as-yet unknown mechanism for invoking other
USB items.
Looks like something did a
add_drv -a '"usbif,class7.1.1"'
And that is under /kernel/drv/usbprn, NOT /kernel/strmod
So not a STREAMS driver.
Curiouser and curiouser.
--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
The word of the day is mispergitude