Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Philipp Dreimann <philipp@dreimann.net>
Cc: Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>,
	Joseph Salisbury <joseph.salisbury@canonical.com>
Subject: Re: Regression in sound/usb/
Date: Wed, 11 Jul 2012 10:31:41 +0200	[thread overview]
Message-ID: <4FFD39ED.9050706@gmail.com> (raw)
In-Reply-To: <CADYPuQ6XRSAxKvctCr3FrJ71smk-xOEMF_5VAv-6F5gdM7dwuQ@mail.gmail.com>

On 11.07.2012 09:30, Philipp Dreimann wrote:
> On 10 July 2012 23:14, Daniel Mack <zonque@gmail.com> wrote:
>> On 05.07.2012 17:36, Takashi Iwai wrote:
>>> At Thu, 5 Jul 2012 17:32:30 +0200,
>>> Philipp Dreimann wrote:
>>>>
>>>> On 5 July 2012 16:41, Takashi Iwai <tiwai@suse.de> wrote:
>>>>>> Try the patch below.  If it still doesn't work, give the kernel
>>>>>> message again and lsusb -v output, too.
>>>>>
>>>>> Did it make any difference?
>>>>
>>>> No, it unfortunately did not.
>>>>
>>>> lsusb is attached and the parts of the kernel log are in the mail:
>>>>
>>>> [   41.243211] usb 2-1.2: new high-speed USB device number 3 using ehci_hcd
>>>> [   41.605666] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821)
>>>> [   42.002275] input: UVC Camera (046d:0821) as
>>>> /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/input/input12
>>>> [   42.085880] usbcore: registered new interface driver snd-usb-audio
>>>>
>>>> [   52.790139] uvcvideo: Failed to query (GET_DEF) UVC control 2 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.794363] uvcvideo: Failed to query (GET_DEF) UVC control 2 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.798375] uvcvideo: Failed to query (GET_DEF) UVC control 3 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.802499] uvcvideo: Failed to query (GET_DEF) UVC control 7 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.806617] uvcvideo: Failed to query (GET_DEF) UVC control 11 on
>>>> unit 2: -71 (exp. 1).
>>>> [   52.810734] uvcvideo: Failed to query (GET_DEF) UVC control 4 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.814855] uvcvideo: Failed to query (GET_DEF) UVC control 5 on
>>>> unit 2: -71 (exp. 1).
>>>> [   52.818976] uvcvideo: Failed to query (GET_CUR) UVC control 11 on
>>>> unit 2: -71 (exp. 1).
>>>> [   52.823096] uvcvideo: Failed to query (GET_DEF) UVC control 8 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.827215] uvcvideo: Failed to query (GET_DEF) UVC control 1 on
>>>> unit 2: -71 (exp. 2).
>>>> [   52.831331] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).
>>>> [   52.835459] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).
>>>> The last line repeats a few times, then the Failed to query block
>>>> repeats again, and so on. But only if I try to use the webcam.
>>>>
>>>> [   82.363599] 3:1:3: cannot set freq 32000 to ep 0x86
>>>> Is showing up without using the webcam.
>>>
>>> Hm, it looks better than before (it was '3:-1:3' or such), but there
>>> is still something strange there.
>>
>> Sorry for the long delay on this. I finally found some time to look into
>> this and it seems that I got the calls to usb_set_interface wrong.
>> Attached is a patch to fix this - could everybody who is affect please
>> give that a quick try? More explanation is in the commit log.
> 
> The camera is now working for a short time:
> [   56.421399] usb 2-1.2: new high-speed USB device number 4 using ehci_hcd
> [   57.224234] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821)
> [   57.237221] input: UVC Camera (046d:0821) as
> /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/input/input15
> Camera and microphone are working. Some time later we're back to the old issue:

Ok, I see. Drop this, I'm working on a new one. I will find some time
later today to look into this. Thanks for your patience!


Daniel

  parent reply	other threads:[~2012-07-11  8:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CADYPuQ75GAxGyZgiUwygvnQMmDcL9+NMHNo432kg1RYC7vbfQA@mail.gmail.com>
2012-07-02 12:10 ` Regression in sound/usb/ Daniel Mack
     [not found]   ` <CADYPuQ5RFJAaFDpT+4XM-JDWzDO5czVAU3A++_HVHjhN=VBhvQ@mail.gmail.com>
2012-07-03  8:00     ` Takashi Iwai
     [not found]       ` <CADYPuQ4Uj8pq9nZOJemY9kZtSrG-WfG4s90b+a00_KteJXU_Sg@mail.gmail.com>
2012-07-03  8:27         ` Takashi Iwai
     [not found]           ` <CADYPuQ6DT4=NW2tzCLrKYnUHQ6p5qONZjY8PeKq-Z4HAk68tpw@mail.gmail.com>
2012-07-03  9:01             ` Takashi Iwai
2012-07-05 14:41               ` Takashi Iwai
     [not found]                 ` <CADYPuQ7yWpnPSvoVQDV+EyJfC39MDxhP9r5Jiqk_Jh8g65Xd4g@mail.gmail.com>
2012-07-05 15:36                   ` Takashi Iwai
2012-07-10 21:14                     ` Daniel Mack
     [not found]                       ` <CADYPuQ6XRSAxKvctCr3FrJ71smk-xOEMF_5VAv-6F5gdM7dwuQ@mail.gmail.com>
2012-07-11  8:31                         ` Daniel Mack [this message]
     [not found]                           ` <4FFD9B29.1020403@canonical.com>
2012-07-11 15:28                             ` Daniel Mack
2012-07-11 23:10                         ` Daniel Mack
2012-07-11 23:41                           ` Daniel Mack
     [not found]                           ` <CADYPuQ5sE28JRXLaBUYzjqvuJyWY9cWUCM4mYFByYQUXppDOQA@mail.gmail.com>
2012-07-12 13:20                             ` Daniel Mack
2012-07-05 15:57                   ` Daniel Mack

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=4FFD39ED.9050706@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=joseph.salisbury@canonical.com \
    --cc=philipp@dreimann.net \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox