Device deadlock.

Peter Enderborg (pme@ufh.se)
Tue, 24 Aug 1999 20:17:00 +0200


This is a multi-part message in MIME format.
--------------EA70124D2AE3E012567E3D5A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have a program that sends midi events to the /dev/midi0 device.

It open the device with open() for read/write. Sometimes it sends a lot of events

and the device stops send. (Nonblocking) Then the device is dead. I stop the process and

trying open the device and it is stil busy. The hardware is SB16 or SB128 PCI.

Im thinking of sending some IOCTL to give it a reset signal, but I cant send IOCTL

the device is busy. Ugly deadlock...

--
foo!

--------------EA70124D2AE3E012567E3D5A Content-Type: text/x-vcard; charset=us-ascii; name="pme.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Peter Enderborg Content-Disposition: attachment; filename="pme.vcf"

begin:vcard n:Enderborg;Peter x-mozilla-html:FALSE org:; adr:;;;;;; version:2.1 email;internet:pme@ufh.se x-mozilla-cpt:;0 fn:Peter Enderborg end:vcard

--------------EA70124D2AE3E012567E3D5A--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/