Re: request for test: usb audio autosuspend

2008-02-19 Thread Clemens Ladisch
Oliver Neukum wrote: > Am Dienstag, 5. Februar 2008 08:36:01 schrieb Clemens Ladisch: > > If you do autosuspend changes, they would have to go on top of the patch > > below, which makes the driver submit the endpoint's URB only when some > > MIDI stream is open. > > Ok, this turns out to be more co

Re: request for test: usb audio autosuspend

2008-02-07 Thread Oliver Neukum
Am Dienstag, 5. Februar 2008 08:36:01 schrieb Clemens Ladisch: > > Documentation/DocBook/writing-an-alsa-driver, section > > "RawMIDI Interface". > > > > Just use the *_open/*_close and *_disconnect callbacks. > > Sorry, what I wrote isn't true for input because the driver uses an > active URB reg

Re: request for test: usb audio autosuspend

2008-02-04 Thread Clemens Ladisch
I wrote: > Oliver Neukum wrote: >> Yes, I noticed. I thought midi is a separate driver. Is there documentation >> on the midi API? > > Documentation/DocBook/writing-an-alsa-driver, section > "RawMIDI Interface". > > Just use the *_open/*_close and *_disconnect callbacks. Sorry, what I wrote isn't

Re: request for test: usb audio autosuspend

2008-02-04 Thread Clemens Ladisch
Oliver Neukum wrote: > Am Montag, 4. Februar 2008 15:47:08 schrieb Clemens Ladisch: >> Oliver Neukum wrote: >> > Am Montag, 4. Februar 2008 09:58:19 schrieb Clemens Ladisch: >> >> parameter settings. Furthermore, it should be possible to use this >> >> device with its external input even when the

Re: request for test: usb audio autosuspend

2008-02-04 Thread Oliver Neukum
Am Montag, 4. Februar 2008 15:47:08 schrieb Clemens Ladisch: > Oliver Neukum wrote: > > Am Montag, 4. Februar 2008 09:58:19 schrieb Clemens Ladisch: > >> Oliver Neukum wrote: > >> > this patch implements autosuspend for USB audio devices. > >> > >> The Creative Audigy 2 NX mutes itself when being s

Re: request for test: usb audio autosuspend

2008-02-04 Thread Clemens Ladisch
Oliver Neukum wrote: > Am Montag, 4. Februar 2008 09:58:19 schrieb Clemens Ladisch: >> Oliver Neukum wrote: >> > this patch implements autosuspend for USB audio devices. >> >> The Creative Audigy 2 NX mutes itself when being suspended but doesn't >> unmute when resuming. (Apparently, this self-powe

Re: request for test: usb audio autosuspend

2008-02-04 Thread Oliver Neukum
Am Montag, 4. Februar 2008 09:58:19 schrieb Clemens Ladisch: > Oliver Neukum wrote: > > this patch implements autosuspend for USB audio devices. > > The Creative Audigy 2 NX mutes itself when being suspended but doesn't > unmute when resuming. (Apparently, this self-powered device treats > supend

Re: request for test: usb audio autosuspend

2008-02-04 Thread Clemens Ladisch
Oliver Neukum wrote: > this patch implements autosuspend for USB audio devices. The Creative Audigy 2 NX mutes itself when being suspended but doesn't unmute when resuming. (Apparently, this self-powered device treats supend the same as disconnection.) The Roland SC-8820 resets itself when being

Re: request for test: usb audio autosuspend

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Oliver Neukum wrote: > Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > > > Hi, > > > > > > this patch implements autosuspend for USB audio devices. > > > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct

Re: request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > Hi, > > > > this patch implements autosuspend for USB audio devices. > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > > *substream, int direction) > >    

Re: request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > Hi, > > > > this patch implements autosuspend for USB audio devices. > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > > *substream, int direction) > >

Re: request for test: usb audio autosuspend

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Oliver Neukum wrote: > Hi, > > this patch implements autosuspend for USB audio devices. > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > *substream, int direction) > subs->interface = -1; > } > subs->pcm_substream = NU

request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Hi, this patch implements autosuspend for USB audio devices. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> It's against Linus's git tree plus git-pull git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git mm as this contains suspend/resume support for USB audio. Please test. R