[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building kernel module: rtl8192se



Le Friday 15 April 2011 14:44:27 Mathieu Malaterre, vous avez écrit :
> Dear all,
> 
>   I am trying to build the rtl8192se module for my running debian
> kernel. I have the patch that apply cleanly on linux 2.6.38 (*).
> However I failed to find any documentation for building this wireless
> driver.
>   I tried the brutal approach of building the entire kernel, see below.
> 
>   All I am looking for is a simple page where it would describe the
> step to build a specific kernel module on a debian machine.
> 
>   apt-get source linux-2.6
>   cd linux-2.6-2.6.38
>   patch -p1 < ~/Downloads/wireless-next-2.6.38.patch
>   dpkg-buildpackage -rfakeroot -us -uc
> 
> But this fails with:
> 
> --> base fully applied.
> --> Try to apply 2.
>   (+) OK   bugfix/all/kconfig-Avoid-buffer-underrun-in-choice-input.patch
>   (+) OK   bugfix/all/rt2800-disable-powersaving-as-default.patch
>   (-) OK  
> bugfix/x86/Correct-a-typo-in-xen_do_hypervisor_callback-label.patch 3 out
> of 3 hunks FAILED -- saving rejects to file
> drivers/net/wireless/ath/ath9k/hw.c.rej
> 1 out of 1 hunk FAILED -- saving rejects to file
> drivers/net/wireless/ath/ath9k/recv.c.rej
> 3 out of 3 hunks FAILED -- saving rejects to file
> drivers/net/wireless/rtl818x/rtl8187/dev.c.rej
> 1 out of 1 hunk FAILED -- saving rejects to file
> drivers/net/wireless/rtl818x/rtl8187/rtl8187.h.rej
>   (+) FAIL bugfix/all/stable/2.6.38.1.patch
> Error: Patch failed
> make[2]: *** [debian/stamps/source] Error 1
> make[2]: Leaving directory `/tmp/linux-2.6-2.6.38'
> make[1]: *** [source_amd64_none_real] Error 2
> make[1]: Leaving directory `/tmp/linux-2.6-2.6.38'
> make: *** [debian/stamps/source-base] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> thank you very much !

Just download the driver from realtek here :
http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false

For me it works, no need to patch the kernel.

I have this card :
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB 
Wireless LAN Controller (rev 10)


Reply to: