From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ob0-f173.google.com ([209.85.214.173]:52309 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbaIIUYc (ORCPT ); Tue, 9 Sep 2014 16:24:32 -0400 Received: by mail-ob0-f173.google.com with SMTP id uy5so12607950obc.18 for ; Tue, 09 Sep 2014 13:24:32 -0700 (PDT) Message-ID: <540F61FE.2050404@lwfinger.net> (sfid-20140909_222456_101972_4EA58ED0) Date: Tue, 09 Sep 2014 15:24:30 -0500 From: Larry Finger MIME-Version: 1.0 To: Bastien Nocera CC: linux-wireless@vger.kernel.org Subject: Re: Realtek GPIO chipset, for Baytrail? References: <1410256608.4077.7.camel@hadess.net> <540F54B1.8040409@lwfinger.net> <1410292835.4077.21.camel@hadess.net> In-Reply-To: <1410292835.4077.21.camel@hadess.net> Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 09/09/2014 03:00 PM, Bastien Nocera wrote: > On Tue, 2014-09-09 at 14:27 -0500, Larry Finger wrote: >> On 09/09/2014 04:56 AM, Bastien Nocera wrote: >>> Hey, >>> >>> I have a tablet that seems to be using Realtek chips to do wireless >>> communications (hopefully, this time I won't be wrong[1]). >>> >>> The device, under the gpio class in /sys, shows with a modalias of >>> "acpi:OBDA8723:" (that's on "O", not "0"). This seems to correspond to a >>> Realtek chipset (Larry tells me it matches the PCI ID of 0bda:8723 for >>> the RTL8723AE chipset). >>> >>> It shows up under: >>> /sys/devices/platform/80860F0A:00/subsystem/devices >>> >>> Does anyone have details on how this chipset is actually hooked up? Can >>> a portion of the existing RTL8723AE driver code be reused? >> >> Bastien, >> >> From the previous response, it seems unlikely that GPIO is used to control the >> device. That is what I expected. Working at that primitive level would be >> extremely difficult timing. > > Right. > >> I assume that you have checked both 'lspci' and 'lsusb' for any mention of the >> wireless device. > > No mentions at all in there. > >> I am not aware of a similar utility to scan an SDIO bus, but >> perhaps someone on this list will know. > > They would show up under /sys/bus/sdio/devices/ and there's nothing in > there except the SD card reader. > >> In addition, a full listing of 'lspci >> -nnv' will give a clue regarding what adapters are on the device. > > Here it is, I doubt that's much help. > > 00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0d) > Subsystem: Intel Corporation Device [8086:0f31] > Flags: bus master, fast devsel, latency 0 > Kernel driver in use: iosf_mbi_pci > Kernel modules: iosf_mbi > > 00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0d) (prog-if 00 [VGA controller]) > Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] > Flags: bus master, fast devsel, latency 0, IRQ 106 > Memory at a0000000 (32-bit, non-prefetchable) [size=4M] > Memory at 80000000 (32-bit, prefetchable) [size=512M] > I/O ports at 1000 [size=8] > Expansion ROM at [disabled] > Capabilities: > Kernel driver in use: i915 > Kernel modules: i915 > > 00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI [8086:0f35] (rev 0d) (prog-if 30 [XHCI]) > Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI [8086:0f35] > Flags: bus master, medium devsel, latency 0, IRQ 104 > Memory at a0800000 (64-bit, non-prefetchable) [size=64K] > Capabilities: > Kernel driver in use: xhci_hcd > > 00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0d) > Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] > Flags: bus master, fast devsel, latency 0, IRQ 107 > Memory at a0700000 (32-bit, non-prefetchable) [size=1M] > Memory at a0600000 (32-bit, non-prefetchable) [size=1M] > Capabilities: > Kernel driver in use: mei_txe > Kernel modules: mei_txe > > 00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0d) > Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] > Flags: bus master, medium devsel, latency 0 > Capabilities: > Kernel driver in use: pmc_atom > Kernel modules: lpc_ich > > >> If the device were used with SDIO, then it would be known as the RTL8723AS. I >> could not find that chip, but there is an RTL8723BS with a 32-bit driver for >> Windows 8.1. > > That sounds like it could be that one then. This is the only info I > have, the (very generic) driver set for Windows (which seems to have > support for every variant) and the DSDT: > https://bugzilla.kernel.org/attachment.cgi?id=149331 > > The Bluetooth device has a firmware named "rtl8723b_config.bin" > >> What specific Baytrail tablet do you have? > > The Onda v975w. It came with Windows 8.1 32-bit. > > I guess that the device is probably a PCI one, but the enumeration is > done through ACPI instead of "normal" PCI. In http://www.onda-tablet.com/onda-v975w-quad-core-win-8-tablet-9-7-inch-retina-screen-ram-2gb-wifi-32gb.html, someone is specifically looking for an RTL8723BS driver. I will see if my contact at Realtek knows who has worked on drivers for this device, and if it would be possible to use rtl8723be if we were to supply an SDIO frontend. If I were to find code, do you have the possibility to build drivers for the device? Larry