Subject: Re: more ulpt!
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Alfred Perlstein <bright@mu.org>
List: tech-kern
Date: 02/25/2002 17:46:56
* Jared D. McNeill <jmcneill@invisible.yi.org> [020225 17:39] wrote:
> On Mon, 25 Feb 2002, Alfred Perlstein wrote:
> > It seems that if I use the /dev/ulpt0 interface, when I do an open(2)
> > on the device, the first time it's ok, however subsequent times
> > hang the process while trying to issue the reset request inside
> > of ulpt_reset().
> 
> Copy over the latest MAKEDEV on -current to /dev, and use MAKEDEV to
> create 'ulpt0'. It _should_ create /dev/ulpn0, which doesn't initialize
> the device on the port (according to the manual page). Fixes the hang
> problem for me at least.

I'd like to fix the hang problem without a workaround. :)

At least such that users who just use plain /dev/ulpt0 don't give
themselves unkillable stuck processes.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/