Date: Thu, 02 Jul 2020 10:16:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD Message-ID: <bug-204521-227-CsvgX7tNCX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/> References: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521 --- Comment #277 from Zeus Panchenko <zeus.panchenko@gmail.com> --- (In reply to Henri Hennebert from comment #272) if I'm lucky card is detected but on mount attempt system panics > Please checkout the branch HP_PB_430_g2=20 make went with one warning rtsx.c:970:1: warning: unused function 'rtsx_map_sd_drive' [-Wunused-functi= on] > without make -D RTSX_INVERSION does it correctly detect the presence of a= card when it is inserted? yes, on insert it reports present, on remove - absent <<<<<<<<<< kldload >>>>>>>>>> rtsx0: <Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xc1200000-0xc1200fff at device 0.0 on pci2 rtsx0: Card absent <<<<<<<<<< card inser >>>>>>>>>> rtsx0: Interrupt card inserted/removed rtsx0: Card present mmc0: <MMC/SD bus> on rtsx0 rtsx0: Controller timeout for CMD41 rtsx0: Soft reset rtsx0: Controller timeout for CMD55 rtsx0: Soft reset rtsx0: Controller timeout for CMD55 rtsx0: Soft reset rtsx0: Controller timeout for CMD55 rtsx0: Soft reset <<<<<<<<<< sometimes it shows this and no mmcsd0 appears >>>>>>>>>> mmc0: ACMD41 failed, RESULT: 4 <<<<<<<<<< card remove >>>>>>>>>> rtsx0: Interrupt card inserted/removed rtsx0: Card absent > Does it correctly configure the card (creation of the /dev/mmcsd0 device)? yes, it is (when it works) <<<<<<<<<< card inser >>>>>>>>>> rtsx0: Interrupt card inserted/removed rtsx0: Card present mmc0: <MMC/SD bus> on rtsx0 mmcsd0: 2GB <SD SD02G 3.8 SN A58756A6 MFG 05/2009 by 2 TM> (read-only) at m= mc0 50.0MHz/4bit/256-block ls -al /dev/mm* crw-r----- 1 root operator 0x2a1 Jul 2 11:36 /dev/mmcsd0 crw-r----- 1 root operator 0x2a2 Jul 2 11:36 /dev/mmcsd0s1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-CsvgX7tNCX>