exporting CARD_INFO_GET to user space
Marco d'Itri
md at Linux.IT
Sat Feb 26 17:29:16 EST 2005
On Feb 26, Roman Kagan <rkagan at mail.ru> wrote:
> Besides, sysfs imposes certain lifetime management constraints. For
> usbatm subdrivers, cxacru in particular, lifetime is controlled by the
> usbatm core. Thus having per subdriver sysfs data will need extra
> interactions with the usbatm core; maintaining the stats in the core
> itself will make it much easier.
Why? The patch which I have sent to the list is trivial, it would be
hard to do something simpler, especially if you want a multiple-files
interface.
BTW, I noticed that many of the values printed by the program are not
plausible... I still need to double check that I correctly ported the
cxioctl code.
Link status: connected
Line status: up
Startup attempts: 1
Line startable: 0
Modulation: ITU-T G.992.1 (G.DMT)
MAC address: 00:30:0a:16:7b:39
Headend vendor: Alcatel Network Systems, Inc.
Headend environment: 0
Controller version: 297392
Unknown value #25: 0
Unknown value #26: 1
Unknown value #27: 0
Transmitter power (dBm/Hz): -38
Down up
Line speed (Kbps): 800 320
SNR margin (dB): 5.50 4.69
Attenuation (dB): 8.04 6.15
Bits per frame: 954 159
CRC errors: 2224 44
FEC errors: 572057 259
HEC errors: 1921 62
--
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.infradead.org/pipermail/usbatm/attachments/20050226/96546864/attachment.bin
More information about the Usbatm
mailing list