Page 1 of 2

Setup TL-WN722N

Posted: Wed Aug 08, 2012 4:20 pm
by bastian94
Hi iam using Rasbian wheezy and i have followed the tutorial here http://elinux.org/RPi_Peripherals and idont get it to work.
I am using a powerd usb hub to power the wifi card

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 5:05 pm
by M.M
Hi bastian94,

could you tell us, how far through the tutorial you have gotten? For example, could you confirm the device is present?

Regards

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 5:42 pm
by bastian94
i have complet the tutorial and when i restart my pi i get a error code 22. the device is pressent

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 6:08 pm
by M.M
Hi bastian94,

there is a passage in the tutorial you linked about error -22 saying it's about firmware issues:
If no wlanx device is shown, you might need to download firmware for your USB wifi device (or track down other compatible drivers if they are available). To confirm this, check the dmesg output when you plug in your adapter - typing dmesg at the command prompt may be sufficient - and look for information related to your adapter - the example dmesg output below shows what is seen in the event of the TP-Link firmware not being present - notice that the name of the required firmware file is given (htc_9271.fw), the driver name (ath9k_htc) and an error -22 message
Did you acquire the firmware?

Regards

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 6:29 pm
by bastian94
i completet the tutorial and it's says that the device is not connetible and the i get the error code 22

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 6:52 pm
by with ice cream
I followed many descriptions (using the latest raspian image (from mid-July)) to set up my TL-WN821n and most of them were unnecessary. For instance, there might be no need to use WPA supplicant. The only addition I needed was this:

sudo apt-get install crda
sudo nano /etc/default/crda (change the line REGDOMAIN= to include your country code)

Re: Setup TL-WN722N

Posted: Wed Aug 08, 2012 7:33 pm
by bastian94
thanks i will try it

Re: Setup TL-WN722N

Posted: Thu Aug 09, 2012 1:40 pm
by bastian94
when i am trying to boot with the wifi stick in i get this error code "eth0 kevent 4 may have been dropped" and it wont start and when i unplugge the usb stick the pi will start.
When I run dmesg i get this:
176.288724] usb 1-1.2.5: Product: USB2.0 WLAN
[ 176.288738] usb 1-1.2.5: Manufacturer: ATHEROS
[ 176.288762] usb 1-1.2.5: SerialNumber: 12345
[ 176.389242] cfg80211: Calling CRDA to update world regulatory domain
[ 176.552505] cfg80211: World regulatory domain updated:
[ 176.552556] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 176.552584] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 176.552604] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 176.552625] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 176.552652] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 176.552672] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 176.935576] usb 1-1.2.5: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 177.926928] ath9k_htc 1-1.2.5:1.0: ath9k_htc: Target is unresponsive
[ 177.926971] Failed to initialize the device
[ 177.927984] ath9k_htc: probe of 1-1.2.5:1.0 failed with error -22
[ 177.931548] usbcore: registered new interface driver ath9k_htc

Re: Setup TL-WN722N

Posted: Thu Aug 09, 2012 1:49 pm
by bastian94
and I have tryed the device on a another pc and it's working there

Re: Setup TL-WN722N

Posted: Fri Aug 10, 2012 7:46 pm
by bastian94
any ideas??

Re: Setup TL-WN722N

Posted: Sun Aug 12, 2012 12:58 pm
by waltermixxx
that device uses the same chipset as the netgear N150.
i am using it right out of the box with the following /etc/network/interfaces files:


auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf



and with the following wpa.conf file located in /etc/ folder:

network={
ssid="wirelessnetwork"
key_mgmt=WPA-PSK
psk="0123456789"
}

that is all i had to do to get wireless working, latest raspian has the firmware already. :)
hope this helps...


i used sudo nano /etc/network/interfaces to edit that file, cntrl o, to save and cntrl x to exit.


i used sudo nano /etc/wpa.conf to create the file.... used the same cntrl commands above to save the file and exit...

then did a reboot.... :)

side note, the device is plugged right into the raspberry pi, not an external powered hub. wireless keyboard and mouse (genesis slimstar 8000 usb dongle) also plugged directly into usb port on raspi. works great. :)

Re: Setup TL-WN722N

Posted: Sun Aug 12, 2012 6:10 pm
by bastian94
Thanks i will try this hop that is working this time

Re: Setup TL-WN722N

Posted: Sun Aug 12, 2012 6:53 pm
by bastian94
i have tryed this now and it's not working

Re: Setup TL-WN722N

Posted: Fri Aug 17, 2012 2:03 pm
by bastian94
any one that have another idea

Re: Setup TL-WN722N

Posted: Fri Aug 17, 2012 7:02 pm
by M.M
Hi bastian,

Do you have the newest Raspbian installed? According to waltermixxx above your chipset works there. Would upgrading or trying it with a second SD card?

Nevertheless, let us start over with the problem at hand. Could you please execute "lsusb" in a terminal while the device is plugged in and post the relevant parts here? I'm still wondering about the error 22 and chipset/firmware issues.

Regards

Re: Setup TL-WN722N

Posted: Sat Aug 18, 2012 1:06 pm
by pjc123
Keep in mind that a lot of people are having problems with hubs on the pi, especially powered ones, especially with wifi devices plugged into them, so don't rule that out as a problem. As you probably are already aware, the TL-WN722N is a very power hungry device. Because of all these hub problems and the fact that I am running headless anyway, I was able to get it running by powering it from both usb ports using a splitter cable to get enough power, as another poster suggested. Of course, not everyone has the luxury of not needing any more usb ports. I used vnc from another computer to get into the pi through the wired ethernet cable to set up the network files in order to get the TL-WN722N up and running. One of the errors I received was also "Failed to initialize" when using just one USB cable, but I don't recall seeing Error 22, although there were a ton of errors. Mine installed on Wheezy without much extra fuss.

Re: Setup TL-WN722N

Posted: Sun Aug 19, 2012 1:12 pm
by bastian94
Here is the lsusb command and a fresh dmesg command.
Sorry it's so long but idont know if any part is affecting somethiong different so i will post the complet logg

[email protected] ~ $ 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 040b:2000 Weltrend Semiconductor
Bus 001 Device 005: ID 2101:8500 ActionStar
Bus 001 Device 006: ID 2101:8501 ActionStar
Bus 001 Device 009: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 008: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 001 Device 010: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
[email protected] ~ $ dmesg
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.9+ ([email protected]) (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=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0xb0c639e3 smsc95xx.macaddr=B8:27:EB:C6:39:E3 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop 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.001258] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060193] pid_max: default: 32768 minimum: 301
[ 0.060803] Mount-cache hash table entries: 512
[ 0.061429] Initializing cgroup subsys cpuacct
[ 0.061545] Initializing cgroup subsys devices
[ 0.061594] Initializing cgroup subsys freezer
[ 0.061635] Initializing cgroup subsys blkio
[ 0.061749] CPU: Testing write buffer coherency: ok
[ 0.061880] ftrace: allocating 14914 entries in 44 pages
[ 0.133706] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.135716] devtmpfs: initialized
[ 0.142825] NET: Registered protocol family 16
[ 0.144725] vc-mem: mm_vc_mem_phys_addr = 0x00000000
[ 0.144788] vc-mem: mm_vc_mem_size = 0x10000000 (256 MiB)
[ 0.145298] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.145369] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.145416] mailbox: Broadcom VideoCore Mailbox driver
[ 0.145528] bcm2708_vcio: mailbox at f200b880
[ 0.145635] bcm_power: Broadcom power driver
[ 0.145680] bcm_power_open() -> 0
[ 0.145711] bcm_power_request(0, 8)
[ 0.646402] bcm_mailbox_read -> 00000080, 0
[ 0.646446] bcm_power_request -> 0
[ 0.646477] Serial: AMBA PL011 UART driver
[ 0.646668] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.962173] console [ttyAMA0] enabled
[ 0.985837] bio: create slab <bio-0> at 0
[ 0.991260] SCSI subsystem initialized
[ 0.995435] usbcore: registered new interface driver usbfs
[ 1.001092] usbcore: registered new interface driver hub
[ 1.006790] usbcore: registered new device driver usb
[ 1.012806] Switching to clocksource stc
[ 1.026910] Switched to NOHz mode on CPU #0
[ 1.035725] FS-Cache: Loaded
[ 1.039108] CacheFiles: Loaded
[ 1.060043] NET: Registered protocol family 2
[ 1.064975] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 1.073458] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.080969] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.087673] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.094056] TCP reno registered
[ 1.097262] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.103152] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.110030] NET: Registered protocol family 1
[ 1.115395] RPC: Registered named UNIX socket transport module.
[ 1.121577] RPC: Registered udp transport module.
[ 1.126310] RPC: Registered tcp transport module.
[ 1.131070] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.137870] bcm2708_dma: DMA manager at cc808000
[ 1.142633] bcm2708_gpio: bcm2708_gpio_probe c05c8220
[ 1.148286] vc-mem: Videocore memory driver
[ 1.153373] audit: initializing netlink socket (disabled)
[ 1.158935] type=2000 audit(0.780:1): initialized
[ 1.270247] VFS: Disk quotas dquot_6.5.2
[ 1.274448] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.282403] FS-Cache: Netfs 'nfs' registered for caching
[ 1.289088] msgmni has been set to 367
[ 1.295485] io scheduler noop registered (default)
[ 1.300520] io scheduler deadline registered
[ 1.305017] io scheduler cfq registered
[ 1.309256] BCM2708FB: registering framebuffer ([email protected])
[ 1.315458] bcm2708_fb_set_par info(cb8ed400) 656x416 (656x416), 0, 16
[ 1.333837] BCM2708FB: start = cc900000,4d385000 width=656, height=416, bpp=16, pitch=1312 size=545792 success=0
[ 1.337760] Console: switching to colour frame buffer device 82x26
[ 1.372177] BCM2708FB: register framebuffer (0)
[ 1.379763] kgdb: Registered I/O driver kgdboc.
[ 1.398036] brd: module loaded
[ 1.409500] loop: module loaded
[ 1.415889] vcos: [1]: vchiq_init_state: slot_zero = 0xffd80000, is_master = 0
[ 1.426151] vcos: [1]: vchiq_init_state: called
[ 1.434058] vcos: [1]: vchiq: initialised - version 2 (min 2), device 253.0
[ 1.444239] usbcore: registered new interface driver smsc95xx
[ 1.452429] cdc_ncm: 04-Aug-2011
[ 1.458153] usbcore: registered new interface driver cdc_ncm
[ 1.466099] dwc_otg: version 2.90b 6-MAY-2010 (platform bus)
[ 1.474463] Core Release: 2.80a
[ 1.479984] Setting default values for core params
[ 1.487135] Finished setting default values for core params
[ 1.495273] cc840008 -> 1
[ 1.700275] Using Buffer DMA mode
[ 1.705815] Periodic Transfer Interrupt Enhancement - disabled
[ 1.714108] Multiprocessor Interrupt Enhancement - disabled
[ 1.722118] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.729391] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.739021] dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
[ 1.746721] Init: Port Power? op_state=1
[ 1.752865] Init: Power Port (0)
[ 1.758436] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.767582] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.777072] usb usb1: Product: DWC OTG Controller
[ 1.783969] usb usb1: Manufacturer: Linux 3.1.9+ dwc_otg_hcd
[ 1.791876] usb usb1: SerialNumber: bcm2708_usb
[ 1.799735] hub 1-0:1.0: USB hub found
[ 1.805631] hub 1-0:1.0: 1 port detected
[ 1.812509] Module dwc_common_port init
[ 1.812911] usbcore: registered new interface driver uas
[ 1.820473] Initializing USB Mass Storage driver...
[ 1.827786] usbcore: registered new interface driver usb-storage
[ 1.835899] USB Mass Storage support registered.
[ 1.842965] usbcore: registered new interface driver libusual
[ 1.851453] mousedev: PS/2 mouse device common for all mice
[ 1.859339] cpuidle: using governor ladder
[ 1.865596] cpuidle: using governor menu
[ 1.871782] sdhci: Secure Digital Host Controller Interface driver
[ 1.880157] sdhci: Copyright(c) Pierre Ossman
[ 1.886786] bcm_power_open() -> 1
[ 1.892561] Registered led device: mmc0::
[ 1.893064] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 1.905309] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 1.913760] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.923128] Registered led device: led0
[ 1.923608] usbcore: registered new interface driver usbhid
[ 1.931514] usbhid: USB HID core driver
[ 1.946655] TCP cubic registered
[ 1.952238] Initializing XFRM netlink socket
[ 1.960866] NET: Registered protocol family 17
[ 1.969768] Registering the dns_resolver key type
[ 1.978918] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 1.998550] Waiting for root device /dev/mmcblk0p2...
[ 2.023427] mmc0: problem reading SD Status register.
[ 2.044423] mmc0: new high speed SDHC card at address b368
[ 2.067654] mmcblk0: mmc0:b368 NCard 7.47 GiB
[ 2.076358] mmcblk0: p1 p2
[ 2.217050] usb 1-1: new high speed USB device number 2 using dwc_otg
[ 2.467428] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.476499] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.487340] hub 1-1:1.0: USB hub found
[ 2.493733] hub 1-1:1.0: 3 ports detected
[ 2.777157] usb 1-1.1: new high speed USB device number 3 using dwc_otg
[ 2.897562] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.909291] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.924493] smsc95xx v1.0.4
[ 3.009962] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:c6:39:e3
[ 3.107167] usb 1-1.2: new low speed USB device number 4 using dwc_otg
[ 3.226261] usb 1-1.2: New USB device found, idVendor=040b, idProduct=2000
[ 3.235786] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.245640] usb 1-1.2: Product: USB Keyboard
[ 3.252389] usb 1-1.2: Manufacturer: Generic
[ 3.267954] input: Generic USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[ 3.282916] generic-usb 0003:040B:2000.0001: input: USB HID v1.10 Keyboard [Generic USB Keyboard] on usb-bcm2708_usb-1.2/input0
[ 3.313884] input: Generic USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
[ 3.329843] generic-usb 0003:040B:2000.0002: input: USB HID v1.10 Mouse [Generic USB Keyboard] on usb-bcm2708_usb-1.2/input1
[ 3.458542] usb 1-1.3: new high speed USB device number 5 using dwc_otg
[ 3.570683] usb 1-1.3: New USB device found, idVendor=2101, idProduct=8500
[ 3.580536] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.590790] usb 1-1.3: Product: USB2.0 Hub
[ 3.597800] usb 1-1.3: Manufacturer: Action Star
[ 3.606877] hub 1-1.3:1.0: USB hub found
[ 3.614186] hub 1-1.3:1.0: 5 ports detected
[ 3.897305] usb 1-1.3.1: new high speed USB device number 6 using dwc_otg
[ 4.011049] usb 1-1.3.1: New USB device found, idVendor=2101, idProduct=8501
[ 4.020824] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.033442] usb 1-1.3.1: Product: USB HID
[ 4.040179] usb 1-1.3.1: Manufacturer: Action Star
[ 4.052656] generic-usb 0003:2101:8501.0003: hiddev0: USB HID v1.11 Device [Action Star USB HID] on usb-bcm2708_usb-1.3.1/input0
[ 4.147387] usb 1-1.3.2: new high speed USB device number 7 using dwc_otg
[ 4.278192] usb 1-1.3.2: New USB device found, idVendor=0cf3, idProduct=9271
[ 4.287954] usb 1-1.3.2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 4.300546] usb 1-1.3.2: Product: USB2.0 WLAN
[ 4.307541] usb 1-1.3.2: Manufacturer: ATHEROS
[ 4.314287] usb 1-1.3.2: SerialNumber: 12345
[ 4.447392] usb 1-1.3.4: new low speed USB device number 8 using dwc_otg
[ 4.564497] usb 1-1.3.4: New USB device found, idVendor=045e, idProduct=0083
[ 4.573945] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.586036] usb 1-1.3.4: Product: Basic Optical Mouse
[ 4.593593] usb 1-1.3.4: Manufacturer: Microsoft
[ 4.607626] input: Microsoft Basic Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/input/input2
[ 4.624824] generic-usb 0003:045E:0083.0004: input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on usb-bcm2708_usb-1.3.4/input0
[ 6.988125] EXT4-fs (mmcblk0p2): recovery complete
[ 6.998311] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 7.011543] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 7.021663] Freeing init memory: 200K
[ 10.461922] cfg80211: Calling CRDA to update world regulatory domain
[ 12.397403] cfg80211: World regulatory domain updated:
[ 12.405413] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 12.419432] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.432883] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.446640] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 12.460131] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.473923] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.529965] usb 1-1.3.2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 12.766173] ath9k_htc 1-1.3.2:1.0: ath9k_htc: HTC initialized with 33 credits
[ 13.012953] ath9k_htc 1-1.3.2:1.0: ath9k_htc: FW Version: 1.3
[ 13.025863] ath: EEPROM regdomain: 0x809c
[ 13.025887] ath: EEPROM indicates we should expect a country code
[ 13.025904] ath: doing EEPROM country->regdmn map search
[ 13.025919] ath: country maps to regdmn code: 0x52
[ 13.025934] ath: Country alpha2 being used: CN
[ 13.025946] ath: Regpair used: 0x52
[ 13.068003] cfg80211: Calling CRDA for country: CN
[ 13.079687] ieee80211 phy0: Atheros AR9271 Rev:1
[ 13.098938] Registered led device: ath9k_htc-phy0
[ 13.098984] usb 1-1.3.2: ath9k_htc: USB layer initialized
[ 13.118280] usbcore: registered new interface driver ath9k_htc
[ 13.215781] cfg80211: Regulatory domain changed to country: CN
[ 13.247041] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 13.277012] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 13.303238] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 18.161472] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 18.522060] ### snd_bcm2835_alsa_probe c05c88e0 ############### PROBING FOR bcm2835 ALSA device (0):(1) ###############
[ 18.538022] Creating card...
[ 18.543405] Creating device/chip ..
[ 18.550107] Adding controls ..
[ 18.555534] Registering card ....
[ 18.567272] bcm2835 ALSA CARD CREATED!
[ 18.574348] ### BCM2835 ALSA driver init OK ###
[ 18.654240] fuse init (API version 7.17)
[ 29.516988] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 29.526571] smsc95xx 1-1.1:1.0: eth0: MII is busy in smsc95xx_mdio_read
[ 34.526991] smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
[ 34.536634] smsc95xx 1-1.1:1.0: eth0: MII is busy in smsc95xx_mdio_read
[ 52.717121] usb 1-1.3.2: USB disconnect, device number 7
[ 53.744586] ath: Chip reset failed
[ 53.750534] ath: Unable to reset channel (2412 Mhz) reset status -22
[ 53.759499] ath: Unable to set channel
[ 53.776307] ath: Failed to wakeup in 500us
[ 53.793441] ath: Failed to wakeup in 500us
[ 53.810885] ath: Failed to wakeup in 500us
[ 53.828119] ath: Failed to wakeup in 500us
[ 53.845071] ath: Failed to wakeup in 500us
[ 53.872203] ath: Failed to wakeup in 500us
[ 53.903174] ath: Failed to wakeup in 500us
[ 53.931200] ath: Failed to wakeup in 500us
[ 53.955689] ath: Failed to wakeup in 500us
[ 53.981151] ath: Failed to wakeup in 500us
[ 54.177731] usb 1-1.3.2: ath9k_htc: USB layer deinitialized
[ 66.267562] usb 1-1.3.3: new high speed USB device number 9 using dwc_otg
[ 66.370235] usb 1-1.3.3: New USB device found, idVendor=058f, idProduct=6387
[ 66.370285] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 66.370305] usb 1-1.3.3: Product: Mass Storage Device
[ 66.370320] usb 1-1.3.3: Manufacturer: JetFlash
[ 66.370335] usb 1-1.3.3: SerialNumber: G9DGT4BE
[ 66.387086] scsi0 : usb-storage 1-1.3.3:1.0
[ 67.388436] scsi 0:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2
[ 67.401202] sd 0:0:0:0: [sda] 3944448 512-byte logical blocks: (2.01 GB/1.88 GiB)
[ 67.401920] sd 0:0:0:0: [sda] Write Protect is off
[ 67.401954] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 67.402545] sd 0:0:0:0: [sda] No Caching mode page present
[ 67.402573] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 67.406561] sd 0:0:0:0: [sda] No Caching mode page present
[ 67.406626] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 68.461808] sda: sda1
[ 68.470678] sd 0:0:0:0: [sda] No Caching mode page present
[ 68.470713] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 68.470748] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 76.757393] usb 1-1.3.2: new high speed USB device number 10 using dwc_otg
[ 76.910928] usb 1-1.3.2: New USB device found, idVendor=0cf3, idProduct=9271
[ 76.910964] usb 1-1.3.2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 76.910984] usb 1-1.3.2: Product: USB2.0 WLAN
[ 76.911009] usb 1-1.3.2: Manufacturer: ATHEROS
[ 76.911026] usb 1-1.3.2: SerialNumber: 12345
[ 77.344997] usb 1-1.3.2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 78.337054] ath9k_htc 1-1.3.2:1.0: ath9k_htc: Target is unresponsive
[ 78.337103] Failed to initialize the device
[ 78.338181] ath9k_htc: probe of 1-1.3.2:1.0 failed with error -22

Re: Setup TL-WN722N

Posted: Wed Aug 29, 2012 9:20 am
by bastian94
any ideas

Re: Setup TL-WN722N

Posted: Wed Aug 29, 2012 4:11 pm
by greypower
With your usb hub setup as above, do " lsusb -v | grep Transfer". Count the number of "Transfer Type Interrupt" occurances in the output of this.

If it comes to more than 8, the you have (one of ) the current "usb problems" with the (Linux) firmware.

If more the 8, then unplug all usb devices except the hub and the 722N wif (I assume the wifi is in the hub), then reboot.
Keep a eye on the scrolling boot messages. Still get error -22? Is the green led on in the 722N or is it flashing?

Report back - I'll keep an eye out - if God spares me!

Re: Setup TL-WN722N

Posted: Fri Aug 31, 2012 7:44 pm
by bastian94
it s not showing any light when i am trying the things that you suggestede and here is what it swas showing when i runed the command that you were asking my to prefome and i still get a error code 22
[email protected] ~ $ lsusb -v | grep Transfer
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Transfer Type Interrupt
Transfer Type Interrupt
Transfer Type Interrupt
Couldn't open device, some information will be missing
Transfer Type Bulk
Transfer Type Bulk
Transfer Type Interrupt
Transfer Type Interrupt
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Transfer Type Interrupt
Transfer Type Interrupt
Transfer Type Interrupt
Couldn't open device, some information will be missing
Transfer Type Interrupt
Transfer Type Bulk
Transfer Type Bulk
Transfer Type Interrupt
Transfer Type Interrupt
Transfer Type Bulk
Couldn't open device, some information will be missing
Transfer Type Bulk
Transfer Type Interrupt

Re: Setup TL-WN722N

Posted: Sat Sep 01, 2012 9:48 am
by greypower
Well you had more than 8 "Transfer Type Interrupt"!

Let me be quite clear that:

1. You removed everthing from the hub except the 722N wifi ( including the keyboard & mouse) and you had ONLY the hub attached to the RPi's USB, and then loaded the system. When you did this you got error -22 and no green led on the adaptor?

2. If the above is correct, then I suggest you check the voltage between TP1 and TP2 and this should be at least 4.75v. What is the power rating of you supply?

Re: Setup TL-WN722N

Posted: Sat Sep 01, 2012 10:01 am
by bastian94
1 yes it's correct i removed every thing and no green light were appering on the wifidongle and that and the hub is the only thing that i hade connected to the pi
2 what are you mennig with tp1 and tp2

Re: Setup TL-WN722N

Posted: Sat Sep 01, 2012 10:45 am
by greypower
See: http://elinux.org/R-Pi_Troubleshooting# ... r_problems

The basic question I want ask, is the power supply you are using providing enough voltage to the RPi board?

What voltage do you measure between test points TP1 & TP2 on the board with the hub + wifi adaptor connected? What current (amps) can your power supply provide?

If you do not have a voltage meter - borrow one ;)

Re: Setup TL-WN722N

Posted: Sat Sep 01, 2012 7:11 pm
by bastian94
i just update the raspberry pi fireware and now when plug in the wifi dongle a quick green flash appers but nothing more and i dont get a error code 22 any more. but the wifi dongle wont still setup a vaild connection to my wifi network.

Re: Setup TL-WN722N

Posted: Sun Sep 02, 2012 6:35 am
by greypower
Good news!

Use this to get further : http://elinux.org/RPi_Peripherals#Wirel ... ebian_6.29

You do not need to to download the software for the adaptor, it is already on the system. Start at the section labeled:

"Add adapter definition to network config - eg: sudo vi /etc/network/interfaces - add the wlan0 section"

Good luck - over & out from me ;)