linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Anisse Astier <anisse@astier.eu>
Cc: linux-wireless@vger.kernel.org
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card
Date: Wed, 05 Sep 2012 12:38:24 -0500	[thread overview]
Message-ID: <50478E10.6030808@lwfinger.net> (raw)
In-Reply-To: <20120905185510.2ab501cd@destiny.ordissimo>

On 09/05/2012 11:55 AM, Anisse Astier wrote:
> Hi,
>
> On a toshiba laptop (see dmesg attached), with a wireless-next kernel,
> this card doesn't seem to turn on:
> 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
>

Unfortunately, the above is not a wireless device. It is your wired device.

> # modprobe rtl8192ce debug=4
> [ 6184.995319] cfg80211: Calling CRDA to update world regulatory domain
> [ 6185.103824] rtl8192ce: rtl8192ce: FW Power Save off (module option)

The above line is unexpected. Do you have a module option set in /etc/module.d/?

> [ 6185.103881] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
> [ 6185.150488] rtlwifi:rtl_fw_cb():<0-0> Firmware callback routine entered!
> [ 6185.216834] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
> [ 6185.224729] rtlwifi: wireless switch is on
> [ 6185.289544] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289649] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289797] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289944] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290092] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290250] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290398] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290545] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290693] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:98053f15:10
> [ 6185.291829] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware Version(49), Signature(0x88c1),Size(32)

That is the firmware that I use.

> [ 6185.513223] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
> [ 6185.513237] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> The SECR-value cc
> [ 6185.622274] rtl8192c_common:rtl92c_dm_initialize_txpower_tracking_thermalmeter():<0-0> pMgntInfo->txpower_tracking = 1
> [ 6185.623129] rtlwifi:rtl_pci_start():<0-0> enable_interrupt OK
> [ 6185.623140] rtlwifi:rtl_pci_start():<0-0> OK
> [ 6185.624061] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> Not connected to any
> [ 6185.624073] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> AP Ext Port PWDB = 0x0
> [ 6185.624123] rtl8192c_common:rtl92c_dm_check_txpower_tracking_thermal_meter():<0-0> Trigger 92S Thermal Meter!!
> [ 6185.632970] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6185.632987] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6185.633028] rtlwifi:rtl_op_bss_info_changed():<0-0> BSS_CHANGED_ERP_PREAMBLE use short preamble:0
> [ 6185.633040] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
> [ 6185.633989] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
> [ 6185.634281] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_RETRY_LIMITS 4
> [ 6185.644434] rtl8192c_common:rtl92c_phy_sw_chnl():<0-0> sw_chnl_inprogress false schdule workitem
> [ 6185.644445] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
> [ 6185.655245] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [ 6185.734598] rtl8192ce:_rtl92ce_phy_set_rf_power_state():<0-0> IPS Set eRf nic disable
> [ 6185.735117] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6185.735129] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6185.852489] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.852504] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [ 6185.853211] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.853221] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [ 6185.853823] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.853833] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [...] this is repeated
>
> After a modprobe -r:
> [ 6187.127706] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6187.127724] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6187.130614] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6187.130626] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6187.130638] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
> [ 6187.130646] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
> [ 6187.139353] rtl8192c_common:rtl92c_firmware_selfreset(): 8051 reset fail
> [ 6187.139373] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
> [ 6187.139382] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
>
>
> After inserting the module, the PCI information is scrambled:
> 06:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8176 (rev ff) (prog-if ff)
>          !!! Unknown header type 7f

This listing is likely for your wireless card.

> After a few seconds, the computer will freeze if the module isn't removed.
> The card works on Windows.
>
> This looks like a hidden rfkill, or maybe it is a different revision of
> the card. What do you think ?

Without a full 'sudo lspci -nnv' listing for the wireless, it is hard to tell if 
it is a different revision. The rx descriptor unavailable message is a new one 
for me.

I have two different revisions of the RTL8188CE card. The newer one, marked 
RTL8188CE-VL, gives the following lspci output:

06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 
802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
         Subsystem: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi 
Adapter [10ec:8176]
         Flags: bus master, fast devsel, latency 0, IRQ 20
         I/O ports at 4000 [size=256]
         Memory at f8000000 (64-bit, non-prefetchable) [size=16K]
         Capabilities: [40] Power Management version 3
         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
         Capabilities: [70] Express Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Virtual Channel
         Capabilities: [160] Device Serial Number 01-91-81-fe-ff-4c-e0-00
         Kernel driver in use: rtl8192ce

It certainly does not yield the rx descriptor problem. Please send the lspci 
output when the driver has not been loaded.

Larry




  reply	other threads:[~2012-09-05 17:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 16:55 rtl8192ce: activation problem with rtl8188ce pci card Anisse Astier
2012-09-05 17:38 ` Larry Finger [this message]
2012-09-05 18:01   ` Anisse Astier
2012-09-05 18:14   ` Anisse Astier
2012-09-05 20:24     ` Larry Finger
2012-09-06  8:01       ` Anisse Astier
2012-09-06 14:15       ` Anisse Astier
     [not found]         ` <5048D138.1080109@lwfinger.net>
     [not found]           ` <20120906202710.30c4bc8a@destiny.ordissimo>
2012-09-06 19:04             ` Larry Finger
2012-09-07  8:44               ` Anisse Astier
2012-09-10 17:33               ` Anisse Astier

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=50478E10.6030808@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=anisse@astier.eu \
    --cc=linux-wireless@vger.kernel.org \
    /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).