[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 2 10:16:22 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521
--- Comment #277 from Zeus Panchenko <zeus.panchenko at 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
make went with one warning
rtsx.c:970:1: warning: unused function 'rtsx_map_sd_drive' [-Wunused-function]
> 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 mmc0
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list