Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2016 10:44:13 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Gary Corcoran <gcorcoran@rcn.com>, freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org
Subject:   Re: Realtek MMC/MMCSD reader?
Message-ID:  <20160220104413.6b6bdd17@ernst.home>
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
On Fri, 19 Feb 2016 23:02:26 -0600
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-working-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.
> 

Looking at the patch some non-trivial changes were made to the driver.
It's hard to tell whether most of them were meant to make the driver
more flexible, or whether they were really added to support this
device.

That said, a number of device-specific commands and at least one new
function were added just for this.

Whether these changes can easily be implemented in the FBSD code I
can't answer without investing more time.

There's also the point that any programmer willing to help may need
the hardware.  Blindly making changes to a driver in the hope they
might work isn't exactly good practice.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160220104413.6b6bdd17>