View previous topic :: View next topic |
Author |
Message |
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 7:21 am Post subject: [SOLVED] Bluetooth controls dist kernel vs custom kernel |
|
|
I have Bose Bluetooth speakers that with the dist kernel I can pause video playback with the button on the speaker however with the custom kernel I have configured I cannot pause playback but I can control the volume. Is there a module that I am missing in the custom config that the dist kernel is using to allow the bluetooth speaker to have the ability to pause video playback?
Last edited by __name__ on Mon Jul 08, 2024 7:57 pm; edited 1 time in total |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Mon Jun 17, 2024 7:58 am Post subject: Re: Bluetooth controls dist kernel vs custom kernel |
|
|
__name__ wrote: | Is there a module that I am missing in the custom config that the dist kernel is using to allow the bluetooth speaker to have the ability to pause video playback? |
Perhaps rfcomm, but the easiest is to compare lsmod output from the two kernels. You can post it here, so other people can also help.
Best Regards,
Georgi |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 6:47 pm Post subject: |
|
|
I believe you are correct about rfcomm as that was a difference I had noticed in the lsmod outputs and the bluetooth wiki mentions it as well. I'm just not sure which kernel option enables that. I used make xconfig and searched for it however the options that search found were enabled.
My custom kernel lsmod output:
Code: |
Module Size Used by
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 110592 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
qrtr 57344 4
fuse 188416 2
8021q 40960 0
garp 16384 1 8021q
stp 12288 1 garp
mrp 20480 1 8021q
llc 16384 2 stp,garp
snd_hda_codec_hdmi 94208 1
snd_ctl_led 24576 0
snd_hda_codec_realtek 196608 1
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
binfmt_misc 28672 1
iwlmvm 692224 0
snd_soc_avs 221184 0
intel_tcc_cooling 12288 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 20480 0
iTCO_wdt 16384 0
snd_soc_hda_codec 28672 1 snd_soc_avs
snd_hda_ext_core 36864 2 snd_soc_avs,snd_soc_hda_codec
dell_laptop 36864 0
coretemp 16384 0
intel_pmc_bxt 16384 1 iTCO_wdt
kvm_intel 323584 0
mei_hdcp 28672 0
mei_pxp 16384 0
ee1004 16384 0
iTCO_vendor_support 12288 1 iTCO_wdt
intel_rapl_msr 20480 0
snd_soc_core 438272 2 snd_soc_avs,snd_soc_hda_codec
dell_smm_hwmon 24576 0
mac80211 1560576 1 iwlmvm
i915 4050944 29
kvm 1368064 1 kvm_intel
dell_wmi 28672 1 dell_laptop
snd_compress 28672 2 snd_soc_avs,snd_soc_core
snd_hda_intel 65536 1
ledtrig_audio 12288 4 snd_ctl_led,snd_hda_codec_generic,dell_wmi,dell_laptop
snd_intel_dspcfg 24576 2 snd_soc_avs,snd_hda_intel
uvcvideo 172032 0
btusb 81920 0
irqbypass 12288 1 kvm
dell_smbios 32768 2 dell_wmi,dell_laptop
libarc4 12288 1 mac80211
btbcm 24576 1 btusb
btmtk 12288 1 btusb
rapl 20480 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
snd_hda_codec 221184 6 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek
btrtl 32768 1 btusb
intel_cstate 20480 0
uvc 12288 1 uvcvideo
btintel 57344 1 btusb
videobuf2_v4l2 40960 1 uvcvideo
dcdbas 20480 1 dell_smbios
iwlwifi 471040 1 iwlmvm
mmc_block 65536 0
intel_uncore 258048 0
rtsx_usb_ms 24576 0
snd_hwdep 20480 1 snd_hda_codec
bluetooth 1040384 28 btrtl,btmtk,btintel,btbcm,btusb
joydev 24576 0
dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
wmi_bmof 12288 0
memstick 24576 1 rtsx_usb_ms
snd_hda_core 151552 8 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek
processor_thermal_device_pci_legacy 12288 0
videodev 389120 2 videobuf2_v4l2,uvcvideo
cfg80211 1327104 3 iwlmvm,iwlwifi,mac80211
i2c_algo_bit 20480 1 i915
intel_soc_dts_iosf 16384 1 processor_thermal_device_pci_legacy
snd_pcm 184320 7 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core
processor_thermal_device 20480 1 processor_thermal_device_pci_legacy
drm_buddy 20480 1 i915
processor_thermal_rfim 28672 1 processor_thermal_device
mei_me 57344 2
videobuf2_common 94208 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
ttm 102400 1 i915
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
processor_thermal_mbox 12288 2 processor_thermal_rfim,processor_thermal_device
mc 90112 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
r8169 114688 0
drm_display_helper 229376 1 i915
pcspkr 12288 0
idma64 20480 0
snd 151552 17 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
mei 196608 5 mei_hdcp,mei_pxp,mei_me
processor_thermal_rapl 16384 1 processor_thermal_device
i2c_i801 36864 0
intel_rapl_common 40960 2 intel_rapl_msr,processor_thermal_rapl
cec 69632 2 drm_display_helper,i915
intel_pch_thermal 20480 0
intel_xhci_usb_role_switch 12288 0
soundcore 16384 2 snd_ctl_led,snd
i2c_smbus 20480 1 i2c_i801
int3403_thermal 16384 0
video 77824 3 dell_wmi,dell_laptop,i915
int3400_thermal 20480 0
int3402_thermal 12288 0
intel_hid 28672 0
wmi 45056 5 video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
int340x_thermal_zone 16384 3 int3403_thermal,int3402_thermal,processor_thermal_device
acpi_pad 184320 0
acpi_thermal_rel 20480 1 int3400_thermal
sparse_keymap 12288 2 intel_hid,dell_wmi
rtsx_usb_sdmmc 40960 0
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
crc32c_intel 16384 4
mmc_core 270336 2 rtsx_usb_sdmmc,mmc_block
polyval_clmulni 12288 0
polyval_generic 12288 1 polyval_clmulni
ghash_clmulni_intel 16384 0
sha512_ssse3 49152 0
sha256_ssse3 32768 0
hid_multitouch 32768 0
sha1_ssse3 32768 0
rtsx_usb 32768 2 rtsx_usb_sdmmc,rtsx_usb_ms
serio_raw 16384 0
i2c_hid_acpi 12288 0
i2c_hid 40960 1 i2c_hid_acpi
pinctrl_sunrisepoint 28672 0
|
dist kernel lsmod output:
Code: |
Module Size Used by
vfat 20480 1
fat 90112 1 vfat
uinput 16384 0
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 110592 7 snd_seq_dummy
snd_seq_device 12288 1 snd_seq
rfcomm 81920 16
qrtr 49152 4
fuse 180224 2
8021q 45056 0
garp 12288 1 8021q
mrp 16384 1 8021q
stp 12288 1 garp
llc 12288 2 stp,garp
bnep 32768 2
snd_hda_codec_hdmi 77824 1
snd_ctl_led 20480 0
snd_hda_codec_realtek 155648 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
binfmt_misc 24576 1
snd_sof_pci_intel_skl 12288 0
snd_sof_intel_hda_common 200704 1 snd_sof_pci_intel_skl
soundwire_intel 65536 1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink 32768 2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence 36864 1 soundwire_intel
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_skl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 327680 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
snd_sof_utils 16384 1 snd_sof
soundwire_generic_allocation 12288 1 soundwire_intel
soundwire_bus 110592 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_avs 184320 0
snd_soc_hda_codec 24576 1 snd_soc_avs
snd_soc_skl 196608 0
snd_soc_hdac_hda 24576 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 32768 7 snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 16384 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 81920 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_skl
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core 372736 7 snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
intel_tcc_cooling 12288 0
x86_pkg_temp_thermal 16384 0
snd_compress 24576 2 snd_soc_avs,snd_soc_core
intel_powerclamp 16384 0
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
coretemp 16384 0
kvm_intel 389120 0
iwlmvm 630784 0
snd_hda_intel 49152 1
i915 3629056 46
snd_intel_dspcfg 36864 5 snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_skl
kvm 1146880 1 kvm_intel
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
mac80211 1339392 1 iwlmvm
snd_hda_codec 180224 9 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
uvcvideo 143360 0
irqbypass 12288 1 kvm
btusb 73728 0
iTCO_wdt 12288 0
snd_hda_core 122880 12 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
mei_hdcp 20480 0
uvc 12288 1 uvcvideo
btrtl 28672 1 btusb
videobuf2_vmalloc 16384 1 uvcvideo
iwlwifi 425984 1 iwlmvm
mei_pxp 16384 0
dell_laptop 32768 0
intel_pmc_bxt 12288 1 iTCO_wdt
btintel 49152 1 btusb
rapl 16384 0
videobuf2_memops 16384 1 videobuf2_vmalloc
libarc4 12288 1 mac80211
snd_hwdep 16384 1 snd_hda_codec
i2c_algo_bit 16384 1 i915
btbcm 20480 1 btusb
videobuf2_v4l2 36864 1 uvcvideo
intel_cstate 16384 0
btmtk 12288 1 btusb
ee1004 16384 0
iTCO_vendor_support 12288 1 iTCO_wdt
intel_rapl_msr 16384 0
dell_smm_hwmon 20480 0
videobuf2_common 73728 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
ttm 86016 1 i915
snd_pcm 151552 13 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
cfg80211 1105920 3 iwlmvm,iwlwifi,mac80211
videodev 319488 2 videobuf2_v4l2,uvcvideo
bluetooth 868352 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
processor_thermal_device_pci_legacy 12288 0
intel_uncore 196608 0
drm_display_helper 192512 1 i915
snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm
rtsx_usb_ms 20480 0
mmc_block 57344 1
processor_thermal_device 16384 1 processor_thermal_device_pci_legacy
dell_wmi 24576 1 dell_laptop
mc 73728 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
processor_thermal_rfim 20480 1 processor_thermal_device
snd 126976 18 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
cec 73728 2 drm_display_helper,i915
mei_me 49152 2
memstick 24576 1 rtsx_usb_ms
processor_thermal_mbox 12288 2 processor_thermal_rfim,processor_thermal_device
joydev 24576 0
rfkill 32768 9 iwlmvm,bluetooth,dell_laptop,cfg80211
drm_buddy 16384 1 i915
r8169 98304 0
dell_smbios 28672 2 dell_wmi,dell_laptop
soundcore 12288 2 snd_ctl_led,snd
processor_thermal_rapl 16384 1 processor_thermal_device
idma64 16384 0
i2c_i801 32768 0
dcdbas 16384 1 dell_smbios
intel_xhci_usb_role_switch 12288 0
mei 159744 5 mei_hdcp,mei_pxp,mei_me
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
intel_pch_thermal 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device_pci_legacy
i2c_smbus 16384 1 i2c_i801
ledtrig_audio 12288 4 snd_ctl_led,snd_hda_codec_generic,dell_wmi,dell_laptop
pcspkr 12288 0
dell_wmi_descriptor 16384 2 dell_wmi,dell_smbios
wmi_bmof 12288 0
intel_hid 24576 0
int3403_thermal 16384 0
int3400_thermal 16384 0
int3402_thermal 12288 0
acpi_thermal_rel 16384 1 int3400_thermal
int340x_thermal_zone 16384 3 int3403_thermal,int3402_thermal,processor_thermal_device
acpi_pad 180224 0
sparse_keymap 12288 2 intel_hid,dell_wmi
rtsx_usb_sdmmc 36864 0
mmc_core 217088 2 rtsx_usb_sdmmc,mmc_block
rtsx_usb 28672 2 rtsx_usb_sdmmc,rtsx_usb_ms
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
nvme 53248 2
crc32c_intel 16384 4
polyval_clmulni 12288 0
polyval_generic 12288 1 polyval_clmulni
ghash_clmulni_intel 12288 0
nvme_core 184320 3 nvme
sha512_ssse3 53248 0
sha256_ssse3 28672 0
hid_multitouch 28672 0
sha1_ssse3 32768 0
serio_raw 16384 0
nvme_common 20480 1 nvme_core
i2c_hid_acpi 12288 0
i2c_hid 36864 1 i2c_hid_acpi
video 69632 3 dell_wmi,dell_laptop,i915
wmi 36864 5 video,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
pinctrl_sunrisepoint 24576 0
|
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Mon Jun 17, 2024 7:17 pm Post subject: |
|
|
I don't know about xconfig, but in menuconfig it is / then type in something and it'll find everything containing it.
In your case it's Networking -> Bluetooth
Best Regards,
Georgi
p.s. you don't need all the bluetooth drivers. You have intel, bcm, mtk, rtl. Only one of them is your driver. It looks like intel is the only loaded wifi driver, so I guess you need bt_intel only. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 7:33 pm Post subject: |
|
|
Thanks for the help.
Both options that come up when I search RFCOMM in menuconfig are set to y
I'm lost at this point... |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
Posted: Mon Jun 17, 2024 8:06 pm Post subject: |
|
|
__name__ wrote: | Both options that come up when I search RFCOMM in menuconfig are set to y |
If you compare both outputs of lsmod you wil see:
Code: | bluetooth 1040384 28 btrtl,btmtk,btintel,btbcm,btusb
<=>
bluetooth 868352 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm |
This means you also miss bnep (I am very unsure if you really need Bluetooth Network Encapsulation Protocol; but enabling it does not hurt).
Do you have both enabled ?
-> Networking support -> Bluetooth subsystem support -> Bluetooth Classic (BR/EDR) features -> RFCOMM protocol support
-> Networking support -> Bluetooth subsystem support -> Bluetooth Classic (BR/EDR) features -> RFCOMM protocol support -> RFCOMM TTY support
Maybe you will need also "Enable Microsoft extensions" ? Have you done a compare between your kernel .config and our dist-kernel (for BT) ? _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 8:24 pm Post subject: |
|
|
pietinger wrote: |
Do you have both enabled ?
-> Networking support -> Bluetooth subsystem support -> Bluetooth Classic (BR/EDR) features -> RFCOMM protocol support
-> Networking support -> Bluetooth subsystem support -> Bluetooth Classic (BR/EDR) features -> RFCOMM protocol support -> RFCOMM TTY support
|
I do have both of these enabled. I will enable bnep and see if that enables rfcomm for whatever reason.
pietinger wrote: |
Maybe you will need also "Enable Microsoft extensions" ? Have you done a compare between your kernel .config and our dist-kernel (for BT) ?
|
I will try this after I enable bnep.
Thanks. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 8:30 pm Post subject: |
|
|
Just checked and bnep is enabled but I see that CONFIG_BT_HCIUART_BCSP was not enabled in my kernel so I am trying that now.
Quote: |
CONFIG_BT_HCIUART_BCSP
Help text
BCSP (BlueCore Serial Protocol) is serial protocol for communication between Bluetooth device and host. This protocol is required for non USB Bluetooth devices based on CSR BlueCore chip, including PCMCIA and CF cards.
|
|
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Mon Jun 17, 2024 8:36 pm Post subject: |
|
|
So enabling BCSP didn't make a difference.
Do you know the CONFIG_ symbol for the microsoft extensions?
Last edited by __name__ on Tue Jun 18, 2024 7:17 am; edited 2 times in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Wed Jun 19, 2024 6:07 pm Post subject: |
|
|
I never edit the .config directly I usually use nconfig or xconfig. The search function in nconfig uses the CONFIG_ symbol.
I am not seeing the Microsoft extensions option in any of the config menus.
Here is the diffconfig output
https://pastebin.com/S1L15kfT |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Wed Jun 19, 2024 7:11 pm Post subject: |
|
|
You've statically compiled in the drivers into the kernel.
What's the output of
Code: | dmesg | grep firmware |
Best Regards,
Georgi |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Wed Jun 19, 2024 7:15 pm Post subject: |
|
|
pietinger wrote: |
Maybe you will need also "Enable Microsoft extensions" ? |
I've never heard of those. Is it something in the newer kernels (6.1 here) or are you sure you didn't mistype it?
EDIT: Sorry, I found it. CONFIG_BT_MSFTEXT It's not under devices, but directly under Bluetooth in Networking.
Best Regards,
Georgi
Last edited by logrusx on Wed Jun 19, 2024 7:21 pm; edited 2 times in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
Posted: Wed Jun 19, 2024 7:19 pm Post subject: |
|
|
__name__ wrote: | I am not seeing the Microsoft extensions option in any of the config menus. |
I am using only "make menuconfig" and when I go into: Networking support ---> Bluetooth subsystem support ---> (with kernel version 6.6.x) I get:
Code: | --- Bluetooth subsystem support
[*] Bluetooth Classic (BR/EDR) features (NEW)
< > RFCOMM protocol support (NEW)
< > BNEP protocol support (NEW)
< > HIDP protocol support (NEW)
[*] Bluetooth Low Energy (LE) features (NEW)
[*] Bluetooth L2CAP Enhanced Credit Flow Control (NEW)
[ ] Enable LED triggers (NEW)
[ ] Enable Microsoft extensions (NEW)
... |
(you see I dont have it enabled; it is s clean new installation because I am running 6.9; this is only installed for checks)
If you go into the help of the last line "Enable Microsoft extensions" you see the name (CONFIG_BT_MSFTEXT) and it depends only on:
Quote: | Depends on: NET [=y] && BT [=m] |
So, if you dont have this option with 6.6. ... THEN something is very wrong with your .config ... In this case: Throw it away and do a completely new one with:
1. https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Starting_with_a_clean_environment ... and then start with:
2. https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Wed Jun 19, 2024 10:17 pm Post subject: |
|
|
I am using kernel 6.6.30
So I checked make menuconfig again and the Microsoft Extensions option is enabled.
Code: | tux ~ # dmesg | grep firmware
[ 1.150392] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4f1001)
[ 8.077431] Loading firmware: regulatory.db
[ 8.082890] Loading firmware: regulatory.db.p7s
[ 8.166031] Loading firmware: iwlwifi-7265D-29.ucode
[ 8.179170] iwlwifi 0000:02:00.0: loaded firmware version 29.4063824552.0 7265D-29.ucode op_mode iwlmvm
[ 8.292711] Loading firmware: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 8.293789] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 8.599439] Loading firmware: i915/kbl_dmc_ver1_04.bin
[ 8.604185] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 8.652873] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[ 15.759193] Loading firmware: rtl_nic/rtl8106e-1.fw
[ 1081.647640] Loading firmware: i915/kbl_dmc_ver1_04.bin
[ 1081.647651] Loading firmware: rtl_nic/rtl8106e-1.fw
[ 1081.647660] Loading firmware: iwlwifi-7265D-29.ucode
[ 1081.647697] Loading firmware: regulatory.db
[ 1081.647781] Loading firmware: regulatory.db.p7s
[ 1081.647799] Loading firmware: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 1085.006356] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4f1001)
[ 1087.587867] Loading firmware: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 1087.588349] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
Posted: Wed Jun 19, 2024 11:09 pm Post subject: |
|
|
__name__ wrote: | Here is the diffconfig output |
Can you do it again ... without alphabetical sorting (I need the sequence as in the kernel) ? _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Thu Jun 20, 2024 12:18 am Post subject: |
|
|
pietinger wrote: | __name__ wrote: | Here is the diffconfig output |
Can you do it again ... without alphabetical sorting (I need the sequence as in the kernel) ? |
How is this format?
https://pastebin.com/MG2BB5Ur |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
Posted: Thu Jun 20, 2024 1:01 am Post subject: |
|
|
__name__ wrote: | How is this format? |
Yes, this helps a lot ... thank you.
What happens if you enable CONFIG_BT_HCIBTUSB with all protocols:
Code: | # CONFIG_BT_HCIBTUSB_BCM is not set | CONFIG_BT_HCIBTUSB_BCM=y
# CONFIG_BT_HCIBTUSB_MTK is not set | CONFIG_BT_HCIBTUSB_MTK=y
# CONFIG_BT_HCIBTUSB_RTL is not set | CONFIG_BT_HCIBTUSB_RTL=y |
?
(I was sure it is a protocol problem and that's why I guessed microsoft extension, but of course it depends how your BT-boxes work internally, maybe it use one of these protocols) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Thu Jun 20, 2024 1:32 am Post subject: |
|
|
Still no luck with those options enabled.
Code: | $ cat /usr/src/linux/.config | grep _BT_
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
CONFIG_BT_AOSPEXT=y
# CONFIG_BT_DEBUGFS is not set
# CONFIG_BT_SELFTEST is not set
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_RTL=m
CONFIG_BT_MTK=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_POLL_SYNC=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_NOKIA is not set
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_HCIUART_INTEL=y
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_RTL is not set
# CONFIG_BT_HCIUART_QCA is not set
# CONFIG_BT_HCIUART_AG6XX is not set
# CONFIG_BT_HCIUART_MRVL is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBCM4377 is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set |
Interestingly rfcomm is still not running even though it is enabled.
Code: | $ lsmod | grep bt
btusb 81920 0
btrtl 32768 1 btusb
btbcm 24576 1 btusb
btmtk 12288 1 btusb
btintel 57344 1 btusb
bluetooth 1040384 34 btrtl,btmtk,btintel,btbcm,btusb |
|
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Thu Jun 20, 2024 1:35 am Post subject: |
|
|
How does this happen if it is enabled in the .config?
Code: | $ modprobe rfcomm
modprobe: FATAL: Module rfcomm not found in directory /lib/modules/6.6.30-gentoo
|
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Thu Jun 20, 2024 5:02 am Post subject: |
|
|
__name__ wrote: | How does this happen if it is enabled in the .config?
Code: | $ modprobe rfcomm
modprobe: FATAL: Module rfcomm not found in directory /lib/modules/6.6.30-gentoo
|
|
Interesting:
Code: | # lsmod | grep rfcom
# modprobe rfcomm
# lsmod | grep rfcomm
# dmesg | grep rfcomm
|
Still volume and playback controls on my BT headset work. It should be something else. One thing I notice is I have uinput loaded, but I'm not sure if it has something to do with it.
Also sorry for the silly questions, but did you run make, then make modules_install? Also make install would run things like depmod -a and perhaps other stuff, so the full procedure might be better.
Best Regards,
Georgi |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Thu Jun 20, 2024 5:25 am Post subject: |
|
|
logrusx wrote: | __name__ wrote: | How does this happen if it is enabled in the .config?
Code: | $ modprobe rfcomm
modprobe: FATAL: Module rfcomm not found in directory /lib/modules/6.6.30-gentoo
|
|
Interesting:
Code: | # lsmod | grep rfcom
# modprobe rfcomm
# lsmod | grep rfcomm
# dmesg | grep rfcomm
|
Still volume and playback controls on my BT headset work. It should be something else. One thing I notice is I have uinput loaded, but I'm not sure if it has something to do with it.
Also sorry for the silly questions, but did you run make, then make modules_install? Also make install would run things like depmod -a and perhaps other stuff, so the full procedure might be better.
Best Regards,
Georgi |
Is uinput bluetooth specific? Also what is the make menuconfig option for it?
I always rebuild the kernel according to the directions in the Build -- Manual build and installation section on the Kernel Upgrade wiki.
https://wiki.gentoo.org/wiki/Kernel/Upgrade
So make modules_prepare then make then emerge @module-rebuild then make modules_install and finally make install. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Thu Jun 20, 2024 7:16 am Post subject: |
|
|
It was the uinput option!!! Thanks so much! I am removing other options and testing to verify that is the only requirement, I will report my findings.
Thanks again. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2419
|
Posted: Thu Jun 20, 2024 8:32 am Post subject: |
|
|
__name__ wrote: |
Is uinput bluetooth specific? Also what is the make menuconfig option for it? |
I don't know if uinput is necessary and it definitely is not bluetooth specific. Run make menuconfig is the ncurses interface for configuring kernel. In many ways it's superior to xconfig.
__name__ wrote: | I always rebuild the kernel according to the directions in the Build -- Manual build and installation section on the Kernel Upgrade wiki.
https://wiki.gentoo.org/wiki/Kernel/Upgrade
So make modules_prepare then make then emerge @module-rebuild then make modules_install and finally make install. |
I've never heard heard of modules_prepare nor I've used it even once in the last 25 years.
However enabling rfcomm and modprobe not finding it as a module suggests you're missing something. Are you sure you're configuring the kernel you think you are or are you sure if you're running the kernel you configured?
What does uname -a say?
Best Regards,
Georgi |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|