Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 21:26:08 -0800
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Gary Corcoran <gcorcoran@rcn.com>,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>,  "owner-freebsd-current@freebsd.org" <owner-freebsd-current@freebsd.org>
Subject:   Re: Realtek MMC/MMCSD reader?
Message-ID:  <CAASDrVnpeWU_ABhtnTNQV9H%2BjZ3PBe3MGY1cZ_6vka0t45ZWpA@mail.gmail.com>
In-Reply-To: <2c70336f78b550e1b8964ab21fd9b138@thebighonker.lerctr.org>
References:  <20160220033215.GB988@lrosenman-dell.lerctr.org> <CANCZdfp3A94=M94P0bjfUiADo4jzXHbd6HG6GWOyLXbCknr5rw@mail.gmail.com> <20160220035821.GA57181@lrosenman-dell.lerctr.org> <CAOgwaMtjGok77VhyZVt7EDoSiWbrynBZuRCkaqtGRJofUMBF3w@mail.gmail.com> <f8487bb510ef9cc7584c04dcd650db8d@thebighonker.lerctr.org> <56C7EAC9.1050908@rcn.com> <2c70336f78b550e1b8964ab21fd9b138@thebighonker.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm also newbie and I'm working on adding a sdhci_acpi driver for Intel's
Atom SoC. I wonder if your device would work with the existing sdhci_pci
driver. Maybe it just a matter of adding the device id and possibly setting
some quirks or you might have to write a new driver for the host
controller? For me it's a bit tricky because I have to communicate with the
card using GPIO before it can be detected.

There is a driver in FreeBSD for reading and writing to a mmc so maybe it
is just a matter of connecting that to the controller.

Searching the Linux source for the device id to see if there is a driver is
a good idea.

For FreeBSD source check

sys/dev/mmc/
sys/dev/sdhci/

There is also a ongoing project to rewrite mmc to use cam. Maybe good idea
to check that as well.

https://wiki.freebsd.org/SDIO

On Friday, February 19, 2016, Larry Rosenman <ler@lerctr.org> wrote:

> On 2016-02-19 22:25, Gary Corcoran wrote:
>
>> On 2/19/2016 11:08 PM, Larry Rosenman wrote:
>>
>>> On 2016-02-19 22:05, Mehmet Erol Sanliturk wrote:
>>>
>>>> On Fri, Feb 19, 2016 at 7:58 PM, Larry Rosenman <ler@lerctr.org> wrote=
:
>>>>
>>>> Great.  Since I've never done that....
>>>>>
>>>>> Any ideas of anyone that might be able to help?
>>>>>
>>>>> Or where to even start?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> Perhaps
>>>>
>>>> https://www.nostarch.com/bsddrivers.htm
>>>> FreeBSD Device Drivers
>>>>
>>>>
>>>> ?
>>>>
>>>>
>>>> Mehmet Erol Sanliturk
>>>>
>>>>
>>>> perhaps.  But I'd need an NDA with RealTek to get the chip specs, and
>>> I'm not sure I can do that working for Nokia during the day
>>> as I do.
>>>
>>> I'd love for one of the current folks that do realtek stuff to look.
>>>
>> Sometimes people look to see if Linux has a driver, and if so, you
>> might be able to get enough
>> programming info from their driver to be able to write a FreeBSD
>> driver, without getting the
>> full chip specs.
>>
>> Gary
>>
>>
> http://askubuntu.com/questions/731093/sd-card-reader-realtek-522a-not-wor=
king-in-dell-i7559-in-ubuntu-15-10
>
> I'm still VERY much a newbie (like ZERO experience) writing drivers.
>
> Does anyone want to help?
>
> I'm more than willing to guinea pig stuff.
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
> US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>


--=20
--
Name:     Johannes Lundberg
Position: Mirama project leader
Phone:    +1-408-636-2161
Skype:    brilliantjohannes
Online:   LinkedIn <http://jp.linkedin.com/in/lundbergjohannes>; Facebook
<https://www.facebook.com/miramaone>; Reddit
<https://www.reddit.com/user/yohanesu75/>; Twitter
<https://twitter.com/Yohanesu75Tweet>; GitHub <https://github.com/yohanesu75=
>
GitLab <https://gitlab.com/u/johannes_lundberg>;
Company:  Mirama <http://mira.ma>; Brilliantservice US
<http://www.brilliantserviceusa.com>; Brilliantservice JP
<http://www.brilliantservice.co.jp>;

--=20
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
=E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF=
=BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=
=AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=97=
=E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98=E5=
=8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3=82=
=8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81=BE=
=E3=81=99=E3=80=82
=E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96=E3=
=81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5=A0=
=B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE=
=E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE=E3=
=83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5=88=
=87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81
=E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE=E4=
=BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8=A8=
=98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81=84=
=E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C=E3=
=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3=81=
=97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVnpeWU_ABhtnTNQV9H%2BjZ3PBe3MGY1cZ_6vka0t45ZWpA>