> | Where does eaglectrl know from which bin-file to choose (ISDN or POTS)?
> | Can it show me it's decision or the source?
> 
> It looks at the USb device descriptor. If bit 8 is set, then it's an
> ISDN one, otherwise a POTS one. Excerpt from eaglectrl.c :
> 
> 
>                 (*type) = ( (usb_desc.bcdDevice & 0x80 ) == 0x80 ?
>                             MODEM_ISDN : MODEM_POTS );
> 
> I think you can access this bcdDevice using lsusb (can test as it's not
> installed on my laptop, and I'm going to go to bed .. )

Thanks, my one is POTS.  (-:

The author likes parentheses, right?
 
  *type = usb_desc.bcdDevice & 0x80 ? MODEM_ISDN : MODEM_POTS;



Bye,
        Robert

Reply via email to