1

I was trying to install Realtek_RTS5229_Linux_Driver_v1.07 which I downloaded from [here][1]

When I run the make command I get the following error:-

make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'
make: *** [LINUX] Error 2

I have 64 bit Ubuntu 12.04 LTS installed.

2

2 Answers 2

0

Install the drivers from Ubuntu Main Repository:

sudo apt-get install linux-firmware-nonfree

then reboot.

1
  • it didn't worked
    – Ashish Pal
    Jul 22, 2014 at 15:07
0

I believe the file is too old to compile on Ubuntu 14.04. It won't compile on my system either. I notice that there are a number of files in your package named rtsx.something. There are several drivers called rtsx built in:

/lib/modules/3.13.0-32-generic/kernel/drivers/memstick/host/rtsx_pci_ms.ko
/lib/modules/3.13.0-32-generic/kernel/drivers/mfd/rtsx_pci.ko
/lib/modules/3.13.0-32-generic/kernel/drivers/mmc/host/rtsx_pci_sdmmc.ko

Are you certain that the driver you need isn't already present? What does this tell us about the device?

lspci -nn

I suggest you try:

sudo apt-get install git
git clone https://github.com/mcfloundinho/rts5229.git
cd rts5229
make clean
make
sudo make install
sudo depmod -a
sudo modprobe rts5229

It makes with one warning but no errors on my system.

Please edit /etc/modprobe.d/blacklist.conf to change this line:

#Wireless drivers conflicting with rt3562sta

To this, with a space:

# Wireless drivers conflicting with rt3562sta

Proofread, save and close the text editor.

You have compiled the driver for your currently running kernel only. When Update Manager installs a newer linux-image, after the requested reboot, re-compile:

cd rts5229
make clean
make
sudo make install
sudo depmod -a
sudo modprobe rts5229
14
  • I have ubuntu 12.04 not 14.04
    – Ashish Pal
    Jul 22, 2014 at 14:29
  • I have ubuntu 12.04 not 14.04 and lspci -nn shows a big list of all Host bridge and in the last I found this 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01) 03:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290] 03:00.1 Bluetooth [0d11]: Ralink corp. RT3290 Bluetooth [1814:3298]
    – Ashish Pal
    Jul 22, 2014 at 14:32
  • Although you have 12.04, your kernel, 3.13.0-xx, is the newer kernel used in 14.04. Please see my edit above in a few minutes.
    – chili555
    Jul 22, 2014 at 14:39
  • Till sudo make install everything goes fine but sudo modprobe rts5229 gives error WARNING: /etc/modprobe.d/blacklist.conf line 56: ignoring bad line starting with '“blacklist' FATAL: Module rts5229 not found.
    – Ashish Pal
    Jul 22, 2014 at 14:55
  • Please see my edit above. Notice the addition of sudo depmod -a
    – chili555
    Jul 22, 2014 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .