rtsx.4 (9d3bc163825415f900d06d62efdf02caaad2d51d) rtsx.4 (577130e56e524eb185ff4d32644dae26be4d28d4)
1.\"
2.\" Copyright (c) 2020 Henri Hennebert <hlh@restart.be>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\"
2.\" Copyright (c) 2020 Henri Hennebert <hlh@restart.be>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd April 25, 2021
27.Dd February 10, 2022
28.Dt RTSX 4
29.Os
30.Sh NAME
31.Nm rtsx
32.Nd Realtek SD card reader
33.Sh SYNOPSIS
34To compile this driver into the kernel, place the following
35lines in the kernel configuration file:

--- 29 unchanged lines hidden (view full) ---

65RTS5227
66.It
67RTS5229
68.It
69RTS522A
70.It
71RTS525A
72.It
28.Dt RTSX 4
29.Os
30.Sh NAME
31.Nm rtsx
32.Nd Realtek SD card reader
33.Sh SYNOPSIS
34To compile this driver into the kernel, place the following
35lines in the kernel configuration file:

--- 29 unchanged lines hidden (view full) ---

65RTS5227
66.It
67RTS5229
68.It
69RTS522A
70.It
71RTS525A
72.It
73RTS5260
74.It
73RTL8411B
74.El
75.Pp
76It should also work for:
77.Pp
78.Bl -bullet -compact
79.It
80RTS5249

--- 17 unchanged lines hidden (view full) ---

98with modifications found in Linux and
99.Nx .
100.Sh AUTHORS
101.An Henri Hennebert Aq Mt hlh@restart.be
102.An Gary Jennejohn Aq Mt gj@freebsd.org
103.An Jesper Schmitz Mouridsen Aq Mt jsm@FreeBSD.org
104.Sh CONTRIBUTORS
105.An Lutz Bichler Aq Mt Lutz.Bichler@gmail.com
75RTL8411B
76.El
77.Pp
78It should also work for:
79.Pp
80.Bl -bullet -compact
81.It
82RTS5249

--- 17 unchanged lines hidden (view full) ---

100with modifications found in Linux and
101.Nx .
102.Sh AUTHORS
103.An Henri Hennebert Aq Mt hlh@restart.be
104.An Gary Jennejohn Aq Mt gj@freebsd.org
105.An Jesper Schmitz Mouridsen Aq Mt jsm@FreeBSD.org
106.Sh CONTRIBUTORS
107.An Lutz Bichler Aq Mt Lutz.Bichler@gmail.com
106.Sh BUGS
108.Sh DEBUGGING INFORMATION
109.Em dev.rtsx.0.debug_mask
110can be set with the following masks:
107.Bl -bullet
108.It
111.Bl -bullet
112.It
109The timeouts experienced during card insert and during I/O are solved in version 1.0g.
1130x01 - to show the basic flow of the driver,
110.It
114.It
1150x02 - to trace the SD commands,
116.It
1170x04 - to trace the tuning phase.
118.El
119.Sh BUGS
120.Bl -bullet
121.It
111RTS522A on Lenovo T470p, card detection and read-only switch are reversed.
112This is solved by adding in
113.Em loader.conf(5) :
114.Bd -ragged
115.Cd dev.rtsx.0.inversion=1
116.Ed
117.Pp
118The driver tries to automate those exceptions.
119If this automation is wrong, it can be avoided by adding in
120.Em loader.conf(5) :
121.Bd -ragged
122.Cd dev.rtsx.0.inversion=0
123.Ed
124.It
125Mounting a filesystem with write access on a card write protected may involve a kernel crash.
126.It
127Suspend/Resume do not work under MMCCAM.
128.El
122RTS522A on Lenovo T470p, card detection and read-only switch are reversed.
123This is solved by adding in
124.Em loader.conf(5) :
125.Bd -ragged
126.Cd dev.rtsx.0.inversion=1
127.Ed
128.Pp
129The driver tries to automate those exceptions.
130If this automation is wrong, it can be avoided by adding in
131.Em loader.conf(5) :
132.Bd -ragged
133.Cd dev.rtsx.0.inversion=0
134.Ed
135.It
136Mounting a filesystem with write access on a card write protected may involve a kernel crash.
137.It
138Suspend/Resume do not work under MMCCAM.
139.El