[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 9 17:30:46 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521
Mario Lobo <lobo at bsd.com.br> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lobo at bsd.com.br
--- Comment #182 from Mario Lobo <lobo at bsd.com.br> ---
Hi;
ACER ASPIRE 5 A515-51G-C97B
FreeBSD 13.0-CURRENT #0 r360882
RTL8411B PCI Express Card Reader
I cloned https://github.com/hlh-restart/rtsx
make install
kldload rtsx
mmc0: <MMC/SD bus> on rtsx0
mmcsd0: 8GB <SDHC SU08G 8.0 SN 03518B4C MFG 08/2012 by 3 SD> at mmc0
50.0MHz/4bit/256-block
Inserting an SD first time, it yields:
rtsx0: Interrupt card inserted/removed
rtsx0: No request running
I can mount/unmount, copy, delete, anything.
OBS - The FIRST time I inserted/removed/reinserted the SD, it outputted:
mmc0: detached
rtsx0: Interrupt card inserted/removed
rtsx0: No request running
mmc0: <MMC/SD bus> on rtsx0
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
mmc0: ACMD41 failed, RESULT: 4
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Interrupt card inserted/removed
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
mmc0: detached
I unloaded/reloaded the module, and now it doesn't fail anymore. I tested
insert/remove SD about 15 times and no error.
mount -t msdosfs /dev/mmcsd0s1 /mnt
/dev/mmcsd0s1 7.4G 6.8G 559M 93% /mnt
So it's working fine here.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list