Bluetooth not working. All soft updated. # hciconfig hci0 up Can't init device hci0: Connection timed out (110) # inxi -E Bluetooth: Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block: hardware: no software: no address: 00:00:00:00:00:00 # hciconfig -a hci0 hci0: Type: Primary Bus: USB BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:3 acl:0 sco:0 commands:1 errors:0 Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DH1 HV1 Link policy: Link mode: PERIPHERAL ACCEPT # systemctl status bluetooth ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-04-28 12:13:28 MSK; 43min ago Docs: man:bluetoothd(8) Main PID: 2669 (bluetoothd) Status: "Running" Tasks: 1 (limit: 8059) Memory: 1.8M CPU: 17ms CGroup: /system.slice/bluetooth.service └─2669 /usr/libexec/bluetooth/bluetoothd апр 28 12:13:28 AAY systemd[1]: Starting Bluetooth service... апр 28 12:13:28 AAY bluetoothd[2669]: Bluetooth daemon 5.62 апр 28 12:13:28 AAY bluetoothd[2669]: Starting SDP server апр 28 12:13:28 AAY systemd[1]: Started Bluetooth service. апр 28 12:13:28 AAY bluetoothd[2669]: Bluetooth management interface 1.21 initialized # lsmod | grep -i blue bluetooth 507904 12 btrtl,btintel,btbcm,bnep,btusb ecdh_generic 16384 1 bluetooth rfkill 28672 9 bluetooth,thinkpad_acpi,cfg80211 # rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: no
# lsmod| grep bt btusb 45056 0 btrtl 20480 1 btusb btbcm 20480 1 btusb btintel 40960 1 btusb bluetooth 507904 12 btrtl,btintel,btbcm,bnep,btusb btrfs 1687552 1 libcrc32c 16384 1 btrfs xor 24576 1 btrfs raid6_pq 122880 1 btrfs # hciconfig hci0 down # rmmod btusb # modprobe btusb # hciconfig hci0 up Can't init device hci0: Connection timed out (110)
lspci -knn | grep -A4 Blue
(Ответ для Andrey Cherepanov на комментарий #2) > lspci -knn | grep -A4 Blue [root@AAY ~]# lspci -knn | grep -A4 Blue [root@AAY ~]#
Tried: update-kernel -t std-def Wifi - off, Bluetooth - off.
Установите dkms и попробуйте собрать через dkms с https://github.com/neurobin/MT7630E Взято с https://www.cyberforum.ru/linux-hardware/thread1927464.html
(Ответ для Andrey Cherepanov на комментарий #5) > Установите dkms и попробуйте собрать через dkms с > https://github.com/neurobin/MT7630E > > Взято с https://www.cyberforum.ru/linux-hardware/thread1927464.html Не подскажите наиболее близкую Альту инструкцию для этого?
#dkms build mt7630e/2.1.0 Error! echo Your kernel headers for kernel 5.15.25-un-def-alt1 cannot be found at /lib/modules/5.15.25-un-def-alt1/build or /lib/modules/5.15.25-un-def-alt1/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Что-то dkms&kernel-headers друг-друга не понимают. # rpm -qa | grep headers glibc-kernheaders-nios2-5.13-alt2.noarch glibc-kernheaders-x86-5.13-alt2.noarch glibc-kernheaders-microblaze-5.13-alt2.noarch glibc-kernheaders-hexagon-5.13-alt2.noarch opencl-headers-2.2-alt1.noarch glibc-kernheaders-sparc-5.13-alt2.noarch glibc-kernheaders-arm64-5.13-alt2.noarch kernel-headers-un-def-5.15.34-alt1.x86_64 glibc-kernheaders-riscv-5.13-alt2.noarch glibc-kernheaders-5.13-alt2.x86_64 glibc-kernheaders-m68k-5.13-alt2.noarch glibc-kernheaders-alpha-5.13-alt2.noarch kernel-headers-modules-un-def-5.15.34-alt1.x86_64 glibc-kernheaders-openrisc-5.13-alt2.noarch glibc-kernheaders-h8300-5.13-alt2.noarch glibc-kernheaders-sh-5.13-alt2.noarch glibc-kernheaders-mips-5.13-alt2.noarch glibc-kernheaders-arm-5.13-alt2.noarch glibc-kernheaders-powerpc-5.13-alt2.noarch glibc-kernheaders-ia64-5.13-alt2.noarch glibc-kernheaders-all-5.13-alt2.noarch glibc-kernheaders-xtensa-5.13-alt2.noarch glibc-kernheaders-csky-5.13-alt2.noarch glibc-kernheaders-s390-5.13-alt2.noarch glibc-kernheaders-arc-5.13-alt2.noarch glibc-kernheaders-generic-5.13-alt2.noarch glibc-kernheaders-parisc-5.13-alt2.noarch kernel-headers-common-1.2.7-alt1.x86_64 glibc-kernheaders-nds32-5.13-alt2.noarch
Докладываю! DKMS проверить нет возможности. Headers for kernel has version un-def-5.15.34-alt1 Current kernel has version 5.15.25-un-def-alt1 And kernel un-def-5.15.34-alt1 make system unbootable.
(Ответ для Iakunin Andrei на комментарий #8) > Докладываю! > DKMS проверить нет возможности. > Headers for kernel has version un-def-5.15.34-alt1 > Current kernel has version 5.15.25-un-def-alt1 > > And kernel un-def-5.15.34-alt1 make system unbootable. Или скачивайте из архивов kernel-headers{,-modules}-un-def или переходите на std-def.
> или переходите на > std-def. На этой ветке у меня даже wifi не работает. А без WiFi наш факультатив отключит работу. Так что рисковать мы не будем :) > > Или скачивайте из архивов kernel-headers{,-modules}-un-def Не нашел возможности скачать rpm конкретной версии. Скачал https://git.altlinux.org/gears/k/kernel-image-un-def.git, хочу сделать git checkout -b new_branch kernel-image-un-def-5.15.25-alt1 и запуститть сборку rpm под p10, но натыкаюсь на ошибку $ gear-hsh --verbose -- --no-sisyphus-check=packager,gpg,changelog -v --mountpoint=/proc --lazy-cleanup --apt-config=/home/iakuninaa/hsh-sandboxes/p10-x86_64/apt.conf /home/iakuninaa/hsh-sandboxes/p10-x86_64/hasher 2>&1 | tee log mkdir: создан каталог '/tmp/.private/iakuninaa/gear.5k6To8av/out' gear: specsubst directive requires a tag Как бы мне headers себе добыть?
Худо-бедно сделал заголовки и даже запустил sudo make dkms но опять ошибка: make -j8 KERNELRELEASE=5.15.25-un-def-alt1 KDIR=/lib/modules/5.15.25-un-def-alt1/build...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.15.25-un-def-alt1 (x86_64) Consult /var/lib/dkms/mt7630e/2.1.0/build/make.log for more information. $cat /var/lib/dkms/mt7630e/2.1.0/build/make.log ... /var/lib/dkms/mt7630e/2.1.0/build/rt2x00/rt2x00.h:39:10: fatal error: linux/input-polldev.h: Нет такого файла или каталога 39 | #include <linux/input-polldev.h> ... И input-polldev.h я так и не смог найти в kernel-headers
Created attachment 10720 [details] inxi, basic system information
(Ответ для Iakunin Andrei на комментарий #11) > И input-polldev.h я так и не смог найти в kernel-headers Потому что не все пакеты доустановили. /usr/src/linux-5.10.113-std-def-alt1/include/linux/input-polldev.h в пакете kernel-headers-modules-std-def
Обновил ядро до версии 5.15.41-un-def-alt1. Bluetooth работает. Багу закрываю.