2. Extract archive, edit rtsx.c:
2.1. Remove __devinit from rtsx_probe in line 893
2.2. Remove __devexit from rtsx_remove in line 1048
2.3. Replace __devexit_p() with rtsx_remove in line 1074
2.4. Remove line 125 to 156
static int proc_info (struct Scsi_Host *host, char *buffer,
char **start, off_t offset, int length, int inout)
{
char *pos = buffer;
$ sudo lspci -v -s 03:00.0 01-00-4c- e0-00
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5286 (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 202f
Flags: fast devsel, IRQ 16
Memory at f7c00000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
$ uname -a
Linux HELLO 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[SOLUTION]
I did the following steps from exzemat (you rock!):
1. Download: /bugs.launchpad .net/ubuntu/ +source/ udisks/ +bug/971876/ +attachment/ 2991730/ +files/ rts_bpp. tar.bz2
https:/
2. Extract archive, edit rtsx.c:
2.1. Remove __devinit from rtsx_probe in line 893
2.2. Remove __devexit from rtsx_remove in line 1048
2.3. Replace __devexit_p() with rtsx_remove in line 1074
2.4. Remove line 125 to 156
static int proc_info (struct Scsi_Host *host, char *buffer,
char **start, off_t offset, int length, int inout)
{
char *pos = buffer;
if (inout)
return length;
SPRINTF(" Host scsi%d: %s\n", host->host_no, CR_DRIVER_NAME);
SPRINTF(" Vendor: Realtek Corp.\n");
SPRINTF(" Product: Barossa Plusplus\n");
SPRINTF(" Version: %s\n", DRIVER_VERSION);
SPRINTF(" Build: %s\n", __TIME__);
/*
* Calculate start of next buffer, and return value.
*/
*start = buffer + offset;
if ((pos - buffer) < offset)
return (0);
else if ((pos - buffer - offset) < length)
return (pos - buffer - offset);
else
return (length);
}
2.5 Remove line 259
.proc_info = proc_info,
3. Compile with "make"
4. sudo insmod rts_bpp.ko
5. Voila! It works!