Mint 19 interner SD card reader [gelöst]
Verfasst: So 30. Sep 2018, 12:57
hallo liebe Mitstreiter,
Ein Thema welches mich beschäftigt ist der im NB integrierte SD Card Reader...
im NB Acer VN7 591
Bisher abgeklärt:exfat-utils installiert
SD 128 GB exfat Karte funktioniert
-mit Win10 im NB
-mit Mint 19 im Externen Card Reader
Interner Card Reader mit Mint 19
- funktioniert bis 64 GB
Da die HW technisch funktioniert
Gehe ich davon aus dass der Treiber nicht so ganz der Richtige ist
Versuche den Realtek Treiber zu installieren scheiterten mit "make"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hat jemand schon diese Hürde genommen und hat einen guten Tipp für mich?
Danke für Euer Feedback
et
Ein Thema welches mich beschäftigt ist der im NB integrierte SD Card Reader...
Code: Alles auswählen
# Bus 003 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader
Bisher abgeklärt:exfat-utils installiert
SD 128 GB exfat Karte funktioniert
-mit Win10 im NB
-mit Mint 19 im Externen Card Reader
Interner Card Reader mit Mint 19
- funktioniert bis 64 GB
Da die HW technisch funktioniert
Gehe ich davon aus dass der Treiber nicht so ganz der Richtige ist
Versuche den Realtek Treiber zu installieren scheiterten mit "make"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Code: Alles auswählen
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/4.15.0-34-generic/build/ SUBDIRS=/home/et/Downloads/rts_pstor modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-34-generic“ wird betreten
CC [M] /home/et/Downloads/rts_pstor/rtsx.o
/home/et/Downloads/rts_pstor/rtsx.c:275:3: error: ‘struct scsi_host_template’ has no member named ‘proc_info’; did you mean ‘show_info’?
.proc_info = proc_info,
^~~~~~~~~
show_info
/home/et/Downloads/rts_pstor/rtsx.c:275:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.proc_info = proc_info,
^~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:275:17: note: (near initialization for ‘rtsx_host_template.proc_dir’)
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /home/et/Downloads/rts_pstor/rtsx.c:23:
/home/et/Downloads/rts_pstor/rtsx.c: In function ‘rtsx_control_thread’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64 {aka long long unsigned int}’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:530:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad target number (%d:%d)\n",
^~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:530:44: note: format string is defined here
printk(KERN_ERR "Bad target number (%d:%d)\n",
~^
%lld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /home/et/Downloads/rts_pstor/rtsx.c:23:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64 {aka long long unsigned int}’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:536:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad LUN (%d:%d)\n",
^~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:536:34: note: format string is defined here
printk(KERN_ERR "Bad LUN (%d:%d)\n",
~^
%lld
/home/et/Downloads/rts_pstor/rtsx.c: At top level:
/home/et/Downloads/rts_pstor/rtsx.c:916:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
^~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:1080:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
static void __devexit rtsx_remove(struct pci_dev *pci)
^~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:1106:11: error: ‘rtsx_probe’ undeclared here (not in a function); did you mean ‘rtsx_writel’?
.probe = rtsx_probe,
^~~~~~~~~~
rtsx_writel
/home/et/Downloads/rts_pstor/rtsx.c:1107:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
__exit_p
/home/et/Downloads/rts_pstor/rtsx.c:1107:24: error: ‘rtsx_remove’ undeclared here (not in a function); did you mean ‘rtsx_resume’?
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
rtsx_resume
/home/et/Downloads/rts_pstor/rtsx.c:816:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
static void rtsx_init_options(struct rtsx_chip *chip)
^~~~~~~~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:790:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
static int rtsx_scan_thread(void * __dev)
^~~~~~~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:780:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
static void release_everything(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:745:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
static void quiesce_and_remove_host(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:596:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
static int rtsx_polling_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/home/et/Downloads/rts_pstor/rtsx.c:485:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
static int rtsx_control_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/et/Downloads/rts_pstor/rtsx.o' failed
make[2]: *** [/home/et/Downloads/rts_pstor/rtsx.o] Error 1
Makefile:1552: recipe for target '_module_/home/et/Downloads/rts_pstor' failed
make[1]: *** [_module_/home/et/Downloads/rts_pstor] Error 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-34-generic“ wird verlassen
Makefile:35: recipe for target 'default' failed
make: *** [default] Error 2
**********************************************************************************************************
Danke für Euer Feedback
et