I got my RPi a couple of days ago and have been itching to get started. After checking the working perpherals list I purchased a TP-Link TL-WN722N.
I've followed instructions and guides from various sources (http://elinux.org/RPi_Peripherals#Wirel ... ebian_6.29) including reading around the forum and still can't seem to make the adapter work
I've tried plugging the adapter into a powered USB hub (Xenta 13 USB ) as well as directly into the Pi
Please see files below, any help diagnosing the issue would be really useful.
lsusb & dmesg
Code: Select all
pi@raspberrypi ~ $ sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 006: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 008: ID 045e:00dd Microsoft Corp. Comfort Curve Keyboard 2000 V1.0
Bus 001 Device 009: ID 1c4f:0003 SiGma Micro HID controller
pi@raspberrypi ~ $ dmesg
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.9+ (dc4@dc4-arm-01) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2) ) #272 PREEMPT Tue Aug 7 22:51:44 BST 2012
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 49152
[ 0.000000] free_area_init_node: node 0, pgdat c05efc50, node_mem_map c06c0000
[ 0.000000] Normal zone: 384 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 48768 pages, LIFO batch:15
[ 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: 48768
[ 0.000000] Kernel command line: dma.dmachans=0x3c bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2708.boardrev=0x2 bcm2708.serial=0xee7ba835 smsc95xx.macaddr=B8:27:EB:7B:A8:35 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 192MB = 192MB total
[ 0.000000] Memory: 187912k/187912k available, 8696k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xcc800000 - 0xd8000000 ( 184 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcc000000 ( 192 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc058cd80 (5652 kB)
[ 0.000000] .init : 0xc058d000 - 0xc05bf000 ( 200 kB)
[ 0.000000] .data : 0xc05c0000 - 0xc05f13d8 ( 197 kB)
[ 0.000000] .bss : 0xc05f13fc - 0xc06bf60c ( 825 kB)
[ 0.000000] NR_IRQS:245
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] timer_set_mode: unhandled mode:1
[ 0.000000] timer_set_mode: unhandled mode:3
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001268] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060195] pid_max: default: 32768 minimum: 301
[ 0.060803] Mount-cache hash table entries: 512
[ 0.061437] Initializing cgroup subsys cpuacct
[ 0.061553] Initializing cgroup subsys devices
[ 0.061603] Initializing cgroup subsys freezer
[ 0.061644] Initializing cgroup subsys blkio
[ 0.061757] CPU: Testing write buffer coherency: ok
[ 0.061889] ftrace: allocating 14914 entries in 44 pages
[ 0.133691] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.135704] devtmpfs: initialized
[ 0.142808] NET: Registered protocol family 16
[ 0.144706] vc-mem: mm_vc_mem_phys_addr = 0x00000000
[ 0.144769] vc-mem: mm_vc_mem_size = 0x10000000 (256 MiB)
[ 0.145276] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.145347] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.145394] mailbox: Broadcom VideoCore Mailbox driver
[ 0.145507] bcm2708_vcio: mailbox at f200b880
[ 0.145614] bcm_power: Broadcom power driver
[ 0.145660] bcm_power_open() -> 0
[ 0.145689] bcm_power_request(0, 8)
[ 0.646384] bcm_mailbox_read -> 00000080, 0
[ 0.646429] bcm_power_request -> 0
[ 0.646460] Serial: AMBA PL011 UART driver
[ 0.646652] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.962590] console [ttyAMA0] enabled
[ 0.986270] bio: create slab <bio-0> at 0
[ 0.991699] SCSI subsystem initialized
[ 0.995874] usbcore: registered new interface driver usbfs
[ 1.001529] usbcore: registered new interface driver hub
[ 1.007233] usbcore: registered new device driver usb
[ 1.013251] Switching to clocksource stc
[ 1.027358] Switched to NOHz mode on CPU #0
[ 1.036177] FS-Cache: Loaded
[ 1.039566] CacheFiles: Loaded
[ 1.060534] NET: Registered protocol family 2
[ 1.065470] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 1.073959] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.081477] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.088180] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.094562] TCP reno registered
[ 1.097767] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.103656] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.110540] NET: Registered protocol family 1
[ 1.115912] RPC: Registered named UNIX socket transport module.
[ 1.122095] RPC: Registered udp transport module.
[ 1.126828] RPC: Registered tcp transport module.
[ 1.131589] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.138392] bcm2708_dma: DMA manager at cc808000
[ 1.143153] bcm2708_gpio: bcm2708_gpio_probe c05c8220
[ 1.148807] vc-mem: Videocore memory driver
[ 1.153899] audit: initializing netlink socket (disabled)
[ 1.159466] type=2000 audit(0.780:1): initialized
[ 1.271257] VFS: Disk quotas dquot_6.5.2
[ 1.275460] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.283419] FS-Cache: Netfs 'nfs' registered for caching
[ 1.290102] msgmni has been set to 367
[ 1.296491] io scheduler noop registered
[ 1.300660] io scheduler deadline registered (default)
[ 1.306028] io scheduler cfq registered
[ 1.310271] BCM2708FB: registering framebuffer (1184x624@16)
[ 1.316615] bcm2708_fb_set_par info(cb8ed400) 1184x624 (1184x624), 0, 16
[ 1.333021] BCM2708FB: start = cca00000,4d385000 width=1184, height=624, bpp=16, pitch=2368 size=1477632 success=0
[ 1.343557] Console: switching to colour frame buffer device 148x39
[ 1.376844] BCM2708FB: register framebuffer (0)
[ 1.382323] kgdb: Registered I/O driver kgdboc.
[ 1.402400] brd: module loaded
[ 1.415668] loop: module loaded
[ 1.423820] vcos: [1]: vchiq_init_state: slot_zero = 0xffd80000, is_master = 0
[ 1.435764] vcos: [1]: vchiq_init_state: called
[ 1.445468] vcos: [1]: vchiq: initialised - version 2 (min 2), device 253.0
[ 1.457517] usbcore: registered new interface driver smsc95xx
[ 1.467293] cdc_ncm: 04-Aug-2011
[ 1.474652] usbcore: registered new interface driver cdc_ncm
[ 1.484336] dwc_otg: version 2.90b 6-MAY-2010 (platform bus)
[ 1.494412] Core Release: 2.80a
[ 1.501582] Setting default values for core params
[ 1.510480] Finished setting default values for core params
[ 1.520337] cc840008 -> 1
[ 1.726933] Using Buffer DMA mode
[ 1.734249] Periodic Transfer Interrupt Enhancement - disabled
[ 1.744123] Multiprocessor Interrupt Enhancement - disabled
[ 1.753839] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.762905] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.774325] dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
[ 1.783960] Init: Port Power? op_state=1
[ 1.791918] Init: Power Port (0)
[ 1.799319] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.810156] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.821450] usb usb1: Product: DWC OTG Controller
[ 1.830217] usb usb1: Manufacturer: Linux 3.1.9+ dwc_otg_hcd
[ 1.839894] usb usb1: SerialNumber: bcm2708_usb
[ 1.849578] hub 1-0:1.0: USB hub found
[ 1.857308] hub 1-0:1.0: 1 port detected
[ 1.866050] Module dwc_common_port init
[ 1.866453] usbcore: registered new interface driver uas
[ 1.875825] Initializing USB Mass Storage driver...
[ 1.884906] usbcore: registered new interface driver usb-storage
[ 1.894788] USB Mass Storage support registered.
[ 1.903546] usbcore: registered new interface driver libusual
[ 1.913842] mousedev: PS/2 mouse device common for all mice
[ 1.923319] cpuidle: using governor ladder
[ 1.931368] cpuidle: using governor menu
[ 1.939171] sdhci: Secure Digital Host Controller Interface driver
[ 1.949248] sdhci: Copyright(c) Pierre Ossman
[ 1.957747] bcm_power_open() -> 1
[ 1.965071] Registered led device: mmc0::
[ 1.965586] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 1.977435] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 1.987199] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.998208] Registered led device: led0
[ 1.998691] usbcore: registered new interface driver usbhid
[ 2.008102] usbhid: USB HID core driver
[ 2.017584] TCP cubic registered
[ 2.026687] Initializing XFRM netlink socket
[ 2.038040] NET: Registered protocol family 17
[ 2.048639] Registering the dns_resolver key type
[ 2.057295] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.097580] Waiting for root device /dev/mmcblk0p2...
[ 2.120655] mmc0: new high speed SDHC card at address b368
[ 2.147493] mmcblk0: mmc0:b368 SDC 30.2 GiB
[ 2.157650] mmcblk0: p1 p2
[ 2.225682] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.238142] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.249649] Freeing init memory: 200K
[ 2.297510] usb 1-1: new high speed USB device number 2 using dwc_otg
[ 2.528117] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.540107] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.556064] hub 1-1:1.0: USB hub found
[ 2.565507] hub 1-1:1.0: 3 ports detected
[ 2.847739] usb 1-1.1: new high speed USB device number 3 using dwc_otg
[ 2.958107] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.987559] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.005797] smsc95xx v1.0.4
[ 3.073196] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:7b:a8:35
[ 3.197739] usb 1-1.2: new high speed USB device number 4 using dwc_otg
[ 3.328353] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0201
[ 3.357550] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.377585] usb 1-1.2: Product: USB 2.0 Hub [MTT]
[ 3.396678] hub 1-1.2:1.0: USB hub found
[ 3.417733] hub 1-1.2:1.0: 7 ports detected
[ 3.517734] usb 1-1.3: new high speed USB device number 5 using dwc_otg
[ 3.658728] usb 1-1.3: New USB device found, idVendor=0cf3, idProduct=9271
[ 3.682182] usb 1-1.3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 3.694989] usb 1-1.3: Product: USB2.0 WLAN
[ 3.707589] usb 1-1.3: Manufacturer: ATHEROS
[ 3.716145] usb 1-1.3: SerialNumber: 12345
[ 3.827733] usb 1-1.2.5: new high speed USB device number 6 using dwc_otg
[ 3.948348] usb 1-1.2.5: New USB device found, idVendor=1a40, idProduct=0201
[ 3.974343] usb 1-1.2.5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.990053] usb 1-1.2.5: Product: USB 2.0 Hub [MTT]
[ 4.010650] hub 1-1.2.5:1.0: USB hub found
[ 4.030896] hub 1-1.2.5:1.0: 7 ports detected
[ 4.317735] usb 1-1.2.5.5: new low speed USB device number 7 using dwc_otg
[ 4.452796] usb 1-1.2.5.5: New USB device found, idVendor=1c4f, idProduct=0003
[ 4.480324] usb 1-1.2.5.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.512690] usb 1-1.2.5.5: Product: Usb Mouse
[ 4.533309] usb 1-1.2.5.5: Manufacturer: SIGMACHIP
[ 4.580335] input: SIGMACHIP Usb Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.5/1-1.2.5.5:1.0/input/input0
[ 4.635398] generic-usb 0003:1C4F:0003.0001: input: USB HID v1.10 Mouse [SIGMACHIP Usb Mouse] on usb-bcm2708_usb-1.2.5.5/input0
[ 4.777768] usb 1-1.2.5.7: new low speed USB device number 8 using dwc_otg
[ 4.928420] usb 1-1.2.5.7: New USB device found, idVendor=045e, idProduct=00dd
[ 4.965306] usb 1-1.2.5.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.007536] usb 1-1.2.5.7: Product: Comfort Curve Keyboard 2000
[ 5.039956] usb 1-1.2.5.7: Manufacturer: Microsoft
[ 5.091187] input: Microsoft Comfort Curve Keyboard 2000 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.7/1-1.2.5.7:1.0/input/input1
[ 5.178185] generic-usb 0003:045E:00DD.0002: input: USB HID v1.11 Keyboard [Microsoft Comfort Curve Keyboard 2000] on usb-bcm2708_usb-1.2.5.7/input0
[ 5.278584] input: Microsoft Comfort Curve Keyboard 2000 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.7/1-1.2.5.7:1.1/input/input2
[ 5.348089] generic-usb 0003:045E:00DD.0003: input: USB HID v1.11 Device [Microsoft Comfort Curve Keyboard 2000] on usb-bcm2708_usb-1.2.5.7/input1
[ 7.311585] usb 1-1.2.5.5: USB disconnect, device number 7
[ 7.952339] cfg80211: Calling CRDA to update world regulatory domain
[ 8.567751] usb 1-1.2.5.5: new low speed USB device number 9 using dwc_otg
[ 8.693147] usb 1-1.3: ath9k_htc: Firmware - htc_9271.fw not found
[ 8.711315] usb 1-1.2.5.5: New USB device found, idVendor=1c4f, idProduct=0003
[ 8.737551] usb 1-1.2.5.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8.765610] usb 1-1.2.5.5: Product: Usb Mouse
[ 8.776599] ath9k_htc: probe of 1-1.3:1.0 failed with error -22
[ 8.788997] usb 1-1.2.5.5: Manufacturer: SIGMACHIP
[ 8.810716] usbcore: registered new interface driver ath9k_htc
[ 8.829231] input: SIGMACHIP Usb Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5.5/1-1.2.5.5:1.0/input/input3
[ 8.878040] generic-usb 0003:1C4F:0003.0004: input: USB HID v1.10 Mouse [SIGMACHIP Usb Mouse] on usb-bcm2708_usb-1.2.5.5/input0
[ 13.649557] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 14.013446] ### snd_bcm2835_alsa_probe c05c88e0 ############### PROBING FOR bcm2835 ALSA device (0):(1) ###############
[ 14.037088] Creating card...
[ 14.046367] Creating device/chip ..
[ 14.056732] Adding controls ..
[ 14.066026] Registering card ....
[ 14.085049] bcm2835 ALSA CARD CREATED!
[ 14.103285] ### BCM2835 ALSA driver init OK ###
[ 25.679284] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SS
[ 46.867509] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 51.867440] smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114
[ 60.217442] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 60.217477] smsc95xx 1-1.1:1.0: eth0: MII is busy in smsc95xx_mdio_read
[ 65.217445] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 65.217481] smsc95xx 1-1.1:1.0: eth0: MII is busy in smsc95xx_mdio_read
[ 71.217447] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 76.727597] usb 1-1.2.5.7: reset low speed USB device number 8 using dwc_otg
[ 80.327637] usb 1-1.2.5.7: reset low speed USB device number 8 using dwc_otg
[ 89.187441] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 94.187449] smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114
[ 99.187441] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 104.187458] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000118
[ 109.187445] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 114.187445] smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf
Code: Select all
network={
ssid="testnetwork1"
key_mgmt=WPA-PSK
psk="1234567890"
}
Code: Select all
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb ftp://ftp.us.debian.org/debian/ squeeze main non-free
deb http://security.debian.org/ squeeze/updates main non-free
deb ftp://ftp.us.debian.org/debian/ squeeze-updates main non-free
deb http://backports.debian.org/debian-backports squeeze-backports main non-free