Prevent attach of modem serial emulated device on USB attach?
Karl Denninger
karl at denninger.net
Sat Apr 30 14:06:42 UTC 2016
So I have managed to get access via ugen to one of the USB devices I
want to talk to.
I would like to generalize that in a library, but am confounded by a
/second /device that comes up "looking like a modem", although it is
not. This is convenient if you want to open and deal with it like a
modem, but unfortunately that attachment appears to prevent me from
successfully using it with the ugen interface at the same time, as the
attachment looks like it "eats" the inbound byte stream.
Is there a reasonably-easy way to /prevent /FreeBSD from declaring this
device eligible to be attached as if it was a character-style modem,
leaving it only on ugen? I have figured out how to use devd to change
permissions on attach, but not how to prevent it from attaching a
generic USB device to a specific driver.
--
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2996 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20160430/5412b798/attachment.bin>
More information about the freebsd-usb
mailing list