From: Takashi Iwai Subject: Re: Two USB audio devices, kobject_add failed Date: Thu, 21 Dec 2006 18:56:41 +0100 Message-ID: References: <9e4733910612200834g14804e44xafb5b0f434e87ba4@mail.gmail.com> <20061221092355.75207a9f.zaitcev@redhat.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id B4794266 for ; Thu, 21 Dec 2006 18:57:00 +0100 (MET) In-Reply-To: <20061221092355.75207a9f.zaitcev@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Pete Zaitcev Cc: alsa-devel@alsa-project.org, linux-usb-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 21 Dec 2006 09:23:55 -0800, Pete Zaitcev wrote: > > On Wed, 20 Dec 2006 11:34:48 -0500, "Jon Smirl" wrote: > > Adding list to cc: > > > My new WebCam is a USB audio device and so is my sound system, PSC805. > > When I boot sound doesn't initially work. If I unplug the PSC805 and > > plug it back in again I get this. I don't get this using only one > > device at a time. > > > > [ 176.243298] usb 2-2: configuration #1 chosen from 1 choice > > [ 176.298092] kobject_add failed for card1 with -EEXIST, don't try to register things with the same name in the same directory. > > [ 176.298125] [] kobject_add+0x10f/0x190 > > [ 176.298156] [] device_add+0xb7/0x530 > > [ 176.298177] [] kobject_get+0xf/0x20 > > [ 176.298184] [] kobject_init+0x2b/0x40 > > [ 176.298201] [] device_create+0x88/0xc0 > > [ 176.298220] [] snd_card_register+0x2b7/0x320 [snd] > > [ 176.298253] [] usb_driver_claim_interface+0x84/0xb0 [usbcore] > > Jon, sorry for the finger-pointing, but you better take it up with ALSA > people. It seems that snd_usb_audio_create calls snd_card_new incorrectly, > but I have no idea what the constrains on the ID are, so I won't try to > make a patch here. Is it 2.6.20 kernel? How is the status of /sys/class/sound before and after unplugging a device? Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV