Skip to contentSkip to conversation

drivers/bluetooth: Add PID of Foxconn bluetooth Adapter

PATCH Applied Fae 4 participants 10 messages Jul 20, 2022 – Jul 29, 2022 Bluetooth drivers

lore
Share & tools
lore

Fae

author
#0 lore raw

PATCH 1/1 drivers/bluetooth: Add PID of Foxconn bluetooth Adapter

Fixes bluetooth on HP Envy ey0xxx

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -0
index e25fcd49db70..973d122c738f 100644
@@ -454,6 +454,9 @@ static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
+	{ USB_DEVICE(0x0489, 0xe0e0), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH |
+						     BTUSB_VALID_LE_STATES },
 	{ USB_DEVICE(0x04ca, 0x3802), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
Signature · 1 line
2.36.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=661295

---Test result---

Test Summary:

CheckPatch                    FAIL      2.63 seconds
GitLint                       PASS      0.83 seconds
SubjectPrefix                 FAIL      0.63 seconds
BuildKernel                   PASS      34.64 seconds
BuildKernel32                 PASS      28.81 seconds
Incremental Build with patchesPASS      40.77 seconds
TestRunner: Setup             PASS      494.12 seconds
TestRunner: l2cap-tester      PASS      16.89 seconds
TestRunner: bnep-tester       PASS      5.67 seconds
TestRunner: mgmt-tester       PASS      96.20 seconds
TestRunner: rfcomm-tester     PASS      9.09 seconds
TestRunner: sco-tester        PASS      8.71 seconds
TestRunner: smp-tester        PASS      8.82 seconds
TestRunner: userchan-tester   PASS      5.79 seconds

Details
##############################
Test: CheckPatch - FAIL - 2.63 seconds
Run checkpatch.pl script with rule in .checkpatch.conf
drivers/bluetooth: Add PID of Foxconn bluetooth Adapter\ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 1 errors, 0 warnings, 9 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/12923221.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

##############################
Test: SubjectPrefix - FAIL - 0.63 seconds
Check subject contains "Bluetooth" prefix
"Bluetooth: " is not specified in the subject

---
Regards,
Linux Bluetooth

#2 lore raw

Hi,

Quoted 27 lines · On Tue, Jul 19, 2022 at 8:13 PM <[email protected]> wrote:

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=661295

---Test result---

Test Summary:

CheckPatch                    FAIL      2.63 seconds
GitLint                       PASS      0.83 seconds
SubjectPrefix                 FAIL      0.63 seconds
BuildKernel                   PASS      34.64 seconds
BuildKernel32                 PASS      28.81 seconds
Incremental Build with patchesPASS      40.77 seconds
TestRunner: Setup             PASS      494.12 seconds
TestRunner: l2cap-tester      PASS      16.89 seconds
TestRunner: bnep-tester       PASS      5.67 seconds
TestRunner: mgmt-tester       PASS      96.20 seconds
TestRunner: rfcomm-tester     PASS      9.09 seconds
TestRunner: sco-tester        PASS      8.71 seconds
TestRunner: smp-tester        PASS      8.82 seconds
TestRunner: userchan-tester   PASS      5.79 seconds
Quoted 5 lines

Details
##############################
Test: CheckPatch - FAIL - 2.63 seconds
Run checkpatch.pl script with rule in .checkpatch.conf
drivers/bluetooth: Add PID of Foxconn bluetooth Adapter\ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

You will need to config you email address and set Signed-off-by (e.g. git commit -s), also please add the information such as:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=b4e7b216fd4c560e2c30c00b29be9909178e3dc7

Quoted 24 lines

total: 1 errors, 0 warnings, 9 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/12923221.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

##############################
Test: SubjectPrefix - FAIL - 0.63 seconds
Check subject contains "Bluetooth" prefix
"Bluetooth: " is not specified in the subject

---
Regards,
Linux Bluetooth

Signature · 1 line
Luiz Augusto von Dentz
author
#3 lore raw

PATCH 1/1 Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

In reply to Fae

Found on HP's website ( https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-envy-x360-15.6-inch-2-in-1-laptop-pc-15-ey0000/2101086013/swItemId/ob-288116-1 ) Tested on my laptop (an ey0xxx)

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -0
index e25fcd49db70..973d122c738f 100644
@@ -454,6 +454,9 @@ static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
+	{ USB_DEVICE(0x0489, 0xe0e0), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH |
+						     BTUSB_VALID_LE_STATES },
 	{ USB_DEVICE(0x04ca, 0x3802), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
Signature · 1 line
2.36.1
#4 lore raw

RE: Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=662046

---Test result---

Test Summary:

CheckPatch                    FAIL      1.49 seconds
GitLint                       FAIL      0.79 seconds
SubjectPrefix                 PASS      0.62 seconds
BuildKernel                   PASS      36.45 seconds
BuildKernel32                 PASS      31.56 seconds
Incremental Build with patchesPASS      52.93 seconds
TestRunner: Setup             PASS      540.11 seconds
TestRunner: l2cap-tester      PASS      17.45 seconds
TestRunner: bnep-tester       PASS      5.92 seconds
TestRunner: mgmt-tester       PASS      100.69 seconds
TestRunner: rfcomm-tester     PASS      9.45 seconds
TestRunner: sco-tester        PASS      9.08 seconds
TestRunner: smp-tester        PASS      9.27 seconds
TestRunner: userchan-tester   PASS      6.13 seconds

Details
##############################
Test: CheckPatch - FAIL - 1.49 seconds
Run checkpatch.pl script with rule in .checkpatch.conf
Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921\WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #80:
Found on HP's website ( https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-envy-x360-15.6-inch-2-in-1-laptop-pc-15-ey0000/2101086013/swItemId/ob-288116-1 )

total: 0 errors, 1 warnings, 9 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/12925888.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

##############################
Test: GitLint - FAIL - 0.79 seconds
Run gitlint with rule in .gitlint
Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921
3: B1 Line exceeds max length (166>80): "Found on HP's website ( https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-envy-x360-15.6-inch-2-in-1-laptop-pc-15-ey0000/2101086013/swItemId/ob-288116-1 )"

---
Regards,
Linux Bluetooth

#5 lore raw

Re: [PATCH] Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

In reply to Fae

Hi Fae,

Quoted 3 lines · Fae

Found on HP's website ( https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-envy-x360-15.6-inch-2-in-1-laptop-pc-15-ey0000/2101086013/swItemId/ob-288116-1 ) Tested on my laptop (an ey0xxx)

Lets have the contents of /sys/kernel/debug/usb/devices like I pointed out on the last version, also the link is not really useful in fact it is probably a bad idea to use links since over a long time they tend to be updated/removed.

Quoted 22 lines
---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -1
index e25fcd49db70..973d122c738f 100644
@@ -454,6 +454,9 @@ static const struct usb_device_id blacklist_table[] = {
        { USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
+       { USB_DEVICE(0x0489, 0xe0e0), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH |
+                                                    BTUSB_VALID_LE_STATES },
        { USB_DEVICE(0x04ca, 0x3802), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH |
                                                     BTUSB_VALID_LE_STATES },
--

2.36.1

Signature · 1 line
Luiz Augusto von Dentz
author
#6 lore raw

PATCH 1/1 Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

In reply to Fae

Tested on HP Envy ey0xxx

output from /sys/kernel/debug/usb/devices:

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0489 ProdID=e0e0 Rev= 1.00
S:  Manufacturer=MediaTek Inc.
S:  Product=Wireless_Device
S:  SerialNumber=000000000
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
A:  FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
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=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  63 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  63 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E:  Ad=8a(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=0a(O) Atr=03(Int.) MxPS=  64 Ivl=125us
I:  If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E:  Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us
E:  Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us
---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -0
index e25fcd49db70..973d122c738f 100644
@@ -454,6 +454,9 @@ static const struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
+	{ USB_DEVICE(0x0489, 0xe0e0), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH |
+						     BTUSB_VALID_LE_STATES },
 	{ USB_DEVICE(0x04ca, 0x3802), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH |
 						     BTUSB_VALID_LE_STATES },
Signature · 1 line
2.37.1
#7 lore raw

RE: Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=662583

---Test result---

Test Summary:

CheckPatch                    PASS      0.95 seconds
GitLint                       PASS      0.55 seconds
SubjectPrefix                 PASS      0.59 seconds
BuildKernel                   PASS      36.46 seconds
BuildKernel32                 PASS      31.22 seconds
Incremental Build with patchesPASS      49.42 seconds
TestRunner: Setup             PASS      534.62 seconds
TestRunner: l2cap-tester      PASS      16.94 seconds
TestRunner: bnep-tester       PASS      6.17 seconds
TestRunner: mgmt-tester       PASS      100.16 seconds
TestRunner: rfcomm-tester     PASS      9.47 seconds
TestRunner: sco-tester        PASS      9.18 seconds
TestRunner: smp-tester        PASS      9.16 seconds
TestRunner: userchan-tester   PASS      6.24 seconds

---
Regards,
Linux Bluetooth

#8 lore raw

Re: [PATCH] Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

In reply to Fae
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 44 lines · On Sun, 24 Jul 2022 13:25:02 -0500 you wrote:

Tested on HP Envy ey0xxx

output from /sys/kernel/debug/usb/devices:

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0489 ProdID=e0e0 Rev= 1.00
S:  Manufacturer=MediaTek Inc.
S:  Product=Wireless_Device
S:  SerialNumber=000000000
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
A:  FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
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=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  63 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  63 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E:  Ad=8a(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=0a(O) Atr=03(Int.) MxPS=  64 Ivl=125us
I:  If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
E:  Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us
E:  Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us
Quoted 1 line

[...]

Here is the summary with links:
- Bluetooth: Add VID/PID 0489/e0e0 for MediaTek MT7921

    https://git.kernel.org/bluetooth/bluetooth-next/c/1a50481b4de9

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#9 lore raw
In reply to Fae
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 5 lines · On Tue, 19 Jul 2022 20:10:02 -0500 you wrote:

Fixes bluetooth on HP Envy ey0xxx

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)

Here is the summary with links:
- drivers/bluetooth: Add PID of Foxconn bluetooth Adapter

    https://git.kernel.org/bluetooth/bluetooth-next/c/1a50481b4de9

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html