* Re: rtl8192cu NOT working on Raspberry Pi [not found] <041DFAF5-BEDE-4C1A-9863-A04F2DD3049A@bluewin.ch> @ 2013-03-16 23:22 ` Larry Finger 2013-03-17 9:12 ` Jussi Kivilinna 0 siblings, 1 reply; 3+ messages in thread From: Larry Finger @ 2013-03-16 23:22 UTC (permalink / raw) To: Christian Clauss; +Cc: ziv_huang, georgia, linux-wireless On 03/16/2013 05:03 PM, Christian Clauss wrote: > Hi Larry, Ziv, and Georgia, > > These rtl8192cu drivers seem to be very flakey / non-functional on Raspberry Pi. > > https://github.com/hexameron/rtlwifi > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=71&t=24951 Sorry, but I only support the drivers in the current Linux kernel, and as backported with compat-drivers. > > # ======== > > $ uname -a > Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux > > # ======== > > $ modinfo rtl8192cu # Only after following hexameron's instructions above. > filename: /lib/modules/3.6.11+/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko > firmware: rtlwifi/rtl8192cufw.bin > description: Realtek 8192C/8188C 802.11n USB wireless > license: GPL > author: Larry Finger <Larry.Finger@lwfinger.net> > author: Ziv Huang <ziv_huang@realtek.com> > author: Georgia <georgia@realtek.com> > > # ======== > > $ modinfo 8192cu > filename: /lib/modules/3.6.11+/kernel/drivers/net/wireless/rtl8192cu/8192cu.ko > version: v3.4.3_4369.20120622 > author: Realtek Semiconductor Corp. > description: Realtek Wireless Lan Driver > license: GPL > > # ======== > > $ ifup wlan0 > ioctl[SIOCSIWAP]: Operation not permitted > ioctl[SIOCSIWENCODEEXT]: Invalid argument > ioctl[SIOCSIWENCODEEXT]: Invalid argument No mac80211 driver will support *ALL* of the ioctl commands. You should use iw; however, these should not be critical. > > # ======== > > $ ip addr > 4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000 > link/ether e0:91:53:62:9e:d9 brd ff:ff:ff:ff:ff:ff > > # ======== > > $ ifconfig wlan0 > wlan0 Link encap:Ethernet HWaddr e0:91:53:62:9e:d9 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) There is a major bug in rtl8192cu that was just fixed this past week. See http://marc.info/?l=linux-wireless&m=136319807619280&w=2 for the patch. Larry ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rtl8192cu NOT working on Raspberry Pi 2013-03-16 23:22 ` rtl8192cu NOT working on Raspberry Pi Larry Finger @ 2013-03-17 9:12 ` Jussi Kivilinna 2013-03-17 15:06 ` Adrian Chadd 0 siblings, 1 reply; 3+ messages in thread From: Jussi Kivilinna @ 2013-03-17 9:12 UTC (permalink / raw) To: Larry Finger; +Cc: Christian Clauss, ziv_huang, georgia, linux-wireless [-- Attachment #1: Type: text/plain, Size: 1275 bytes --] On 17.03.2013 01:22, Larry Finger wrote: > On 03/16/2013 05:03 PM, Christian Clauss wrote: >> Hi Larry, Ziv, and Georgia, >> >> These rtl8192cu drivers seem to be very flakey / non-functional on Raspberry Pi. >> >> https://github.com/hexameron/rtlwifi >> >> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=71&t=24951 > > Sorry, but I only support the drivers in the current Linux kernel, and as backported with compat-drivers. > Problems I had with rtl8192cu on arm/sunxi, were mostly related to USB host driver not handling unaligned and/or overlapping URB buffers correctly which lead to memory corruption and random crashes. So if you get problematic behavior with latest compat-drivers (+ with the patch Larry pointed out), I'd say look at USB host driver of raspberry. You can check the workarounds for sunxi-ehci/ohci and tegra-ehci at: https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/drivers/usb/host/ehci-tegra.c#L386 https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/drivers/usb/host/sw_hci_sunxi.c#L633 -Jussi <snip> > > There is a major bug in rtl8192cu that was just fixed this past week. See http://marc.info/?l=linux-wireless&m=136319807619280&w=2 for the patch. > > Larry > [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 730 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rtl8192cu NOT working on Raspberry Pi 2013-03-17 9:12 ` Jussi Kivilinna @ 2013-03-17 15:06 ` Adrian Chadd 0 siblings, 0 replies; 3+ messages in thread From: Adrian Chadd @ 2013-03-17 15:06 UTC (permalink / raw) To: Jussi Kivilinna Cc: Larry Finger, Christian Clauss, ziv_huang, georgia, linux-wireless On 17 March 2013 02:12, Jussi Kivilinna <jussi.kivilinna@iki.fi> wrote: > Problems I had with rtl8192cu on arm/sunxi, were mostly related to USB host driver not handling unaligned and/or overlapping URB buffers correctly which lead to memory corruption and random crashes. So if you get problematic behavior with latest compat-drivers (+ with the patch Larry pointed out), I'd say look at USB host driver of raspberry. > > You can check the workarounds for sunxi-ehci/ohci and tegra-ehci at: > https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/drivers/usb/host/ehci-tegra.c#L386 > https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/drivers/usb/host/sw_hci_sunxi.c#L633 FreeBSD just went through this same problem with the USB stack. Please work with the USB host driver team and eliminate all of the issues there before blaming the USB wifi driver. :) Adrian ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-17 15:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <041DFAF5-BEDE-4C1A-9863-A04F2DD3049A@bluewin.ch>
2013-03-16 23:22 ` rtl8192cu NOT working on Raspberry Pi Larry Finger
2013-03-17 9:12 ` Jussi Kivilinna
2013-03-17 15:06 ` Adrian Chadd
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).