Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

acx-mac80211-HEAD on Mandriva 2010 Spring

KDJ
2010-09-23
2013-02-17
1 2 > >> (Page 1 of 2)
  • KDJ
    KDJ
    2010-09-23

    What do I need to do to get this to work?

    Build messages:

    make -C /lib/modules/2.6.33.7-desktop-1mnb/build M=/home/ken/install/acx/acx-mac80211 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.33.7-desktop-1mnb'
      CC [M]  /home/ken/install/acx/acx-mac80211/common.o
    /home/ken/install/acx/acx-mac80211/common.c: In function ‘acx_fill_beacon_or_proberesp_template’:
    /home/ken/install/acx/acx-mac80211/common.c:3002: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
      CC [M]  /home/ken/install/acx/acx-mac80211/pci.o
      CC [M]  /home/ken/install/acx/acx-mac80211/usb.o
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: Found 3 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
      CC      /home/ken/install/acx/acx-mac80211/acx-mac80211.mod.o
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.33.7-desktop-1mnb'
    

    modprobe mac80211, insmod acx-mac80211 both with no messages.

    Can't see any wireless networks on the gui.

    Still using acx-20080210 for now, but I'll switch to mac80211 if I can get it to work.

    dmesg output:

    usb 3-2: new full speed USB device using uhci_hcd and address 4
    usb 3-2: New USB device found, idVendor=2001, idProduct=3b01
    usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    acx: requesting firmware image 'tiacx100usbc0D'
    usb 3-2: firmware: requesting tiacx100usbc0D
    acx: firmware size: 42324 bytes
    acx: uploading firmware (2048 bytes, offset=8)
    acx: uploading firmware (2048 bytes, offset=2056)
    acx: uploading firmware (2048 bytes, offset=4104)
    acx: uploading firmware (2048 bytes, offset=6152)
    acx: uploading firmware (2048 bytes, offset=8200)
    acx: uploading firmware (2048 bytes, offset=10248)
    acx: uploading firmware (2048 bytes, offset=12296)
    acx: uploading firmware (2048 bytes, offset=14344)
    acx: uploading firmware (2048 bytes, offset=16392)
    acx: uploading firmware (2048 bytes, offset=18440)
    acx: uploading firmware (2048 bytes, offset=20488)
    acx: uploading firmware (2048 bytes, offset=22536)
    acx: uploading firmware (2048 bytes, offset=24584)
    acx: uploading firmware (2048 bytes, offset=26632)
    acx: uploading firmware (2048 bytes, offset=28680)
    acx: uploading firmware (2048 bytes, offset=30728)
    acx: uploading firmware (2048 bytes, offset=32776)
    acx: uploading firmware (2048 bytes, offset=34824)
    acx: uploading firmware (2048 bytes, offset=36872)
    acx: uploading firmware (2048 bytes, offset=38920)
    acx: uploading firmware (1356 bytes, offset=40968)
    acx: finished booting, returning from probe()
    usb 3-2: USB disconnect, address 4
    usb 3-2: new full speed USB device using uhci_hcd and address 5
    usb 3-2: New USB device found, idVendor=2001, idProduct=3b00
    usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 11 (Already awake)
    acx: initializing max packet templates
    acx: TotalMemoryBlocks=154 (19712 bytes)
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    acxusb: acxusb_s_read_phy_reg doesn't seem to work yet, disabled.
    acx: got sensitivity value 0
    acx: got antenna value 0x8D
    acx: got Energy Detect (ED) threshold 141
    acx: got Channel Clear Assessment (CCA) value 13
    acx: got regulatory domain 0x10
    acx: new ratevector: 82 84 0B 16 2C
    acx: chipset TNETW1100B, radio type 0x0D (Maxim (MAX2820)), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    acx: registering network device
    phy1: Selected rate control algorithm 'minstrel'
    acx: creating /proc entry driver/acx0/acx
    acx: creating /proc entry driver/acx0/acx_diag
    acx: creating /proc entry driver/acx0/acx_eeprom
    acx: creating /proc entry driver/acx0/acx_phy
    acx: creating /proc entry driver/acx0/acx_debug
    acx: USB module loaded successfully
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    ADDRCONF(NETDEV_UP): wlan0: link is not ready
    acx: acx_s_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acxusb: closed device
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x0006, typestr=ACX1xx_IE_RATE_FALLBACK, len=1: FAILED
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100B, typestr=ACX1xx_IE_DOT11_CURRENT_ANTENNA, len=2: FAILED
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100E, typestr=ACX1xx_IE_DOT11_CURRENT_CCA_MODE, len=2: FAILED
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x1005, typestr=ACX1xx_IE_DOT11_SHORT_RETRY_LIMIT, len=1: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x1006, typestr=ACX1xx_IE_DOT11_LONG_RETRY_LIMIT, len=1: FAILED
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100A, typestr=ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN, len=2: FAILED
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    ADDRCONF(NETDEV_UP): wlan0: link is not ready
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_RX: FAILED
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 11
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 1
    
     
  • Hubbitus
    Hubbitus
    2010-09-23

    Build with CONFIG_DEBUG_SECTION_MISMATCH=y, as suggested, does useful info?

     
  • Oliver Winker
    Oliver Winker
    2010-09-23

    Hi kennethj, hubbitus,

    The "WARNING: modpost: Found 3 section mismatch(es)." is here as well. I never found out where this is actually coming from, but it didn't seem to harm until now !?

    To be sure, I just verified usb support with an 2.6.33 and it seems to work so far - see the log below. Difference is FW version "Rev 1.0.9-USB" however - this could perhaps make a difference.

    Before working with gui's, network manager etc., could you do the following:

    1) Shut down network manager - on Debian: /etc/init.d/network-manager stop

    2) Then load the driver

    modprobe mac80211
    insmod ./acx-mac80211.ko

    … when network-manager is properly down, this should just probe the device and then no more activity.

    3) And just do a scan (wlan is interface it got assign - see dmesg)

    ifconfig wlan up
    iwlist wlan scan

    If it initializes correctly, you should be able to do some scans and get networks listed.

    Cheers, Ol

    Sep 23 19:57:55 lapix kernel: [   72.726273] acx: acx-mac80211, version: v0.6.0 (git: 9d8aa6c)
    Sep 23 19:57:55 lapix kernel: [   72.726280] acx: this driver is still EXPERIMENTAL
    Sep 23 19:57:55 lapix kernel: [   72.726282] acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    Sep 23 19:57:55 lapix kernel: [   72.726287] acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    Sep 23 19:57:55 lapix kernel: [   72.726291] acx: running on a little-endian CPU
    Sep 23 19:57:55 lapix kernel: [   72.726293]  PCI/VLYNQ module initialized, waiting for cards to probe...
    Sep 23 19:57:55 lapix kernel: [   72.726683] acx: USB module initialized, probing for devices...
    Sep 23 19:57:55 lapix kernel: [   72.727016] usbcore: registered new interface driver acx_usb
    Sep 23 19:58:00 lapix kernel: [   78.344046] usb 3-1: new full speed USB device using uhci_hcd and address 2
    Sep 23 19:58:00 lapix kernel: [   78.496930] usb 3-1: New USB device found, idVendor=2001, idProduct=3b01
    Sep 23 19:58:00 lapix kernel: [   78.496942] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    Sep 23 19:58:00 lapix kernel: [   78.500051] acx: requesting firmware image 'tiacx100usbc0D'
    Sep 23 19:58:00 lapix kernel: [   78.500062] usb 3-1: firmware: requesting tiacx100usbc0D
    Sep 23 19:58:01 lapix kernel: [   79.127808] acx: firmware size: 42344 bytes
    Sep 23 19:58:01 lapix kernel: [   79.127819] acx: uploading firmware (2048 bytes, offset=8)
    Sep 23 19:58:01 lapix kernel: [   79.140730] acx: uploading firmware (2048 bytes, offset=2056)
    Sep 23 19:58:01 lapix kernel: [   79.152711] acx: uploading firmware (2048 bytes, offset=4104)
    Sep 23 19:58:01 lapix kernel: [   79.165708] acx: uploading firmware (2048 bytes, offset=6152)
    Sep 23 19:58:01 lapix kernel: [   79.178682] acx: uploading firmware (2048 bytes, offset=8200)
    Sep 23 19:58:01 lapix kernel: [   79.190678] acx: uploading firmware (2048 bytes, offset=10248)
    Sep 23 19:58:01 lapix kernel: [   79.202670] acx: uploading firmware (2048 bytes, offset=12296)
    Sep 23 19:58:01 lapix kernel: [   79.214663] acx: uploading firmware (2048 bytes, offset=14344)
    Sep 23 19:58:01 lapix kernel: [   79.225673] acx: uploading firmware (2048 bytes, offset=16392)
    Sep 23 19:58:01 lapix kernel: [   79.236655] acx: uploading firmware (2048 bytes, offset=18440)
    Sep 23 19:58:01 lapix kernel: [   79.247660] acx: uploading firmware (2048 bytes, offset=20488)
    Sep 23 19:58:01 lapix kernel: [   79.258644] acx: uploading firmware (2048 bytes, offset=22536)
    Sep 23 19:58:01 lapix kernel: [   79.270612] acx: uploading firmware (2048 bytes, offset=24584)
    Sep 23 19:58:01 lapix kernel: [   79.281643] acx: uploading firmware (2048 bytes, offset=26632)
    Sep 23 19:58:01 lapix kernel: [   79.291628] acx: uploading firmware (2048 bytes, offset=28680)
    Sep 23 19:58:01 lapix kernel: [   79.301635] acx: uploading firmware (2048 bytes, offset=30728)
    Sep 23 19:58:01 lapix kernel: [   79.312630] acx: uploading firmware (2048 bytes, offset=32776)
    Sep 23 19:58:01 lapix kernel: [   79.323618] acx: uploading firmware (2048 bytes, offset=34824)
    Sep 23 19:58:01 lapix kernel: [   79.334617] acx: uploading firmware (2048 bytes, offset=36872)
    Sep 23 19:58:01 lapix kernel: [   79.345617] acx: uploading firmware (2048 bytes, offset=38920)
    Sep 23 19:58:01 lapix kernel: [   79.356616] acx: uploading firmware (1376 bytes, offset=40968)
    Sep 23 19:58:01 lapix kernel: [   79.365543] acx: finished booting, returning from probe()
    Sep 23 19:58:01 lapix kernel: [   79.512084] usb 3-1: USB disconnect, address 2
    Sep 23 19:58:02 lapix kernel: [   80.280054] usb 3-1: new full speed USB device using uhci_hcd and address 3
    Sep 23 19:58:02 lapix kernel: [   80.434040] usb 3-1: New USB device found, idVendor=2001, idProduct=3b00
    Sep 23 19:58:02 lapix kernel: [   80.434052] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    Sep 23 19:58:03 lapix kernel: [   80.681929] acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 11 (Already awake)
    Sep 23 19:58:03 lapix kernel: [   80.689922] acx: initializing max packet templates
    Sep 23 19:58:03 lapix kernel: [   80.729901] acx: TotalMemoryBlocks=154 (19712 bytes)
    Sep 23 19:58:03 lapix kernel: [   80.738895] acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    Sep 23 19:58:03 lapix kernel: [   80.740883] acxusb: acxusb_s_read_phy_reg doesn't seem to work yet, disabled.
    Sep 23 19:58:03 lapix kernel: [   80.740893] acx: got sensitivity value 0
    Sep 23 19:58:03 lapix kernel: [   80.742879] acx: got antenna value 0x8D
    Sep 23 19:58:03 lapix kernel: [   80.745896] acx: got Energy Detect (ED) threshold 141
    Sep 23 19:58:03 lapix kernel: [   80.747877] acx: got Channel Clear Assessment (CCA) value 13
    Sep 23 19:58:03 lapix kernel: [   80.749881] acx: got regulatory domain 0x30
    Sep 23 19:58:03 lapix kernel: [   80.749895] acx: new ratevector: 82 84 0B 16 2C
    Sep 23 19:58:03 lapix kernel: [   80.753884] acx: chipset TNETW1100B, radio type 0x0D (Maxim (MAX2820)), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.9-USB'
    Sep 23 19:58:03 lapix kernel: [   80.753897] acx: registering network device
    Sep 23 19:58:03 lapix kernel: [   80.765133] phy1: Selected rate control algorithm 'minstrel'
    Sep 23 19:58:03 lapix kernel: [   80.768729] acx: creating /proc entry driver/acx0/acx
    Sep 23 19:58:03 lapix kernel: [   80.768738] acx: creating /proc entry driver/acx0/acx_diag
    Sep 23 19:58:03 lapix kernel: [   80.768743] acx: creating /proc entry driver/acx0/acx_eeprom
    Sep 23 19:58:03 lapix kernel: [   80.768749] acx: creating /proc entry driver/acx0/acx_phy
    Sep 23 19:58:03 lapix kernel: [   80.768754] acx: creating /proc entry driver/acx0/acx_debug
    Sep 23 19:58:03 lapix kernel: [   80.768759] acx: USB module loaded successfully
    Sep 23 19:58:04 lapix kernel: [   82.575846] udev: renamed network interface wlan0 to wlan5
    Sep 23 19:58:25 lapix kernel: [  103.423575] acx: updating initial settings on iface activation
    Sep 23 19:58:25 lapix kernel: [  103.423587] acx: an important setting has been changed. The packet templates must also be updated
    Sep 23 19:58:25 lapix kernel: [  103.427560] acx: updating packet templates
    Sep 23 19:58:25 lapix kernel: [  103.427568] acx: updating Tx fallback to 0 retries
    Sep 23 19:58:25 lapix kernel: [  103.430562] acx: updating the transmit power: 18 dBm
    Sep 23 19:58:25 lapix kernel: [  103.430571] acx: updating antenna value: 0x8D
    Sep 23 19:58:25 lapix kernel: [  103.433573] acx: pdating the Energy Detect (ED) threshold: 141
    Sep 23 19:58:25 lapix kernel: [  103.436567] acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    Sep 23 19:58:25 lapix kernel: [  103.439550] acx: updating channel to: 1
    Sep 23 19:58:25 lapix kernel: [  103.445563] acx: updating the short retry limit: 7, long retry limit: 4
    Sep 23 19:58:25 lapix kernel: [  103.451545] acx: updating the tx MSDU lifetime: 4096
    Sep 23 19:58:25 lapix kernel: [  103.454546] acx: updating the regulatory domain: 0x30
    Sep 23 19:58:25 lapix kernel: [  103.460558] acx: updating WEP key settings
    Sep 23 19:58:25 lapix kernel: [  103.460593] acx: acx_e_op_add_interface: vif_type=0002
    Sep 23 19:58:25 lapix kernel: [  103.460601] acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    Sep 23 19:58:25 lapix kernel: [  103.460613] acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:31:78:B5)
    Sep 23 19:58:25 lapix kernel: [  103.460641] acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    Sep 23 19:58:25 lapix kernel: [  103.461211] ADDRCONF(NETDEV_UP): wlan5: link is not ready
    Sep 23 19:58:32 lapix kernel: [  110.224066] acx: updating channel to: 2
    Sep 23 19:58:32 lapix kernel: [  110.284053] acx: updating channel to: 3
    Sep 23 19:58:32 lapix kernel: [  110.344062] acx: updating channel to: 4
    Sep 23 19:58:32 lapix kernel: [  110.404066] acx: updating channel to: 5
    Sep 23 19:58:32 lapix kernel: [  110.464052] acx: updating channel to: 6
    Sep 23 19:58:32 lapix kernel: [  110.524054] acx: updating channel to: 7
    Sep 23 19:58:32 lapix kernel: [  110.584061] acx: updating channel to: 8
    Sep 23 19:58:32 lapix kernel: [  110.644061] acx: updating channel to: 9
    Sep 23 19:58:33 lapix kernel: [  110.704064] acx: updating channel to: 10
    Sep 23 19:58:33 lapix kernel: [  110.764037] acx: updating channel to: 11
    Sep 23 19:58:33 lapix kernel: [  110.824074] acx: updating channel to: 12
    Sep 23 19:58:33 lapix kernel: [  110.952068] acx: updating channel to: 13
    Sep 23 19:58:33 lapix kernel: [  111.080047] acx: updating channel to: 14
    Sep 23 19:58:33 lapix kernel: [  111.083066] acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Sep 23 19:58:33 lapix kernel: [  111.208063] acx: updating channel to: 1
    
     
  • KDJ
    KDJ
    2010-09-24

    Could find network 1  out of 5 times that I invoked scan.

    acx: requesting firmware image 'tiacx100usbc0D'
    usb 3-2: firmware: requesting tiacx100usbc0D
    acx: firmware size: 42324 bytes
    acx: uploading firmware (2048 bytes, offset=8)
    acx: uploading firmware (2048 bytes, offset=2056)
    acx: uploading firmware (2048 bytes, offset=4104)
    acx: uploading firmware (2048 bytes, offset=6152)
    acx: uploading firmware (2048 bytes, offset=8200)
    acx: uploading firmware (2048 bytes, offset=10248)
    acx: uploading firmware (2048 bytes, offset=12296)
    acx: uploading firmware (2048 bytes, offset=14344)
    acx: uploading firmware (2048 bytes, offset=16392)
    acx: uploading firmware (2048 bytes, offset=18440)
    acx: uploading firmware (2048 bytes, offset=20488)
    acx: uploading firmware (2048 bytes, offset=22536)
    acx: uploading firmware (2048 bytes, offset=24584)
    acx: uploading firmware (2048 bytes, offset=26632)
    acx: uploading firmware (2048 bytes, offset=28680)
    acx: uploading firmware (2048 bytes, offset=30728)
    acx: uploading firmware (2048 bytes, offset=32776)
    acx: uploading firmware (2048 bytes, offset=34824)
    acx: uploading firmware (2048 bytes, offset=36872)
    acx: uploading firmware (2048 bytes, offset=38920)
    acx: uploading firmware (1356 bytes, offset=40968)
    acx: finished booting, returning from probe()
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 11 (Already awake)
    acx: initializing max packet templates
    acx: TotalMemoryBlocks=154 (19712 bytes)
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    acxusb: acxusb_s_read_phy_reg doesn't seem to work yet, disabled.
    acx: got sensitivity value 0
    acx: got antenna value 0x8D
    acx: got Energy Detect (ED) threshold 141
    acx: got Channel Clear Assessment (CCA) value 13
    acx: got regulatory domain 0x10
    acx: new ratevector: 82 84 0B 16 2C
    acx: chipset TNETW1100B, radio type 0x0D (Maxim (MAX2820)), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    acx: registering network device
    acx: creating /proc entry driver/acx0/acx
    acx: creating /proc entry driver/acx0/acx_diag
    acx: creating /proc entry driver/acx0/acx_eeprom
    acx: creating /proc entry driver/acx0/acx_phy
    acx: creating /proc entry driver/acx0/acx_debug
    acx: USB module loaded successfully
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: acx_s_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acxusb: closed device
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x0006, typestr=ACX1xx_IE_RATE_FALLBACK, len=1: FAILED
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100B, typestr=ACX1xx_IE_DOT11_CURRENT_ANTENNA, len=2: FAILED
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100E, typestr=ACX1xx_IE_DOT11_CURRENT_CCA_MODE, len=2: FAILED
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x1005, typestr=ACX1xx_IE_DOT11_SHORT_RETRY_LIMIT, len=1: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x1006, typestr=ACX1xx_IE_DOT11_LONG_RETRY_LIMIT, len=1: FAILED
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy1: type=0x100A, typestr=ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN, len=2: FAILED
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acxusb_l_alloc_tx: 5 callbacks suppressed
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acxusb: tx buffers full
    acx: updating channel to: 1
    acxusb_l_alloc_tx: 1 callbacks suppressed
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acxusb: tx buffers full
    acx: updating channel to: 1
    acxusb: tx buffers full
    acx: updating channel to: 2
    acxusb: tx buffers full
    acx: updating channel to: 3
    acxusb: tx buffers full
    acx: updating channel to: 4
    acxusb: tx buffers full
    acx: updating channel to: 5
    acxusb: tx buffers full
    acx: updating channel to: 6
    acxusb: tx buffers full
    acx: updating channel to: 7
    acxusb: tx buffers full
    acx: updating channel to: 8
    acxusb: tx buffers full
    acx: updating channel to: 9
    acxusb: tx buffers full
    acx: updating channel to: 10
    acxusb: tx buffers full
    acx: updating channel to: 11
    acxusb: tx buffers full
    acx: updating channel to: 1
    acxusb_l_alloc_tx: 12 callbacks suppressed
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acxusb: tx buffers full
    acx: updating channel to: 1
    acxpci: PCI module unloaded
    usbcore: deregistering interface driver acx_usb
    acx: acx_s_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_DISABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_DISABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: USB read error -110
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_DISABLE_RX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd=ACX1xx_CMD_DISABLE_RX: FAILED
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle)
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 10 (TX in progress)
    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 9 (Already asleep)
    acx_usb: urb unlink timeout!
    acxusb: closed device
    acx: USB module unloaded
    
    acx: acx-mac80211, version: v0.6.0 (git: unknown)
    acx: this driver is still EXPERIMENTAL
    acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    acx: running on a little-endian CPU
    acx: USB module initialized, probing for devices...
    acx: initializing max packet templates
    acx: TotalMemoryBlocks=154 (19712 bytes)
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    acx: don't know how to get sensitivity for radio type 0x00
    acx: got sensitivity value 0
    acx: got antenna value 0x8D
    acx: got Energy Detect (ED) threshold 141
    acx: got Channel Clear Assessment (CCA) value 13
    acx: got regulatory domain 0x10
    acx: new ratevector: 82 84 0B 16 2C
    acx: chipset TNETW1100B, radio type 0x00 (UNKNOWN, please report radio type name!), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    acx: registering network device
    acx: creating /proc entry driver/acx0/acx
    acx: creating /proc entry driver/acx0/acx_diag
    acx: creating /proc entry driver/acx0/acx_eeprom
    acx: creating /proc entry driver/acx0/acx_phy
    acx: creating /proc entry driver/acx0/acx_debug
    acx: USB module loaded successfully
    usbcore: registered new interface driver acx_usb
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: acx_s_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 0 (Idle)
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acxusb: closed device
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x0006, typestr=ACX1xx_IE_RATE_FALLBACK, len=1: FAILED
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x100B, typestr=ACX1xx_IE_DOT11_CURRENT_ANTENNA, len=2: FAILED
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x100E, typestr=ACX1xx_IE_DOT11_CURRENT_CCA_MODE, len=2: FAILED
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x1005, typestr=ACX1xx_IE_DOT11_SHORT_RETRY_LIMIT, len=1: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x1006, typestr=ACX1xx_IE_DOT11_LONG_RETRY_LIMIT, len=1: FAILED
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_s_configure_debug: phy2: type=0x100A, typestr=ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN, len=2: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: USB read error -32
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_DISABLE_TX: FAILED
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 1
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 0 (Idle)
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 1
    acxpci: PCI module unloaded
    usbcore: deregistering interface driver acx_usb
    acx: acx_s_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 10 (TX in progress)
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 0 (Idle)
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 0 (Idle)
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 0 (Idle)
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 10 (TX in progress)
    acx: acxusb_s_issue_cmd_timeo_debug: phy2: cmd_status is not SUCCESS: 9 (Already asleep)
    acx_usb: urb unlink timeout!
    acxusb: closed device
    acx: USB module unloaded
    
     
  • KDJ
    KDJ
    2010-09-24

    #
    hubbitus

    Build with CONFIG_DEBUG_SECTION_MISMATCH=y, as suggested, does useful info?

    I hope to build a kernel as a last resort, it was fun the first couple of times but…

     
  • Oliver Winker
    Oliver Winker
    2010-09-25

    Hi kennethj,

    Just re-checked with my two DWL-120+ and also your FW version, and scanning here worked smooth so far.

    Now I have an suspicion what may be the problem on your side:

    acx: acxusb_s_issue_cmd_timeo_debug: phy1: cmd_status is not SUCCESS: 0 (Idle) 
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF 
    ==>> acxusb: closed device
    

    Immediately after the interface was brought up, it is brought down again. And the usb part of the driver is still the most experimental one, and proper ifup/ifdown is not yet working so well. After the ifdown the device is basically spoiled and your need to reconnect ;).

    What I think is, that there is still something in the background (network-manager?, wpa-supplicant?), that is fiddling with the interface in the background. Such a case we already had. This is nice for easier network setup, but during development it can create nasty interferences ;).

    What you should observe in dmesg is the following sequence of of loggings:

    Setup)

    - Unconnect usb device
    - acx-mac80211 module not loaded

    1) Load the module: insmod ./acx-mac80211.ko

    [...]
    Sep 25 08:55:37 lapix kernel: [ 6390.907869] acx: running on a little-endian CPU
    Sep 25 08:55:37 lapix kernel: [ 6390.907870]  PCI/VLYNQ module initialized, waiting for cards to probe...
    Sep 25 08:55:37 lapix kernel: [ 6390.909156] acx: USB module initialized, probing for devices...
    Sep 25 08:55:37 lapix kernel: [ 6390.909546] usbcore: registered new interface driver acx_usb
    

    _Stop_ - no more logging

    2) Connect device

    [...]
    Sep 25 08:57:15 lapix kernel: [ 6489.564173] acx: creating /proc entry driver/acx0/acx_debug
    Sep 25 08:57:15 lapix kernel: [ 6489.564178] acx: USB module loaded successfully
    Sep 25 08:57:15 lapix kernel: [ 6489.580621] udev: renamed network interface wlan0 to wlan4
    

    --

    _Stop_ - really no more logging or activity. If it anyway moves, then something else is operating already on the interface ;).

    3) Bring up the interface: ifconfig wlan4 up

    Sep 25 09:00:45 lapix kernel: [ 6699.123670] acx: acx_select_opmode: NL80211_IFTYPE_STATION
    Sep 25 09:00:45 lapix kernel: [ 6699.123683] acx: Virtual interface added (type: 0x00000002, MAC: 00:80:C8:1B:98:B2)
    Sep 25 09:00:45 lapix kernel: [ 6699.123707] acx: acx_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    Sep 25 09:00:45 lapix kernel: [ 6699.127484] ADDRCONF(NETDEV_UP): wlan4: link is not ready
    

    --

    _Stop_ - no more logging

    4) Scan: iwlist wlan4 scan

    Sep 25 09:01:57 lapix kernel: [ 6771.484054] acx: updating channel to: 14
    Sep 25 09:01:57 lapix kernel: [ 6771.486876] acx: acxusb_issue_cmd_timeo_debug: phy6: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Sep 25 09:01:57 lapix kernel: [ 6771.612065] acx: updating channel to: 1
    

    --

    _Stop_ … with maybe variable msgs regarding the reg-domain.

    I could also more or less reproduce your log, by bringing the interface down and up, btw.

    So, the bottom-line is basically the following:

    1) Usb interface down/up isn't yet working very well - however once it's up and connected is seems to work quite ok.

    2) Therefore you should prevent other background helpers to touch this interface … I don't know exactly how, since I don't use network-manager.

    3) In order to use the usb driver, it's probably therefore best to work with an manually written network setup, e.g. in debian in /etc/network/interfaces:

    iface wlan4 inet dhcp
            wpa-ssid        MYWLAN123
            wpa-psk         abcd1234
    

    --

    You can also observe the interface activity with "iwevent".

    Cheers, Oliver

     
  • KDJ
    KDJ
    2010-09-25

    Oliver,

    I appreciate you time and effort and will continue to experiment with this version.

    I'll post here when  I get it working.

    Thanks very much,

    Ken

     
  • KDJ
    KDJ
    2010-09-26

    Oliver,

    Followed your instructions and there it is.  Association is very touchy, signal strength and quality are shown as very poor, as soon as I attempt to use the connection it disappears and cannot be found again 'till I unload and reload the module.

    acx-20080210 will drop out ever so often but generally stay connected for several hour at a time even with poor signal.

    I have a 5Db antenna on the router, perhaps the router is just getting old, 6 years in constant service.

    Suffice to say the module works, the problem is signal quality.

    acx: acx-mac80211, version: v0.6.0 (git: unknown)
    acx: this driver is still EXPERIMENTAL
    acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    acx: running on a little-endian CPU
     PCI/VLYNQ module initialized, waiting for cards to probe...
    acx: USB module initialized, probing for devices...
    usbcore: registered new interface driver acx_usb
    usb 2-2: new full speed USB device using uhci_hcd and address 5
    usb 2-2: New USB device found, idVendor=2001, idProduct=3b01
    usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    acx: requesting firmware image 'tiacx100usbc0D'
    usb 2-2: firmware: requesting tiacx100usbc0D
    acx: firmware size: 42324 bytes
    acx: uploading firmware (2048 bytes, offset=8)
    acx: uploading firmware (2048 bytes, offset=2056)
    acx: uploading firmware (2048 bytes, offset=4104)
    acx: uploading firmware (2048 bytes, offset=6152)
    acx: uploading firmware (2048 bytes, offset=8200)
    acx: uploading firmware (2048 bytes, offset=10248)
    acx: uploading firmware (2048 bytes, offset=12296)
    acx: uploading firmware (2048 bytes, offset=14344)
    acx: uploading firmware (2048 bytes, offset=16392)
    acx: uploading firmware (2048 bytes, offset=18440)
    acx: uploading firmware (2048 bytes, offset=20488)
    acx: uploading firmware (2048 bytes, offset=22536)
    acx: uploading firmware (2048 bytes, offset=24584)
    acx: uploading firmware (2048 bytes, offset=26632)
    acx: uploading firmware (2048 bytes, offset=28680)
    acx: uploading firmware (2048 bytes, offset=30728)
    acx: uploading firmware (2048 bytes, offset=32776)
    acx: uploading firmware (2048 bytes, offset=34824)
    acx: uploading firmware (2048 bytes, offset=36872)
    acx: uploading firmware (2048 bytes, offset=38920)
    acx: uploading firmware (1356 bytes, offset=40968)
    acx: finished booting, returning from probe()
    usb 2-2: USB disconnect, address 5
    usb 2-2: new full speed USB device using uhci_hcd and address 6
    usb 2-2: New USB device found, idVendor=2001, idProduct=3b00
    usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    acx: acxusb_s_issue_cmd_timeo_debug: phy4: cmd_status is not SUCCESS: 11 (Already awake)
    acx: initializing max packet templates
    acx: TotalMemoryBlocks=154 (19712 bytes)
    acx: acxusb_s_issue_cmd_timeo_debug: phy4: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    acxusb: acxusb_s_read_phy_reg doesn't seem to work yet, disabled.
    acx: got sensitivity value 0
    acx: got antenna value 0x8D
    acx: got Energy Detect (ED) threshold 141
    acx: got Channel Clear Assessment (CCA) value 13
    acx: got regulatory domain 0x10
    acx: new ratevector: 82 84 0B 16 2C
    acx: chipset TNETW1100B, radio type 0x0D (Maxim (MAX2820)), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    acx: registering network device
    phy4: Selected rate control algorithm 'minstrel'
    acx: creating /proc entry driver/acx0/acx
    acx: creating /proc entry driver/acx0/acx_diag
    acx: creating /proc entry driver/acx0/acx_eeprom
    acx: creating /proc entry driver/acx0/acx_phy
    acx: creating /proc entry driver/acx0/acx_debug
    acx: USB module loaded successfully
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_s_select_opmode: NL80211_IFTYPE_STATION
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_e_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 12
    acx: acxusb_s_issue_cmd_timeo_debug: phy4: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_s_issue_cmd_timeo_debug: phy4: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 14
    acx: acxusb_s_issue_cmd_timeo_debug: phy4: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 1
    [root@localhost ~]# iwevent
    Waiting for Wireless Events from interfaces...
    05:29:51.990092   wlan0    Scan request completed
    05:30:32.990462   wlan0    Set Mode:Managed
    05:30:55.038409   wlan0    Set Encryption key:off
    05:30:55.040456   wlan0    Set Encryption key:60
    05:30:55.042931   wlan0    Set ESSID:"default"
    05:31:01.786904   wlan0    Scan request completed
    
     
  • Oliver Winker
    Oliver Winker
    2010-09-26

    Hi Ken,

    Thanks for the feedback! So there is good news, but the connection is less stable. That's interesting to know.

    I didn't do long-duration and stability tests with the usb-part myself in the recent time. There have been also reports, that the usb connection is quite ok for surfing … but as you indicated, that is also setup dependent.

    Now there are quite some differences e.g. in terms of rate-handling between the acx-mac80211 and the 20080210 version - that could indeed have different effect. The tx power we currently don't change, it's the FW default (which is often ok). And as mentioned, the usb part is also still quite experimental.

    Probably something that would require a more closer look  … .

    Cheers, Ol ;)

     
  • KDJ
    KDJ
    2010-09-27

    Is there a way to build only USB?  I have better stability in the 20080210 version when I build USB only.  I've tried commenting out the PCI part in the Make File:

    ifneq ($(KERNELRELEASE),)
    # If KERNELRELEASE is defined, we've been invoked from the kernel build system
    # and can use its language (this variable can only be set only from the top
    # level Makefile of the source tree). We simply have to declare the modules and
    # leave the rest to the kernel build system.
        obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
        [b]#acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o[/b]
        acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
        acx-mac80211-obj-$(CONFIG_ACX_MAC80211_MEM) += mem.o
        acx-mac80211-objs := common.o $(acx-mac80211-obj-y)
    

    and get a module but it builds with:

    make -C /lib/modules/2.6.33.7-desktop-2mnb/build M=/home/ken/install/acx/acx-mac80211 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: "acxpci_s_reset_dev" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_create_desc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_tx_data" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_set_interrupt_mask" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_proc_diag_output" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_irq_work" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_free_desc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_read_phy_reg" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_power_led" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_e_cleanup_module" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_proc_eeprom_output" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_get_txbuf" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_issue_cmd_timeo_debug" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_create_hostdesc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_alloc_tx" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_e_init_module" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_write_phy_reg" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_upload_radio" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acx100pci_s_set_tx_level" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
      CC      /home/ken/install/acx/acx-mac80211/acx-mac80211.mod.o
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
    

    Tried:

    ifneq ($(KERNELRELEASE),)
    # If KERNELRELEASE is defined, we've been invoked from the kernel build system
    # and can use its language (this variable can only be set only from the top
    # level Makefile of the source tree). We simply have to declare the modules and
    # leave the rest to the kernel build system.
        obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
        [b]#acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o[/b]
        acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
        acx-mac80211-obj-$(CONFIG_ACX_MAC80211_MEM) += mem.o
        acx-mac80211-objs := common.o $(acx-mac80211-obj-y)
        
    else
    # Otherwise we were called directly from the command line: the kernel build
    # system must be explicitly invoked.
        EXTRA_KCONFIG?= \
            CONFIG_ACX_MAC80211=m \
            [b]CONFIG_ACX_MAC80211_PCI=n \[/b]
            CONFIG_ACX_MAC80211_USB=y \
            CONFIG_ACX_MAC80211_MEM=n
    

    And get:

    make -C /lib/modules/2.6.33.7-desktop-2mnb/build M=/home/ken/install/acx/acx-mac80211 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=n CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
      CC [M]  /home/ken/install/acx/acx-mac80211/common.o
    /home/ken/install/acx/acx-mac80211/common.c: In function ‘acx100_s_init_memory_pools’:
    /home/ken/install/acx/acx-mac80211/common.c:824: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:824: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:824: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:825: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:836: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c: In function ‘acx111_s_create_dma_regions’:
    /home/ken/install/acx/acx-mac80211/common.c:1057: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:1057: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:1057: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:1061: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:1061: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c:1061: error: ‘acx_device_t’ has no member named ‘rxhostdesc_startphy’
    /home/ken/install/acx/acx-mac80211/common.c: In function ‘acx_fill_beacon_or_proberesp_template’:
    /home/ken/install/acx/acx-mac80211/common.c:3002: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
    make[2]: *** [/home/ken/install/acx/acx-mac80211/common.o] Error 1
    make[1]: *** [_module_/home/ken/install/acx/acx-mac80211] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
    make: *** [all] Error 2
    

    Even:

    make -C /lib/modules/2.6.33.7-desktop-2mnb/build M=/home/ken/install/acx/acx-mac80211 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=n CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=0  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    

    and get:

    make: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
      CC [M]  /home/ken/install/acx/acx-mac80211/common.o
    /home/ken/install/acx/acx-mac80211/common.c: In function ‘acx_fill_beacon_or_proberesp_template’:
    /home/ken/install/acx/acx-mac80211/common.c:3002: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
      CC [M]  /home/ken/install/acx/acx-mac80211/usb.o
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: "acxpci_s_reset_dev" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_create_desc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_tx_data" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_set_interrupt_mask" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_proc_diag_output" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_irq_work" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_free_desc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_read_phy_reg" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_power_led" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_e_cleanup_module" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_proc_eeprom_output" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_get_txbuf" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_issue_cmd_timeo_debug" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_create_hostdesc_queues" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_l_alloc_tx" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_e_init_module" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_write_phy_reg" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acxpci_s_upload_radio" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
    WARNING: "acx100pci_s_set_tx_level" [/home/ken/install/acx/acx-mac80211/acx-mac80211.ko] undefined!
      CC      /home/ken/install/acx/acx-mac80211/acx-mac80211.mod.o
      LD [M]  /home/ken/install/acx/acx-mac80211/acx-mac80211.ko
    make: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
    
     
  • Oliver Winker
    Oliver Winker
    2010-09-27

    Hi Ken,

    … Upps, indeed - usb is actually not building alone. I would need to check this one time. Thanks for the hint ;)! Hmm, it would be surprising, if the (inactive) pci part would influence this - well ok, you never know (maybe some side twisted effect).

    While also thinking about what could be done for this, I stumbled over a part in usb.c, that is actually relevant for bitrate tx reporting and recognized, that currently we don't do the reporting quite in the right place (a comment suggests that I had somehow already doubts before ;) … .

    That could be something that may have an effect, so I'll check that out in the coming days.

    In the meanwhile, could you maybe try, if manually setting the bitrate to a fixed value changes the connection stability ?, e.g.:

    iwconfig wlan0 rate 1M
    

    That would be interesting.

    Cheers, Ol

     
  • Oliver Winker
    Oliver Winker
    2010-10-06

    Hi Ken,

    The usb rate and tx_status reporting is fixed - commit 24528ce2.

    Could you make a try, if this improves connection stability ?

    Cheers, Ol

     
  • KDJ
    KDJ
    2010-10-10

    Oliver,

    Apologies for the delay, gotta make a living…

    Please specify any other logs you may require and I'll post them.

    MAKE is about the same as last version:

    make -C /lib/modules/2.6.33.7-desktop-2mnb/build M=/home/ken/install/acx/acx-mac80211-HEAD-24528ce CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
      CC [M]  /home/ken/install/acx/acx-mac80211-HEAD-24528ce/common.o
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/common.c: In function ‘acx_fill_beacon_or_proberesp_template’:
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/common.c:3002: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
      CC [M]  /home/ken/install/acx/acx-mac80211-HEAD-24528ce/pci.o
      CC [M]  /home/ken/install/acx/acx-mac80211-HEAD-24528ce/usb.o
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/usb.c: In function ‘acxusb_complete_rx’:
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/usb.c:1039: warning: cast to pointer from integer of different size
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/usb.c: In function ‘acxusb_tx_data’:
    /home/ken/install/acx/acx-mac80211-HEAD-24528ce/usb.c:1317: warning: cast from pointer to integer of different size
      LD [M]  /home/ken/install/acx/acx-mac80211-HEAD-24528ce/acx-mac80211.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: Found 3 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
      CC      /home/ken/install/acx/acx-mac80211-HEAD-24528ce/acx-mac80211.mod.o
      LD [M]  /home/ken/install/acx/acx-mac80211-HEAD-24528ce/acx-mac80211.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
    

    Tried: Disable Network Manager, Mandi, and Network.

    Get results much like previous version but eventually the entire system will lock, screen will go black and a reset is required.

    So I modified rc.local:

    modprobe mac80211
    insmod /home/ken/install/acx/acx-mac80211-HEAD-24528ce/acx-mac80211.ko
    

    Loads, fails to see any networks, any attempts to rescan result in OS lockup, black screen and reset.

    Logs:

    dmesg:

    acx: acx-mac80211, version: v0.6.0 (git: unknown)
    acx: this driver is still EXPERIMENTAL
    acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    acx: running on a little-endian CPU
     PCI/VLYNQ module initialized, waiting for cards to probe...
    acx: USB module initialized, probing for devices...
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 11 (Already awake)
    acx: initializing max packet templates
    acx: TotalMemoryBlocks=154 (19712 bytes)
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    acx: don't know how to get sensitivity for radio type 0x00
    acx: got sensitivity value 0
    acx: got antenna value 0x8D
    acx: got Energy Detect (ED) threshold 141
    acx: got Channel Clear Assessment (CCA) value 13
    acx: got regulatory domain 0x10
    acx: new ratevector: 82 84 0B 16 2C
    acx: chipset TNETW1100B, radio type 0x00 (UNKNOWN, please report radio type name!), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    acx: registering network device
    phy0: Selected rate control algorithm 'minstrel'
    acx: creating /proc entry driver/acx0/acx
    acx: creating /proc entry driver/acx0/acx_diag
    acx: creating /proc entry driver/acx0/acx_eeprom
    acx: creating /proc entry driver/acx0/acx_phy
    acx: creating /proc entry driver/acx0/acx_debug
    acx: USB module loaded successfully
    usbcore: registered new interface driver acx_usb
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_select_opmode: NL80211_IFTYPE_STATION
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: acx_select_opmode: NL80211_IFTYPE_MONITOR else
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 0 (Idle)
    acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    acxusb: closed device
    acx: updating initial settings on iface activation
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: updating Tx fallback to 0 retries
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x0006, typestr=ACX1xx_IE_RATE_FALLBACK, len=1: FAILED
    acx: updating the transmit power: 18 dBm
    acx: updating antenna value: 0x8D
    acx: acxusb_issue_cmd_timeo_debug: phy0: USB read error -32
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x100B, typestr=ACX1xx_IE_DOT11_CURRENT_ANTENNA, len=2: FAILED
    acx: pdating the Energy Detect (ED) threshold: 141
    acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x100E, typestr=ACX1xx_IE_DOT11_CURRENT_CCA_MODE, len=2: FAILED
    acx: updating channel to: 1
    acx: updating the short retry limit: 7, long retry limit: 4
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x1005, typestr=ACX1xx_IE_DOT11_SHORT_RETRY_LIMIT, len=1: FAILED
    acx: acxusb_issue_cmd_timeo_debug: phy0: USB read error -32
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x1006, typestr=ACX1xx_IE_DOT11_LONG_RETRY_LIMIT, len=1: FAILED
    acx: updating the tx MSDU lifetime: 4096
    acx: updating the regulatory domain: 0x10
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    acx: acx_configure_debug: phy0: type=0x100A, typestr=ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN, len=2: FAILED
    acx: updating WEP key settings
    acx: acx_e_op_add_interface: vif_type=0002
    acx: acx_select_opmode: NL80211_IFTYPE_STATION
    acx: an important setting has been changed. The packet templates must also be updated
    acx: updating packet templates
    acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    acx: acx_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    acx: updating channel to: 2
    acx: updating channel to: 3
    acx: updating channel to: 4
    acx: updating channel to: 5
    acx: updating channel to: 6
    acx: updating channel to: 7
    acx: updating channel to: 8
    acx: updating channel to: 9
    acx: updating channel to: 10
    acx: updating channel to: 11
    acx: updating channel to: 12
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 13
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    acx: updating channel to: 14
    acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    acx: updating channel to: 1
    

    syslog:

    Oct 10 05:09:48 localhost kernel: acx: acx-mac80211, version: v0.6.0 (git: unknown)
    Oct 10 05:09:48 localhost kernel: acx: this driver is still EXPERIMENTAL
    Oct 10 05:09:48 localhost kernel: acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    Oct 10 05:09:48 localhost kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    Oct 10 05:09:48 localhost kernel: acx: running on a little-endian CPU
    Oct 10 05:09:48 localhost kernel: PCI/VLYNQ module initialized, waiting for cards to probe...
    Oct 10 05:09:48 localhost kernel: acx: USB module initialized, probing for devices...
    Oct 10 05:09:48 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 11 (Already awake)
    Oct 10 05:09:48 localhost kernel: acx: initializing max packet templates
    Oct 10 05:09:48 localhost kernel: acx: TotalMemoryBlocks=154 (19712 bytes)
    Oct 10 05:09:48 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 3 (Invalid Information Element)
    Oct 10 05:09:48 localhost kernel: acx: don't know how to get sensitivity for radio type 0x00
    Oct 10 05:09:48 localhost kernel: acx: got sensitivity value 0
    Oct 10 05:09:48 localhost kernel: acx: got antenna value 0x8D
    Oct 10 05:09:48 localhost kernel: acx: got Energy Detect (ED) threshold 141
    Oct 10 05:09:48 localhost kernel: acx: got Channel Clear Assessment (CCA) value 13
    Oct 10 05:09:48 localhost kernel: acx: got regulatory domain 0x10
    Oct 10 05:09:48 localhost kernel: acx: new ratevector: 82 84 0B 16 2C
    Oct 10 05:09:48 localhost kernel: acx: chipset TNETW1100B, radio type 0x00 (UNKNOWN, please report radio type name!), form factor 0x00 (unspecified), EEPROM version 0x00, uploaded firmware 'Rev 1.0.7-USB'
    Oct 10 05:09:48 localhost kernel: acx: registering network device
    Oct 10 05:09:48 localhost kernel: phy0: Selected rate control algorithm 'minstrel'
    Oct 10 05:09:48 localhost kernel: acx: creating /proc entry driver/acx0/acx
    Oct 10 05:09:48 localhost kernel: acx: creating /proc entry driver/acx0/acx_diag
    Oct 10 05:09:48 localhost kernel: acx: creating /proc entry driver/acx0/acx_eeprom
    Oct 10 05:09:48 localhost kernel: acx: creating /proc entry driver/acx0/acx_phy
    Oct 10 05:09:48 localhost kernel: acx: creating /proc entry driver/acx0/acx_debug
    Oct 10 05:09:48 localhost kernel: acx: USB module loaded successfully
    Oct 10 05:09:48 localhost kernel: usbcore: registered new interface driver acx_usb
    Oct 10 05:09:49 localhost kernel: acx: updating initial settings on iface activation
    Oct 10 05:09:49 localhost kernel: acx: an important setting has been changed. The packet templates must also be updated
    Oct 10 05:09:49 localhost kernel: acx: updating packet templates
    Oct 10 05:09:49 localhost kernel: acx: updating Tx fallback to 0 retries
    Oct 10 05:09:49 localhost kernel: acx: updating the transmit power: 18 dBm
    Oct 10 05:09:49 localhost kernel: acx: updating antenna value: 0x8D
    Oct 10 05:09:49 localhost kernel: acx: pdating the Energy Detect (ED) threshold: 141
    Oct 10 05:09:49 localhost kernel: acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    Oct 10 05:09:49 localhost kernel: acx: updating channel to: 1
    Oct 10 05:09:49 localhost kernel: acx: updating the short retry limit: 7, long retry limit: 4
    Oct 10 05:09:49 localhost kernel: acx: updating the tx MSDU lifetime: 4096
    Oct 10 05:09:49 localhost kernel: acx: updating the regulatory domain: 0x10
    Oct 10 05:09:49 localhost kernel: acx: updating WEP key settings
    Oct 10 05:09:49 localhost kernel: acx: acx_e_op_add_interface: vif_type=0002
    Oct 10 05:09:49 localhost kernel: acx: acx_select_opmode: NL80211_IFTYPE_STATION
    Oct 10 05:09:49 localhost kernel: acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    Oct 10 05:09:49 localhost kernel: acx: acx_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    Oct 10 05:09:49 localhost kernel: acx: acx_select_opmode: NL80211_IFTYPE_MONITOR else
    Oct 10 05:09:49 localhost kernel: acx: an important setting has been changed. The packet templates must also be updated
    Oct 10 05:09:49 localhost kernel: acx: updating packet templates
    Oct 10 05:09:49 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 0 (Idle)
    Oct 10 05:09:49 localhost kernel: acx: Virtual interface removed: type=2, MAC=00:40:05:26:02:AF
    Oct 10 05:09:49 localhost kernel: acxusb: closed device
    Oct 10 05:09:49 localhost kernel: acx: updating initial settings on iface activation
    Oct 10 05:09:49 localhost kernel: acx: an important setting has been changed. The packet templates must also be updated
    Oct 10 05:09:49 localhost kernel: acx: updating packet templates
    Oct 10 05:09:49 localhost kernel: acx: updating Tx fallback to 0 retries
    Oct 10 05:09:49 localhost mdkapplet[2583]: running: ionice -p 2583 -n7
    Oct 10 05:09:54 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:09:54 localhost kernel: acx: acx_configure_debug: phy0: type=0x0006, typestr=ACX1xx_IE_RATE_FALLBACK, len=1: FAILED
    Oct 10 05:09:54 localhost kernel: acx: updating the transmit power: 18 dBm
    Oct 10 05:09:54 localhost kernel: acx: updating antenna value: 0x8D
    Oct 10 05:09:54 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: USB read error -32
    Oct 10 05:09:54 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:09:54 localhost kernel: acx: acx_configure_debug: phy0: type=0x100B, typestr=ACX1xx_IE_DOT11_CURRENT_ANTENNA, len=2: FAILED
    Oct 10 05:09:54 localhost kernel: acx: pdating the Energy Detect (ED) threshold: 141
    Oct 10 05:09:54 localhost kernel: acx: updating the Channel Clear Assessment (CCA) value: 0x0D
    Oct 10 05:10:00 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:10:00 localhost kernel: acx: acx_configure_debug: phy0: type=0x100E, typestr=ACX1xx_IE_DOT11_CURRENT_CCA_MODE, len=2: FAILED
    Oct 10 05:10:00 localhost kernel: acx: updating channel to: 1
    Oct 10 05:10:00 localhost kernel: acx: updating the short retry limit: 7, long retry limit: 4
    Oct 10 05:10:05 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:10:05 localhost kernel: acx: acx_configure_debug: phy0: type=0x1005, typestr=ACX1xx_IE_DOT11_SHORT_RETRY_LIMIT, len=1: FAILED
    Oct 10 05:10:05 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: USB read error -32
    Oct 10 05:10:05 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:10:05 localhost kernel: acx: acx_configure_debug: phy0: type=0x1006, typestr=ACX1xx_IE_DOT11_LONG_RETRY_LIMIT, len=1: FAILED
    Oct 10 05:10:05 localhost kernel: acx: updating the tx MSDU lifetime: 4096
    Oct 10 05:10:05 localhost kernel: acx: updating the regulatory domain: 0x10
    Oct 10 05:10:11 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_CONFIGURE: FAILED
    Oct 10 05:10:11 localhost kernel: acx: acx_configure_debug: phy0: type=0x100A, typestr=ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN, len=2: FAILED
    Oct 10 05:10:11 localhost kernel: acx: updating WEP key settings
    Oct 10 05:10:11 localhost kernel: acx: acx_e_op_add_interface: vif_type=0002
    Oct 10 05:10:11 localhost kernel: acx: acx_select_opmode: NL80211_IFTYPE_STATION
    Oct 10 05:10:11 localhost kernel: acx: an important setting has been changed. The packet templates must also be updated
    Oct 10 05:10:11 localhost kernel: acx: updating packet templates
    Oct 10 05:10:11 localhost kernel: acx: Virtual interface added (type: 0x00000002, MAC: 00:40:05:26:02:AF)
    Oct 10 05:10:11 localhost kernel: acx: acx_op_config: IEEE80211_CONF_CHANGE_POWER not implemented
    Oct 10 05:10:11 localhost ifplugd(wlan0)[2871]: ifplugd 0.28 initializing.
    Oct 10 05:10:11 localhost ifplugd(wlan0)[2871]: Using interface wlan0/00:40:05:26:02:AF with driver <acx_usb> (version: 2.6.33.7-desktop-2mnb)
    Oct 10 05:10:11 localhost ifplugd(wlan0)[2871]: Using detection mode: SIOCETHTOOL
    Oct 10 05:10:11 localhost ifplugd(wlan0)[2871]: Initialization complete, link beat not detected.
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 2
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 3
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 4
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 5
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 6
    Oct 10 05:10:11 localhost kernel: acx: updating channel to: 7
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 8
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 9
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 10
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 11
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 12
    Oct 10 05:10:12 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:10:12 localhost kernel: acx: updating channel to: 13
    Oct 10 05:10:17 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:10:18 localhost kernel: acx: updating channel to: 14
    Oct 10 05:10:18 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:10:18 localhost kernel: acx: updating channel to: 1
    Oct 10 05:10:47 localhost ntpd_initres[2629]: host name not found EAI_NODATA: 0.us.pool.ntp.org
    Oct 10 05:10:47 localhost ntpd_initres[2629]: host name not found EAI_NODATA: 1.us.pool.ntp.org
    Oct 10 05:10:47 localhost ntpd_initres[2629]: host name not found EAI_NODATA: 2.us.pool.ntp.org
    Oct 10 05:11:32 localhost net_applet[2582]: running: /usr/sbin/drakroam 
    Oct 10 05:11:32 localhost drakroam[3061]: ### Program is starting ###
    Oct 10 05:11:37 localhost drakroam[3077]: ### Program is starting ###
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 2
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 3
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 4
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 5
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 6
    Oct 10 05:11:39 localhost kernel: acx: updating channel to: 7
    Oct 10 05:11:45 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:11:45 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 0 (Idle)
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 8
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 9
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 10
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 11
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 12
    Oct 10 05:11:45 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:11:45 localhost kernel: acx: updating channel to: 13
    Oct 10 05:11:45 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:11:46 localhost kernel: acx: updating channel to: 14
    Oct 10 05:11:51 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:11:51 localhost kernel: acx: updating channel to: 1
    Oct 10 05:11:51 localhost kernel: acx: updating channel to: 2
    Oct 10 05:11:51 localhost kernel: acx: updating channel to: 3
    Oct 10 05:11:52 localhost kernel: acx: updating channel to: 4
    Oct 10 05:11:57 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:11:57 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_RX: FAILED
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 5
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 6
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 7
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 8
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 9
    Oct 10 05:11:57 localhost kernel: acx: updating channel to: 10
    Oct 10 05:11:58 localhost kernel: acx: updating channel to: 11
    Oct 10 05:11:58 localhost kernel: acx: updating channel to: 12
    Oct 10 05:11:58 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:11:58 localhost kernel: acx: updating channel to: 13
    Oct 10 05:11:58 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:11:58 localhost kernel: acx: updating channel to: 14
    Oct 10 05:11:58 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:11:58 localhost kernel: acx: updating channel to: 1
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 2
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 3
    Oct 10 05:12:01 localhost kernel: acxusb: tx buffers full
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 4
    Oct 10 05:12:01 localhost kernel: acxusb: tx buffers full
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 5
    Oct 10 05:12:01 localhost kernel: acxusb: tx buffers full
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 6
    Oct 10 05:12:01 localhost kernel: acxusb: tx buffers full
    Oct 10 05:12:01 localhost kernel: acx: updating channel to: 7
    Oct 10 05:12:07 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:12:07 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 0 (Idle)
    Oct 10 05:12:07 localhost kernel: acxusb_alloc_tx: 4 callbacks suppressed
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 8
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 9
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 10
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 11
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 12
    Oct 10 05:12:07 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:12:07 localhost kernel: acx: updating channel to: 13
    Oct 10 05:12:07 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd_status is not SUCCESS: 5 (Channel invalid in current regulatory domain)
    Oct 10 05:12:08 localhost kernel: acx: updating channel to: 14
    Oct 10 05:12:13 localhost kernel: acx: acxusb_issue_cmd_timeo_debug: phy0: cmd=ACX1xx_CMD_ENABLE_TX: FAILED
    Oct 10 05:12:13 localhost kernel: acx: updating channel to: 1
    Oct 10 05:12:18 localhost drakroam[3077]: ### Program is exiting ###
    
     
  • Oliver Winker
    Oliver Winker
    2010-10-10

    Hi Kenneth,

    Ok, I can reproduce these compile warnings on amd64.

    Are you running on amd64 ? You can check that with "uname -m"

    I'll see, if I can reproduce the crashes.

    Cheers, Oliver

     
  • KDJ
    KDJ
    2010-10-11

    Oliver,

    Definitely Intel, x86_64.  Built it from scratch…

     
  • Oliver Winker
    Oliver Winker
    2010-10-11

    Hi Kenneth,

    So, just quickly tried it on x86_64 and indeed it perfectly crashed with a kernel panic in acxusb_complete_rx().

    Which is good: clearly reproducible is often already about half-way ;) … I'll have a look at the the coming days. Keep you updated.

    Cheers, Ol

     
  • Oliver Winker
    Oliver Winker
    2010-10-16

    Hi Kenneth,

    This should be fixed now: commit 06f0acf6. Could you give it a try and also see, if the connection stability improved ?

    Cheers, Ol

     
  • KDJ
    KDJ
    2010-11-22

    Oliver,

    Apologies for the long delay.

    Can't get it to work so far.  Most of the time it doesn't see the router, if it does, it can't associate. 

    I appreciate your work on this  and look forward to the next commit.  I'll keep trying as they come out.

     
  • Oliver Winker
    Oliver Winker
    2010-11-24

    Hi Kenneth,

    Ok, so basically that means the rate-handling fix for usb didn't really help for the instable connection you experience.

    Now the fix itself is still a good thing anyway. What we would need to find out now, is the actual cause of the problem.

    You mentioned acx-20080210, once connected, did stay connected more stable. Is this still the case ?

    Regarding our reported signal strength: it's not really accurate … I think we just report a rough idea.

    But maybe your router can report also on it's clients signal strength himself. It could maybe be interesting to have a look at this, if possible ?

    Cheers, Oliver

     
  • KDJ
    KDJ
    2010-11-25

    Oliver,

    Yes, acx-20080210 works well consistently except in low humidity.  I have a high gain antenna and still get dropout in low humidity, this also happens on Windows, so the driver is not the problem in that case.

    Beacon interval : 100         (msec, range:20~1000, default:100)
    RTS Threshold : 2346 (range: 256~2346, default:2346)
    Fragmentation : 2346 (range: 1500~2346, default:2346, even number only)
    DTIM interval : 1            (range: 1~255, default:1)
    TX Rates : auto
    Preamble Type : short
    Antenna transmit power: 100% 17dBm

    These are the only specs I can get from the router.

     
  • Andreas Mohr
    Andreas Mohr
    2010-11-26

    Interesting, I never happened to think about such issues being related to humidity levels, however it's quite obvious OTOH.
    Thank you for this report! Hopefully "we" (well, probably more likely to be Oliver…) can make some progress here…

     
  • Oliver Winker
    Oliver Winker
    2010-11-27

    Meanwhile I wonder, if there is maybe not a common element with other reports related to the physical connection … like frequent radio recalibration or the adhoc problem in the thread of hubbitus.

    One functional difference with the 20080210 version is, that we currently don't use the rate-auto-fallback of the firmware … that could perhaps be a track. Maybe if we allow the firmware more fallback options, it can handle the radio connection better in some circumstances, than we can on driver level ?

    I'll have a look at this one time, just depends a bit on available time ;).

    Cheers, Ol

     
  • Oliver Winker
    Oliver Winker
    2010-11-28

    Just found out, that we don't update the radio sensitivity anymore in mac80211 version … which is maybe not ideal ;). I'll see to test this in more detail & push a fix in the coming days - but some first tests show already a positive effect.

    Stumbled over this while refining the rate handling - maybe that give still some improvement as well.

    Cheers, Ol

     
  • Oliver Winker
    Oliver Winker
    2010-12-01

    Hi Kenneth,

    The specs of your router indicate:  "Preamble Type : short"

    Is your wlan configured to short-preamble-only maybe ?

    Could you do a small test, if the following patch to usb.c of acx-mac80211 changes something ?:

    usb.c
    ---
    @@ -1317,7 +1317,6 @@ void acxusb_tx_data(acx_device_t *adev, tx_t *tx_opaque, int wlanpkt_len,
            txbuf->hostdata = (u32) txnum;
    
            txbuf->ctrl1 = DESC_CTL_FIRSTFRAG;
    -       if (1 == adev->preamble_cur)
                    SET_BIT(txbuf->ctrl1, DESC_CTL_SHORT_PREAMBLE);
            txbuf->ctrl2 = 0;
            txbuf->data_len = cpu_to_le16(wlanpkt_len);
    ---
    

    In the acx-mac80211 we are not yet handling the setting of the short preamble. So in an short-preamble-only wlan, this could perhaps explain the connection difficulties. Just an idea … ;) !?

    Cheers, Oliver

     
  • KDJ
    KDJ
    2010-12-02

    I've only patched a couple of times, perhaps I'm issuing the command incorrectly…

    If I issue:

    patch -p0 < wlan.patch
    

    I get:

    patch unexpectedly ends in middle of line
    patch: **** Only garbage was found in the patch input.
    

    Issue:

    patch -p0 < usb.c wlan.patch
    

    Get:

    patch: **** Only garbage was found in the patch input.
    

    What am I doing wrong?

     
1 2 > >> (Page 1 of 2)