https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #277 from Zeus Panchenko <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to