LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-12-2021, 11:28 AM   #46
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled

Code:
 ls /dev | grep -P 'ttyAM|ttyS|serial'
serial0@
serial1@
ttyAMA0
ttyS0
Looks sorta right, but not sure about those "@" on the end?

And yes, the config.txt does contain those lines.

--
Pete
 
Old 01-12-2021, 11:32 AM   #47
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
@ this is ok, these are symlinks, while there is nothing why it doesn't work.
rfkill what outputs?
 
Old 01-12-2021, 11:40 AM   #48
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked
Looks like it thinks its working!

The bluetooth icon does not appear in the system tray (kde5), unlike on my (x86_64) laptop. It is in the "hidden icons" section. When I click on it, it says "no adapters found", but if I try and "add a device", it says "scanning", but never finds the headphones I am trying to pair with it. On Raspbian, the icon is in the system tray, and it pairs almost instantly - as indeed it does with a plug-in dongle.

--
Pete
 
Old 01-12-2021, 11:47 AM   #49
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
Code:
rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked
Looks like it thinks its working!

The bluetooth icon does not appear in the system tray (kde5), unlike on my (x86_64) laptop. It is in the "hidden icons" section. When I click on it, it says "no adapters found", but if I try and "add a device", it says "scanning", but never finds the headphones I am trying to pair with it. On Raspbian, the icon is in the system tray, and it pairs almost instantly - as indeed it does with a plug-in dongle.

--
Pete
try blueman-manager
 
Old 01-12-2021, 11:53 AM   #50
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
blueman-manager
WINDOW DECORATIONS RELOADED
blueman-manager version 2.1.4 starting
blueman-manager 17.50.58 ERROR    Manager:118 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 17.50.58 ERROR    Manager:122 on_dbus_name_appeared: No adapter(s) found, exiting
Looks like the same issue?

--
Pete
 
Old 01-12-2021, 12:05 PM   #51
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
as an option blueman-adapters or bluetoothctl
 
Old 01-12-2021, 12:25 PM   #52
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
blueman-adapters
WINDOW DECORATIONS RELOADED
blueman-adapters version 2.1.4 starting
blueman-adapters 18.21.58 ERROR    Adapter:53 __init__  : No adapter(s) found
bluetoothctl list shows no controllers

--
Pete
 
Old 01-12-2021, 12:34 PM   #53
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Code:
btuart
or
Code:
hciattach /dev/serial1 bcm43xx 3000000 flow - b8:27:eb:aa:aa:aa
or
Code:
hciattach /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:aa:aa:aa
 
Old 01-12-2021, 12:58 PM   #54
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 689

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by pchristy View Post
bluetoothctl list shows no controllers
Is this any help?

https://www.linuxquestions.org/quest...-a-4175658683/
 
Old 01-12-2021, 12:59 PM   #55
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
btuart
bcm43xx_init
Failed to write reset command
Can't initialize device: Success
Code:
 hciattach /dev/serial1 bcm43xx 3000000 flow - b8:27:eb:aa:aa:aa
bcm43xx_init
Failed to write reset command
Can't initialize device: Success
Code:
hciattach /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:aa:aa:aa
bcm43xx_init
Failed to write reset command
Can't initialize device: Success
"Can't initialize device:" is classed as "success" !?!

--
Pete
 
Old 01-12-2021, 01:04 PM   #56
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Code:
ls -l /dev | grep -P 'ttyAM|ttyS|serial'
should be
Code:
lrwxrwxrwx 1 root root           5 Jan  1  1970 serial0 -> ttyS0
lrwxrwxrwx 1 root root           7 Jan  1  1970 serial1 -> ttyAMA0
crw-rw---- 1 root dialout 204,  64 Jan  1  1970 ttyAMA0
crw--w---- 1 root tty       4,  64 Jan  1  1970 ttyS0
 
Old 01-12-2021, 01:13 PM   #57
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
ls -l /dev | grep -P 'ttyAM|ttyS|serial'
lrwxrwxrwx  1 root root           5 Jan  1  1970 serial0 -> ttyS0
lrwxrwxrwx  1 root root           7 Jan  1  1970 serial1 -> ttyAMA0
crw-rw----  1 root dialout 204,  64 Jan  1  1970 ttyAMA0
crw--w----  1 root tty       4,  64 Jan  1  1970 ttyS0
Exaga might be on to something:

Code:
lsmod | grep hci_uart
hci_uart               49152  1
btbcm                  24576  1 hci_uart
bluetooth             475136  10 hci_uart,btbcm,bnep
but the btsdio module is NOT loaded - at all!

Code:
modprobe btsdio
modprobe: FATAL: Module btsdio not found in directory /lib/modules/5.10.3
Missing module in kernel configuration? But then why does it work with a dongle?

OK,I'm still on 5.10.3 - haven't figured out how to update the kernel on slarm64 yet (I do it all the time on x86_64, but the boot folder here is very different!).

--
Pete
 
Old 01-12-2021, 01:22 PM   #58
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
OK,I'm still on 5.10.3 - haven't figured out how to update the kernel on slarm64 yet (I do it all the time on x86_64, but the boot folder here is very different!).
update standard download and upgradepkg

as far as I understand, the module is not sdio but uart.

Code:
hciattach /dev/serial0 bcm43xx 921600 noflow - b8:27:eb:aa:aa:aa
 
Old 01-12-2021, 01:32 PM   #59
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Code:
hciattach /dev/serial0 bcm43xx 921600 noflow - b8:27:eb:aa:aa:aa
bcm43xx_init
Initialization timed out.
Well, the init didn't fail this time! It just timed out! Progress?

--
Pete
 
Old 01-12-2021, 01:33 PM   #60
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 689

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
Originally Posted by pchristy View Post
OK,I'm still on 5.10.3 - haven't figured out how to update the kernel on slarm64 yet (I do it all the time on x86_64, but the boot folder here is very different!).
Some of my old notes on kernel .config settings for Bluetooth shizzle...

Code:
CONFIG_NET=y
CONFIG_BT=m
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_CMTP=m
CONFIG_BT_HIDP=m
CONFIG_BT_HS=y
CONFIG_BT_LE=y
CONFIG_BT_6LOWPAN=m
CONFIG_BT_DEBUGFS=y

CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_HCIUART_ATH3K=y
CONFIG_BT_HCIUART_BCM=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_INTEL=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIVHCI=m

CONFIG_BT_ATH3K=m
CONFIG_BT_BCM=m
CONFIG_BT_INTEL=m
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
CONFIG_BT_QCA=m
CONFIG_BT_RTL=m
CONFIG_BT_WILINK=m
 
  


Reply

Tags
pi 400


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pi 400 slarm64-current not booting pchristy Slackware - ARM 18 12-29-2020 12:16 PM
[SOLVED] Slarm64 / Xfce / Blueman / PyGObject - GUI seems broken? shelldweller Slackware - ARM 9 02-20-2020 10:25 AM
Installing slarm64 on a Raspberry PI 4 akschu Slackware - ARM 0 01-04-2020 09:44 PM
slarm64 no wifi kermitdafrog8 Slackware - ARM 45 09-27-2019 10:33 AM
[VPS] 4 load page = 100 MB RAM loaded? do i need 100x 400 mb ram for next 400 page? vaporizel Linux - Server 1 03-14-2011 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration