Comtrol Rocketport UNIVERSAL PCI 32-port

John Baldwin jhb at freebsd.org
Thu Jan 26 08:32:49 PST 2006


On Thursday 26 January 2006 05:54, Vitaliy Skakun wrote:
> Hi everybody!
>
> One problem arised:
>
> when doing in the shell
> echo "~WS" > /dev/cuaR00
>
> for several times as quick as I can, I get panic with the following
> message: panic: device_unbusy: called for non-busy device rp0
>
> same thing when trying to send data to /dev/cuaR00 via JDK File streams ...
>
> :(((
>
> (Some kind of barcode printers are attached to this multiport card)
>
> Any help will be kindly accepted.
>
> Cheers
> Vit

Try the attached patch.  tty's don't use D_TRACKCLOSE but rp(4) was expecting 
that rpclose() was called on every close, not just the last close.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rp_busy.patch
Type: text/x-diff
Size: 1060 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060126/592d2657/rp_busy.bin


More information about the freebsd-hackers mailing list