Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterfaceNumber'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: Greg KH <greg@...>, Dave Young <hidave.darkstar@...>, <bbpetkov@...>, Kernel development list <linux-kernel@...>, USB development list <linux-usb-devel@...>
Date: Tuesday, October 16, 2007 - 3:13 pm

On Tue, Oct 16, 2007 at 02:04:43PM -0400, Alan Stern wrote:
to

And I'm guessing that you can't call usb_create_sysfs_intf_files() until
registration is performed, right?


Right, altsettings.  I forgot about those.  I only ever think in terms of
multiple configurations.

*grumble*

If usb_set_interface() has to be smart enough to remove existing files
first already, then I guess it's reasonably symmetric to have
usb_set_configuration() have the same smarts.  Maybe they can share some
common code, even.

Matt

--=20
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

C:  Why are you upgrading to NT?
AJ: It must be the sick, sadistic streak that runs through me.
					-- Chief and A.J.
User Friendly, 5/12/1998
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
usb+sysfs: duplicate filename 'bInterfaceNumber', Borislav Petkov, (Sun Oct 14, 11:15 am)
Re: usb+sysfs: duplicate filename 'bInterfaceNumber', Dave Young, (Mon Oct 15, 1:57 am)
Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterf..., Matthew Dharm, (Tue Oct 16, 3:13 pm)