From owner-freebsd-hackers@freebsd.org Sat Nov 2 16:10:19 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 100111AA59E for ; Sat, 2 Nov 2019 16:10:19 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4753tf29BGz3MP7; Sat, 2 Nov 2019 16:10:17 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x441.google.com with SMTP id a15so12557933wrf.9; Sat, 02 Nov 2019 09:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=cU1QLNGVD2bMJs0iYqPDP/6Oa1SUw8WZHQalZ/uib5k=; b=TmHZ+CC0scuJZthnY5Z7Up9HyN52FAVtROTObm7hJnpJIVz3e67OLulvLYcpdmH4y+ iHOz2RXEfz/T3kj66mrO2Xh3Dr1ON/J/TLRB2pVcU4/LJX+xanDZShzRIlQBNE4QzhEX 3SU0fyiP1pGxVpZlRwU0YwMKpgv1n8mSCI1aZcRkEsP4lyHukh2ukICxMs0UtyOF/NEx nCQU55tDZhqxtyMtPB6GkCW1DwP6hazzVtmuWy5mxubHrCpxVi4THP/YmTr9fr2aq2+I Bw6dS/9CIUmP3fMt/tCfLmJZw6QAclk5oirX/9kmXHZrd7571wdM8Y80eelYTIn2luo6 AnYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=cU1QLNGVD2bMJs0iYqPDP/6Oa1SUw8WZHQalZ/uib5k=; b=G70iQt+ODXZUT6h+NyjBVO4QE+qCHBFuCKOI4EBQdvGmm40dn0g1NsF4yLoqZlnE4H ouUkCiDmaiUP/7fcKXIJHqhG7YZ7GqFPgRFIOhHcV+0tQ5N4Ej1FZDKSFmVJ1uCVHAt2 zY2Hgmxl57RxC0PeFagvjTiJRVY82TI7sYRSIT6DAE4RBstIJn39aTh70mduG1NcvqeO TA0dnM5RyvmFt7FiUXk3nxEaJh+/cDhudhzZoF/zCn+JNJ6kZqMsY+f+OM2RVXIcmcj1 oo8ozTnvY4AGuLKW6VnGeQ7W3SV9NFZU0NOdOXDYZbyMidgmJ7Ok8gkw06JmyX8e1TO1 4m6Q== X-Gm-Message-State: APjAAAWMNCa6bLpYdtAAw863oSlK1C6k/h0OPOe/xwfO+K+aA9IO7Die OhIFi+wHq3owCs+FYC2npk0vC8Kq X-Google-Smtp-Source: APXvYqyxHNi44kv2VE64Y/FJJXUW2nxfgbpA4e1zkrG9lf2l/Fa5O1I0JoPGKYBpGZJhHpXDLHMltQ== X-Received: by 2002:a5d:6cc3:: with SMTP id c3mr15585568wrc.202.1572711015983; Sat, 02 Nov 2019 09:10:15 -0700 (PDT) Received: from ernst.home (pD9E23368.dip0.t-ipconnect.de. [217.226.51.104]) by smtp.gmail.com with ESMTPSA id 6sm15826110wmd.36.2019.11.02.09.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:10:15 -0700 (PDT) Date: Sat, 2 Nov 2019 17:10:13 +0100 From: Gary Jennejohn To: Warner Losh Cc: Gleb Popov , Dirk-Willem van Gulik , freebsd-hackers Subject: Re: A bounty of 450 (was $100) for rtsx SD card reader driver. Message-ID: <20191102171013.67322f23@ernst.home> In-Reply-To: References: <9C97A802-A542-44B3-A295-79CCF70BF8D2@webweaving.org> <20191102082641.52f64cc8@ernst.home> <20191102115705.323376cd@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4753tf29BGz3MP7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TmHZ+CC0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; SUBJECT_HAS_CURRENCY(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[104.51.226.217.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (2.79), ipnet: 2a00:1450::/32(-2.78), asn: 15169(-2.03), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2019 16:10:19 -0000 On Sat, 2 Nov 2019 09:27:26 -0600 Warner Losh wrote: > On Sat, Nov 2, 2019, 4:58 AM Gary Jennejohn wrote: > > > On Sat, 2 Nov 2019 11:54:01 +0400 > > Gleb Popov wrote: > > > > > On Sat, Nov 2, 2019 at 11:26 AM Gary Jennejohn > > wrote: > > > > > > > On Fri, 1 Nov 2019 12:00:01 +0100 > > > > Dirk-Willem van Gulik wrote: > > > > > > > > > On 1 Nov 2019, at 11:48, Gleb Popov wrote: > > > > > > On Wed, Jun 19, 2019 at 10:22 AM Gleb Popov > > > > wrote: > > > > > > > > > > >> I've posted a bounty for this bug: > > > > > >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521 > > > > > > > > > > > > In case anyone is interested, the bounty is $375 already. > > > > > > > > > > It is 450$ now. > > > > > > > > > > > > > This raises several questions: > > > > 1) which version(s) of FreeBSD? > > > > > > > > > > I'd be OK with CURRENT and MFH to 12 sometime. > > > > > > > I had commit bits (src, ports) at one time (gj@), but I gave them > > back several years ago. So, since you're a committer, you would > > have to sheperd the code into the tree. But as a ports committer > > that may not be so easy. > > > > > 2) how does a developer get his/her hands on a device which uses this > > > > controller? It is not reasonable to expect a developer will to buy a > > > > laptop or PCI card just to develop a driver. > > > > > > > > > > With that I cannot help, unfortunately. I can, however, test the code and > > > help with debugging. > > > > > > > Well, I've been developing drivers for 35 years and I can tell > > you that this approach would not too very practical. But it > > might work. > > > > I agree. > > > 3) what is the target environment? Laptop? PCI card? Some other > > > > device with an embedded controller? > > > > > > > > > > In my case it is an ASUS notebook. > > > > > > > I have 3 laptops but unfortunately none of them uses this > > controller. > > > > Maybe I can find a PCIe card with the controller. Would probably > > cost less than $450. > > > > Years ago I was told they were cards, but I couldn't find any. > Yeah, at one time DeLock sold Express and PCIe cards, but they're no longer available. Couldn't find any on eBay either. > I have started to get the proper scaffolding in place to drop > the bit from openbsd that frobs the hardware. But everything > about this port is an impedance mismatch. Busdma is different > and the mmc host adapter interface is different. It's far from > a simple drop in with minor tweaks. It's likely the reason > even a few hundred hasn't help expedite porting.... especially > since this is a rare part... > That's good. There's also a Linux driver and even one for MacOS. I'm now retired and don't have anything interesting to do since freelance work has sort of dried up. This port would help keep my brain healthy. The money's not that important. > I'd say we also need docs to make a proper go of it because > that too is usually needed... > Well, I couldn't find any docs after several google searches. Have to try harder, I guess. -- Gary Jennejohn