Hello,
I've installed arch on arm device (RPi3), managed to get everything working for the most part. Inlcuding BT, thanks to this user. But gatttool always hangs when used in non-interactive mode, interactive mode works fine. I've read that downgrading to version 4.101 can fix this so first I attempted:
$this->bbcode_second_pass_code('', '
curl -O http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz
tar -xvzf bluez-4.101.tar.gz
')
But attempting to untar that results in error: "gzip: stdin: not in gzip format"
I tried to get around it by issuing "tar -xf" and other versions to no avail (yes, I have xz package installed).
Then I read that the older version of bluez isn't even in AUR but in a mirrored repo under name "bluez4". So I tried:
$this->bbcode_second_pass_code('', '
cd && mkdir -p tmp
wget -O PKGBUILD http://pkgbuild.com/git/aur-mirror.git/tree/bluez4
makepkg
')
Which results in:
$this->bbcode_second_pass_code('', '
/home/user/tmp/PKGBUILD: line 1: !DOCTYPE: No such file or directory
/home/user/tmp/PKGBUILD: line 2: syntax error near unexpected token `newline'
/home/user/tmp/PKGBUILD: line 2: ` "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
==> ERROR: Failed to source /home/aworm/tmp/PKGBUILD
')
Can't build from source or untar, not sure what I'm doing wrong. Any advice on how to downgrade this properly? Thanks