linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Thomas Rosenkranz <tom.rosary@googlemail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: FW: 0bda:819a RTL8188CUS WLAN doesn't work out of the box in downstream and upstreamkernel
Date: Tue, 05 Feb 2013 23:37:29 +0100	[thread overview]
Message-ID: <511189A9.8060609@gmail.com> (raw)
In-Reply-To: <51117F98.3040900@lwfinger.net>

On 02/05/2013 10:54 PM, Larry Finger wrote:

> Yes, but not a bug for the devices that it is supposed to support! No one ever says that their driver will support *future* devices! As I said earlier, there are newer versions of the RTL8188C chip
> that requires different programming, which may be the cause of the problem. On the other hand, the chip change did not cause a crash in rtl8192ce. I just didn't work very well. As I have no such
> device, I cannot test any changes; therefore, I will not make them. If you want to write patches that let that device work with the kernel driver, I will be happy to review them.

Then, remove the "new_id" facility of the driver.

*Or* fix the driver. rt2x00 handles correctly any
kind of unknown device.

usb 2-1.5: new high-speed USB device number 5 using ehci_hcd
usb 2-1.5: New USB device found, idVendor=0bda, idProduct=8176
usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.5: Product: 802.11n WLAN Adapter
usb 2-1.5: Manufacturer: *Realtek*
usb 2-1.5: SerialNumber: 00e04c000001

# echo "0bda 8176"  > /sys/bus/usb/drivers/rt2800usb/new_id

phy2 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x0000 detected.
phy2 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

and it doesn't panic. The system works flawlessly after that, see:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/net/wireless/rt2x00/rt2800lib.c;h=197b4466a5d2a44378f998fdefa2c221ae6124c6;hb=HEAD#l4798


rtlwifi also can do the same, -ENODEV in rtl8192cu/mac.c
rtl92c_read_chip_version() at switch(rtlhal->version) default:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/net/wireless/rtlwifi/rtl8192cu/mac.c;h=32ff959a0251bdf36cb69122b55a6fc438e3bdd0;hb=HEAD#l127

  reply	other threads:[~2013-02-05 22:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 21:41 FW: 0bda:819a RTL8188CUS WLAN doesn't work out of the box in downstream and upstreamkernel Xose Vazquez Perez
     [not found] ` <CAOAX8-k-Nbx4Om8fkEHRW2jmZCxKpsMY6oEZMAvdEQpXWn9Mdw@mail.gmail.com>
2013-02-04 23:13   ` Larry Finger
2013-02-04 23:26   ` Xose Vazquez Perez
     [not found]     ` <CAOAX8-kFtWuwEvz9v7hBzOwtohJx0NezrDHC0iVwXF29YYSCgQ@mail.gmail.com>
2013-02-05 18:33       ` Thomas Rosenkranz
2013-02-05 19:03       ` Larry Finger
     [not found]   ` <CAOAX8-mMsXu5h-7q2EJEc9SehWS=yqAb4YvbfOVBQKhdH+LqTQ@mail.gmail.com>
2013-02-05 18:36     ` Fwd: " Thomas Rosenkranz
2013-02-05 19:55   ` Xose Vazquez Perez
2013-02-05 20:23     ` Larry Finger
2013-02-05 21:18       ` Thomas Rosenkranz
2013-02-05 21:28       ` Xose Vazquez Perez
2013-02-05 21:54         ` Larry Finger
2013-02-05 22:37           ` Xose Vazquez Perez [this message]
2013-02-05 23:45             ` Larry Finger
2013-02-06  0:03               ` Xose Vazquez Perez
  -- strict thread matches above, loose matches on Subject: below --
2013-02-04 17:50 Thomas Rosenkranz
2013-02-04 19:49 ` Larry Finger

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=511189A9.8060609@gmail.com \
    --to=xose.vazquez@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tom.rosary@googlemail.com \
    /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).