Realtek MMC/MMCSD reader?

Gary Jennejohn gljennjohn at gmail.com
Sat Feb 20 09:44:18 UTC 2016


On Fri, 19 Feb 2016 23:02:26 -0600
Larry Rosenman <ler at 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 at 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


More information about the freebsd-current mailing list