[РЕШЕНО]Не работает карт ридер RTS5229

Здравствуйте!
После установки кальки, всё работает кроме этого девайса. Я не силён в английском и на забугорных форумах даже с переводчиком очень сложно. К тому же я новенький в линуксе.

lsusb
Bus 002 Device 003: ID 0c45:6458 Microdia 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0cf3:311f Atheros Communications, Inc. 
Bus 001 Device 003: ID 09da:054f A4Tech Co., Ltd. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]
07:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)

Как я понял проблема в этом:

09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)

Вот что я делал

wget https://bugs.launchpad.net/bugs/971876/+attachment/2991730/+files/rts_bpp.tar.bz2
tar jxf rts_bpp.tar.bz2
cd rts_bpp
make
su -c 'make install ; modprobe rts_bpp ; depmod -a' 

Но команда make выходит с ошибкой:

alculate rts_bpp # make
cp -f ./define.release ./define.h
make -C /lib/modules/3.18.20-calculate/build/ SUBDIRS=/home/sega/rts_bpp modules
make[1]: вход в каталог «/usr/src/linux-3.18.20-calculate»

  WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/sega/rts_bpp/rtsx.o
/home/sega/rts_bpp/rtsx.c: В функции «proc_info»:
/home/sega/rts_bpp/rtsx.c:141:41: ошибка: макрос «__TIME__» может помешать повторным сборкам [-Werror=date-time]
  SPRINTF("        Build: %s\n", __TIME__);
                                         ^
/home/sega/rts_bpp/rtsx.c: На верхнем уровне:
/home/sega/rts_bpp/rtsx.c:259:2: ошибка: неизвестное поле «proc_info» в инициализаторе
  .proc_info =   proc_info,
  ^
/home/sega/rts_bpp/rtsx.c:259:2: предупреждение: несовместимый тип указателя в инициализации
/home/sega/rts_bpp/rtsx.c:259:2: предупреждение: (где-то рядом с инициализацией для «rtsx_host_template.proc_dir»)
/home/sega/rts_bpp/rtsx.c: В функции «rtsx_control_thread»:
/home/sega/rts_bpp/rtsx.c:496:7: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «u64» [-Wformat=]
       chip->srb->device->id, chip->srb->device->lun);
       ^
/home/sega/rts_bpp/rtsx.c:502:7: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «u64» [-Wformat=]
       chip->srb->device->id, chip->srb->device->lun);
       ^
/home/sega/rts_bpp/rtsx.c: На верхнем уровне:
/home/sega/rts_bpp/rtsx.c:893:22: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rtsx_probe»
 static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
                      ^
/home/sega/rts_bpp/rtsx.c:900:35: ошибка: макрос «__TIME__» может помешать повторным сборкам [-Werror=date-time]
  printk(KERN_INFO "--- %s ---\n", __TIME__);
                                   ^
/home/sega/rts_bpp/rtsx.c:1048:23: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rtsx_remove»
 static void __devexit rtsx_remove(struct pci_dev *pci)
                       ^
/home/sega/rts_bpp/rtsx.c:1073:11: ошибка: «rtsx_probe» undeclared here (not in a function)
  .probe = rtsx_probe,
           ^
/home/sega/rts_bpp/rtsx.c:1074:2: ошибка: неявная декларация функции «__devexit_p» [-Werror=implicit-function-declaration]
  .remove = __devexit_p(rtsx_remove),
  ^
/home/sega/rts_bpp/rtsx.c:1074:24: ошибка: «rtsx_remove» undeclared here (not in a function)
  .remove = __devexit_p(rtsx_remove),
                        ^
/home/sega/rts_bpp/rtsx.c:255:34: предупреждение: «rtsx_host_template» определена, но нигде не используется [-Wunused-variable]
 static struct scsi_host_template rtsx_host_template = {
                                  ^
/home/sega/rts_bpp/rtsx.c:450:12: предупреждение: «rtsx_control_thread» определена, но нигде не используется [-Wunused-function]
 static int rtsx_control_thread(void * __dev)
            ^
/home/sega/rts_bpp/rtsx.c:559:12: предупреждение: «rtsx_polling_thread» определена, но нигде не используется [-Wunused-function]
 static int rtsx_polling_thread(void * __dev)
            ^
/home/sega/rts_bpp/rtsx.c:715:13: предупреждение: «quiesce_and_remove_host» определена, но нигде не используется [-Wunused-function]
 static void quiesce_and_remove_host(struct rtsx_dev *dev)
             ^
/home/sega/rts_bpp/rtsx.c:751:13: предупреждение: «release_everything» определена, но нигде не используется [-Wunused-function]
 static void release_everything(struct rtsx_dev *dev)
             ^
/home/sega/rts_bpp/rtsx.c:761:12: предупреждение: «rtsx_scan_thread» определена, но нигде не используется [-Wunused-function]
 static int rtsx_scan_thread(void * __dev)
            ^
/home/sega/rts_bpp/rtsx.c:786:13: предупреждение: «rtsx_init_options» определена, но нигде не используется [-Wunused-function]
 static void rtsx_init_options(struct rtsx_chip *chip)
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: ошибка выполнения рецепта для цели «/home/sega/rts_bpp/rtsx.o»
make[2]: *** [/home/sega/rts_bpp/rtsx.o] Ошибка 1
Makefile:1381: ошибка выполнения рецепта для цели «_module_/home/sega/rts_bpp»
make[1]: *** [_module_/home/sega/rts_bpp] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-3.18.20-calculate»
Makefile:35: ошибка выполнения рецепта для цели «default»
make: *** [default] Ошибка 2

Всё дальше ступор. Прошу помощи

Все проще, драйвер есть в портежах:

echo sys-block/rts5229 >>/etc/portage/package.keywords/custom
emerge sys-block/rts5229

После перезагрузки все заработало.

Спасибо за подсказку. Проблему я решил пересборкой ядра включив поддержку контроллеров реалтека. И этот драйвер заодно поставил, но по команде lspci всё также и осталось. Это нормально?

Да, у меня lspci то же самое выдает и все работает:

lspci | grep RTS5229

08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)

Спасибо. Тогда вопрос снят