Bluetooth and sound did not work

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
paimei
White ninja
White ninja
Posts: 12
Joined: 05 Sep 2022, 20:59
Distribution: wtf

Bluetooth and sound did not work

Post#1 by paimei » 05 Sep 2022, 22:00

Hello! Installed Porteus 5.0 on ASUSTeK ZenBook UX425EA. Wi-Fi, Bluetooth and sound did not work. I put the file "iwlwifi-Usa 0-hr-b0-71.code" in the folder "/lib/firmware/" (from the folder "/lib/firmware/" previously installed Linux Mint). WiFi is working. Bluetooth and sound are not connected by this method (although copy the entire folder "/lib/firmware/" - it does not work). What do I need to do to make Bluetooth and sound work?

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#2 by KingJames » 29 Nov 2022, 03:05

I'm having the same problem on an Acer Aspire 5. Copied driver for wifi works but I can't get Bluetooth or sound to work. I also copied my entire /lib/firmware folder (from MX Linux) and none of those drivers worked for Bluetooth or sound.
Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#3 by beny » 29 Nov 2022, 11:11

hi all, better to post all spec of your devices,so we can see what driver or firmware you need to work with......
if you have the inxi software, is on the slackware 15 repository in terminal inxi -b or inxi -F and post it here

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#4 by beny » 03 Dec 2022, 11:13

hi KingJames when you start getmod you need to upgrade the database with this sudo getmod -u and after you can start the search of your module and to make a package sudo getmod -m name of the module:

Code: Select all

  guest@porteus:~$ sudo getmod -m inxi
Reading Package Lists...Done
The following NEW packages will be installed:
  inxi 
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 284.0kB of archives.
Do you want to continue? [y/N] y
1/1 Get http://slackware.uk/salix/x86_64/slackware-15.0/ inxi 3.3.12_1-noarch-1 [284.0kB]...Done

Done
Verifying package inxi-3.3.12_1-noarch-1.txz.
Installing package inxi-3.3.12_1-noarch-1.txz:
PACKAGE DESCRIPTION:
# inxi (system information tool)
#
# inxi is a command line system information script built for console and
# IRC. It is also used a debugging tool for forum technical support to
# quickly ascertain users' system configurations and hardware. inxi
# shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, gcc
# version(s), processes, RAM usage, and a wide variety of other useful
# information.
#
# Homepage: https://github.com/smxi/inxi
#
Package inxi-3.3.12_1-noarch-1.txz installed.
Parallel mksquashfs: Using 6 processors
Creating 4.0 filesystem on /tmp/inxi-3.3.12_1-noarch-1.xzm, block size 1048576.
[===================================================================-] 2/2 100%

Exportable Squashfs 4.0 filesystem, zstd compressed, data block size 1048576
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 223.12 Kbytes (0.22 Mbytes)
	23.10% of uncompressed filesystem size (965.72 Kbytes)
Inode table size 252 bytes (0.25 Kbytes)
	36.73% of uncompressed inode table size (686 bytes)
Directory table size 250 bytes (0.24 Kbytes)
	60.10% of uncompressed directory table size (416 bytes)
Number of duplicate files found 0
Number of inodes 20
Number of files 2
Number of fragments 1
Number of symbolic links 3
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)

====> '/tmp/inxi-3.3.12_1-noarch-1.xzm' was created successfully.

guest@porteus:~$ inxi
bash: inxi: command not found
guest@porteus:~$ inxi
CPU: 6-core AMD FX-6300 (-MT MCP-) speed: 2624 MHz
Kernel: 6.0.7-porteus x86_64 Up: 3m Mem: 2636.7/7950.0 MiB (33.2%)
Storage: 2.65 TiB (46.5% used) Procs: 243 Shell: Bash inxi: 3.3.12
guest@porteus:~$                                                                                                        

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#5 by KingJames » 05 Dec 2022, 15:23

Thanks beny! I finally figured it out. I actually got inxi installed with getmod -m but was apparently still missing a dependency. However, I activated the devel module and it had the dependency in it.

Here is the output of inxi -F:

Code: Select all

$ inxi -F
System:
  Host: porteus.example.net Kernel: 5.18.8-porteus x86_64 bits: 64
    Console: pty pts/2 Distro: Porteus-v5.0
Machine:
  Type: Laptop System: Acer product: Aspire A517-52 v: V1.17
    serial: NXA5DAA00210302D3D3400
  Mobo: TGL model: Jasmine_TL v: V1.17 serial: NBA5A110031037BADA3400
    UEFI: Insyde v: 1.17 date: 08/31/2021
Battery:
  ID-1: BAT1 charge: 26.4 Wh (82.8%) condition: 31.9/53.0 Wh (60.2%)
    volts: 15.0 min: 15.4
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    cache: L2: 5 MiB
  Speed (MHz): avg: 1043 min/max: 400/4200 cores: 1: 798 2: 1178 3: 1158
    4: 795 5: 1063 6: 1138 7: 1177 8: 1038
Graphics:
  Device-1: Intel driver: i915 v: kernel
  Device-2: SunplusIT HD User Facing type: USB driver: uvcvideo
  Display: server: X.org 1.20.14 driver: loaded: modesetting
    unloaded: fbdev,vesa resolution: <missing: xdpyinfo>
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.3.5
Audio:
  Device-1: Intel driver: sof-audio-pci-intel-tgl
  Sound Server-1: ALSA v: k5.18.8-porteus running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Intel driver: iwlwifi
  IF: wlan0 state: up mac: 40:1c:83:d0:03:4a
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eth0 state: down mac: 08:97:98:dc:7a:d9
Bluetooth:
  Device-1: N/A type: USB driver: btusb
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: not found
    rfk-block: hardware: no software: no address: 00:00:00:00:00:00
RAID:
  Hardware-1: Intel Device driver: vmd
Drives:
  Local Storage: total: 1.16 TiB used: 4.58 GiB (0.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital
    model: PC SN530 SDBPNPZ-256G-1114 size: 238.47 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0
    size: 931.51 GiB
  ID-3: /dev/sdb type: USB vendor: SanDisk model: Cruzer Snap
    size: 14.32 GiB
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 207 Uptime: 8m Memory: 7.57 GiB used: 2.96 GiB (39.1%)
  Shell: Bash inxi: 3.3.12

Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Bluetooth and sound did not work

Post#6 by Blaze » 05 Dec 2022, 15:39

KingJames, seems for sound need to convert and activate sof-2.2-x86_64-1gv.txz package.
Sound Open Firmware is an open source audio DSP firmware and SDK that
provides audio firmware infrastructure and development tools for
developers who are interested in audio or signal processing on modern
DSPs.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#7 by beny » 05 Dec 2022, 16:17

hi KingJames for the bluetooth you have to start the daemon in /etc/rc.d/rc.bluetooth start, like root and try to use blueman or in terminal bluetothctl if you want to use terminal is better open another one and type bluetoothctl --help there are a lot of command that you can use.

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#8 by KingJames » 05 Dec 2022, 17:34

Thank you both for your help, but neither solution seems to have worked.

I converted and activated the suggested sound firmware module, but nothing changed, so I copied it to my porteus/modules folder on my drive and restarted. No change. No devices are listed as output for sound, except for the dummy output.

I may be doing something wrong, but I can't get any bluetooth commands to work. Here is a sample of the commands I tried.

Code: Select all

guest@porteus:/$ blue
bluedevil-sendfile  bluedevil-wizard    bluemoon            bluetooth           bluetoothctl        
guest@porteus:/$ bluetoothctl --help
bluetoothctl ver 5.64
Usage:
        bluetoothctl [--options] [commands]
Options:
        --agent         Register agent handler: <capability>
        --monitor       Enable monitor output
        --timeout       Timeout in seconds for non-interactive mode
        --version       Display version
        --help          Display help
^Cguest@porteus:/$ bluetoothctl 
Waiting to connect to bluetoothd...
guest@porteus:/$ bluetooth
bluetooth     bluetoothctl  
guest@porteus:/$ bluetooth
/usr/share/tlp/tlp-func-base: /usr/share/tlp/tlp-readconfs: /usr/bin/perl: bad interpreter: No such file or directory
guest@porteus:/$ bluetoothctl power on
^Cguest@porteus:/$ su
Password: 
root@porteus.example.net:/
# blue
bluedevil-sendfile  bluedevil-wizard    bluemoon            bluetooth           bluetoothctl        bluetoothd          
root@porteus.example.net:/
# bluetoothctl 
Waiting to connect to bluetoothd...
^Croot@porteus.example.net:/
# blue
bluedevil-sendfile  bluedevil-wizard    bluemoon            bluetooth           bluetoothctl        bluetoothd          
root@porteus.example.net:/
# bluetooth
/usr/share/tlp/tlp-func-base: /usr/share/tlp/tlp-readconfs: /usr/bin/perl: bad interpreter: No such file or directory
root@porteus.example.net:/
# bluetoothctl power on
^Croot@porteus.example.net:/
# bluetooth devices
/usr/share/tlp/tlp-func-base: /usr/share/tlp/tlp-readconfs: /usr/bin/perl: bad interpreter: No such file or directory
root@porteus.example.net:/
# bluetoothctl devices
^Croot@porteus.example.net:/
# /etc/rc.d/rc.bluetooth start
bash: /etc/rc.d/rc.bluetooth: Permission denied
root@porteus.example.net:/
# 

I don't even know how permission can be denied as root.

Every time I used <ctrl>c to escape a command, I waited at least 30 seconds. Even when I run bluetoothctl --help I have to use <ctrl>c to escape.
Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#9 by beny » 05 Dec 2022, 17:46

bash-5.2# '/etc/rc.d/rc.bluetooth' start
bash: /etc/rc.d/rc.bluetooth: Permesso negato "Permission denied"
bash-5.2# sh '/etc/rc.d/rc.bluetooth' start
Starting Bluetooth services: bluetoothd hciconfig sdptool hciattach
when you run a script as root or guest the sh is mandatory so try to start deamon again, for the sound i have to dig a bit with the model of your notebook ok try this link: http://distro.ibiblio.org/zenwalk/x86_6 ... 210103.txz remove the other one and make a xzm package can you report here if work or not
bluetoothctl work after you have started the bluetooth daemon.

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#10 by KingJames » 05 Dec 2022, 18:13

Okay, so yeah I didn't know about sh, thanks. That got the bluetooth services working, but now when I try to do anything with bluetoothctl I get an error "No default controller available." Also no dice with graphical interface.

Code: Select all

guest@porteus:/$ bluetoothctl 
Agent registered
[bluetooth]# 
advertise             connect               discoverable          help                  pair                  quit                  select                trust
agent                 default-agent         discoverable-timeout  info                  pairable              remove                set-alias             unblock
block                 devices               exit                  list                  paired-devices        reset-alias           show                  untrust
cancel-pairing        disconnect            export                menu                  power                 scan                  system-alias          version
[bluetooth]# power on
No default controller available
[bluetooth]# scan
Missing on/off/bredr/le argument
[bluetooth]# scan on
No default controller available
[bluetooth]# show
No default controller available
[bluetooth]# connect 
Missing dev argument
[bluetooth]# connect dev
No default controller available
[bluetooth]# default-agent 
Default agent request successful
[bluetooth]# power on
No default controller available
Sound firmware had no effect again.
Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Bluetooth and sound did not work

Post#11 by Blaze » 05 Dec 2022, 18:22

KingJames, try to update kernel via Porteus Kernel Builder (Пост Blaze #91353)
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#12 by beny » 05 Dec 2022, 18:26

hi show this in terminal rfkill

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#13 by KingJames » 05 Dec 2022, 18:30

Code: Select all

root@porteus.example.net:/
# rfkill --output-all
ID TYPE      DEVICE         TYPE-DESC         SOFT      HARD
 0 bluetooth hci0           Bluetooth    unblocked unblocked
 1 wlan      acer-wireless  Wireless LAN unblocked unblocked
 2 bluetooth acer-bluetooth Bluetooth    unblocked unblocked
 3 wlan      phy0           Wireless LAN unblocked unblocked
Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Bluetooth and sound did not work

Post#14 by beny » 05 Dec 2022, 18:41

[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 00:1A:7D:DA:71:0D Discoverable: yes
[bluetooth]#
and try if work

User avatar
KingJames
White ninja
White ninja
Posts: 25
Joined: 26 Nov 2022, 17:20
Distribution: porteus5.0

Bluetooth and sound did not work

Post#15 by KingJames » 05 Dec 2022, 18:58

@beny I'm afraid it didn't work

Code: Select all

root@porteus.example.net:/
# bluetoothctl 
Agent registered
[bluetooth]# discoverable on
No default controller available
[bluetooth]# 
Porteus 5.0. I'm still learning linux. I hate Big Tech spying on me and I like open source. I am really enjoying Porteus. I keep it on a thumb drive and I copy to ram in less time than it takes Windows on my hard drive to boot up.

Post Reply