[
InfoCMVFr ] - [
In English ]
Dans
Dev:EagleUsb200 (interwiki) et avec l'aide de Sagem du groupe Analog, nous avons ajouté l'intégration du CMV pour faciliter la configuration du modem
Voir aussi pour plus de détails (en français et en anglais) la page
Dev:ConfigFiles (interwiki). Vous pouvez essayer la dernière version du pilote
Dev:EagleUsb220 (interwiki)
Qu'est ce que le CMV ?
- L'acronyme anglais CMV, "Command Management Variables", pourrait se traduire par "gestionnaire de variables par des commandes"
- Les valeurs dans /etc/eagle-usb/CMVei.txt et dans /etc/eagle-usb/CMVep.txt respectivement pour l'ISDN et les lignes POTS fournissent une manière simple pour envoyer des paramètres de commande au modem.
- Le fichier dsp_code*.bin contient le le code executé par le modem pour se connecter au DSLAM du FAI
- pour plus d'informations, de la documentation est disponible (merci à l'ADI (pdf + fichier MsExcel?) : http://baud123.free.fr/eagle3/ADI_DOC/EagelUsbDoc_041205.zip (~ 900 ko)
How to configure CMV ?
- either you put them in /etc/eagle-usb/eagle-usb.conf or you compile the driver with the option ./configure --enable-cmvs (they should appear in only one place) See Dev:EagleUsbIII (interwiki)
- the following values are valid
- do not try to change these values, your connection may not work anymore
- Only VPI / VCI / Encapsulation have to be changed according to the values given by your ISP or in this table
- Change Linetype to 0x0A (in hexa, 10 in decimal) : well, just replace the 1 with an A ;-)
- /etc/eagle-usb/CMVe{i|p}.txt should be a link to the appropriate /usr/share/eagle-usb/CMVe{i|p}${ISP}.txt
POTS values in CMVep.txt
- if your line is of type POTS (this information appears with eaglestat)
; POTS for EAGLE
cw optn 1 0x00000994
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x00600000
cw optn 5 0x00000500
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x00010060
cw mask 8 0x3fffffc0
cw diag 0 0x26870030
cw flag 0 0x00000820
;These OPTN 0,18,19 are for non-TR-48
cw optn 0 0x80020066
cw optn 18 0x00000000
cw optn 19 0x00000000
;These OPTN 0,18,19 are for TR-48
;cw optn 0 0x80008066
;cw optn 18 0x820200ff
;cw optn 19 0x80000000
CW cntl 0 2
In case your websurf seems slow
- just comment option 1 :
- the line for OPTN1 (adding a # at the beginning of line in /etc/eagle-usb/eagle-usb.conf)
- or the line cw optn 1 (adding a ; at the beginning of line in /etc/eagle-usb/CMVep.txt)
- we do not know what this option means and how it interacts with the DSLAM, maybe it depends on your ISP's equipment ?
Change the modulation standard
The "cw OPTN 4" stands for :
- cw optn 4 0 -> ADSL MULTISTANDARD
- cw optn 4 2 -> ANSI T1.413
- cw optn 4 11 -> G.DMT
- cw optn 4 21 -> G.LITE
We currently have :
CMVei.txt CW optn 4 00000001
CMVep.txt cw optn 4 0x00600000
CMVepES.txt cw optn 4 0x08600002
CMVepFR.txt cw optn 4 0x00600000
CMVepIT.txt cw optn 4 0x006c0000
Change synchronization throughput
To force modem to synchronize at 8032 kbps, put value 0x02fb0000 for OPTN7 (0xfb x 32 = 8032).
This limit of 8032 kbps is due to the use of ISO mode for downstream data.
Here all values for Cegetel ADSL Max :
see this thread and
this (long) one [fr]
Tips
il est possible de savoir si l'on utilise un modem POTS ou ISDN en lisant le 16ème octet de l'EEPROM (octet 15). C'est ce qui est fait avant l'envoi du DSPcode au modem.
POTS = 0x0B
ISDN = 0x8B
Vocabulary
- CMV : Command Management Variables
- DSLAM : Digital Subscriber Line Access Multiplexer
- ISDN : Integrated Services Digital Network (called Numeris in France)
- ISP : Internet Service Provider
- POTS : Plain Old Telephone Service (corresponds to analogic lines)
Specific configuration by ISP
Free dégroupé - France
CMVepFR04.txt contains :
; POTS for EAGLE 44e2ea17 France
cw optn 0 0x80020066
cw optn 1 0x00000000
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x00600000
cw optn 5 0x00000500
cw optn 18 0x00000000
cw optn 19 0x00000000
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x00010060
cw mask 8 0x3fffffc0
cw diag 0 0x26870030
cw flag 0 0x00000820
CW cntl 0 2
Cegetel ADSL Max 8 Mb - France
See
this (very long) thread [fr]
; POTS for EAGLE 44e2ea17 France
cw optn 0 0x80020066
cw optn 1 0x00000000
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x00600000
cw optn 5 0x00000500
cw optn 6 0x00000500
cw optn 7 0x02FB0000
cw optn 18 0x00000000
cw optn 19 0x00000000
cw optn 20 0x11900002
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x00010060
cw mask 8 0x3fffffc0
cw diag 0 0x26870030
cw flag 0 0x00000820
CW cntl 0 2
Initial values suggested by Sagem
In this mail :
https://mail.gna.org/public/eagleusb-dev/2005-01/msg00027.html
BNM 44e2ea17 means latest DSPcode included since eagle-usb-2.1.1
France
; POTS for EAGLE 44e2ea16/17 France
cw optn 0 0x80020066
cw optn 1 0x00000994
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x00600000
cw optn 7 0x02fb0000
cw optn 5 0x00000500
cw optn 18 0x00000000
cw optn 19 0x00000000
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x00010060
cw mask 8 0x3fffffc0
cw diag 0 0x26870030
cw flag 0 0x00000820
cw cntl 0 2
Spain
; POTS for EAGLE III 44E2EA16/17 Spain
cw optn 0 0x80008066
cw optn 1 0x00000994
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x08600000 ; modified ? or 0x08600002 ?
cw optn 5 0x00000500
cw optn 7 0x02fb0000 ; added, was not there initially ?
cw optn 18 0x420300ff
cw optn 19 0x80000000
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x0001000a
cx mask 8 0x3fffffc0
cw diag 0 0x26878030
cw flag 0 0x00000820
cw cntl 0 0x2
Italy
; POTS for EAGLE III 44E2EA17 Italy
cw optn 0 0x80008066
cw optn 1 0x00000994
cw optn 2 0x63600000
cw optn 3 0x00000028
cw optn 4 0x006c0000
;cw optn 5 0x00000500 ; disappeared ? was there initially ?
cw optn 7 0x02fb0000 ; added ? was not there initially ?
cw optn 18 0xC20200ff
cw optn 19 0x80000000
cw optn 20 0x11900002
cw optn 70 0x218280aa
cw optn 72 0x006f06eb
cw optn 73 0x00010060
cw mask 8 0x3fffffc0
cw diag 0 0x26870030
cw flag 0 0x00000820
cw cntl 0 2