]> git.baikalelectronics.ru Git - kernel.git/commit
USB: cxacru: add write-only sysfs attribute for modem configuration
authorSimon Arlott <simon@fire.lp0.eu>
Sat, 21 Nov 2009 15:14:01 +0000 (15:14 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:01 +0000 (14:53 -0800)
commit7ae209268ffebc59949b51bc089d0255498458f8
tree792b78405d06b00a0d0a5fa3a342ef359f1f5383
parent23bec53d7a28f38d5d13be363970944558982665
USB: cxacru: add write-only sysfs attribute for modem configuration

The modem can be configured using CM_REQUEST_CARD_DATA_SET,
although CM_REQUEST_CARD_DATA_GET does not return any data.

Tested by setting the modulation (0x0a) option.

There is a list of parameters in the following archive,
but the meaning of many of them is not well documented:
  http://sourceforge.net/project/shownotes.php?release_id=301825

This source also indicates that the highest parameter set
is 0x4a but this varies by model so an arbitrary limit of
0x7f has been used (the index is a 32-bit integer).

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/networking/cxacru.txt
drivers/usb/atm/cxacru.c