From: Takashi Iwai <tiwai@suse.de>
To: miller@penguinstation.net
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: AudioTrak Optoplay...
Date: Wed, 04 Jun 2003 14:47:42 +0200 [thread overview]
Message-ID: <s5hisrmm2kx.wl@alsa2.suse.de> (raw)
In-Reply-To: <200306021418.26840.miller@penguinstation.net>
At Mon, 2 Jun 2003 14:18:26 -0600,
Ross Miller wrote:
>
> Also, the following lines are printed in the syslog:
> May 24 23:28:17 snoopy kernel: usb-uhci.c: interrupt, status 2, frame# 985
> May 24 23:28:18 snoopy kernel: usb_control/bulk_msg: timeout
> May 24 23:28:18 snoopy kernel: ALSA ../alsa-kernel/usb/usbaudio.c:1026: 5:1:2:
> cannot get freq at ep 0x1
>
> I looked at the source code, and line 1026 is in the init_usb_sample_rate
> function. According to the comment, the calls are made
> only if the devices has "sampling rate control" . I hacked that part out (so
> that the function no longer tries to set the rate) and then the device played
> just fine, at 24, 16 and 8 bits.
ok, i added a workaround code in usbaudio.c.
> The only problem was that it spat out a
> continuous stream of messages to the syslog. Here's a sample:
>
> May 24 23:44:32 snoopy last message repeated 3 times
> May 24 23:44:32 snoopy kernel: usb.c: usb-check-bandwidth would have FAILED:
> was 456, would be 913, bustime = 457 us
> May 24 23:44:32 snoopy kernel: usb.c: usb-check-bandwidth would have FAILED:
> was 799, would be 913, bustime = 114 us
> May 24 23:44:32 snoopy last message repeated 3 times
> May 24 23:44:33 snoopy kernel: usb.c: usb-check-bandwidth would have FAILED:
> was 456, would be 913, bustime = 457 us
>
> These messages continue for as long as the sound is playing.
a possible reason is that either we set up the interface correctly, or
we pass too many packets for the requested status.
i added nrpacks module option in usbaudio driver. please set
nrpacks=2 to reduce the max number of URB packets.
the changes were committed to cvs now, so please give a try.
ciao,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
next prev parent reply other threads:[~2003-06-04 12:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 20:18 AudioTrak Optoplay Ross Miller
2003-06-03 7:03 ` Clemens Ladisch
2003-06-03 8:46 ` This OUGHT to be easy, but I'm a bit lost Tom Watson
2003-06-03 10:04 ` Takashi Iwai
2003-06-03 14:48 ` AudioTrak Optoplay Ross Miller
2003-06-04 14:00 ` Clemens Ladisch
2003-06-04 12:47 ` Takashi Iwai [this message]
2003-06-06 6:34 ` Ross Miller
2003-06-06 8:35 ` Takashi Iwai
2003-06-13 6:22 ` Ross Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hisrmm2kx.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=miller@penguinstation.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.