exporting CARD_INFO_GET to user space

Gilles Espinasse g.esp at free.fr
Tue Feb 22 15:57:54 EST 2005


----- Original Message ----- 
From: "Roman Kagan" <rkagan at mail.ru>
To: "Marco d'Itri" <md at Linux.IT>
Cc: <accessrunner-general at lists.sourceforge.net>;
<usbatm at lists.infradead.org>
Sent: Tuesday, February 22, 2005 8:02 PM
Subject: Re: exporting CARD_INFO_GET to user space


> On Tue, Feb 22, 2005 at 06:27:34PM +0100, Marco d'Itri wrote:
> > This is a sound design principle, but the data which I'm trying to
> > access is Conexant-specific and I do not think that it's useful to make
> > it more general.
>
> Here are the parameters cxacru knows about:
>
> enum cxacru_info_idx {
>         CXINF_DOWNSTREAM_RATE,
>         CXINF_UPSTREAM_RATE,
>         CXINF_LINK_STATUS,
>         CXINF_LINE_STATUS,
>         CXINF_MAC_ADDRESS_HIGH,
>         CXINF_MAC_ADDRESS_LOW,
>         CXINF_UPSTREAM_SNR_MARGIN,
>         CXINF_DOWNSTREAM_SNR_MARGIN,
>         CXINF_UPSTREAM_ATTENUATION,
>         CXINF_DOWNSTREAM_ATTENUATION,
>         CXINF_TRANSMITTER_POWER,
>         CXINF_UPSTREAM_BITS_PER_FRAME,
>         CXINF_DOWNSTREAM_BITS_PER_FRAME,
>         CXINF_STARTUP_ATTEMPTS,
>         CXINF_UPSTREAM_CRC_ERRORS,
>         CXINF_DOWNSTREAM_CRC_ERRORS,
>         CXINF_UPSTREAM_FEC_ERRORS,
>         CXINF_DOWNSTREAM_FEC_ERRORS,
>         CXINF_UPSTREAM_HEC_ERRORS,
>         CXINF_DOWNSTREAM_HEC_ERRORS,
>         CXINF_LINE_STARTABLE,
>         CXINF_MODULATION,
>         CXINF_ADSL_HEADEND,
>         CXINF_ADSL_HEADEND_ENVIRONMENT,
>         CXINF_CONTROLLER_VERSION,
>         /* dunno what the missing two mean */
>         CXINF_MAX = 0x1c,
> };
>
> I wonder which of them are Conexant-specific...  Would be interesting to
> know what info other modems provide.
>
It should be just a few of the usual ADSL parameters.

from eagleusb driver, eaglestat display (this driver has an ethernet
interface)
 eaglestat
eagle-usb status display
-------------------------------------------------------------
Driver version 2.0.0     Chipset: Eagle0
Vendor ID : 0x1110     Product ID : 0x9023   Rev: 0x6008
USB Bus : 001    USB Device : 002        Dbg mask: 0x0
Ethernet Interface : none
MAC: 00:60:4c:1b:15:ef
Tx Rate           0  Rx Rate           0
FEC               0  Margin            0  Atten             0 dB
VID-CPE           0  VID-CO            0  HEC               0
VPI               8  VCI              35  Delin          GOOD
Cells Tx          0  Cells Rx          0
Pkts Tx           0  Pkts Rx           0
OAM               0  Bad VPI           0  Bad CRC           0
Oversiz.          0

Modem is initializing(INITIALIZING)

You may look at http://ecs.itu.ch/cgi-bin/dms-ebookshop
You can register for 3 free ITU documents.
G 992.1 or G997 should give you the answer.

Gilles




More information about the Usbatm mailing list