Compiling ndiswrapper module (Realtek rtl8192se wireless)



Hi all,

I've got a new Thinkpad T410 i5 to replace my Toshiba L305D
series with Turion x64. (The latter was promising, but
tended to overheat, even when I fixed the CPU speed at
1GHz.)

The T410 come with a Realtek rtl8192se mini PCI express
wireless card.

I've done my best with the native drivers, compiling them
for a 2.6.36-amd64 kernel. The module load and the wireless
device appears in ifconfig output, but 'iw wlan0 scan' fails
with 'Operation not permitted'. :-(

So now I'm going back to try ndiswrapper. Thing is, it
doesn't compile for 2.6.36 kernel.

driver make[1]: Entering directory
`/home/jroth/Downloads/ndiswrapper-1.56/driver' make -C
/usr/src/linux-source-2.6.36
M=/home/jroth/Downloads/ndiswrapper-1.56/driver make[2]:
Entering directory `/usr/src/linux-source-2.6.36' CC [M]
/home/jroth/Downloads/ndiswrapper-1.56/driver/loader.o
/home/jroth/Downloads/ndiswrapper-1.56/driver/loader.c:834:
error: unknown field 'ioctl' specified in initializer
/home/jroth/Downloads/ndiswrapper-1.56/driver/loader.c:834:
warning: initialization from incompatible pointer type
make[3]: ***
[/home/jroth/Downloads/ndiswrapper-1.56/driver/loader.o]
Error 1

Does anyone have experience with this? Or alternatively,
Can someone suggest which recent kernel version *will*
compile this properly?

I'd like to stay recent to be able to use the xorg driver for the
Intel HD Graphics chip.

Also, does anyone know why ndiswrapper is not in the
mainline kernel?

Thanks!

Joel

--
Joel Roth


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: 20101130202612.GA6466@sprite">http://lists.debian.org/20101130202612.GA6466@sprite



Relevant Pages

  • Compiling the drivers for a ADSL Modem (IceData500)
    ... My modem model is IceData500 and the vendor says it is compatible with RH ... The unicorn driver is a standard Linux ... PPPoE, PPPoA or RFC2684 protocols, the kernel may need to be patched. ... To compile the drivers, ...
    (Fedora)
  • Re: modules load
    ... The Handbook is not so clear about what you must compile ... > kernel, ... modules (the nVidia graphics driver is a good example of the latter). ... system sources, you can just look at the source code for each driver ...
    (freebsd-questions)
  • Re: Between F11 and F12, which would you choose?
    ... Compiled and work on F12. ... The ACPI only works on the kernel 2.6.32-git* series on a ASUStek ... I compiled and installed a Ethernet driver for Realtek 8111/8168B from ... to compile the latest stable kernel to put ACPI (hibernate and suspend ...
    (Fedora)
  • Re: Problems with kernel: no sound, printer, cdwriter
    ... Compile them, install them and then load the module. ... kernel, not as module. ... > Journalled Block Device driver loaded ...
    (Debian-User)
  • Re: Back to ubuntu
    ... but not in regular ubuntu 6.06 or any other version of ubuntu? ... so i attempted to compile the drivers on ubuntu 7.04, ... that under kubuntu 6.06 you were using a compatible kernel, ... unless you figure out how to get the driver to compile. ...
    (Ubuntu)