Wifi won't be enabled on Dell mini 1018 (RTL8188CE)

Hi!
I wonder how can tell opensuse 12.1 to understand a code that supposes to enable wifi with F2 (without Fn pressed)…

In /var/log/messages I see “can’t enable rawmode for keycode 240”

rfkill says that all wifi cards (the internal rtl8188ce and two others that I plugged into USB ports) are hard blocked…

The kernel in opensuse 12.1 is version 3, and the working 64 bit module for rtl8192ce (the same driver that rtl8188ce), was included in kernel 2.6.38…

It is a real pain… could someone help me please?

Please note that the other two cards are a realtek and a ralink cards that work out of the box in any other computer, and all are equally “blocked by a hardware switch”… so I believe that the problem is with the switch (the holy key) and not the driver.

Thanks!

On 12/13/2011 11:46 PM, mgnome wrote:
>
> Hi!
> I wonder how can tell opensuse 12.1 to understand a code that supposes
> to enable wifi with F2 (without Fn pressed)…
>
> In /var/log/messages I see “can’t enable rawmode for keycode 240”
>
> rfkill says that all wifi cards (the internal rtl8188ce and two others
> that I plugged into USB ports) are hard blocked…
>
> The kernel in opensuse 12.1 is version 3, and the working 64 bit module
> for rtl8192ce (the same driver that rtl8188ce), was included in kernel
> 2.6.38…
>
> It is a real pain… could someone help me please?
>
> Please note that the other two cards are a realtek and a ralink cards
> that work out of the box in any other computer, and all are equally
> “blocked by a hardware switch”… so I believe that the problem is with
> the switch (the holy key) and not the driver.

The module dell-wmi is the one that usually handles the Fn-F2 key press for Dell
boxes. Is it loaded? Why do you not use Fn-F2 rather than F2?

You probably could write a driver that would intercept F2 and pass that info on
to rfkill, but that would be a lot of work. It should also be possible to remap
F2 to the key press for Fn-F2.

If you unload whatever PCI driver you are using (sudo /sbin/modprobe -r
rtl8192ce for the RTL8188CE), the hard block will be removed, and USB cards will
work.
will s

Thanks Will, in that netbook the function keys (first row above numbers) don’t require Fn key, while if you actually want to press F1 for example, you have to press Fn + F1 on that row of the keyboard.

Indeed, all other function keys work allright (sound, brightness, etc.)

Writing a driver for that perhaps solve many people’s issue in this regard, but unfortunately I don’t master C neither C++ to do that.

I removed the module as you suggested but that did not help with the usb cards…

There is loaded the dell-laptop module, and removing it nothing changes…

I think however it comes from that way… and dell offers support only for windows 7… :frowning: I don’t know what else could try )

On 12/14/2011 02:36 PM, mgnome wrote:
>
> Thanks Will, in that netbook the function keys (first row above numbers)
> don’t require Fn key, while if you actually want to press F1 for
> example, you have to press Fn + F1 on that row of the keyboard.
>
> Indeed, all other function keys work allright (sound, brightness, etc.)
>
> Writing a driver for that perhaps solve many people’s issue in this
> regard, but unfortunately I don’t master C neither C++ to do that.
>
> I removed the module as you suggested but that did not help with the
> usb cards…
>
> There is loaded the dell-laptop module, and removing it nothing
> changes…
>
> I think however it comes from that way… and dell offers support only
> for windows 7… :frowning: I don’t know what else could try )

I do not know what dell-laptop is for, but the module you need is dell-wmi. If
that does not implement your function key, then you need to file a bug against
that component. Any such bug would be upstream in the kernel, but a bug against
openSUSE is the first step.

I understand your frustration, but avoided the problem as my HP laptop has a
slide switch with positive on/off.

[WORKAROUNDED]

Will, I remember that in 11.4 it took me many hours to get that card work, and also that there was loaded such module but neither removing or keeping it loaded made a difference. Booting from a live ubuntu on usb, I found that “can’t emulate rawmode for keycode 240” appears on ubuntu’s syslog while pressing the wireless key several times, the unblock indeed happened.

I post below this ugly workaround that at least allows the mini to be used for other users having the same problem.
I’ll check if there is something new with dell-wmi and other ways to have it running at proof of my mom’s use (I remember that I went to Wicd on that machine but I don’t know hoy did her block it again!!):

  1. Boot from usb with lubuntu (lubuntu.net),
  2. Press repeatedly and rapidly three or four times, the wifi key on your keyboard, and check that icon of networkmanager (it takes a few seconds to unlock and afterwards it shows and permits you connect to the wireless networks in range).
  3. Now shutdown and remove the usb stick, and boot normally into opensuse, taking care of never disable wireless through the networkmanager switch.

PS: In case you don’t know how, download unetbootin from unetbootin.sourceforge.net and lubuntu iso from lubuntu.net.

If there is a better method known to you, please update this post. Thank you and Will.

On 12/15/2011 10:36 AM, mgnome wrote:
>
> [WORKAROUNDED]
>
> Will, I remember that in 11.4 it took me many hours to get that card
> work, and also that there was loaded such module but neither removing or
> keeping it loaded made a difference. Booting from a live ubuntu on usb,
> I found that “can’t emulate rawmode for keycode 240” appears on ubuntu’s
> syslog while pressing the wireless key several times, the unblock indeed
> happened.

That is a very ugly workaround. The fact that it works with the Ubuntu kernel
and not with the openSUSE one means either there is a regression or a bug has
been fixed, depending on which is newer. Please post the output of ‘uname -r’
and ‘lsmod’ for both the Ubntuy and openSUSE cases.