Is it not possible to parse the data to DSLstats, what has to be rewritten?
Here an example of an output found on the net from a fritzbox:
$ dslinfodata
DSL
---
AR7 DSL Modem Bit Allocation:
Last US Channel = 64:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0b 0b 0b 0b 0c 0c 0c 0c 07 0c 0c 0c 0c 0c 0c 0d
0d 0c 0c 0c 0c 0c 0c 0b 0b 0a 09 08 00 00 00 00
00 08 08 09 09 0a 0a 0a 0a 0b 0b 0b 0b 0b 0b 0b
0c 0b 0c 0c 0c 0c 0c 0c 0c 0c 0c 0d 0c 0c 0d 0d
0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0c
0c 0c 0c 0c 0c 0c 0c 0c 0c 0c 0b 0c 0b 0b 0c 0c
0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b
0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0a 0b 0a 0b 0b
0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0a 0a
0a 0b 0b 0a 0a 0a 0a 0a 0a 0a 0a 0b 0a 0a 0a 0a
0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a
0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a
0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 09 09 0a 0a 0a 0a
09 09 09 0a 09 09 0a 09 09 09 09 09 0a 09 09 0a
08 0a 0a 0a 09 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a
0a 0a 0a 0a 0a 0a 0a 0a 09 0a 09 0a 0a 0a 09 09
00 09 0a 0a 09 09 09 09 09 09 09 09 09 09 09 09
09 09 09 09 09 09 09 09 09 09 0a 0a 09 09 09 09
09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09
09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09
09 09 09 09 09 09 09 09 09 09 08 09 09 09 09 09
09 09 09 09 09 08 08 09 08 09 09 09 08 09 09 09
09 09 09 09 09 09 09 09 09 09 09 09 09 09 08 08
08 08 08 09 08 08 08 08 08 08 08 08 08 08 08 08
08 08 08 00 00 00 00 00 00 00 00 00 00 00 08 08
08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
08 08 09 09 09 09 09 09 08 09 08 08 08 08 08 08
08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
08 08 08 08 08 08 08 08 08 08 08 07 07 06 07 07
08 08 08 08 08 08 08 00 00 00 00 00 00 08 08 00
Chan Inuse ChanID VPI VCI
------------------------------------------------------------------
00 00001 00000 00001 00032
01 00000 00000 00000 00000
02 00000 00000 00000 00000
03 00000 00000 00000 00000
04 00000 00000 00000 00000
05 00000 00000 00000 00000
06 00000 00000 00000 00000
07 00000 00000 00000 00000
08 00000 00000 00000 00000
09 00000 00000 00000 00000
10 00000 00000 00000 00000
11 00000 00000 00000 00000
12 00000 00000 00000 00000
13 00000 00000 00000 00000
14 00000 00000 00000 00000
15 00001 00015 00000 00030
16 00000 00000 00000 00000
------------------------------------------------------------------
AR7 DSL Modem DS SNR:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 68 71 74 77 77 80 81 82 84 85 86 86 87 88 89
89 89 89 90 90 90 90 91 90 94 95 95 95 94 95 97
91 95 94 93 94 94 92 92 93 92 92 91 92 92 92 92
91 90 90 90 92 90 89 89 88 89 88 88 88 87 88 89
88 87 87 87 87 86 86 86 86 86 86 86 86 86 85 85
85 86 85 84 84 84 85 85 84 84 84 84 83 84 84 84
83 83 84 84 84 84 83 84 84 84 84 83 82 82 83 82
82 82 81 81 82 82 81 81 81 81 81 83 83 81 82 82
82 82 81 82 81 81 81 81 80 80 80 80 80 80 80 80
80 79 80 80 80 80 79 79 80 79 79 80 81 81 79 79
79 79 79 79 79 79 78 79 78 78 78 78 79 78 78 77
78 76 76 77 76 76 75 75 77 76 77 75 76 77 78 78
67 79 77 77 78 78 77 79 77 77 78 77 78 78 78 78
79 79 78 79 78 79 79 79 79 79 79 79 79 80 79 80
0 80 80 82 80 79 79 80 79 80 79 79 79 78 78 78
77 78 79 79 78 78 78 78 77 79 78 77 76 78 78 77
77 77 76 77 76 76 75 76 76 76 75 75 76 75 75 76
75 75 75 75 75 74 75 75 75 75 74 75 77 75 75 75
74 75 74 75 75 75 74 75 75 75 76 75 75 75 75 75
75 75 75 74 74 76 74 75 73 74 74 74 73 73 73 74
74 74 74 74 73 73 73 74 73 73 73 72 72 74 72 73
73 72 72 72 72 72 72 72 72 71 71 71 72 72 72 72
73 73 73 0 0 0 0 0 0 0 0 0 0 0 71 70
72 72 71 71 72 71 72 72 71 72 71 70 71 72 71 72
71 72 72 71 71 71 71 71 71 71 71 70 70 70 71 71
70 70 69 69 69 69 69 70 68 68 68 68 69 68 68 68
68 68 67 68 67 68 67 68 66 67 67 67 67 50 67 67
67 67 67 66 67 67 66 0 0 0 0 0 0 67 67 0
NO_MODE 0x0
ADSL_G.dmt 0x3
ADSL_G.lite 0x4
ADSL_G.dmt.bis 0x8
ADSL_G.dmt.bis_DELT 0x9
ADSL_2plus 0x0
ADSL_2plus_DELT 0x0
ADSL_re-adsl 0x0
ADSL_re-adsl_DELT 0x0
ADSL_ANSI_T1.413 0x2
MULTI_MODE 0x1
G.shdsl 0x0
IDSL 0x0
HDSL 0x0
SDSL 0x0
VDSL 0x0
[General]
Trained Mode: 6
Status: 5
Annex: 2
AVM firmware: 1
US Connection Rate: 1112 DS Connection Rate: 15039
SHOWTIME
0
0
Private Data Structure(TI Avalanche SAR):
----------------------------------------
priv: 0x95a88c00
next: 0x00000000 dev: 0x959e0ea0
tx_irq: 23rx_irq: 31235,40960
0,0
12,59988
15,51
3,60320
12,8192
131,32801
0,2712
16,28676
0,453
37,58400
4,19226
34,3232
32,22176
0,13
82,52756
SAR HAL Statistics
Channel 0:
Crc Errors: 8; Len Errors: 0; Abort Errors: 0; Starv Errors: 0;
DmaLenErrors: 0; TxMisQCnt: 96365; RxMisQCnt: 0; TxEOQCnt: 4892986;
RxEOQCnt: 0; RxPacketsServiced: 5776016; TxPacketsServiced: 5107672;
RxMaxServiced: 9; TxMaxServiced: 1; RxTotal: 5776036; TxTotal: 5107672;
RcbPool: 0x0; RxActQueueCount: -5776019; RxActQueueHead: 0x95ae3d80;
RxActQueueTail: 0x95ae3dc0; RxActive: 1; RcbStart: 0x95ae3280;
RxTeardownPending: 0; TcbPool: 0x950fd930; TxActQueueCount: 0;
TxActQueueHead: 0x0; TxActQueueTail: 0x950fd930; TxActive: 0;
TcbStart: 0x950fd000; TxTeardownPending: 0; RxBufSize: 1582;
RxBufferOffset: 0; RxNumBuffers: 64; RxServiceMax: 48; TxNumBuffers: 56;
TxNumQueues: 2; TxServiceMax: 56; CpcsUU: 0; Gfc: 0; Clp: 0;
Pti: 0; DaMask: 1; Priority: 2; PktType: 0; Vci: 32; Vpi: 1;
CellRate: 476; QosType: 2; Mbs: 131072; Pcr: 476;
Channel 15:
Crc Errors: 0; Len Errors: 0; Abort Errors: 0; Starv Errors: 0;
DmaLenErrors: 0; TxMisQCnt: 0; RxMisQCnt: 0; TxEOQCnt: 0;
RxEOQCnt: 0; RxPacketsServiced: 20; TxPacketsServiced: 0;
RxMaxServiced: 0; TxMaxServiced: 0; RxTotal: 1582; TxTotal: 0;
RcbPool: 0x0; RxActQueueCount: -20; RxActQueueHead: 0x95a86ec0;
RxActQueueTail: 0x95a86e00; RxActive: 1; RcbStart: 0x95a86e00;
RxTeardownPending: 0; TcbPool: 0x95a87ed0; TxActQueueCount: 0;
TxActQueueHead: 0x0; TxActQueueTail: 0x0; TxActive: 0; TcbStart: 0x95a87e40;
TxTeardownPending: 0; RxBufSize: 256; RxBufferOffset: 0; RxNumBuffers: 4;
RxServiceMax: 2; TxNumBuffers: 4; TxNumQueues: 1; TxServiceMax: 2;
CpcsUU: 0; Gfc: 0; Clp: 0; Pti: 0; DaMask: 0; Priority: 0;
PktType: 3; Vci: 30; Vpi: 0; CellRate: 12500; QosType: 2;
Mbs: 8; Pcr: 1; ATM Driver version:[4.08.01.00]
DSL HAL version: [5.00.01.02]
DSP Datapump version: [1.36.20.01]
SAR HAL version: [01.07.2b]
PDSP Firmware version:[0.54]