linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: "Yannik Völker" <yannikv@yahoo.de>
Cc: Pontus Fuchs <pontus.fuchs@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: ar5523 Gigaset USB Adapter 108 issue
Date: Fri, 18 Oct 2013 19:16:00 +0200	[thread overview]
Message-ID: <52616CD0.2000203@rempel-privat.de> (raw)
In-Reply-To: <526162ED.8030901@yahoo.de>

[-- Attachment #1: Type: text/plain, Size: 3590 bytes --]

Am 18.10.2013 18:33, schrieb Yannik Völker:
> Am 18.10.2013 18:16, schrieb Oleksij Rempel:
>> Am 18.10.2013 17:38, schrieb Yannik Völker:
>>> Am 18.10.2013 17:07, schrieb Oleksij Rempel:
>>>> Am 18.10.2013 16:49, schrieb Alan Stern:
>>>>> Yannik, you should always use Reply-To-All so that your
>>>>> messages get sent to the mailing list and not just to me.
>>>>>
>>>>> On Thu, 17 Oct 2013, Yannik Völker wrote:
>>>>>
>>>>>> Am 07.08.2013 19:34, schrieb Alan Stern:
>>>>>>> Please post two usbmon traces, one showing the failure
>>>>>>> on your current system and the other showing the adapter
>>>>>>> running correctly under a 32-bit kernel.  Instructions
>>>>>>> for usbmon are in the kernel source file
>>>>>>> Documentation/usb/usbmon.txt.
>>>>>> I never got it to work under a 32-bit kernel, i was just
>>>>>> able to utilize a windows32 driver using ndiswrapper.
>>>>>>
>>>>>> Now i got it to "work". I randomly found out that the
>>>>>> ar5523 driver actually works when you load it after you
>>>>>> unload ndiswrapper so the following steps make it work: 1.
>>>>>> modprobe ndiswrapper 2. plug in device 3. connect to wlan
>>>>>> using ndiswrapper and disconnect again (might be optional)
>>>>>> 4. modprobe -r ndiswrapper 5. modprobe ar5523 6. connect to
>>>>>> wlan log for that is attatched as wlanthennative2.log
>>>
>>>
>>>> It sounds like linux driver didn't recognised usb id and
>>>> didn't uploaded firmware, or there was no firmware to upload.
>>> there is firmware (/lib/firmware/ar5523.bin exists) but it does
>>> not even get touched (i renamed the file and the error did not
>>> change at all)
> 
>> find first usbid of your adapter (it will be changed after
>> firmware upload). And try to force driver to use this id: modprobe
>> -v ar5523 echo 07d1 3a0d > /sys/bus/usb/drivers/ar5523/new_id
> 
>> instead of "07d1 3a0d" use your id.
> 
> 
> # lsusb
> …
> Bus 003 Device 011: ID 129b:160c CyberTAN Technology Siemens
> S30853-S1038-R351 802.11g Wireless Adapter [Atheros AR5523]
> …
> 
> # modprobe ar5523
> # echo 129b 160c > /sys/bus/usb/drivers/ar5523/new_id
> <plugging device in>
> syslog:
> Oct 18 18:27:47 yannik-desktop kernel: [ 8751.447784] usbcore:
> registered new interface driver ar5523
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.036912] usb 3-14: new
> high-speed USB device number 12 using xhci_hcd
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.053995] usb 3-14: New
> USB device found, idVendor=129b, idProduct=160c
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.054005] usb 3-14: New
> USB device strings: Mfr=1, Product=2, SerialNumber=3
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.054010] usb 3-14:
> Product: AR5523
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.054015] usb 3-14:
> Manufacturer: Atheros Communications Inc
> Oct 18 18:28:25 yannik-desktop kernel: [ 8789.054019] usb 3-14:
> SerialNumber: 1.0
> Oct 18 18:28:27 yannik-desktop kernel: [ 8791.052313] usb 3-14:
> timeout waiting for command 01 reply
> Oct 18 18:28:27 yannik-desktop kernel: [ 8791.052323] usb 3-14: could
> not initialize adapter
> Oct 18 18:28:27 yannik-desktop kernel: [ 8791.052359] usb 3-14: RX USB
> error -2.
> Oct 18 18:28:27 yannik-desktop kernel: [ 8791.052378] usb 3-14: error
> -1 when submitting rx urb
> Oct 18 18:28:27 yannik-desktop kernel: [ 8791.052504] ar5523: probe of
> 3-14:1.0 failed with error -110
> 
>> Besidy, what kernel version are you using? May be it is too old..
> 
> 3.11.0-12-generic
> it is my understanding that the ar5523 driver was included from 3.8 on.

please test attached patch.

-- 
Regards,
Oleksij

[-- Attachment #2: ar5523.diff --]
[-- Type: text/x-patch, Size: 760 bytes --]

diff --git a/drivers/net/wireless/ath/ar5523/ar5523.c b/drivers/net/wireless/ath/ar5523/ar5523.c
index 17d7fec..57fc06e 100644
--- a/drivers/net/wireless/ath/ar5523/ar5523.c
+++ b/drivers/net/wireless/ath/ar5523/ar5523.c
@@ -1764,7 +1764,7 @@ static struct usb_device_id ar5523_id_table[] = {
 	AR5523_DEVICE_UX(0x2001, 0x3a04),	/* Dlink / DWLAG122 */
 	AR5523_DEVICE_UG(0x1690, 0x0712),	/* Gigaset / AR5523 */
 	AR5523_DEVICE_UG(0x1690, 0x0710),	/* Gigaset / SMCWUSBTG */
-	AR5523_DEVICE_UG(0x129b, 0x160c),	/* Gigaset / USB stick 108
+	AR5523_DEVICE_UG(0x129b, 0x160b),	/* Gigaset / USB stick 108
 						   (CyberTAN Technology) */
 	AR5523_DEVICE_UG(0x16ab, 0x7801),	/* Globalsun / AR5523_1 */
 	AR5523_DEVICE_UX(0x16ab, 0x7811),	/* Globalsun / AR5523_2 */

  reply	other threads:[~2013-10-18 17:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <526020B6.7080601@yahoo.de>
2013-10-18 14:49 ` ar5523 Gigaset USB Adapter 108 issue Alan Stern
2013-10-18 15:07   ` Oleksij Rempel
2013-10-18 15:38     ` Yannik Völker
2013-10-18 16:16       ` Oleksij Rempel
2013-10-18 16:33         ` Yannik Völker
2013-10-18 17:16           ` Oleksij Rempel [this message]
2013-10-19 12:18             ` Yannik Völker
2013-10-19 15:30               ` Oleksij Rempel
2013-10-19 23:53               ` Stefan Lippers-Hollmann
     [not found]               ` <5262BA7A.2050803@rempel-privat.de>
     [not found]                 ` <5266C4C1.80408@yahoo.de>
2013-10-22 18:45                   ` Oleksij Rempel
2013-10-24 12:46                     ` Yannik Völker
2013-10-25 10:31                       ` Pontus Fuchs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52616CD0.2000203@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pontus.fuchs@gmail.com \
    --cc=yannikv@yahoo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).