Experiences with an unsupported device (USB 0cde:001a)

View: New views
4 Messages — Rating Filter:   Alert me  

Experiences with an unsupported device (USB 0cde:001a)

by Bryan Donlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I've recently come across a device which seems to have a zd1211 chip,
but whose USB ID (0cde:001a) was not in the current driver. After
adding the USB ID to the ubuntu 2.6.22-14 kernel and insmodding
zd1211rw.ko, I was able to get the driver to perform a scan, but it
would not associate to a network. dmesg output:
[  169.884000] usb 1-2: reset high speed USB device using ehci_hcd and address 2
[  170.152000] usb 1-2: firmware version 0x4330 and device bootcode
version 0x4810 differ
[  170.260000] zd1211rw 1-2:1.0: firmware version 4605
[  170.304000] zd1211rw 1-2:1.0: zd1211 chip 0cde:001a v4810 high
00-60-b3 AL2230_RF pa0 g---S
[  170.304000] zd1211rw 1-2:1.0: eth0
[  170.304000] usbcore: registered new interface driver zd1211rw
[  215.328000] SoftMAC: Open Authentication completed with 00:0f:24:11:19:f0

lsusb -vv:
Bus 001 Device 003: ID 0cde:001a Z-Com
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x0cde Z-Com
  idProduct          0x001a
  bcdDevice           48.10
  iManufacturer          16 ZyDAS
  iProduct               32 USB Device
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1


Unfortunately, I do not know the vendor name of the device; it's
something I'm borrowing from a friend.
It is labelled with:
FCC ID: M4Y-XG-760N
MODEL: XG-760N
S/N: 320000050157041400667
MAC: 0060B3106D77

I'll be trying this with the latest kernel.org tree next.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: Experiences with an unsupported device (USB 0cde:001a)

by Bryan Donlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 19, 2007 3:43 PM, Bryan Donlan <bdonlan@...> wrote:
> Hi all,
>
> I've recently come across a device which seems to have a zd1211 chip,
> but whose USB ID (0cde:001a) was not in the current driver. After
> adding the USB ID to the ubuntu 2.6.22-14 kernel and insmodding
> zd1211rw.ko, I was able to get the driver to perform a scan, but it
> would not associate to a network.
[snip]

I've retried using 2.6.23.12 (and this time I remembered to install
the firmware), but still no go. I've attached dmesg with SoftMAC and
zd1211rw debug on full. Again I'm able to scan for networks (although
some show as essid="<hidden>", the one I'm trying to connect to shows
up properly), but I can't associate. wavemon shows 0 for RX and all
signal levels.

Commands used to try to associate:
ifconfig eth2 up
iwconfig eth2 essid tempest
dhclient eth2

I'm using the 1.4 firmware tarball.

[  888.736593] usb 2-1: new high speed USB device using ehci_hcd and address 3
[  888.855043] usb 2-1: configuration #1 chosen from 1 choice
[  888.855934] usb 2-1: print_id() 0cde:001a v4810 high
[  888.958294] usb 2-1: reset high speed USB device using ehci_hcd and address 3
[  889.069195] zd1211rw 2-1:1.0: zd_netdev_alloc() netdev->flags 0x1002
[  889.069660] zd1211rw 2-1:1.0: zd_netdev_alloc() netdev->features 0x00000000
[  889.070018] zd1211rw 2-1:1.0: zd_chip_read_mac_addr_fw()
[  889.073256] zd1211rw 2-1:1.0: probe() successful
[  889.073714] zd1211rw 2-1:1.0: eth1
[  889.075905] net eth2: device_rename: sysfs_create_symlink failed (-17)
[  898.106180] zd1211rw 2-1:1.0: zd_usb_init_hw()
[  898.106191] usb 2-1: request_fw_file() fw name zd1211/zd1211_ub
[  898.110525] usb 2-1: firmware version 0x4330 and device bootcode version 0x4810 differ
[  898.110534] usb 2-1: request_fw_file() fw name zd1211/zd1211_ur
[  898.117385] usb 2-1: upload_code() transfer size 3584
[  898.123153] usb 2-1: upload_code() firmware confirm return value 0x01
[  898.123162] usb 2-1: upload_code() transfer size 3720
[  898.132792] usb 2-1: upload_code() firmware confirm return value 0x01
[  898.132827] usb 2-1: request_fw_file() fw name zd1211/zd1211_uphr
[  898.137934] usb 2-1: upload_code() transfer size 4096
[  898.145168] usb 2-1: upload_code() transfer size 1024
[  898.147412] usb 2-1: upload_code() firmware confirm return value 0x01
[  898.147291] zd1211rw 2-1:1.0: zd_usb_enable_int()
[  898.147666] zd1211rw 2-1:1.0: zd_usb_enable_int() submit urb db805180
[  898.148048] zd1211rw 2-1:1.0: zd_chip_init_hw()
[  898.150280] zd1211rw 2-1:1.0: dump_cr() CR_AFTER_PNP 0x00000000
[  898.152525] zd1211rw 2-1:1.0: dump_cr() CR_GPI_EN 0x00000000
[  898.154284] zd1211rw 2-1:1.0: dump_cr() CR_INTERRUPT 0x00000000
[  898.156348] zd1211rw 2-1:1.0: read_fw_regs_offset() fw_regs_base: 0xf7d4
[  898.159279] zd1211rw 2-1:1.0: read_pod() E2P_POD 0x00000184
[  898.159288] zd1211rw 2-1:1.0: read_pod() RF AL2230_RF 0x4 PA type 0x0 patch CCK 1 patch CR157 0 patch 6M 0 new PHY 0 link LED2 tx led 1
[  898.159292] zd1211rw 2-1:1.0: hw_init()
[  898.159296] zd1211rw 2-1:1.0: zd1211_hw_reset_phy()
[  898.161274] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0x00 -> 0x00
[  898.166270] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x00 -> 0x80
[  898.171442] zd1211rw 2-1:1.0: zd1211_hw_init_hmac()
[  898.169271] zd1211rw 2-1:1.0: get_aw_pt_bi() aw 0 pt 0 bi 0
[  898.169290] zd1211rw 2-1:1.0: set_aw_pt_bi() aw 0 pt 99 bi 100
[  898.171279] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  898.173394] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  898.178793] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  898.180788] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  898.182787] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  898.184793] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003b812 bits 24
[  898.186782] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000fff3 bits 24
[  898.188784] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0000824 bits 24
[  898.190783] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0000da4 bits 24
[  898.192782] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00f4dc5 bits 24
[  898.194780] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00805b6 bits 24
[  898.196788] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0011687 bits 24
[  898.198781] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0000688 bits 24
[  898.200781] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00403b9 bits 24
[  898.202780] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000dbba bits 24
[  898.204780] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000099b bits 24
[  898.206778] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00bdffc bits 24
[  898.208780] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  898.210779] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000500f bits 24
[  898.213028] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000d00f bits 24
[  898.213903] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0004c0f bits 24
[  898.216778] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000540f bits 24
[  898.218779] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000700f bits 24
[  898.220778] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000500f bits 24
[  898.223778] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  898.225758] zd1211rw 2-1:1.0: firmware version 4605
[  898.227778] zd1211rw 2-1:1.0: dump_fw_registers() FW_FIRMWARE_VER 0x4605
[  898.228126] zd1211rw 2-1:1.0: dump_fw_registers() FW_USB_SPEED 0x0001
[  898.228474] zd1211rw 2-1:1.0: dump_fw_registers() FW_FIX_TX_RATE 0x0000
[  898.228811] zd1211rw 2-1:1.0: dump_fw_registers() FW_LINK_STATUS 0x0000
[  898.230779] zd1211rw 2-1:1.0: dump_cr() CR_AFTER_PNP 0x00000001
[  898.232776] zd1211rw 2-1:1.0: dump_cr() CR_GPI_EN 0x00000000
[  898.234775] zd1211rw 2-1:1.0: dump_cr() CR_INTERRUPT 0x00000000
[  898.274774] zd1211rw 2-1:1.0: zd1211 chip 0cde:001a v4810 high 00-60-b3 AL2230_RF pa0 g---S
[  898.276771] zd1211rw 2-1:1.0: zd_read_regdomain() regdomain: 0x10
[  898.277770] zd1211rw 2-1:1.0: regdomain 0x10
[  898.278100] zd1211rw 2-1:1.0: zd_usb_disable_int() urb db805180 killed
[  898.278449] zd1211rw 2-1:1.0: zd_usb_enable_int()
[  898.278727] zd1211rw 2-1:1.0: zd_usb_enable_int() submit urb ce660580
[  898.279066] zd1211rw 2-1:1.0: zd_write_mac_addr() mac addr 00:60:b3:10:8d:77
[  898.279770] zd1211rw 2-1:1.0: zd_chip_set_basic_rates_locked() ff0f
[  898.281769] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  898.283768] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  898.285768] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  898.286771] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 1
[  898.287077] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  898.287892] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  898.290769] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  898.293021] zd1211rw 2-1:1.0: update_pwr_int() channel 1 pwr_int 0x59
[  898.294768] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  898.296766] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  898.297768] zd1211rw 2-1:1.0: zd_usb_enable_rx()
[  898.298413] zd1211rw 2-1:1.0: housekeeping_enable()
[  898.298705] zd1211rw 2-1:1.0: bssinfo_change() changes: 7
[  898.299006] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  898.299409] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  898.299414] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  898.303436] ADDRCONF(NETDEV_UP): eth2: link is not ready
[  898.303764] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  898.303769] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  898.303399] zd1211rw 2-1:1.0: zd_chip_set_rts_cts_rate_locked() rts_rate=0 preamble=0
[  898.304373] zd1211rw 2-1:1.0: zd_chip_set_basic_rates_locked() ff0f
[  898.304633] zd1211rw 2-1:1.0: zd_chip_set_multicast_hash() hash l 0x00000001 h 0x80000000
[  903.788903] SoftMAC: Associate: Scanning for networks first.
[  903.788915] zd1211rw 2-1:1.0: set_channel() channel 1
[  903.790962] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.791941] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 1
[  903.792303] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  903.795546] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  903.797546] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.799795] zd1211rw 2-1:1.0: update_pwr_int() channel 1 pwr_int 0x59
[  903.800538] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.804517] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.811037] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.812998] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.825316] zd1211rw 2-1:1.0: set_channel() channel 2
[  903.827538] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.828542] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 2
[  903.828880] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  903.831541] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  903.833549] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.835791] zd1211rw 2-1:1.0: update_pwr_int() channel 2 pwr_int 0x61
[  903.836538] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.838537] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.841532] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.843528] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.859359] zd1211rw 2-1:1.0: set_channel() channel 3
[  903.861535] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.862582] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 3
[  903.862605] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003e790 bits 24
[  903.864546] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  903.866538] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.868787] zd1211rw 2-1:1.0: update_pwr_int() channel 3 pwr_int 0x61
[  903.869534] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.871533] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.874528] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.876525] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.892296] zd1211rw 2-1:1.0: set_channel() channel 4
[  903.893530] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.894535] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 4
[  903.894541] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003e790 bits 24
[  903.896535] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  903.898533] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.900782] zd1211rw 2-1:1.0: update_pwr_int() channel 4 pwr_int 0x61
[  903.901529] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.903529] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.910024] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.908525] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.924294] zd1211rw 2-1:1.0: set_channel() channel 5
[  903.926527] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.927532] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 5
[  903.927538] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f7a0 bits 24
[  903.929530] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  903.931529] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.933778] zd1211rw 2-1:1.0: update_pwr_int() channel 5 pwr_int 0x55
[  903.934523] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.936524] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.939520] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.941517] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.957280] zd1211rw 2-1:1.0: set_channel() channel 6
[  903.959522] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.960530] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 6
[  903.960652] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f7a0 bits 24
[  903.962526] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  903.964525] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.966779] zd1211rw 2-1:1.0: update_pwr_int() channel 6 pwr_int 0x5d
[  903.967522] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  903.969523] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  903.972518] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.974513] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  903.990271] zd1211rw 2-1:1.0: set_channel() channel 7
[  903.991520] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  903.992524] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 7
[  903.992531] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003e7a0 bits 24
[  903.994521] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  903.996521] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  903.998645] zd1211rw 2-1:1.0: update_pwr_int() channel 7 pwr_int 0x5d
[  903.999516] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.001516] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.004512] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.006508] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.022259] zd1211rw 2-1:1.0: set_channel() channel 8
[  904.023514] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.024518] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 8
[  904.024524] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003e7a0 bits 24
[  904.026523] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  904.028518] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.030766] zd1211rw 2-1:1.0: update_pwr_int() channel 8 pwr_int 0x5d
[  904.031512] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.033512] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.036508] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.038504] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.054255] zd1211rw 2-1:1.0: set_channel() channel 9
[  904.055510] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.056514] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 9
[  904.056520] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f7b0 bits 24
[  904.058512] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  904.060512] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.062762] zd1211rw 2-1:1.0: update_pwr_int() channel 9 pwr_int 0x55
[  904.063512] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.065523] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.068506] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.070502] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.086246] zd1211rw 2-1:1.0: set_channel() channel 10
[  904.087507] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.088512] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 10
[  904.088518] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f7b0 bits 24
[  904.090509] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x00b3331 bits 24
[  904.092509] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.094757] zd1211rw 2-1:1.0: update_pwr_int() channel 10 pwr_int 0x5d
[  904.095503] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.097503] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.100500] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.102496] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.118237] zd1211rw 2-1:1.0: set_channel() channel 11
[  904.119500] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.120506] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 11
[  904.120522] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003e7b0 bits 24
[  904.122503] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  904.124504] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.126750] zd1211rw 2-1:1.0: update_pwr_int() channel 11 pwr_int 0x4a
[  904.127603] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.129502] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.132495] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.134492] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  904.150224] SoftMAC: Scanning finished: scanned 11 channels starting with channel 1
[  904.150242] SoftMAC: Queueing Authentication Request to 00:0f:24:11:19:f0
[  904.150245] SoftMAC: Cannot associate without being authenticated, requested authentication
[  904.150249] zd1211rw 2-1:1.0: set_channel() channel 1
[  904.151503] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.152495] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 1
[  904.152501] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  904.154502] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  904.156499] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.158749] zd1211rw 2-1:1.0: update_pwr_int() channel 1 pwr_int 0x59
[  904.159495] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.161495] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.162509] SoftMAC: Sent Authentication Request to 00:0f:24:11:19:f0.
[  904.164750] SoftMAC: Open Authentication completed with 00:0f:24:11:19:f0
[  904.165428] zd1211rw 2-1:1.0: set_channel() channel 1
[  904.167410] zd1211rw 2-1:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
[  904.168500] zd1211rw 2-1:1.0: zd_rf_set_channel() channel: 1
[  904.168505] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x003f790 bits 24
[  904.170498] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x0033331 bits 24
[  904.172507] zd1211rw 2-1:1.0: zd_usb_rfwrite() value 0x000000d bits 24
[  904.174748] zd1211rw 2-1:1.0: update_pwr_int() channel 1 pwr_int 0x59
[  904.175493] zd1211rw 2-1:1.0: patch_cck_gain() patching value 1a
[  904.177493] zd1211rw 2-1:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
[  904.178508] SoftMAC: sent association request!
[  904.189490] usb 2-1: handle_retry_failed_int() retry failed interrupt
[  909.176788] SoftMAC: assoc request timed out!
[  909.421861] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  909.421872] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  909.421884] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  909.421888] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  909.424988] zd1211rw 2-1:1.0: zd_chip_set_multicast_hash() hash l 0x00000001 h 0x80000000
[  914.232410] SoftMAC: Getting essid from req_essid
[  914.232427] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  914.234921] zd1211rw 2-1:1.0: iw_get_range()
[  914.235123] SoftMAC: Getting essid from req_essid
[  914.235307] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  924.336375] SoftMAC: Getting essid from req_essid
[  924.336389] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  933.227940] SoftMAC: Getting essid from req_essid
[  933.227958] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  933.230893] zd1211rw 2-1:1.0: iw_get_range()
[  933.230916] SoftMAC: Getting essid from req_essid
[  933.230923] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  943.325645] SoftMAC: Getting essid from req_essid
[  943.325659] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  944.439744] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  944.439754] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  944.442227] zd1211rw 2-1:1.0: zd_chip_set_multicast_hash() hash l 0x00000001 h 0x80000000
[  950.079442] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:fb
[  950.079450] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01
[  950.079454] zd1211rw 2-1:1.0: zd_mac_set_multicast_list() mc addr 33:33:00:00:00:01
[  950.085247] zd1211rw 2-1:1.0: zd_chip_set_multicast_hash() hash l 0x00000001 h 0xc0000000
[  953.429634] SoftMAC: Getting essid from req_essid
[  953.429648] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  963.526647] SoftMAC: Getting essid from req_essid
[  963.526662] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  973.630556] SoftMAC: Getting essid from req_essid
[  973.630570] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  983.731045] SoftMAC: Getting essid from req_essid
[  983.731058] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[  993.828041] SoftMAC: Getting essid from req_essid
[  993.828054] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1
[ 1003.829163] SoftMAC: Getting essid from req_essid
[ 1003.829176] zd1211rw 2-1:1.0: zd_mac_get_channel() channel 1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: Experiences with an unsupported device (USB 0cde:001a)

by Daniel Drake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bryan Donlan wrote:
> I've retried using 2.6.23.12 (and this time I remembered to install
> the firmware), but still no go. I've attached dmesg with SoftMAC and
> zd1211rw debug on full. Again I'm able to scan for networks (although
> some show as essid="<hidden>", the one I'm trying to connect to shows
> up properly), but I can't associate. wavemon shows 0 for RX and all
> signal levels.

It's not clear what's going wrong, there does not seem to be any
response to the association request. As the next step you could try the
vendor driver, or you could run another wireless device in monitor mode
and watch the traffic. Is the association request from the device
"hitting the air"? Is the access point sending an association response
to the device?

Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: Experiences with an unsupported device (USB 0cde:001a)

by Bryan Donlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Dec 21, 2007 6:22 AM, Daniel Drake <dsd@...> wrote:

> Bryan Donlan wrote:
> > I've retried using 2.6.23.12 (and this time I remembered to install
> > the firmware), but still no go. I've attached dmesg with SoftMAC and
> > zd1211rw debug on full. Again I'm able to scan for networks (although
> > some show as essid="<hidden>", the one I'm trying to connect to shows
> > up properly), but I can't associate. wavemon shows 0 for RX and all
> > signal levels.
>
> It's not clear what's going wrong, there does not seem to be any
> response to the association request. As the next step you could try the
> vendor driver, or you could run another wireless device in monitor mode
> and watch the traffic. Is the association request from the device
> "hitting the air"? Is the access point sending an association response
> to the device?

Hi,

The tests before I performed on my school's open wireless network. I'm
now at home, where we have a WEP-secured network. In this case the
network isn't even appearing in a scan; I just get:
eth2      Scan completed :
          Cell 01 - Address: 00:0F:3D:37:FB:02
                    ESSID:""
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 9 Mb/s; 11 Mb/s
                              6 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=100/100  Signal level=58/100
                    Extra: Last beacon: 259ms ago
The access point address and channel are correct, but the ESSID is blank there.

Also, how would one put another device into monitor mode? It'd have to
be something I can use from a livecd...

Thanks,

Bryan Donlan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs