From: Marcel Holtmann <marcel@holtmann.org>
To: Bastien Nocera <hadess@hadess.net>
Cc: Loic Poulain <loic.poulain@intel.com>, linux-wireless@vger.kernel.org
Subject: Re: Realtek GPIO chipset, for Baytrail?
Date: Thu, 11 Sep 2014 10:06:43 -0700 [thread overview]
Message-ID: <82CCC358-4838-4C3F-BE0B-9AB765389960@holtmann.org> (raw)
In-Reply-To: <1410453721.32328.15.camel@hadess.net>
Hi Bastien,
>>>> Your device is a child of 80860F0A (UART) which is driven by the 8250_dw
>>>> driver.
>>>> OBDA8723 is the BT part of the realtek 8723 WiFi/BT combo chip.
>>>> acpi_platform should create a platform device from the ACPI desc.
>>>
>>> That does show up already in udev, so I should be fine.
>>>
>>>> Then, you can add the OBDA8723 acpi id to the rfkill-gpio platform
>>>> driver (net/rfkill) which
>>>> seems to handle correctly the basic power management of this chip.
>>>
>>> OK. Something like that should do:
>>> http://paste.fedoraproject.org/132832/14104505
>>>
>>>> You need to use hciattach to attach the chip to the BT stack (with
>>>> H5/3-wire proto).
>>>
>>> Will that be required to enable Bluetooth at every boot?
>>>
>>> After inserting the above module, I ran:
>>> hciattach -n ttyS0 3wire
>>>
>>> But no Bluetooth adapters showed up in hciconfig. The rfkill device did
>>> show up in rfkill list though.
>>
>> my bet is that you need to start with the correct default speed, load
>> some firmware and do more settings and then switch to the faster
>> speed. There is an effort ongoing for the USB version of Realtek
>> Bluetooth, but even that one has not yet completed.
>
> I have a firmware and a config file from the Windows driver, but I doubt
> I'd be able to make great headway without more info.
in theory this is straight forward, but since this is H:5 it needs extra work to make this nice and clean. So far no H:5 hardware required extra settings. This will be the first one. That is mainly because H:5 is not that popular.
If you can have the basic attachment done with btattach and bring it up in raw only mode, then you could use HCI User Channel to poke with it. We have easy code in src/shared/hci.c that allows you to use the HCI User Channel.
And you want a 3.17 kernel for toying with this of course since I only recently added the extra flags to hci_uart.ko driver to allow bringing the device up in raw only mode or in unconfigured mode.
Regards
Marcel
next prev parent reply other threads:[~2014-09-11 17:06 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 9:56 Realtek GPIO chipset, for Baytrail? Bastien Nocera
2014-09-09 10:35 ` Arend van Spriel
2014-09-09 19:27 ` Larry Finger
2014-09-09 20:00 ` Bastien Nocera
2014-09-09 20:24 ` Larry Finger
2014-09-09 21:22 ` Bastien Nocera
2014-09-09 21:53 ` Larry Finger
2014-09-09 23:10 ` Marcel Holtmann
2014-09-10 8:46 ` Arend van Spriel
2014-09-10 9:50 ` Bastien Nocera
2014-09-10 10:21 ` Arend van Spriel
2014-09-10 11:25 ` Bastien Nocera
2014-09-10 13:45 ` Larry Finger
2014-09-11 17:34 ` Bastien Nocera
2014-09-10 14:53 ` Marcel Holtmann
2014-09-10 9:48 ` Bastien Nocera
2014-09-11 15:06 ` Marcel Holtmann
2014-09-11 15:41 ` Loic Poulain
2014-09-11 16:01 ` Bastien Nocera
2014-09-11 16:37 ` Marcel Holtmann
2014-09-11 16:42 ` Bastien Nocera
2014-09-11 17:06 ` Marcel Holtmann [this message]
2014-09-11 17:07 ` Bastien Nocera
2014-09-11 16:03 ` Bastien Nocera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82CCC358-4838-4C3F-BE0B-9AB765389960@holtmann.org \
--to=marcel@holtmann.org \
--cc=hadess@hadess.net \
--cc=linux-wireless@vger.kernel.org \
--cc=loic.poulain@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.