NetBSD Problem Report #33590

From www@NetBSD.org  Mon May 29 16:49:02 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 4C71463BAAE; Mon, 29 May 2006 16:49:02 +0000 (UTC)
Message-Id: <20060529164902.4C71463BAAE@narn.NetBSD.org>
Date: Mon, 29 May 2006 16:49:02 +0000 (UTC)
From: nblists@anastigmatix.net
Reply-To: nblists@anastigmatix.net
To: gnats-bugs@NetBSD.org
Subject: umidi(4) input loss when receiving data on multiple ports
X-Send-Pr-Version: www-1.0

>Number:         33590
>Category:       kern
>Synopsis:       umidi(4) input loss when receiving data on multiple ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chap
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 29 16:50:00 +0000 2006
>Closed-Date:    Thu Sep 14 17:05:20 +0000 2006
>Last-Modified:  Thu Sep 14 17:05:20 +0000 2006
>Originator:     Chapman Flack
>Release:        any release to date with umidi
>Organization:
>Environment:
any
>Description:
Input data arriving for a jack that is not open for reading will be
discarded, without rearming the input transfer--resulting in cessation
of all subsequent input for other jacks on the same endpoint that are
open for reading.
>How-To-Repeat:
On any umidi device with an input endpoint used by more than one jack,
open a jack for reading, supply it with a stream of data, and observe
succesful reception. Now supply some MIDI input to another jack not
open for reading on the same endpoint, and observe that reception on
the open jack ceases.
>Fix:
in the chap-midi branch.

>Release-Note:

>Audit-Trail:
From: Chapman Flack <chap@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33590 CVS commit: [chap-midi] src/sys/dev/usb
Date: Mon, 29 May 2006 16:54:05 +0000 (UTC)

 Module Name:	src
 Committed By:	chap
 Date:		Mon May 29 16:54:05 UTC 2006

 Modified Files:
 	src/sys/dev/usb [chap-midi]: umidi.c

 Log Message:
 PR kern/33590.

 Input on a jack that is not open for reading was discarded without
 rearming the input transfer, so subsequent input would cease on other
 jacks sharing the same endpoint. I thought I must have broken this, but
 actually it broke five years ago in r1.4.

 The breakage in the dump_ep() debug function was mine, though.


 To generate a diff of this commit:
 cvs rdiff -r1.25.2.14 -r1.25.2.15 src/sys/dev/usb/umidi.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->chap
Responsible-Changed-By: chap@netbsd.org
Responsible-Changed-When: Thu, 14 Sep 2006 17:05:20 +0000
Responsible-Changed-Why:
Made the changes.


State-Changed-From-To: open->closed
State-Changed-By: chap@netbsd.org
State-Changed-When: Thu, 14 Sep 2006 17:05:20 +0000
State-Changed-Why:
Addressed in chap-midi branch merged in June.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.