Re: allow ugen(4) to attach to unused interfaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jacob Meuser
Date: Monday, January 3, 2011 - 11:20 pm

On Tue, Jan 04, 2011 at 02:13:05PM +0900, Yojiro UO wrote:

well, when ugen(4) is attached as a secondary device, it is not
allowed to change the configuration, and is only allowed access to
the unclaimed interfaces.  this is essentially the same as other
class/interface drivers.  normal ugen(4) attachments and drivers
that attach by matching vendor/pid are given full access to the
device.

there is no defined class for scanners.  so, I don't see how usb
scanners will be supported without a generic usb device driver,
except maybe something like uscanner ...

this saves me from having to disable ulpt, so that I can use my
mfp as a ugen, which then forces me to use CUPS for printing.
now I don't have to fiddle in ukc or use CUPS.

I don't disagree that the wrong device attaching as ugen could have
unforseen negative consequences.  you wouldn't want to allow
unrestricted use of a ugen attached to a umass interface that is
controlling a filesystem, for example.  but we attach umass there,
so that shouldn't happen.




-- 
jakemsr@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
allow ugen(4) to attach to unused interfaces, Jacob Meuser, (Mon Jan 3, 4:18 pm)
Re: allow ugen(4) to attach to unused interfaces, Yojiro UO, (Mon Jan 3, 10:13 pm)
Re: allow ugen(4) to attach to unused interfaces, Jacob Meuser, (Mon Jan 3, 11:20 pm)
Re: allow ugen(4) to attach to unused interfaces, Ian Darwin, (Tue Jan 4, 11:10 am)