Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-03 Thread Yevgeniy Melnichuk
hello everybody,

it looks like the problem is the combination of virtualbox + linux (as guest). 
The device works fine with the same kernel on a non-virtualized machine. i am 
surprised, because virtualbox + win xp worked too.

thx everyone for you help.
Yevgeniy.
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Yevgeniy Melnichuk
hello Rajkumar,

thx for the answer.
the vendor-id is 0x0cf3 and the product-id is 0x7015

Yevgeniy.

Am 02.01.2011 um 07:45 schrieb Rajkumar Manoharan:

 hello everybody,
 
 i try to get a TP-Link WN821n v3 usb wifi adapter to work with 2.6.37-rc8, 
 but i get a target is unresponsive every time i load ath9k_htc into the 
 kernel.
 
 here is the output by dmesg after modprobe:
 usb 1-1: new high speed USB device using ehci_hcd and address 4
 usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid 
 maxpacket 64
 usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid 
 maxpacket 64
 usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 70624
 usb 1-1: ath9k_htc: Target is unresponsive
 Failed to initialize the device
 ath9k_hif_usb: probe of 1-1:1.0 failed with error -22
 
 i have tried compat-wireless from 2010-12-26 and the linux-firmware, which i 
 have downloaded today 2011-01-01).
 
 How should i approach this problem? Thank you in advance!
 
 Hi Yevgeniy,
 
 What is the PID/VID of your USB dongle? 
 
 --
 Rajkumar

___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Rajkumar Manoharan
hello everybody,

i try to get a TP-Link WN821n v3 usb wifi adapter to work with 2.6.37-rc8, but 
i get a target is unresponsive every time i load ath9k_htc into the kernel.

here is the output by dmesg after modprobe:
usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid 
maxpacket 64
usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid 
maxpacket 64
usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 70624
usb 1-1: ath9k_htc: Target is unresponsive
Failed to initialize the device
ath9k_hif_usb: probe of 1-1:1.0 failed with error -22

i have tried compat-wireless from 2010-12-26 and the linux-firmware, which i 
have downloaded today 2011-01-01).

How should i approach this problem? Thank you in advance!

Hi Yevgeniy,

What is the PID/VID of your USB dongle? 

--
Rajkumar
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Sujith
Yevgeniy Melnichuk wrote:
 hello Sujith,
 
 same result, except the lines you mentioned are missing.
 
 here is the exact output:
 usb 1-1: new high speed USB device using ehci_hcd and address 15 
 usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 73028
 usb 1-1: ath9k_htc: Target is unresponsive
 Failed to initialize the device
 ath9k_hif_usb: probe of 1-1:1.0 failed with error -22

Can you paste the output from sudo lsusb -v ?
Also, can you check if the device works at all, in a Windows installation (if 
you have one).

Sujith
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Yevgeniy Melnichuk
hello Sujith,

here is the lsusb -v result for the device:
Bus 001 Device 016: ID 0cf3:7015 Atheros Communications, Inc. 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  255 Vendor Specific Class
  bDeviceSubClass   255 Vendor Specific Subclass
  bDeviceProtocol   255 Vendor Specific Protocol
  bMaxPacketSize064
  idVendor   0x0cf3 Atheros Communications, Inc.
  idProduct  0x7015 
  bcdDevice2.02
  iManufacturer  16 ATHEROS
  iProduct   32 UB95
  iSerial48 12345
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   60
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   6
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass  0 
  bInterfaceProtocol  0 
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   1
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04  EP 4 OUT
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   1
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05  EP 5 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06  EP 6 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass  255 Vendor Specific Class
  bDeviceSubClass   255 Vendor Specific Subclass
  bDeviceProtocol   255 Vendor Specific Protocol
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x
  (Bus Powered)


i have set up a VM in virtualbox with windows xp sp3 for testing purpose. The 
device works well there. I use the TP-Link driver for wn821n v3.

Yevgeniy.



Am 02.01.2011 um 20:08 schrieb Sujith:

 Yevgeniy Melnichuk wrote:
 hello Sujith,
 
 same result, except the lines you mentioned are missing.
 
 here is the exact output:
 usb 1-1: new high speed USB device using ehci_hcd and address 15 
 usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 73028
 usb 1-1: ath9k_htc: Target is unresponsive
 Failed to initialize the device
 ath9k_hif_usb: probe of 1-1:1.0 failed with error -22
 
 Can you paste the output from sudo lsusb -v ?
 Also, can you check if the device works at all, in a Windows installation (if 
 you have one).
 
 Sujith

___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Sujith
Yevgeniy Melnichuk wrote:
 i have set up a VM in virtualbox with windows xp sp3 for testing purpose. The 
 device works well there. I use the TP-Link driver for wn821n v3.

What is the value of HZ in your machine ?

If you have /proc/config.gz, then zcat /proc/config.gz | grep HZ would show the 
value.
Otherwise, the config file used to compile the kernel would have the value.

I have a card with PID 0x7015 and it works fine here, so not sure where the 
problem lies.
Can you post the output of uname -a, and /proc/cpuinfo ? Thanks.

Sujith
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Yevgeniy Melnichuk
hello Sujith,

the hz value is 250. I recompiled the compat-wireless with 10*hz to be sure the 
delay is big enough, but it did not help.

here is the output from uname -a:
Linux testhost 2.6.37-rc8 #1 SMP Sat Jan 1 18:03:34 CET 2011 i686 GNU/Linux

and cat /proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Core(TM)2 Duo CPU P8600  @ 2.40GHz
stepping: 6
cpu MHz : 1309.593
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 5
wp  : yes
flags   : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush mmx fxsr sse sse2 constant_tsc up pni monitor ssse3
bogomips: 2619.18
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual

right now i am in the process of setting up a different machine, where i can 
test the device. I will let you know whether it works or not.

Yevgeniy

Am 02.01.2011 um 20:53 schrieb Sujith:

 Yevgeniy Melnichuk wrote:
 i have set up a VM in virtualbox with windows xp sp3 for testing purpose. 
 The device works well there. I use the TP-Link driver for wn821n v3.
 
 What is the value of HZ in your machine ?
 
 If you have /proc/config.gz, then zcat /proc/config.gz | grep HZ would show 
 the value.
 Otherwise, the config file used to compile the kernel would have the value.
 
 I have a card with PID 0x7015 and it works fine here, so not sure where the 
 problem lies.
 Can you post the output of uname -a, and /proc/cpuinfo ? Thanks.
 
 Sujith

___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


[ath9k-devel] target unresponsive form ath9k_htc.

2011-01-01 Thread Yevgeniy Melnichuk
hello everybody,

i try to get a TP-Link WN821n v3 usb wifi adapter to work with 2.6.37-rc8, but 
i get a target is unresponsive every time i load ath9k_htc into the kernel.

here is the output by dmesg after modprobe:
usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid 
maxpacket 64
usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid 
maxpacket 64
usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 70624
usb 1-1: ath9k_htc: Target is unresponsive
Failed to initialize the device
ath9k_hif_usb: probe of 1-1:1.0 failed with error -22

i have tried compat-wireless from 2010-12-26 and the linux-firmware, which i 
have downloaded today 2011-01-01).

How should i approach this problem? Thank you in advance!

Yevgeniy.
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel