Am 21.01.2014 13:15, schrieb Brett Lymn:
Interface class is UICLASS_CDC, subclass UISUBCLASS_ABSTRACT_CONTROL_MODEL
protocol is UIPROTO_CDC_AT.  Umodem should attach on this.  Maybe I
borked the match... try changing:

         if (uaa->class != UICLASS_CDC ||
             uaa->subclass != UISUBCLASS_ABSTRACT_CONTROL_MODEL ||
             !(uaa->proto == UIPROTO_CDC_NOCLASS || uaa->proto == 
UIPROTO_CDC_AT))

[...]

see if that attaches... if it does then perhaps try:

         if (uaa->class != UICLASS_CDC ||
             uaa->subclass != UISUBCLASS_ABSTRACT_CONTROL_MODEL ||
             (uaa->proto != UIPROTO_CDC_NOCLASS && uaa->proto != 
UIPROTO_CDC_AT))

IMHO your *logic* is not to blame.
Applying De Morgan's laws result in

!(uaa->proto == UIPROTO_CDC_NOCLASS || uaa->proto == UIPROTO_CDC_AT)

   and

(uaa->proto != UIPROTO_CDC_NOCLASS && uaa->proto != UIPROTO_CDC_AT)

being equal.

Must be something else then.
Please also have a look at this site, issue seems identical:
http://daemonforums.org/showthread.php?p=46644

Conexant has quirks?

Regards
Felix

Reply via email to