NetBSD Problem Report #27237
Received: (qmail 29893 invoked by uid 605); 12 Oct 2004 17:55:39 -0000
Message-Id: <20041012173425.704CD4D0F@minako.z-planet.co.jp>
Date: Wed, 13 Oct 2004 02:34:25 +0900 (JST)
From: clare@znet.or.jp
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: clare@znet.or.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: Roland SD-90 Audio I/F may hate set_sample_rate thing
X-Send-Pr-Version: 3.95
>Number: 27237
>Category: kern
>Synopsis: Roland SD-90 Audio I/F may hate set_sample_rate thing
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kent
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 12 17:56:00 +0000 2004
>Closed-Date: Sat Oct 30 18:00:05 +0000 2004
>Last-Modified: Sat Oct 30 18:00:05 +0000 2004
>Originator: DHOYASHIKI Shinichi <clare@znet.or.jp>
>Release: NetBSD 2.99.9 near 2004-10-04
>Organization:
at home
>Environment:
System: NetBSD minako 2.99.9 NetBSD 2.99.9 (MINAKO5) #2: Mon Oct 4 11:11:00 JST 2004
clare@minako:/work/netbsd/sys/arch/i386/compile/MINAKO5 i386
Architecture: i386
Machine: i386
>Description:
Roland SD-90 may hate uaudio(4)'s set_sample_rate request, and does not
respond by proper error handling (no STALL replied immediately.)
Therefore, uaudio(4) freezes until USB request timed up.
Roland SD-90 is fixed-sample-rate device, no set_sample_rate was needed
to play with it.
>How-To-Repeat:
1) prepare uaudio(4) enabled kernel
2) attach Roland SD-90 Audio I/F (generic mode) to your computer
via USB cable
3) play a waveform via audioplay(1)
>Fix:
To avoid hitting a bug of the device, may be needed adding a quirk to
uaudio(4) driver.
http://www.znet.or.jp/~clare/music/umidi3.diff
(this is mixtured patch, sorry.)
>Release-Note:
>Audit-Trail:
From: TAMURA Kent <kent@NetBSD.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: Re: kern/27237: Roland SD-90 Audio I/F may hate set_sample_rate thing
Date: Sun, 17 Oct 2004 22:34:05 +0900 (JST)
Would you show dmesg output of SD-90 with UAUDIO_DEBUG?
--
TAMURA Kent <kent2004? at hauN.org> <kent at NetBSD.org>
From: DHOYASHIKI Shinichi <clare@znet.or.jp>
To: kent@netbsd.org
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: kern/27237: Roland SD-90 Audio I/F may hate set_sample_rate thing
Date: Fri, 29 Oct 2004 23:49:23 +0900 (JST)
Hello,
Following is extracted from my dmesg output relating Roland SD-90
USB Audio I/F part (with generic driver mode).
<<<<<<
NetBSD 2.99.10 (MINAKO5) #5: Wed Oct 27 13:05:32 JST 2004
clare@minako:/work/netbsd/sys/arch/i386/compile/MINAKO5
total memory = 766 MB
avail memory = 742 MB
BIOS32 rev. 0 found at 0xfd780
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Banias) (686-class), 1404.44 MHz, id 0x695
cpu0: features a7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features a7e9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9f9bf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1400MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1400 MHz (1484 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1400 1200 1000 800 600
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <IBM ,TP-1Q ,00001010>, AslId < LTP,00000000>
acpi0: found ECDT, GPE 28
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
(...snip...)
ehci0: handing over full speed device on port 4 to uhci1
uhub3: port 4, device disappeared after reset
uaudio0 at uhub1 port 2 configuration 1 interface 0: Roland EDIROL SD-90, rev 1.10/1.00, addr 2
id 1: AC_INPUT type=UAT_STREAM
input0: UAT_STREAM
output: UATO_DESKTOPSPEAKER
id 3: AC_OUTPUT type=UATO_DESKTOPSPEAKER src=1
input0: UAT_STREAM
output: UATO_DESKTOPSPEAKER
id 4: AC_INPUT type=UATE_DIGITALAUIFC
input0: UATE_DIGITALAUIFC
output: UAT_STREAM
id 7: AC_OUTPUT type=UAT_STREAM src=4
input0: UATE_DIGITALAUIFC
output: UAT_STREAM
uaudio0: playback: 2ch, 16/16bit, pcm, 44100Hz
uaudio0: recording: 2ch, 16/16bit, pcm, 44100Hz
uaudio0: audio rev 1.00
uaudio0: 0 mixer controls
audio1 at uaudio0: full duplex, independent
auconv_check_params: rate=8000:44100 chan=1:2 prec=8:16 enc=1:6
auconv_check_params: rate=8000:44100 chan=1:2 prec=8:16 enc=1:6
umidi0 at uhub1 port 2 configuration 1 interface 3
umidi0: Roland EDIROL SD-90, rev 1.10/1.00, addr 2
umidi0: (genuine USB-MIDI)
umidi0: out=4, in=4
midi0 at umidi0: USB MIDI I/F
midi1 at umidi0: USB MIDI I/F
midi2 at umidi0: USB MIDI I/F
midi3 at umidi0: USB MIDI I/F
>>>>>
I have also Roland M-1000 USB Audio I/F (with generic driver mode),
following is just FYI.
<<<<<
ehci0: handing over full speed device on port 4 to uhci1
uhub3: port 4, device disappeared after reset
uaudio0 at uhub1 port 2 configuration 1 interface 0: Roland ROLAND M-1000, rev 1.10/1.00, addr 2
id 1: AC_INPUT type=UAT_STREAM
input0: UAT_STREAM
output: UATO_DESKTOPSPEAKER
id 3: AC_OUTPUT type=UATO_DESKTOPSPEAKER src=1
input0: UAT_STREAM
output: UATO_DESKTOPSPEAKER
id 4: AC_INPUT type=UATE_DIGITALAUIFC
input0: UATE_DIGITALAUIFC
output: UAT_STREAM
id 7: AC_OUTPUT type=UAT_STREAM src=4
input0: UATE_DIGITALAUIFC
output: UAT_STREAM
uaudio0: playback: 2ch, 16/16bit, pcm, 44100Hz
uaudio0: recording: 2ch, 16/16bit, pcm, 44100Hz
uaudio0: audio rev 1.00
uaudio0: 0 mixer controls
audio1 at uaudio0: full duplex, independent
>>>>>
--
DHOYASHIKI Shinichi <clare@znet.or.jp>
State-Changed-From-To: open->analyzed
State-Changed-By: kent
State-Changed-When: Fri Oct 29 16:14:42 UTC 2004
State-Changed-Why:
Responsible-Changed-From-To: kern-bug-people->kent
Responsible-Changed-By: kent
Responsible-Changed-When: Fri Oct 29 16:14:42 UTC 2004
Responsible-Changed-Why:
From: TAMURA Kent <kent@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/27237 CVS commit: src/sys/dev/usb
Date: Fri, 29 Oct 2004 17:12:53 +0000 (UTC)
Module Name: src
Committed By: kent
Date: Fri Oct 29 17:12:53 UTC 2004
Modified Files:
src/sys/dev/usb: uaudio.c
Log Message:
* uaudio_chan_open()
Call uaudio_set_speed() if and only if the selected Audio Streaming
interface supports multiple sampling rates.
Address PR#27237
To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/dev/usb/uaudio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: analyzed->feedback
State-Changed-By: kent
State-Changed-When: Fri Oct 29 17:13:32 UTC 2004
State-Changed-Why:
Please test uaudio.c rev.1.90.
From: DHOYASHIKI Shinichi <clare@znet.or.jp>
To: kent@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/27237
Date: Sat, 30 Oct 2004 23:58:10 +0900 (JST)
Hello,
>Please test uaudio.c rev.1.90.
My SD-90 is nicely worked with it, both 44.1kHz and 48kHz mode.
Thank you.
--
DHOYASHIKI Shinichi <clare@znet.or.jp>
State-Changed-From-To: feedback->closed
State-Changed-By: kent
State-Changed-When: Sat Oct 30 17:59:42 UTC 2004
State-Changed-Why:
confirmed
>Unformatted:
>Quarter:
>Keywords:
>Date-Required:
(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.