Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Realtek rtl8192 wifi adapter problems
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sk3l
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 78
Location: CT USA

PostPosted: Wed Dec 11, 2013 7:16 pm    Post subject: Reply with quote

Are you inseparably wedded to this Realtek device you purchased? If yes, then ignore this post. If no, read on...

When I was looking for a new USB wireless card for my desktop, I spent time on the this site:

http://wireless.kernel.org/en/users/Drivers

I had at one time purchased a device from D-Link or Cisco that was based on the Realtek drivers, and I had no end to my headaches in getting it to work well on Gentoo box. Then I found out somewhere, can't recall if it was here or on one of vendor site's (i.e Newegg) review areas, that the devices built around the Atheros chipsets have very good support in Linux. Based on some positive online reviews, I chose this USB card from TP-Link; it uses the ath9k_htc driver IIRC. My experience has been very good. No packet loss or difficulty staying associated with my wireless router like the cards using the Realtek chipset seemed to suffer from. I also like the form factor and dual antennae so I can adjust/position this device to optimize signal.

My advice to you would be rather than trying to battle Realtek's issues, ditch the card and go with something leveraging Atheros instead.
Back to top
View user's profile Send private message
Barvinok
n00b
n00b


Joined: 29 Sep 2013
Posts: 34
Location: Ukraine

PostPosted: Wed Dec 11, 2013 7:56 pm    Post subject: Reply with quote

sk3l wrote:
that the devices built around the Atheros chipsets have very good support in Linux.

I would say the same about Broadcom, namely b43.
_________________
Unlike reality, stupidity is inescapable
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Wed Dec 11, 2013 8:28 pm    Post subject: Reply with quote

By the time I had a Broadcom wireless card, a couple of years ago, the b43 driver was not working at the beginning. I had to use the broadcom-sta wl module from Broadcom itself to make my wireless card work. Before I change the laptop and after several updates the b43 was working. Time have pass. I hope Linux have ameliorate the Broadcom wireless cards support.

Recently I went to a Linux meetup. Someone there who have a Broadcom wireless card told me that all other Linux distributions than Fedora made his laptop freeze when he try use it. That could probably be discuss, but I would not recommand a Broadcom wireless card to anyone that can have an Atheros or the ones based on Ralink technologie.

Presently, I have two wireless card that work well on Linux. They are both on PCIe bus.

Atheros AR9485 Wireless Network Adapter [168c:0032] (ath9k)

Ralink corp. RT5390 [1814:539f] (rt2800pci)
_________________
Paul
Back to top
View user's profile Send private message
ewpt3ch
n00b
n00b


Joined: 01 Apr 2013
Posts: 4

PostPosted: Mon Jan 13, 2014 4:13 am    Post subject: Reply with quote

I have a edimax 7811un also, and was able to get the Realtek driver to compile with 3.12.5 and 3.12.7 kernels using some info I found from Arch

https://aur.archlinux.org/packages/dkms-8192cu/?setlang=nl&comments=all

It seems that it would solve the problems with the in kernel drivers.

However when I insert the device and try to enable it I get this

Code:
[  645.953078] usb 2-1: new high-speed USB device number 4 using ehci-pci
[  646.004516] ehci-pci 0000:00:1d.7: port 1 reset complete, port enabled
[  646.004529] ehci-pci 0000:00:1d.7: GetStatus port:1 status 001005 0  ACK POWER sig=se0 PE CONNECT
[  646.068263] usb 2-1: default language 0x0409
[  646.069183] usb 2-1: udev 4, busnum 2, minor = 131
[  646.069191] usb 2-1: New USB device found, idVendor=7392, idProduct=7811
[  646.069197] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  646.069202] usb 2-1: Product: 802.11n WLAN Adapter
[  646.069207] usb 2-1: Manufacturer: Realtek
[  646.069211] usb 2-1: SerialNumber: 00e04c000001
[  646.069378] usb 2-1: usb_probe_device
[  646.069386] usb 2-1: configuration #1 chosen from 1 choice
[  646.072272] usb 2-1: adding 2-1:1.0 (config #1, interface 0)
[  646.072482] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0002
[  646.081256] rtl8192cu driver version=v4.0.2_9000.20130911
[  646.081273] build time: Jan 12 2014 20:27:27
[  646.081320] rtl8192cu 2-1:1.0: usb_probe_interface
[  646.081326] rtl8192cu 2-1:1.0: usb_probe_interface - got id
[  646.081332]
usb_endpoint_descriptor(0):
[  646.081334] bLength=7
[  646.081335] bDescriptorType=5
[  646.081337] bEndpointAddress=81
[  646.081338] wMaxPacketSize=200
[  646.081340] bInterval=0
[  646.081341] RT_usb_endpoint_is_bulk_in = 1
[  646.081343]
usb_endpoint_descriptor(1):
[  646.081345] bLength=7
[  646.081346] bDescriptorType=5
[  646.081347] bEndpointAddress=2
[  646.081349] wMaxPacketSize=200
[  646.081350] bInterval=0
[  646.081352] RT_usb_endpoint_is_bulk_out = 2
[  646.081354]
usb_endpoint_descriptor(2):
[  646.081355] bLength=7
[  646.081357] bDescriptorType=5
[  646.081358] bEndpointAddress=3
[  646.081360] wMaxPacketSize=200
[  646.081361] bInterval=0
[  646.081363] RT_usb_endpoint_is_bulk_out = 3
[  646.081364]
usb_endpoint_descriptor(3):
[  646.081366] bLength=7
[  646.081367] bDescriptorType=5
[  646.081369] bEndpointAddress=84
[  646.081370] wMaxPacketSize=40
[  646.081372] bInterval=1
[  646.081374] RT_usb_endpoint_is_int_in = 4, Interval = 1
[  646.081376] nr_endpoint=4, in_num=2, out_num=2

[  646.081377] USB_SPEED_HIGH
[  646.081388] CHIP TYPE: RTL8188C_8192C
[  646.081403] register rtw_netdev_ops to netdev_ops
[  646.081535] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
[  646.081537] RF_Type is 3!!
[  646.081909] EEPROM type is E-FUSE
[  646.081912] ====> ReadAdapterInfo8192C
[  646.083055] Boot from EFUSE, Autoload OK !
[  646.230408] EEPROMVID = 0x7392
[  646.230411] EEPROMPID = 0x7811
[  646.230414] EEPROMCustomerID : 0x00
[  646.230416] EEPROMSubCustomerID: 0x00
[  646.230418] RT_CustomerID: 0x00
[  646.230422] _ReadMACAddress MAC Address from EFUSE = 80:1f:02:9b:fe:1e
[  646.230426] EEPROMRegulatory = 0x0
[  646.230428] _ReadBoardType(0)
[  646.230431] BT Coexistance = disable
[  646.230434] mlmepriv.ChannelPlan = 0x00
[  646.230438] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[  646.230441] ### PS params=>  power_mgnt(1),usbss_enable(0) ###
[  646.230443] ### AntDivCfg(0)
[  646.230445] readAdapterInfo_8192CU(): REPLACEMENT = 1
[  646.230449] <==== ReadAdapterInfo8192C in 149 ms
[  646.230808] rtw_macaddr_cfg MAC Address  = 80:1f:02:9b:fe:1e
[  646.230811] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
[  646.232465] +871x_drv - drv_open, bup=0
[  646.232482] _rtw_drv_register_netdev, MAC Address (if1) = 80:1f:02:9b:fe:1e
[  646.233069] usbcore: registered new interface driver rtl8192cu
[  646.236677]  ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
[  646.236683] FirmwareDownload92C accquire FW from embedded image
[  646.236688] fw_ver=v88, fw_subver=2, sig=0x88c0
[  646.261914] fw download ok!
[  646.261917] Set RF Chip ID to RF_6052 and RF type to 1T1R.
[  646.618537] IQK:Start!!!
[  646.629411] Path A IQK Success!!
[  646.638543] Path A IQK Success!!
[  646.643409] IQK: final_candidate is 0
[  646.643416] IQK: RegE94=101 RegE9C=f RegEA4=fe RegEAC=3fe RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
 Path A IQ Calibration Success !
[  646.756135] pdmpriv->TxPowerTrackControl = 1
[  646.764149] rtl8192cu_hal_init in 532ms
[  646.774912] MAC Address = 80:1f:02:9b:fe:1e
[  646.775059] -871x_drv - drv_open, bup=1
[  646.775109] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  648.782927] ==>rtw_ps_processor .fw_state(0)
[  648.782932] ==>ips_enter cnts:1
[  648.782935] ===> rtw_ips_pwr_down...................
[  648.783164] ====> rtw_ips_dev_unload...
[  648.806550] usb_read_port_cancel
[  648.806772] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  648.807046] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  648.807280] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  648.807529] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  648.807549] usb_write_port_cancel
[  648.807564] ==> rtl8192cu_hal_deinit
[  648.807566] bkeepfwalive(0)
[  648.807569] card disble without HWSM...........
[  648.813383] <=== rtw_ips_pwr_down..................... in 31ms
[  965.153441] _rtw_pwr_wakeup call ips_leave....
[  965.153445] ==>ips_leave cnts:1
[  965.153447] ===>  rtw_ips_pwr_up..............
[  965.153450] ===> ips_netdrv_open.........
[  965.158238]  ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
[  965.158242] FirmwareDownload92C accquire FW from embedded image
[  965.158247] fw_ver=v88, fw_subver=2, sig=0x88c0
[  965.183474] fw download ok!
[  965.183477] Set RF Chip ID to RF_6052 and RF type to 1T1R.
[  965.617476] IQK:Start!!!
[  965.628348] Path A IQK Success!!
[  965.635974] Path A IQK Success!!
[  965.640599] IQK: final_candidate is 0
[  965.640605] IQK: RegE94=101 RegE9C=f RegEA4=ff RegEAC=3ff RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
 Path A IQ Calibration Success !
[  965.750978] pdmpriv->TxPowerTrackControl = 1
[  965.755598] rtl8192cu_hal_init in 602ms
[  965.762359] <===  rtw_ips_pwr_up.............. in 609ms
[  965.762476] ==> ips_leave.....LED(0x00028080)...
[  965.762483] HW_VAR_BASIC_RATE: BrateCfg(0x15d)
[  965.763106] -871x_drv - drv_close, bup=1
[  965.866425] +871x_drv - drv_open, bup=1
[  965.866430] -871x_drv - drv_open, bup=1
[  965.866456] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  967.886079] ==>rtw_ps_processor .fw_state(0)
[  967.886085] ==>ips_enter cnts:2
[  967.886088] ===> rtw_ips_pwr_down...................
[  967.886338] ====> rtw_ips_dev_unload...
[  967.909976] usb_read_port_cancel
[  967.910220] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  967.910468] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  967.910723] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  967.910967] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  967.910991] usb_write_port_cancel
[  967.911032] ==> rtl8192cu_hal_deinit
[  967.911035] bkeepfwalive(0)
[  967.911037] card disble without HWSM...........
[  967.916112] <=== rtw_ips_pwr_down..................... in 30ms
[ 1165.600334] ACPI: EC: GPE storm detected(9 GPEs), transactions will use polling mode


I have looked for these types of messages and not found any. When the module first loads, the device lights up and then shuts off. Between this and the messages it appears to be powering off. Any suggestions?
Back to top
View user's profile Send private message
Poincare
n00b
n00b


Joined: 25 Feb 2006
Posts: 30
Location: This crappy AMD laptop...

PostPosted: Thu Jul 03, 2014 11:40 pm    Post subject: Reply with quote

I have the USB 8192cu wifi dongle as well. I find the kernel driver just drops connections and is completely unstable. The site previously mentioned by someone (at https://github.com/dz0ny/rt8192cu) has some info for Ubuntu but not for Gentoo. I follow the instructions to se git to clone the driver directory. Then when I sudo make dkms I get this error:

Code:
$ sudo make dkms
Password:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /usr/src/8192cu-4.0.29
mkdir /usr/src/8192cu-4.0.29 -p
cp . /usr/src/8192cu-4.0.29 -a
rm -rf /usr/src/8192cu-4.0.29/.git
dkms add -m 8192cu -v 4.0.29
make: dkms: Command not found
make: *** [dkms] Error 127


Can anyone please help to get this 9192cu driver working??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum