PineTab Bluetooth
#1
Hello all, 

I was wondering if anyone had a fix to the following problem I ran into when setting up WIFI and Bluetooth functionality on the PineTab. I got through the WIFI setup without issue and it works great, but when running the following to setup Bluetooth:

Code:
sudo pacman -S bluez-deprecated-tools
sudo -i
echo ifname:bt cmd:BT_ON > /dev/bes2600
rfkill unblock bluetooth
hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
hciconfig hci0 up
exit
sudo systemctl enable bluetooth

i run into an error right after running hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep

the error is as follows:

Code:
hciattch -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
Can't get port settings: Input/output error
Can't initialize device: Input/output error

I did see the one resolution using UART but it did not work, plus the main use of setting up the Bluetooth was to use Bluetooth mouse and barcode scanner.

if anyone has a fix, or an idea when this may be fixed it would be greatly appreciated. 

Kernel: 6.8.6-danctnix2-1-pinetab2
  Reply
#2
I came here for the exact same issue. Any resolutions?
  Reply
#3
(07-18-2024, 12:30 PM)elix Wrote: I came here for the exact same issue. Any resolutions?

I got a little further when I changed ttyS1 to ttyS2 but ended up getting a no device error when running the next command.
  Reply
#4
I find the whole bluetooth issues ominous.

For one the bes2600 driver's source headers show
/*
* ..
* Copyright © 2022, Bestechnic
* ..
*/

Which means they wrote the driver
They being the makers and suppliers of the bes2600 module.

All of the commands in the op table except for powering on and off wifi and bluetooth
are not implemented.
What's of note is that the power on / off commands that are implemented use the sdio interface
and not the uart interface which is what is used to communicate with the bluetooth transceiver (except for powering on/off which uses sdio).
This means the driver does not talk at all to the uart. The bluetooth transceiver.
Which is strange since the module has a bluetooth transceiver on the uart interface and the driver, as mentioned,
is developed by the module supplier.

It seems they left it out on purpose.

From my research Linux uses Bluez for all things bluetooth and Linux can support bluetooth controllers
out of the box without 3rd party drivers. If this is true the driver not having any substantial bluetooth
implementation save for powering on and off the transceivers makes sense.

However when trying bluetoothctl list, there is nothing output. This indicates that the bluetooth controller
is not supported by bluetoothctl and hence it seems bluez.

Of course I could be getting Bluez and it's capabilitites all wrong here and 3rd party drivers are needed for Bluez to do it's thing and the bes2600 driver written by Bestechnic is in fact incomplete, but that's just too far fetched.

Something is not being said about the bes2600 bluetooth driver, bluez, their place on the pinetab2 and what is entailed exaclty to get bluetooth working.

The makers of the pinetab2 need to speak up here and say what's going on beyond just a simple "the bluetooth driver needs to be implemented".
I am hard pressed to believe that Bestechnic didn't leave the driver incomplete by design and that the kernel takes care of what they left out. At least on most devices.
??
  Reply
#5
Pine64 is shutting down discussion on this topic.
Weird.
  Reply
#6
The current version of the driver does actually support Bluetooth. Otherwise, there would not be the instructions (which are not working for the OP for whatever reason). The issue is that the driver as a whole is apparently not reliable, which is unfortunately fairly typical for vendor-provided out-of-tree drivers.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  bluetooth adapter? elix 3 294 11-03-2024, 01:45 PM
Last Post: elix
  Pinetab 2 just arrived + when can hope to se wifi driver LRP 15 11,278 02-28-2024, 05:03 AM
Last Post: Surehand53
Wink Screen protector for PineTab 2 vatin 0 1,179 11-18-2023, 01:31 AM
Last Post: vatin
  PineTab 2 (arm64) thoughts and questions acruhl 7 4,575 09-01-2023, 01:13 PM
Last Post: acruhl
  PineTab 2 Dead Screen Kramey 16 7,501 08-12-2023, 05:44 PM
Last Post: Kramey
  pinetab 2 not booting ajhiii070 5 3,114 08-07-2023, 01:46 PM
Last Post: r.aliaskarov
  does the pinetab "just worK"? averageconsumer445 19 7,575 07-15-2023, 10:31 AM
Last Post: dachalife
  Pinetab-V shipping Status? jfstepha 6 3,933 07-12-2023, 03:23 PM
Last Post: ChromaticHamster
  No WiFi or Ethernet on vanilla PineTab 2 from the factory? SmittyWerbenyegermanjenson 6 3,492 06-06-2023, 05:26 PM
Last Post: fxc
Star Looking for a Pinetab [EU] Glenn 2 3,158 01-24-2023, 06:12 PM
Last Post: Louis

Forum Jump:


Users browsing this thread: 1 Guest(s)