I think usb_find_interface_driver() does something that's a bit
iffy, but that can be dealt with by insisting that drivers call
usb_set_interface() for any non-deafult setting.
Yes, I've had the same thought about how the probing works.
- Dave
----- Original Message -----
From: "Matthew Dharm" <[EMAIL PROTECTED]>
To: "USB Developers" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 4:23 PM
Subject: [linux-usb-devel] problem with act_altsetting and probing?
Looking at usb.c, it seems that act_altsetting is changed somewhat freely.
But it also looks like (based on the code in usb_set_interface) that you
can't (or at least shouldn't) do that.
So which is correct? Can you freely change act_altsetting, or do you need
to call usb_set_interface()?
Matt
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
S: Another stupid question?
G: There's no such thing as a stupid question, only stupid people.
-- Stef and Greg
User Friendly, 7/15/1998
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel