On Fri, 4 Nov 2005, Pawel Kot wrote:

- when looking for FBUS port the condition
serial->interface->num_altsetting == 2 is checked (not sure yet what
it means)

The slave interface has two settings: active (which contains endpoints)
and idle. The driver sets it to the active setting.

As far as I can see you can distinct that just by looking at
numEndpoints. If it equals 0, it's idle. Otherwise it's active. Is
that right?

Yes, exactly.

Thanks for clarifying! I'll prepare the needed changes to the driver
by tomorrow.

My pleasure - I think you can also remove checks for specific product ids (there's little fun in having to update them each time Nokia has a new phone), and check for communications class (2) in the master interface instead. Vendor id check should be left in place since subclass 254 can potentially mean something else in other vendors' products.

Alexander

Homepage: http://www.sensi.org/~ak/


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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