--- Tejun Heo <[EMAIL PROTECTED]> wrote:
> I see.  They're static alright.  That leaves us with sd pointing to
> the wrong attr.  I'll take a look whether that's possible.

I put a few printks in sysfs_remove_file() to see precisely what winecfg is 
doing, and it looks as
if the ALSA OSS emulation layer is repeatedly choosing which interface it 
should be using for the
webcam's microphone device:

 =======================
XXX removed [dev]
XXX debug trap path=/class/usb_endpoint/usbdev1.3_ep84
 [<c01e941e>] device_remove_file+0x1c/0x28
 [<c01e948a>] device_del+0x29/0x1a7
 [<c01e9610>] device_unregister+0x8/0x10
 [<f886ec5e>] usb_remove_ep_files+0x55/0x68 [usbcore]
 [<f886e752>] usb_remove_sysfs_intf_files+0x19/0x54 [usbcore]
 [<f886be1d>] usb_set_interface+0xe1/0x165 [usbcore]
 [<f8b63a9e>] snd_usb_pcm_close+0x1e/0x30 [snd_usb_audio]
 [<f89915de>] snd_pcm_release_substream+0x3a/0x63 [snd_pcm]
 [<f89ae086>] snd_pcm_oss_release_file+0x16/0x28 [snd_pcm_oss]
 [<f89af662>] snd_pcm_oss_release+0x3d/0x7e [snd_pcm_oss]
 [<c01519e7>] __fput+0x96/0x13c
 [<c014f508>] filp_close+0x51/0x58
 [<c0150501>] sys_close+0x70/0xa7
 [<c0102bde>] sysenter_past_esp+0x5f/0x85
 [<c027007b>] unix_create1+0x3a/0xee
 [<c027003b>] unix_release+0x14/0x1a
 =======================

So does this imply there's a race condition in here somewhere?

Cheers,
Chris



      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to