From 807bacdbd367dec620b68b575564a918c938b1b6 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Wed, 11 Jul 2018 09:41:41 -0400 Subject: Add device ID for RTL8822BE in the Asus ROG GL702ZC (rhbz 1599917) --- ...tusb-Add-additional-device-ID-for-RTL8822.patch | 63 ++++++++++++++++++++++ kernel.spec | 6 +++ 2 files changed, 69 insertions(+) create mode 100644 Bluetooth-btusb-Add-additional-device-ID-for-RTL8822.patch diff --git a/Bluetooth-btusb-Add-additional-device-ID-for-RTL8822.patch b/Bluetooth-btusb-Add-additional-device-ID-for-RTL8822.patch new file mode 100644 index 000000000..b16400135 --- /dev/null +++ b/Bluetooth-btusb-Add-additional-device-ID-for-RTL8822.patch @@ -0,0 +1,63 @@ +From 1cd2fabf4bdcf95eda6a1bcebc4a0a965509da36 Mon Sep 17 00:00:00 2001 +From: Artiom Vaskov +Date: Wed, 30 May 2018 11:23:00 +0300 +Subject: [PATCH] Bluetooth: btusb: Add additional device ID for RTL8822BE + +The Asus ROG GL702ZC laptop contains a Realtek RTL8822BE device with +an associated BT chip using a USB ID of 13d3:3526. This ID is added +to the driver. + +The /sys/kernel/debug/usb/devices portion for this device is: + +T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=04 Dev#= 5 Spd=12 MxCh= 0 +D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 +P: Vendor=13d3 ProdID=3526 Rev= 1.10 +S: Manufacturer=Realtek +S: Product=Bluetooth Radio +S: SerialNumber=00e04c000001 +C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA +I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms +E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms +E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms +I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms +I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms +I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms +I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms +I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms +I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb +E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms +E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms + +Signed-off-by: Artiom Vaskov +Signed-off-by: Marcel Holtmann +Signed-off-by: Jeremy Cline +--- + drivers/bluetooth/btusb.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c +index 3a477b6b3ce6..f73a27ea28cc 100644 +--- a/drivers/bluetooth/btusb.c ++++ b/drivers/bluetooth/btusb.c +@@ -384,6 +384,7 @@ static const struct usb_device_id blacklist_table[] = { + { USB_DEVICE(0x13d3, 0x3462), .driver_info = BTUSB_REALTEK }, + + /* Additional Realtek 8822BE Bluetooth devices */ ++ { USB_DEVICE(0x13d3, 0x3526), .driver_info = BTUSB_REALTEK }, + { USB_DEVICE(0x0b05, 0x185c), .driver_info = BTUSB_REALTEK }, + + /* Silicon Wave based devices */ +-- +2.17.1 + diff --git a/kernel.spec b/kernel.spec index 6e0c724cb..3ab1f5a90 100644 --- a/kernel.spec +++ b/kernel.spec @@ -646,6 +646,9 @@ Patch511: 2-2-xen-netfront-Update-features-after-registering-netdev.patch # rhbz 1591516 Patch515: 0001-signal-Stop-special-casing-TRAP_FIXME-and-FPE_FIXME-.patch +# rhbz 1599917 +Patch516: Bluetooth-btusb-Add-additional-device-ID-for-RTL8822.patch + # rhbz 1572944 Patch517: Revert-the-random-series-for-4.16.4.patch @@ -1917,6 +1920,9 @@ fi # # %changelog +* Wed Jul 11 2018 Jeremy Cline +- Add device ID for RTL8822BE in the Asus ROG GL702ZC (rhbz 1599917) + * Mon Jul 09 2018 Jeremy Cline - 4.17.5-200 - Linux v4.17.5 - Fix CVE-2018-13405 (rhbz 1599161 1599162) -- cgit