Hi,

2005/11/4, Alex Kanavin <[EMAIL PROTECTED]>:
> On Fri, 4 Nov 2005, Pawel Kot wrote:
> > 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.

More or less that was my intention. Speaking of removing product ids,
you mean id_table? How can I use it not giving new phone ids there?

As far as I understand the algorithm should look like:
1. if the class is 2 and subclass 254, take the slave interface number
(usb_serial->interface[n])
2. find active configuration within the interface
(usb_host_interface->endpoint != null)
3. set this configuration to interface (usb_set-interface())

Would this work?

take care,
pkot
--
Pawel Kot
http://www.gnokii.org/


-------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to