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@...>, USB development list <linux-usb-devel@...>, Dave Young <hidave.darkstar@...>, Kernel development list <linux-kernel@...>, <bbpetkov@...>
Date: Tuesday, October 16, 2007 - 3:13 pm

--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--ctP54qlpMx3WjD+/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHFQ1THL9iwnUZqnkRAlQ5AKClGtzLNuHpy7uYWq+qXunNhwi3fQCfQrOd
RzharJABp+pgciis5sO3RZA=
=2jfu
-----END PGP SIGNATURE-----

--ctP54qlpMx3WjD+/--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterf..., Matthew Dharm, (Tue Oct 16, 3:13 pm)