Porteus 5.0 and Bluetooth.

Technical issues/questions of an intermediate or advanced nature.
beny
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus 5.0 and Bluetooth.

Post#31 by beny » 19 Feb 2023, 17:35

hi roro the daemons start with root account,so you have to use sudo or better the su and root password,

roro
Black ninja
Black ninja
Posts: 65
Joined: 04 Aug 2022, 08:41
Distribution: Porteus 5.0 XFCE

Porteus 5.0 and Bluetooth.

Post#32 by roro » 20 Feb 2023, 09:12

Hi beny,
No success

Code: Select all

root@porteus:/home/guest# sh /etc/rc.d/rc.bluetooth start
Starting Bluetooth services:  bluetoothd hciconfig sdptool hciattach
root@porteus:/home/guest# 
No Bluetooth icon on the screen
And how now ?
What else do I have to do?

How can I establish a bluetooth connection now ??
That's my question.

roro
Black ninja
Black ninja
Posts: 65
Joined: 04 Aug 2022, 08:41
Distribution: Porteus 5.0 XFCE

Porteus 5.0 and Bluetooth.

Post#33 by roro » 20 Feb 2023, 15:01

Hi all,

The icon for Bluetooth connections is missing in the panel.

I found a lot on the internet about this problem.
But didn't help me
For example:
sudo systemctl status bluetooth
sudo systemctl enable bluetoothsudo systemctl start bluetooth

However, the systemctl command does not exist in Porteus

Can someone help?

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus 5.0 and Bluetooth.

Post#34 by Ed_P » 20 Feb 2023, 18:50

beny wrote:
16 Feb 2023, 23:34
not porteus but: /lib/firmware/intel/ibt-19-0-4.sfi you have to have this one
beny when I added the ibt-19-0-4.sfi and ibt-19-0-4.ddc modules I now get:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# sh '/etc/rc.d/rc.bluetooth' start
Starting Bluetooth services:  bluetoothd hciconfig sdptool hciattach
root@porteus:/home/guest# 
:good:
For anyone interested my module script.

Code: Select all

#!/bin/sh

# https://forum.porteus.org/viewtopic.php?p=92943#p92943

if [ `whoami` != "root" ]; then
   echo -e "Enter root's password\033[1;31m"
   su -c "sh $0 $1"
   exit
fi
echo -e "\033[0m"; echo -en "\033]0;Make A Mod\a" 

#set -x;

if [ -d /tmp/mod/ ]; then
   rm -rf /tmp/mod
fi
mkdir -p  /tmp/mod/lib/firmware/intel
cp -a     /home/guest/Downloads/ibt*                         /tmp/mod/lib/firmware/intel/
ls -R                                                        /tmp/mod/
read
dir2xzm   /tmp/mod/                     /tmp/DellBlueTooth.xzm
rm  -rf   /tmp/mod/ && echo && ls -sh   /tmp/*.xzm
read
Ed

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus 5.0 and Bluetooth.

Post#35 by francois » 21 Feb 2023, 01:27

@roro:
Next step is:

Code: Select all

root@porteus:/home/guest# blueman-manager
A dialog box will appear and also a bluetooth icon on your menu bar at extreme right.

:)
Prendre son temps, profiter de celui qui passe.

roro
Black ninja
Black ninja
Posts: 65
Joined: 04 Aug 2022, 08:41
Distribution: Porteus 5.0 XFCE

Porteus 5.0 and Bluetooth.

Post#36 by roro » 21 Feb 2023, 08:40

Hi francois,
thanks

Code: Select all

root@porteus:/home/guest# activate /mnt/sdb1/porteus/optional/blueman/libappindicator-12.10.0-x86_64-3.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# activate /mnt/sdb1/porteus/optional/blueman/blueman-2.2.3-x86_64-2.xzm 
Updating shared library links:  /sbin/ldconfig
Updating glib schemas: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
root@porteus:/home/guest# sh /etc/rc.d/rc.bluetooth start
Starting Bluetooth services:  bluetoothd hciconfig sdptool hciattach
root@porteus:/home/guest# blueman-manager
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)

(blueman-manager:2865): dconf-WARNING **: 09:26:44.933: failed to commit changes to dconf: The connection is closed

(blueman-manager:2865): dconf-WARNING **: 09:26:44.946: failed to commit changes to dconf: The connection is closed

(blueman-manager:2865): dconf-WARNING **: 09:26:44.948: failed to commit changes to dconf: The connection is closed
Blueman applet needs to be running
Francois wrote
"A dialog box will appear and also a bluetooth icon on your menu bar at extreme right."

Nothing has happened
Just the error message above, although I have the blueman applet activated!

What now? Next Step?

I am a beginner, Can someone help?
Thanks

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus 5.0 and Bluetooth.

Post#37 by francois » 21 Feb 2023, 12:00

@roro:
This output is peculiar:
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.

I do not understand why you get that message.
Please provide the location of all the blueman-manager on your linux box with:

Code: Select all

root@porteus:~# updatedb
root@porteus:~# locate blueman-manager
/home/guest/.local/share/applications/blueman-manager.desktop
/root/.local/share/applications/blueman-manager.desktop
/usr/bin/blueman-manager
/usr/share/applications/blueman-manager.desktop
root@porteus:~# 
Try doing the blueman-manager in always fresh mode.

Thanks.
Prendre son temps, profiter de celui qui passe.

roro
Black ninja
Black ninja
Posts: 65
Joined: 04 Aug 2022, 08:41
Distribution: Porteus 5.0 XFCE

Porteus 5.0 and Bluetooth.

Post#38 by roro » 21 Feb 2023, 14:40

Hi Francois,

Code: Select all

guest@porteus:~$ sudo sh '/etc/rc.d/rc.bluetooth' start

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
Starting Bluetooth services:  bluetoothd hciconfig sdptool hciattach
guest@porteus:~$ blueman-manager
Success:
A dialog box will appear and also a Bluetooth icon in the menu bar
Result:
I am not allowed to run blueman-manager as root


Why this mix:

etc/rc.d/rc.bluetooth as root
blueman-manager as guest

There is an explanation?

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus 5.0 and Bluetooth.

Post#39 by francois » 21 Feb 2023, 15:24

Maybe it is because you work in guest mode and that bluetooth will be applied only to the guest environment.

Log out from guest mode and get in root mode desktop environment and see if bluetooth icon is in the menu bar. If not try running blueman-manager in cli-mode (terminal, which will be in root mode automatically) and see if blueman-manager will work.

I am happy to read that you were able to apply the solution. :happy62:
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus 5.0 and Bluetooth.

Post#40 by Ed_P » 21 Feb 2023, 17:16

roro wrote:
21 Feb 2023, 14:40
etc/rc.d/rc.bluetooth as root
blueman-manager as guest
This works for me too. :good: Thanks roro. :)
francois wrote:
21 Feb 2023, 15:24
I am happy to read that you were able to apply the solution. :happy62:
Me too. :)
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3933
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus 5.0 and Bluetooth.

Post#41 by ncmprhnsbl » 22 Feb 2023, 01:09

i'll say it again: add the cheatcode: bluetooth to the boot line.. ie. <install_media>/boot/syslinux/porteus.cfg line that starts: APPEND (or hit TAB at boot screen and type: bluetooth )
learn more cheatcodes: <install_media>/boot/docs/cheatcodes.txt
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus 5.0 and Bluetooth.

Post#42 by francois » 24 Feb 2023, 11:50

@ncmprhnsbl:

Thanks for your patience. Some times people need a little repetition. We are a bunch of elderly on this site. :D

You have a lot to do as a the main maintainer of Porteus and Nemesis. I would underline that other distributions do not have that quality of intervention to the client or forum members.

Porteus 5.0 is really a mature distribution.

Cheers!
Prendre son temps, profiter de celui qui passe.

User avatar
SEMERENDO.cr
White ninja
White ninja
Posts: 9
Joined: 08 Nov 2023, 20:36
Distribution: alt - Porteus 5

Porteus 5.0 and Bluetooth.

Post#43 by SEMERENDO.cr » 28 Nov 2023, 02:28

Install and everything is going great, I activated the bluetooth from the control center of Porteus... but I can not connect any device, scans them well but there is always a strange message. As I see it has to do with a pack of pulseaudio that is needed?

ADDITIONALLY, I copied all the "/lib/firmware" content from my altlinux partition, which solved the wifi, but not the Bluetooth!
portypit wrote:
30 Jul 2020, 22:16
Is Porteus supposed to work with the Bluetooth device in a laptop?
Possibly there is no driver supplied with Porteus.

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

Porteus 5.0 and Bluetooth.

Post#44 by beny » 28 Nov 2023, 19:22

you have to start the daemon bluetooth: /etc/rc.d/rc.bluetooth start and if you have a laptop you have to see if the bluetooth device is activated with rfkill
bash-5.2# rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
bash-5.2#
after i don't know your desktop environment..blueman or bluedevil, but if you have trouble you can use the terminal with bluetoothctl

seed_clapper
Black ninja
Black ninja
Posts: 43
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5 LXQT

Porteus 5.0 and Bluetooth.

Post#45 by seed_clapper » 01 Jan 2024, 16:34

Ed_P wrote:
17 Feb 2023, 17:54
copy it to /lib/firmware/intel/
Thank you for the links.
I was able to make work Intel Wi-Fi 6 AX201 built-in bluetooth by
adding "bluetooth" cheatcode when booting
and putting these two files in /porteus/rootcopy/lib/firmware/intel/ folder.

Post Reply