There is a WIP driver for the RTL8188SU/RTL8191SU/RTL8192SU USB wifi chips that cannot be supported by the rtlwifi driver: https://github.com/chunkeey/rtl8192su
The main difference with r8217u staging driver is that the API is cfg80211 instead wireless extensions, so it is easy to configure in openwrt.
Of course a simple question is: why not merge it in rtlwifi? Because this family of chips are fullmac, so, as the developers say, rtlwifi, which uses mac80211 is not the right way.
The driver is WIP but works fine as client and can be put in monitor mode (without frame injection), while other modes are not supported yet:
root@OpenWrt:~# iw phy0 info
Wiphy phy0
Band 1:
Capabilities: 0x19ee
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7, 32
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
* 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
* 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 1
max scan IEs length: 256 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
Available Antennas: TX 0 RX 0
Supported interface modes:
* managed
* monitor
software interface modes (can always be added):
interface combinations are not supported
Supported commands:
* set_interface
* new_key
* set_channel
* connect
* disconnect
There are some devices based in this chips:
- RTL8188SU: http://wikidevi.com/wiki/Special:Browse … =RTL8188SU
- RTL8191SU: http://wikidevi.com/wiki/Special:Browse … =RTL8191SU
- RTL8192SU: http://wikidevi.com/wiki/Special:Browse … =RTL8192SU
In the other side there are issues derived from the early development status:
- Does not work in big endian mode, although the developers are patching the driver ir order to make it run on these cpu's.
- Don't know if works in other architectures than x86 (forgot to ask it).
- In openwrt doesn't show bit rate, signal nor noise.
In addition, the prerequisite to compile it is GCC >=4.7.2 and kernel >=3.7.x. We must check "Advanced developer options" and make the needed changes; don't select "GCC 4.x.x with Linaro enchancements" because the compilation will give problems. The other options can be left in its default values.
This is a kind of patch to add support for this driver in trunk r36151: outdated Also the patch adds support for rtlwifi drivers, based in http://patchwork.openwrt.org/patch/1960/
To apply the patch decompress it in (trunk_root_dir)/packages/mac80211 directory and execute "patch -p0 -i r92su.patch".
The few tests i've made in the last three days showed that the driver is stable; in addition, in a "bad done" speed test achieved 2'20MB/s. http://pastebin.com/HZXNzPHB
Some additional information of the test equipment (Wyse S10 thin client):
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.8.3 (pepe@debian) (gcc version 4.7.2 (GCC) ) #1 Mon Apr 1 12:46:02 CEST 2013
[ 0.000000] KERNEL supported cpus:
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000002faffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000002fb0000-0x0000000002fbffbf] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000002fbffc0-0x0000000002fbffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000040400000-0x000000004043ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] e820: update [mem 0x00000000-0x0003ffff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x2fb0 max_arch_pfn = 0x100000
[ 0.000000] initial memory mapped: [mem 0x00000000-0x017fffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x02faffff]
[ 0.000000] [mem 0x00000000-0x003fffff] page 4k
[ 0.000000] [mem 0x00400000-0x02bfffff] page 2M
[ 0.000000] [mem 0x02c00000-0x02faffff] page 4k
[ 0.000000] kernel direct mapping tables up to 0x2faffff @ [mem 0x017fa000-0x017fffff]
[ 0.000000] 47MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 02fb0000
[ 0.000000] low ram: 0 - 02fb0000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00040000-0x00ffffff]
[ 0.000000] Normal [mem 0x01000000-0x02faffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00040000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x02faffff]
[ 0.000000] On node 0 totalpages: 12047
[ 0.000000] free_area_init_node: node 0, pgdat c12cedd4, node_mem_map c2f50800
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3903 pages, LIFO batch:0
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 8048 pages, LIFO batch:0
[ 0.000000] e820: [mem 0x40440000-0xefffffff] available for PCI devices
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11951
[ 0.000000] Kernel command line: root=/dev/sda2 rootfstype=ext4 rootwait console=tty0 console=ttyS0,38400n8 noinitrd reboot=bios
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 44372k/48832k available (2089k kernel code, 3816k reserved, 812k data, 180k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffe5000 - 0xfffff000 ( 104 kB)
[ 0.000000] vmalloc : 0xc37b0000 - 0xfffe3000 ( 968 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2fb0000 ( 47 MB)
[ 0.000000] .init : 0xc12d6000 - 0xc1303000 ( 180 kB)
[ 0.000000] .data : 0xc120a594 - 0xc12d5820 ( 812 kB)
[ 0.000000] .text : 0xc1000000 - 0xc120a594 (2089 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] CPU 0 irqstacks, hard=c2806000 soft=c2808000
[ 0.000000] console [ttyS0] enabled
[ 0.000000] tsc: Fast TSC calibration failed
[ 0.000000] tsc: Using PIT calibration value
[ 0.000000] tsc: Detected 333.221 MHz processor
[ 0.070015] Calibrating delay loop (skipped), value calculated using timer frequency.. 666.44 BogoMIPS (lpj=3332210)
[ 0.090032] pid_max: default: 32768 minimum: 301
[ 0.100484] Mount-cache hash table entries: 512
[ 0.111633] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.111633] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.111633] tlb_flushall_shift: -1
[ 0.120033] CPU: NSC Geode(TM) Integrated Processor by National Semi (fam: 05, model: 05, stepping: 02)
[ 0.150412] Performance Events:
[ 0.165811] regulator-dummy: no parameters
[ 0.170928] NET: Registered protocol family 16
[ 0.192042] PCI: PCI BIOS revision 2.10 entry at 0xff8b7, last bus=0
[ 0.200040] PCI: Using configuration type 1 for base access
[ 0.252146] bio: create slab <bio-0> at 0
[ 0.263506] SCSI subsystem initialized
[ 0.280661] libata version 3.00 loaded.
[ 0.281822] usbcore: registered new interface driver usbfs
[ 0.290604] usbcore: registered new interface driver hub
[ 0.300699] usbcore: registered new device driver usb
[ 0.311393] PCI: Probing PCI hardware
[ 0.311432] PCI: root bus 00: using default resources
[ 0.311457] PCI: Probing PCI hardware (bus 00)
[ 0.312061] PCI host bridge to bus 0000:00
[ 0.320066] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.330064] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.340048] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.350264] pci 0000:00:01.0: [100b:0028] type 00 class 0x060000
[ 0.350508] pci 0000:00:01.0: reg 10: [io 0xac1c-0xac1f]
[ 0.360246] pci 0000:00:01.1: [100b:0030] type 00 class 0x030000
[ 0.360701] pci 0000:00:01.1: reg 10: [mem 0x41000000-0x41ffffff]
[ 0.361063] pci 0000:00:01.1: reg 14: [mem 0x40ffc000-0x40ffffff]
[ 0.361425] pci 0000:00:01.1: reg 18: [mem 0x40ff8000-0x40ffbfff]
[ 0.361785] pci 0000:00:01.1: reg 1c: [mem 0x40ff4000-0x40ff7fff]
[ 0.363269] pci 0000:00:0d.0: [1106:3038] type 00 class 0x0c0300
[ 0.363389] pci 0000:00:0d.0: reg 20: [io 0xeee0-0xeeff]
[ 0.363495] pci 0000:00:0d.0: supports D1 D2
[ 0.363539] pci 0000:00:0d.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.363646] pci 0000:00:0d.1: [1106:3038] type 00 class 0x0c0300
[ 0.363761] pci 0000:00:0d.1: reg 20: [io 0xeec0-0xeedf]
[ 0.363865] pci 0000:00:0d.1: supports D1 D2
[ 0.363908] pci 0000:00:0d.1: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.364011] pci 0000:00:0d.2: [1106:3104] type 00 class 0x0c0320
[ 0.364086] pci 0000:00:0d.2: reg 10: [mem 0xefe00000-0xefe000ff]
[ 0.364232] pci 0000:00:0d.2: supports D1 D2
[ 0.364275] pci 0000:00:0d.2: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.364394] pci 0000:00:0e.0: [10ec:8139] type 00 class 0x020000
[ 0.364467] pci 0000:00:0e.0: reg 10: [io 0xef00-0xefff]
[ 0.364526] pci 0000:00:0e.0: reg 14: [mem 0xeff00000-0xeff000ff]
[ 0.364661] pci 0000:00:0e.0: supports D1 D2
[ 0.364704] pci 0000:00:0e.0: PME# supported from D1 D2 D3hot
[ 0.364954] pci 0000:00:0f.0: [100b:002b] type 00 class 0x060100
[ 0.365481] pci 0000:00:0f.0: reg 10: [io 0x0000-0x0007]
[ 0.365888] pci 0000:00:0f.0: reg 14: [io 0x6100-0x61ff]
[ 0.366295] pci 0000:00:0f.0: reg 18: [io 0x6200-0x623f]
[ 0.366702] pci 0000:00:0f.0: reg 1c: [io 0x0000-0x001f]
[ 0.367111] pci 0000:00:0f.0: reg 20: [io 0x9d00-0x9d7f]
[ 0.367518] pci 0000:00:0f.0: reg 24: [io 0x9c00-0x9c3f]
[ 0.368367] pci 0000:00:0f.2: [100b:002d] type 00 class 0x010180
[ 0.369773] pci 0000:00:0f.2: reg 20: [io 0xeeb0-0xeebf]
[ 0.370831] pci 0000:00:0f.3: [100b:002e] type 00 class 0x040100
[ 0.371257] pci 0000:00:0f.3: reg 10: [io 0xee00-0xee7f]
[ 0.373251] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.379521] pci 0000:00:0f.0: default IRQ router [100b:002b]
[ 0.380289] PCI: pci_cache_line_size set to 32 bytes
[ 0.380821] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.380858] e820: reserve RAM buffer [mem 0x02fb0000-0x03ffffff]
[ 0.390218] Switching to clocksource pit
[ 0.407157] pci 0000:00:0f.0: BAR 3: assigned [io 0x1000-0x101f]
[ 0.416119] pci 0000:00:0f.0: BAR 0: assigned [io 0x1020-0x1027]
[ 0.424625] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.424675] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 0.425002] NET: Registered protocol family 2
[ 0.429265] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.440486] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.449619] TCP: Hash tables configured (established 512 bind 512)
[ 0.458884] TCP: reno registered
[ 0.468670] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.486254] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.496172] NET: Registered protocol family 1
[ 0.499535] pci 0000:00:01.1: Boot video device
[ 0.499669] pci 0000:00:0d.0: guessed PCI INT A -> IRQ 10
[ 0.516796] pci 0000:00:0d.0: uhci_check_and_reset_hc: legsup = 0x2000
[ 0.516839] pci 0000:00:0d.0: Performing full reset
[ 0.516933] pci 0000:00:0d.1: guessed PCI INT B -> IRQ 10
[ 0.523443] pci 0000:00:0d.1: uhci_check_and_reset_hc: legsup = 0x2000
[ 0.523486] pci 0000:00:0d.1: Performing full reset
[ 0.523580] pci 0000:00:0d.2: guessed PCI INT C -> IRQ 5
[ 0.529828] pci 0000:00:0d.2: sharing IRQ 5 with 0000:00:0f.3
[ 0.547450] PCI: CLS 32 bytes, default 32
[ 0.548968] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.565200] NatSemi SCx200 Driver
[ 0.638182] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.655765] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.668296] msgmni has been set to 86
[ 0.680098] io scheduler noop registered
[ 0.691988] io scheduler deadline registered (default)
[ 0.708452] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.739067] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.760883] Non-volatile memory driver v1.3
[ 0.778385] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.788058] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[ 0.788115] ehci-pci: EHCI PCI platform driver
[ 0.801648] ehci-pci 0000:00:0d.2: guessed PCI INT C -> IRQ 5
[ 0.809192] ehci-pci 0000:00:0d.2: sharing IRQ 5 with 0000:00:0f.3
[ 0.827872] ehci-pci 0000:00:0d.2: EHCI Host Controller
[ 0.833689] ehci-pci 0000:00:0d.2: new USB bus registered, assigned bus number 1
[ 0.845998] ehci-pci 0000:00:0d.2: reset hcs_params 0x2204 dbg=0 cc=2 pcc=2 ordered !ppc ports=4
[ 0.846057] ehci-pci 0000:00:0d.2: reset hcc_params 6872 thresh 7 uframes 256/512/1024
[ 0.846232] ehci-pci 0000:00:0d.2: reset command 0080002 (park)=0 ithresh=8 period=1024 Reset HALT
[ 0.846287] ehci-pci 0000:00:0d.2: MWI active
[ 0.846325] ehci-pci 0000:00:0d.2: supports USB remote wakeup
[ 0.846386] ehci-pci 0000:00:0d.2: irq 5, io mem 0xefe00000
[ 0.853215] ehci-pci 0000:00:0d.2: init command 0010005 (park)=0 ithresh=1 period=512 RUN
[ 0.868063] ehci-pci 0000:00:0d.2: USB 2.0 started, EHCI 1.00
[ 0.885614] usb usb1: default language 0x0409
[ 0.885721] usb usb1: udev 1, busnum 1, minor = 0
[ 0.885767] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.896219] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.907955] usb usb1: Product: EHCI Host Controller
[ 0.912670] usb usb1: Manufacturer: Linux 3.8.3 ehci_hcd
[ 0.918675] usb usb1: SerialNumber: 0000:00:0d.2
[ 0.933550] usb usb1: usb_probe_device
[ 0.933602] usb usb1: configuration #1 chosen from 1 choice
[ 0.933705] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 0.934423] hub 1-0:1.0: usb_probe_interface
[ 0.934474] hub 1-0:1.0: usb_probe_interface - got id
[ 0.934510] hub 1-0:1.0: USB hub found
[ 0.945903] hub 1-0:1.0: 4 ports detected
[ 0.958063] hub 1-0:1.0: standalone hub
[ 0.958105] hub 1-0:1.0: no power switching (usb 1.0)
[ 0.958142] hub 1-0:1.0: individual port over-current protection
[ 0.958182] hub 1-0:1.0: power on to power good time: 20ms
[ 0.958255] hub 1-0:1.0: local power source is good
[ 0.958476] hub 1-0:1.0: trying to enable port power on non-switchable hub
[ 0.959346] ehci-platform: EHCI generic platform driver
[ 0.975612] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.984963] uhci_hcd 0000:00:0d.0: guessed PCI INT A -> IRQ 10
[ 0.992808] uhci_hcd 0000:00:0d.0: UHCI Host Controller
[ 0.998647] uhci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 2
[ 1.010934] uhci_hcd 0000:00:0d.0: detected 2 ports
[ 1.025651] uhci_hcd 0000:00:0d.0: uhci_check_and_reset_hc: cmd = 0x0000
[ 1.025691] uhci_hcd 0000:00:0d.0: Performing full reset
[ 1.025741] uhci_hcd 0000:00:0d.0: supports USB remote wakeup
[ 1.025803] uhci_hcd 0000:00:0d.0: irq 10, io base 0x0000eee0
[ 1.033399] usb usb2: default language 0x0409
[ 1.033508] usb usb2: udev 1, busnum 2, minor = 128
[ 1.033553] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.043997] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.055736] usb usb2: Product: UHCI Host Controller
[ 1.060468] usb usb2: Manufacturer: Linux 3.8.3 uhci_hcd
[ 1.076494] usb usb2: SerialNumber: 0000:00:0d.0
[ 1.081048] ehci-pci 0000:00:0d.2: GetStatus port:2 status 001803 0 ACK POWER sig=j CSC CONNECT
[ 1.081110] hub 1-0:1.0: port 2: status 0501 change 0001
[ 1.081214] ehci-pci 0000:00:0d.2: GetStatus port:4 status 001803 0 ACK POWER sig=j CSC CONNECT
[ 1.081268] hub 1-0:1.0: port 4: status 0501 change 0001
[ 1.081761] usb usb2: usb_probe_device
[ 1.081815] usb usb2: configuration #1 chosen from 1 choice
[ 1.081917] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[ 1.082641] hub 2-0:1.0: usb_probe_interface
[ 1.082692] hub 2-0:1.0: usb_probe_interface - got id
[ 1.082728] hub 2-0:1.0: USB hub found
[ 1.094099] hub 2-0:1.0: 2 ports detected
[ 1.106216] hub 2-0:1.0: standalone hub
[ 1.106256] hub 2-0:1.0: no power switching (usb 1.0)
[ 1.106293] hub 2-0:1.0: individual port over-current protection
[ 1.106332] hub 2-0:1.0: power on to power good time: 2ms
[ 1.106403] hub 2-0:1.0: local power source is good
[ 1.106579] hub 2-0:1.0: trying to enable port power on non-switchable hub
[ 1.107018] uhci_hcd 0000:00:0d.1: guessed PCI INT B -> IRQ 10
[ 1.114875] uhci_hcd 0000:00:0d.1: UHCI Host Controller
[ 1.120696] uhci_hcd 0000:00:0d.1: new USB bus registered, assigned bus number 3
[ 1.132991] uhci_hcd 0000:00:0d.1: detected 2 ports
[ 1.147714] uhci_hcd 0000:00:0d.1: uhci_check_and_reset_hc: cmd = 0x0000
[ 1.147754] uhci_hcd 0000:00:0d.1: Performing full reset
[ 1.147804] uhci_hcd 0000:00:0d.1: supports USB remote wakeup
[ 1.147861] uhci_hcd 0000:00:0d.1: irq 10, io base 0x0000eec0
[ 1.155462] usb usb3: default language 0x0409
[ 1.155570] usb usb3: udev 1, busnum 3, minor = 256
[ 1.155615] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.166064] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.177799] usb usb3: Product: UHCI Host Controller
[ 1.182532] usb usb3: Manufacturer: Linux 3.8.3 uhci_hcd
[ 1.188550] usb usb3: SerialNumber: 0000:00:0d.1
[ 1.203117] uhci_hcd 0000:00:0d.0: port 1 portsc 018a,00
[ 1.203206] uhci_hcd 0000:00:0d.0: port 2 portsc 009a,00
[ 1.203321] hub 1-0:1.0: state 7 ports 4 chg 0014 evt 0000
[ 1.203408] hub 1-0:1.0: port 2, status 0501, change 0000, 480 Mb/s
[ 1.203931] usb usb3: usb_probe_device
[ 1.203985] usb usb3: configuration #1 chosen from 1 choice
[ 1.204087] usb usb3: adding 3-0:1.0 (config #1, interface 0)
[ 1.204812] hub 3-0:1.0: usb_probe_interface
[ 1.204863] hub 3-0:1.0: usb_probe_interface - got id
[ 1.204899] hub 3-0:1.0: USB hub found
[ 1.216299] hub 3-0:1.0: 2 ports detected
[ 1.218404] hub 3-0:1.0: standalone hub
[ 1.218445] hub 3-0:1.0: no power switching (usb 1.0)
[ 1.218482] hub 3-0:1.0: individual port over-current protection
[ 1.218521] hub 3-0:1.0: power on to power good time: 2ms
[ 1.218592] hub 3-0:1.0: local power source is good
[ 1.218741] hub 3-0:1.0: trying to enable port power on non-switchable hub
[ 1.219713] Initializing USB Mass Storage driver...
[ 1.235223] usbcore: registered new interface driver usb-storage
[ 1.243316] USB Mass Storage support registered.
[ 1.258423] ehci-pci 0000:00:0d.2: port 2 reset complete, port enabled
[ 1.258508] ehci-pci 0000:00:0d.2: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.258682] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 1.277878] rtc0: alarms up to one day, 114 bytes nvram
[ 1.284873] TCP: cubic registered
[ 1.294934] NET: Registered protocol family 17
[ 1.298493] 8021q: 802.1Q VLAN Support v1.8
[ 1.314688] rtc_cmos rtc_cmos: setting system clock to 2005-07-01 20:28:54 UTC (1120249734)
[ 1.320890] Waiting for root device /dev/sda2...
[ 1.334926] usb 1-2: new high-speed USB device number 2 using ehci-pci
[ 1.344739] uhci_hcd 0000:00:0d.1: port 1 portsc 018a,00
[ 1.344946] uhci_hcd 0000:00:0d.1: port 2 portsc 009a,00
[ 1.398292] ehci-pci 0000:00:0d.2: port 2 reset complete, port enabled
[ 1.398380] ehci-pci 0000:00:0d.2: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.488969] usb 1-2: default language 0x0409
[ 1.494838] usb 1-2: udev 2, busnum 1, minor = 1
[ 1.494892] usb 1-2: New USB device found, idVendor=13fe, idProduct=3e23
[ 1.505128] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.516678] usb 1-2: Product: USB DISK Pro
[ 1.519040] usb 1-2: Manufacturer:
[ 1.531678] usb 1-2: SerialNumber: 07BB1B0B22049995
[ 1.547432] usb 1-2: usb_probe_device
[ 1.547487] usb 1-2: configuration #1 chosen from 1 choice
[ 1.547750] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[ 1.549050] usb-storage 1-2:1.0: usb_probe_interface
[ 1.549192] usb-storage 1-2:1.0: usb_probe_interface - got id
[ 1.549812] scsi0 : usb-storage 1-2:1.0
[ 1.561834] Switching to clocksource tsc
[ 1.575799] hub 1-0:1.0: port 4, status 0501, change 0000, 480 Mb/s
[ 1.628287] ehci-pci 0000:00:0d.2: port 4 reset complete, port enabled
[ 1.628374] ehci-pci 0000:00:0d.2: GetStatus port:4 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.688089] usb 1-4: new high-speed USB device number 3 using ehci-pci
[ 1.768424] ehci-pci 0000:00:0d.2: port 4 reset complete, port enabled
[ 1.768510] ehci-pci 0000:00:0d.2: GetStatus port:4 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.859728] usb 1-4: default language 0x0409
[ 1.861237] usb 1-4: udev 3, busnum 1, minor = 2
[ 1.861327] usb 1-4: New USB device found, idVendor=0bda, idProduct=8171
[ 1.881572] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.903097] usb 1-4: Product: RTL8188S WLAN Adapter
[ 1.918100] usb 1-4: Manufacturer: Manufacturer Realtek
[ 1.934123] usb 1-4: SerialNumber: 00e04c000001
[ 1.949237] usb 1-4: usb_probe_device
[ 1.949318] usb 1-4: configuration #1 chosen from 1 choice
[ 1.949877] usb 1-4: adding 1-4:1.0 (config #1, interface 0)
[ 1.951876] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 1.951964] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2.308163] usb usb2: suspend_rh (auto-stop)
[ 2.558192] usb usb3: suspend_rh (auto-stop)
[ 2.590779] scsi 0:0:0:0: Direct-Access USB DISK Pro PMAP PQ: 0 ANSI: 4
[ 2.620677] sd 0:0:0:0: [sda] 7806976 512-byte logical blocks: (3.99 GB/3.72 GiB)
[ 2.648101] sd 0:0:0:0: [sda] Write Protect is off
[ 2.662667] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 2.663582] sd 0:0:0:0: [sda] No Caching mode page present
[ 2.680173] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 2.704953] sd 0:0:0:0: [sda] No Caching mode page present
[ 2.721539] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 2.742704] sda: sda1 sda2
[ 2.758313] sd 0:0:0:0: [sda] No Caching mode page present
[ 2.774909] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 2.793307] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 2.828984] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 2.850330] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[ 2.870564] Freeing unused kernel memory: 180k freed
[ 7.090855] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[ 7.120803] EXT4-fs (sda2): re-mounted. Opts: (null)
[ 7.230676] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[ 8.235205] Compat-drivers backport release: compat-drivers-2013-01-21-1
[ 8.255403] Backport based on wireless-testing.git master-2013-02-22
[ 8.274550] compat.git: wireless-testing.git
[ 8.337766] cfg80211: Calling CRDA to update world regulatory domain
[ 8.357089] cfg80211: World regulatory domain updated:
[ 8.372586] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.397205] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.420513] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.443835] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.467122] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.490388] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.789100] ehci-pci 0000:00:0d.2: Waited too long for the async schedule status (0/8000), giving up
[ 9.078466] r92su 1-4:1.0: usb_probe_interface
[ 9.078528] r92su 1-4:1.0: usb_probe_interface - got id
[ 9.310735] r92su 1-4:1.0: Realtek RTL81XX rev C_CUT, rf:1T1R is registered as 'phy0'.
[ 9.334865] usbcore: registered new interface driver r92su
[ 9.408651] usbcore: registered new interface driver rt73usb
[ 9.456749] usbcore: registered new interface driver rtl8187
[ 9.558804] pata_cs5535 0000:00:0f.2: setting latency timer to 64
[ 9.567184] scsi1 : pata_cs5535
[ 9.588167] scsi2 : pata_cs5535
[ 9.598419] ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xeeb0 irq 14
[ 9.619207] ata2: DUMMY
[ 9.891621] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.162617] nf_conntrack version 0.5.0 (696 buckets, 2784 max)
[ 10.503890] cs5535-mfd 0000:00:0f.0: 5 devices registered.
[ 10.549330] cs5535-mfgpt cs5535-mfgpt: reserved resource region [io 0x6200-0x623f]
[ 10.572457] cs5535-mfgpt cs5535-mfgpt: 6 MFGPT timers available
[ 10.873555] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 10.889870] 8139too 0000:00:0e.0: guessed PCI INT A -> IRQ 11
[ 10.909232] 8139too 0000:00:0e.0 eth0: RealTek RTL8139 at 0x0001ef00, 00:80:64:xx:xx:xx, IRQ 11
[ 10.958778] cs5535-mfgpt cs5535-mfgpt: registered timer 0
[ 10.975167] cs5535-clockevt: Registering MFGPT timer as a clock event, using IRQ 7
[ 11.021621] cs5535-gpio cs5535-gpio: reserved resource region [io 0x6100-0x61ff]
[ 11.069052] cs5535-mfgpt cs5535-mfgpt: registered timer 1
[ 11.180222] i2c /dev entries driver
[ 11.452026] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered
[ 19.646300] ieee80211 phy0: firmware version: 0x11ec
[ 20.301703] ieee80211 phy0: c2h event:13 len:66
[ 20.306110] ieee80211 phy0: fwdbg: RTL8712 FW version 0.0.1# 一 5 31 15:25:39 CST 2010 SVN: 242
[ 20.306110] ieee80211 phy0: c2h event:13 len:22
[ 20.306110] ieee80211 phy0: fwdbg: Chip Version:00000002
[ 20.372806] ieee80211 phy0: c2h event:13 len:30
[ 20.382727] ieee80211 phy0: fwdbg: HCI type: 00000012(00000004)
[ 20.404403] ieee80211 phy0: c2h event:13 len:50
[ 20.414327] ieee80211 phy0: fwdbg: rf_cofig: 00000011(000000ff, 00000000, 00000000)
[ 20.441211] ieee80211 phy0: c2h event:13 len:44
[ 20.451135] ieee80211 phy0: fwdbg: mp_mode: 00000000(00000000), IQK: 400300fd
[ 20.476462] ieee80211 phy0: c2h event:13 len:30
[ 20.486386] ieee80211 phy0: fwdbg: vcs type: 00000002(00000001)
[ 20.508052] ieee80211 phy0: c2h event:13 len:36
[ 20.517977] ieee80211 phy0: fwdbg: 32k calibra: 767, 32K TSF: 0000002a
[ 20.541476] ieee80211 phy0: c2h event:13 len:49
[ 20.551398] ieee80211 phy0: fwdbg: target thermal: 0000000e, bt_coexist: 00000000
[ 20.590605] ieee80211 phy0: c2h event:13 len:44
[ 20.597676] ieee80211 phy0: fwdbg: ->(00000001, 00000001, 00000001, 00000000)
[ 20.645879] ieee80211 phy0: c2h event:13 len:22
[ 20.655273] ieee80211 phy0: fwdbg: set opmode: 00000000
[ 20.675481] ieee80211 phy0: c2h event:13 len:16
[ 20.685393] ieee80211 phy0: fwdbg: Update MacAddr
[ 22.003028] ieee80211 phy0: c2h event:13 len:16
[ 22.012391] ieee80211 phy0: fwdbg: get survey cmd
[ 22.031045] ieee80211 phy0: c2h event:8 len:357
[ 22.071275] ieee80211 phy0: c2h event:8 len:311
[ 22.266422] ieee80211 phy0: c2h event:8 len:174
[ 23.645942] ieee80211 phy0: c2h event:9 len:4
[ 23.659329] ieee80211 phy0: c2h event:13 len:33
[ 23.669247] ieee80211 phy0: fwdbg: survey done(00000003, 00000000)
[ 23.696074] ieee80211 phy0: c2h event:13 len:19
[ 23.701623] ieee80211 phy0: fwdbg: setAuth: 00000002
[ 23.701623] ieee80211 phy0: c2h event:13 len:14
[ 23.701623] ieee80211 phy0: fwdbg: get join cmd
[ 23.996596] ieee80211 phy0: c2h event:13 len:47
[ 24.006286] ieee80211 phy0: fwdbg: cur channel: 00000003, bcn interval: 00000064
[ 30.144382] ieee80211 phy0: c2h event:13 len:29
[ 30.146729] ieee80211 phy0: fwdbg: disconnect timer: no beacon
[ 30.175873] ieee80211 phy0: c2h event:a len:215
[ 30.189778] ieee80211 phy0: c2h event:13 len:30
[ 30.199697] ieee80211 phy0: fwdbg: join res(fffffffd, 000000d7)
[ 40.349977] ieee80211 phy0: c2h event:13 len:16
[ 40.359502] ieee80211 phy0: fwdbg: get survey cmd
[ 40.378038] ieee80211 phy0: c2h event:13 len:15
[ 40.387952] ieee80211 phy0: fwdbg: SSID: WLAN_69
[ 40.405744] ieee80211 phy0: c2h event:8 len:317
[ 41.992780] ieee80211 phy0: c2h event:9 len:4
[ 42.006151] ieee80211 phy0: c2h event:13 len:33
[ 42.016073] ieee80211 phy0: fwdbg: survey done(00000001, 00000000)
[ 42.043436] ieee80211 phy0: c2h event:13 len:19
[ 42.048477] ieee80211 phy0: fwdbg: setAuth: 00000002
[ 42.072251] ieee80211 phy0: c2h event:13 len:14
[ 42.082162] ieee80211 phy0: fwdbg: get join cmd
[ 42.343994] ieee80211 phy0: c2h event:13 len:47
[ 42.353904] ieee80211 phy0: fwdbg: cur channel: 00000003, bcn interval: 00000064
[ 42.406077] ieee80211 phy0: c2h event:13 len:21
[ 42.409577] ieee80211 phy0: fwdbg: link to Broadcom AP
[ 42.435582] ieee80211 phy0: c2h event:13 len:12
[ 42.445300] ieee80211 phy0: fwdbg: issue auth
[ 42.462532] ieee80211 phy0: c2h event:13 len:26
[ 42.472452] ieee80211 phy0: fwdbg: issue assocreq(00000047)
[ 42.493082] ieee80211 phy0: c2h event:13 len:35
[ 42.503003] ieee80211 phy0: fwdbg: WMM(00000000): 00000000, 0000a425
[ 42.525985] ieee80211 phy0: c2h event:13 len:35
[ 42.535906] ieee80211 phy0: fwdbg: WMM(00000001): 00000000, 0000a449
[ 42.558888] ieee80211 phy0: c2h event:13 len:35
[ 42.568808] ieee80211 phy0: fwdbg: WMM(00000002): 00000000, 005e431c
[ 42.591788] ieee80211 phy0: c2h event:13 len:35
[ 42.601710] ieee80211 phy0: fwdbg: WMM(00000003): 00000000, 002f321c
[ 42.601710] ieee80211 phy0: c2h event:13 len:41
[ 42.601710] ieee80211 phy0: fwdbg: mac id #5: 0000005b, 100fffff, 00000007
[ 42.659059] ieee80211 phy0: c2h event:a len:215
[ 42.672947] ieee80211 phy0: c2h event:13 len:30
[ 42.682866] ieee80211 phy0: fwdbg: join res(00000001, 000000d7)
[ 42.704536] ieee80211 phy0: c2h event:19 len:10
[ 42.718391] ieee80211 phy0: c2h event:13 len:45
[ 42.728312] ieee80211 phy0: fwdbg: issue action: 00000003, 00000001, 00000000
[ 43.452060] ieee80211 phy0: c2h event:13 len:16
[ 43.457089] ieee80211 phy0: fwdbg: rcv set_stakey
[ 46.785666] ieee80211 phy0: c2h event:13 len:45
[ 46.791002] ieee80211 phy0: fwdbg: issue action: 00000003, 00000000, 00000006
[ 46.821275] ieee80211 phy0: c2h event:13 len:21
[ 46.831185] ieee80211 phy0: fwdbg: ADDBA RSP: 00000040
[ 46.852834] ieee80211 phy0: c2h event:13 len:45
[ 46.860534] ieee80211 phy0: fwdbg: issue action: 00000003, 00000000, 00000000
[ 46.888425] ieee80211 phy0: c2h event:13 len:21
[ 46.898328] ieee80211 phy0: fwdbg: ADDBA RSP: 00000041
[ 81.476234] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[ 751.133570] ieee80211 phy0: c2h event:13 len:17
[ 751.140619] ieee80211 phy0: fwdbg: reset(00000001)
[ 753.181595] ieee80211 phy0: c2h event:13 len:17
[ 753.183662] ieee80211 phy0: fwdbg: reset(00000002)
[ 755.229621] ieee80211 phy0: c2h event:13 len:17
[ 755.231588] ieee80211 phy0: fwdbg: reset(00000003)
root@OpenWrt:~# lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
|__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r92su, 480M
root@OpenWrt:~# iw wlan0 info
Interface wlan0
ifindex 2
wdev 0x1
addr 00:11:6b:xx:xx:xx
type managed
wiphy 0
root@OpenWrt:~# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"WLAN_69"
Mode:Managed Frequency:2.422 GHz Access Point: 64:68:0C:xx:xx:xx
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Maybe too debug
This information and the patch are thanks to, in addition of the developers, danitool and Noltari.
(Last edited by Pteridium on 7 Apr 2013, 17:40)