Robert Siemer wrote : | Hello everybody! | | 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 .. )
--
Frederick Ros aka Sleeper
"All language designers are arrogant. Goes with the territory..."
(By Larry Wall)
pgpaL8kxosjHX.pgp
Description: PGP signature
