Hi, I've been having some ADSL line troubles - BT (telco) found problem with local wiring and have fixed my CRC issues, but still loosing connection (lcp echo timeout). So I'd like to prove if the modem looses sync or not.
I've taken a first quick look at modem_run Looking in modem_run (cvs, 1.35) the "-m" flag is not currently used - it sets a flag but is unused (read some discussion about changes here a while back) But in handle_endpoint_ent I see we block on pusb_endpoint_read() in order to get events from the modem, once initialized using either firmware v3 or 1.4, if I remove the phone jack from the modem this routine doesn't return anything - no event is posted even though the modem looses sync Once it regain sync however an event is posted - this ended up being a1 0 1 0 0 0 in the v3 f/ware - which indeed does seem to be the "magic" as documented in the code for the up state So I can determine by inference the link has gone down (down when no echo, back when this event is posted) It would appear this endpoint receives all interrupts.. but why no loss of sync? The code appears to handle it, if it arrives! Question is whether there is a way to capture the loss of sync event for problem diagnosis? I can of course simply call get_state()/print_state periodically, this works as a quick debug tool for my needs. Also From nosing in the firmware file it appears it has a lot of functionality - it's also clear (I think) the firmware is capturing SNR information etc - anyone found a way to extract this information? (just use "strings" against the firmware file - clearly there is the capability of retrieving a lot of report data) Thanks Nigel [EMAIL PROTECTED] Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:[EMAIL PROTECTED]
