5.4-PRERELEASE usb audio problem
Khairil Yusof
kaeru at pd.jaring.my
Mon Apr 4 08:17:13 PDT 2005
On Sat, 2005-04-02 at 21:13 +0200, Christian Laursen wrote:
> When I plug in my Logitech USB headset I get the following:
>
> uaudio0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2
> uaudio_add_selector: NOT IMPLEMENTED
> uaudio0: audio rev 1.00
> pcm1: <USB Audio> on uaudio0
> pcm1: chn_init(pcm1:play:0) failed: err = 19
> pcm1: pcm_chn_create(ua_chan, 1, 0xc1974780) failed
> uhid0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2, iclass 1/1
Julian Elischer, posted a fix on freebsd-current@ some time ago.
Edit /usr/src/sys/dev/sound/usb/uaudio_pcm.c
Change,
#define UAUDIO_PCM_BUFF_SIZE 16*1024
to
#define UAUDIO_PCM_BUFF_SIZE (16*1024-1)
This works for my Sony SRS-T10PC USB speakers. If it fixes it for other
usb audio devices, I think this fix should be committed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050404/37079267/attachment.bin
More information about the freebsd-stable
mailing list