LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   Problem Realtek RTS5209 Wireless (http://www.linuxquestions.org/questions/showthread.php?t=4175462284)

bursos 05-16-2013 09:54 PM

Problem Realtek RTS5209 Wireless
 
Hi everyone!

I just installed Xubuntu and I checked that my wireless dosen't work, and I noticed that my RTS5209 was unassigned because when I type
Code:

lspci | grep -i real
I get that:
Code:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)

I look out in Internet and there's a driver's trouble. I downloaded it from Realtek official web and I try to install it. But, when I make the package I've got an error with the kernel.

Code:

sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.release ./define.h
make -C /lib/modules/3.8.0-21-generic/build/ SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-21-generic'
make[2]: *** No rule to make target `/usr/src/linux-headers-3.8.0-21-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-21-generic'
make: *** [default] Error 2

I'm looking for some info, but I don't really know what happens :/

Anybody can help me?
Thanks a lot!

P.D: And sorry for my bad english ;)
P.D: I checked others threads with similar problems, but I don't found nothing that works with me. I'm still searching.

kilgoretrout 05-17-2013 03:11 PM

You probably don't have the kernel headers installed; they're necessary for compiling kernel modules like the one you're trying to compile for your wireless card. To install, run:

$ sudo apt-get install linux-headers-generic

and then try to compile your driver again.

bursos 05-17-2013 06:43 PM

Hey Kilgoretrout! Really thanks for answer!

I think my headers are updated

Code:

bursos@elia:~$ sudo apt-get install linux-headers-generic
[sudo] password for bursos:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
linux-headers-generic is already the newest version.
linux-headers-generic set to manually installed.
The following packages were automatically installed and are no longer required:
  gedit-common gir1.2-gtksource-3.0 gir1.2-peas-1.0 libgtksourceview-3.0-0
  libgtksourceview-3.0-common libpeas-1.0-0 libpeas-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.



All times are GMT -5. The time now is 02:29 AM.