Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 15:06:56 +0900 (JST)
From:      Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
To:        arved@freebsd.org
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Latest uaudio commits break Logitech USB Headset
Message-ID:  <20050111.150656.521220515.kazuhito@ph.noda.tus.ac.jp>
In-Reply-To: <20041231122817.GT687@arved.at>
References:  <20041229105800.GS687@arved.at> <41D47F90.1080500@elischer.org> <20041231122817.GT687@arved.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

From: Tilman Linneweh <arved@freebsd.org>
Subject: Re: Latest uaudio commits break Logitech USB Headset
Date: Fri, 31 Dec 2004 13:28:17 +0100

> * Julian Elischer [2004-12-30 23:22]:
> > 
> > --- patch begins here ---
> > --- src/sys/dev/sound/usb/uaudio_pcm.c.orig	Sun Oct 31 02:56:01 2004
> > +++ src/sys/dev/sound/usb/uaudio_pcm.c	Thu Dec  9 04:21:10 2004
> > 
> > @@ -58,7 +58,7 @@
> > 
> > static struct pcmchan_caps ua_reccaps = {8000, 48000, ua_recfmt, 0};
> > 
> > -#define UAUDIO_PCM_BUFF_SIZE	16*1024
> > +#define UAUDIO_PCM_BUFF_SIZE	(16*1024-1)
> > 
> > /************************************************************/
> > static void *
> > --- patch ends here ---
> 
> Thanks a lot!
> Playback now works again. Please commit!

Your headphone included your Logitech USB headset is 16-bit stereo, 
isn't it? If it's true, I'm afraid that left sound is heard from
your right ear and right sound is from yuur left ear.
Because my USB auduio device, Sound Blaster Digital Music is such. 
Would you please check it?

If right and left are opposite, you have to change decrease quantity of
UAUDIO_PCM_BUFF_SIZE. In the case of Sound Blaster Digital Music,
the following was enough:

-#define UAUDIO_PCM_BUFF_SIZE	16*1024
+#define UAUDIO_PCM_BUFF_SIZE	(16*1024-4)
                                        ~~
> Recording, as far as I remember never worked with the device. 
> With CURRENT+your patch, recording results in a kernel panic:

I can't redo panic in my USB audio, and I couldn't find 
Logitech USB headset in my electrical town.
We may be able to get more information 
when USB_DEBUG is valid in uaudio.c, perhaps.

In the first place, uaudio system of FreeBSD 
can't record and play simultaneously.  
To explain in detail, though it can record and play simultaneously,
USB system become runaway when recording or playing is stopped.
So I forbidden simultaneous use. 
Therefore, I regret that USB headsets can't be used as a headset.

reagards,
kazuhito HONDA
kazuhito@ph.noda.tus.ac.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050111.150656.521220515.kazuhito>