Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1683566 > unrolled thread

Fwd: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c

Started bySundar Nagarajan <sun.nagarajan@gmail.com>
First post2017-07-08 11:00 +0200
Last post2017-07-08 14:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Fwd: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c Sundar Nagarajan <sun.nagarajan@gmail.com> - 2017-07-08 11:00 +0200
    Re: Request to add bluetooth module identifier to  net/rfkill/rfkill-gpio.c Marcel Holtmann <marcel@holtmann.org> - 2017-07-08 14:30 +0200

#1683566 — Fwd: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c

FromSundar Nagarajan <sun.nagarajan@gmail.com>
Date2017-07-08 11:00 +0200
SubjectFwd: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c
Message-ID<u0TKN-8pp-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,

I have a Cherry Trail laptop with an Atom X5-Z8300. It has a bluetooth
chip that needs the r8723bs (coexisting RTL 8723BS wifi and
bluetooth).

I am using linux-next (20150817) with the r8723bs staging driver and
the firmware and utility from https://github.com/lwfinger/rtl8723bs_bt
by Larry finger.

With linux-next the bluetooth works SOMETIMES, but on reboot, it does
not work any more (no bluetooth interfaces are detected and hciconfig
shows nothing).

I am a kernel novice, but I saw that another kernel that I had tried
had the following line added in struct acpi_device_id
rfkill_acpi_match:

{ "OBDA8723",RFKILL_TYPE_BLUETOOTH }

With the attached patch applied (one line added), my bluetooth works every time.

Does this belong in rfkill-gpio.c, or should I contact someone else?

[toc] | [next] | [standalone]


#1683597 — Re: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c

FromMarcel Holtmann <marcel@holtmann.org>
Date2017-07-08 14:30 +0200
SubjectRe: Request to add bluetooth module identifier to net/rfkill/rfkill-gpio.c
Message-ID<u0X21-29l-11@gated-at.bofh.it>
In reply to#1683566
Hi Sundar,

> I have a Cherry Trail laptop with an Atom X5-Z8300. It has a bluetooth
> chip that needs the r8723bs (coexisting RTL 8723BS wifi and
> bluetooth).
> 
> I am using linux-next (20150817) with the r8723bs staging driver and
> the firmware and utility from https://github.com/lwfinger/rtl8723bs_bt
> by Larry finger.
> 
> With linux-next the bluetooth works SOMETIMES, but on reboot, it does
> not work any more (no bluetooth interfaces are detected and hciconfig
> shows nothing).
> 
> I am a kernel novice, but I saw that another kernel that I had tried
> had the following line added in struct acpi_device_id
> rfkill_acpi_match:
> 
> { "OBDA8723",RFKILL_TYPE_BLUETOOTH }
> 
> With the attached patch applied (one line added), my bluetooth works every time.
> 
> Does this belong in rfkill-gpio.c, or should I contact someone else?

it does not belong in rfkill-gpio.c since this controls the power of the Bluetooth device. This belongs in the Bluetooth driver. We already moved all the Intel and Broadcom ones into hci_intel.c and respectively hci_bcm.c. So have the staging driver deal with the power GPIO.

Regards

Marcel

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web