Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 15 Nov 2018, 19:15
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Bluetooth + streaming for tahrpup 6.x
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 10 [138 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Tue 11 Aug 2015, 06:50    Post subject:  

Please see the Note here.

This is a testing package and currently only exists for Tahrpup.
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Thu 13 Aug 2015, 05:59    Post subject:  

rcrsn51 wrote:
Please see the Note here.

This is a testing package and currently only exists for Tahrpup.


All your links go back to that post. What I want to know is where do I get
"requires the bluez_4.101-streaming.pet by tempestuous" and can that be used with Puppy precise 5.7.1 or not?

I just want a front end that allows me to connect my bluetooth devices . Can you suggest a solution or two?
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Thu 13 Aug 2015, 06:59    Post subject:  

april wrote:
What I want to know is where do I get "requires the bluez_4.101-streaming.pet by tempestuous"

Read the post by tempestuous at the start of this thread. He provides a link.

Quote:
and can that be used with Puppy precise 5.7.1 or not?

No. It is for Tahrpup only.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Thu 13 Aug 2015, 14:20    Post subject:  

.
Last edited by rcrsn51 on Mon 09 Jan 2017, 17:40; edited 38 times in total
Back to top
View user's profile Send private message 
Nym1

Joined: 12 Oct 2005
Posts: 15

PostPosted: Sat 15 Aug 2015, 22:50    Post subject: Use a bluetooth mouse on an Acer c720-2844 running Tahrpup 6
Subject description: A successful test of PeasyBT v. 1.4
 

Hello,

Tahrpup 6.x may be used with a bluetooth mouse on an Acer c720-2844 if one installs the packages/files listed below:

1) AthrBT_0x11020000.dfu firmware. It is included in the "linux-firmware" package that one may download/install via the "Puppy Package Manager".

(dmesg had shown:
"Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
usb 2-4: Direct firmware load failed with error -2
usb 2-4: Falling back to user helper
Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu
Bluetooth: Loading patch file failed
ath3k: probe of 2-4:1.0 failed with error -2")

(The firmware package is huge. Just download, unpack and copy ar3k/AthrBT_0x11020000.dfu to /lib/firmware for the c720-2844)

2) The “bluez_4.101-streaming.pet”, by “tempestuous”, that is located at:
http://www.smokey01.com/tempestuous/bluez_4.101-streaming.pet

3) "PeasyBT" version 1.4 (peasybt-1.4.pet) by “rcrsn51“ may be obtained from the creator via this forum's private message service, contingent on the promise by recipients to report results of tests of the package on their hardware.

4) “devx_tahr_6.0.sfs” (?)

I'm not certain that loading of “devx_tahr_6.0.sfs” is obligatory.
Association with a BT mouse seems to occur more reliably/quickly when the devx files have been loaded but
I've achieved association (intermittently) without it. Without the "devx files" having been loaded, I observed the following error in a terminal window when Peasybt switches had been toggled:

"# peasybt
Can't locate utf8.pm in @INC (you may need to install the utf8 module) (@INC contains: /usr/lib/urxvt /etc/perl
/usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18
/usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/lib/urxvt/urxvt.pm line 377.
BEGIN failed--compilation aborted at /usr/lib/urxvt/urxvt.pm line 377.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
urxvt: unable to initialize perl-interpreter, continuing without."

5) If one wishes to use a BT mouse and wlan0 simultaneously, create the file "etc/modprobe.d/ath9k.conf" with the line: "options ath9k btcoex_enable=1" and re-boot; otherwise, wireless service oscillated on and off too rapidly to be of use.
(Source: "Bluetooth coexistence": https://wiki.archlinux.org/index.php/Acer_C720_Chromebook)

Activation of the BT mouse seemed to occur more readily if association was sought prior to activation of wlan0.

When the requirements given above have been met, open a terminal and issue the following commands:

"modprobe btusb"

"bluetooth start"

"peasybt"

When the PeasyBT GUI appears, toggle "Enable BT mouse" and perform the actions required by your BT mouse to elicit association.

Best Regards,
Nym1
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Sun 16 Aug 2015, 06:50    Post subject:  

Thank you for this important information.

Regarding the devx: This is a bug in Tahrpup's urxvt terminal emulator, which is looking for some Perl files that are only in the devx. The warning appears when PeasyBT opens some terminal windows, and should not affect the actual BT operations.

I have not seen a problem with my BT devices, but I will test it again with the devx loaded and see if there is a change. BT is quite hardware specific and I am not disputing your observation.

I once tried to track down the missing urxvt files so I could move them into regular Tahrpup. I will look at this again.

Regarding the firmware: Other users with built-in BT adapters may need these extra steps. Thank you for all your work on this.

BTW, you shouldn't need to run "bluetooth start". If the BT icon in the system tray is blue, you are good to go.
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1211
Location: Saint-Gérard / Walloon part of Belgium

PostPosted: Wed 21 Oct 2015, 05:51    Post subject: About bluetooth files transfer ...  

Hi Bill,
many thanks for your latest PM !
got PeasyBT a try -without success-: on Tahrpup64 as first and aftwrds on Puppy Wheezy 3.5.2.11:
- firstable, i installed from respective repos all components that are in Tempestuous's pet (tons of thanks to him !); as also respective devx files to get python running as also missing python-gobject dependency (to get bluetooth-agent runing)

My purpose is only to transfer files from my cellular phone to my computer. That's not so relevant from this threads purpose.
So some missing dependencies might be still missing.
I meanwhile applied the "howto" you gave in page 5 above for files transfer.
- both computer and phone could detect ("discover") each other, and report the phones MAC code.
- i installed obexftp as also obexfs (infos collected from other bluetooth related threads)
Result: as now no success: the file transfer starts from phone, but stops a few seconfs later with «failed to connect» message on my phones display.

I next tried this pet with OOTB success, on a fresh frugal install of Puppy Wheezy 3.5.2.11: this pet is intented to run on Precise (From past experiences, I've assumed Precise apps to also run on Wheezy).
http://murga-linux.com/puppy/viewtopic.php?p=799261#799261
and
http://murga-linux.com/puppy/viewtopic.php?p=868705#868705
That pet is to be downloaded from:
https://drive.google.com/file/d/0B6M1ioaXbcSINUVndGRZNEZVMzA/view?usp=sharing (click on the arrow in the above-center of the screen to start download)
(! i suspect this link to not be permanent ==> so download it while still «alive» Rolling Eyes )

HTH for further developments of PeasyBT
Thanks again,
Cheers, Charlie
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 948

PostPosted: Tue 15 Dec 2015, 11:37    Post subject:  

Yes, I got the above Precise Bluetooth pet to find a headset in Dpup 3.5.2.11.
Is it missing an asound file or something?
The multiple sound card just shows alc realtek, no headset or anything else.

At least Bluetooth actually does something now. And this is on a netbook with the combined BT/Wifi Atheros thing!
Could it not be fixed up so it just picks up BT devices and assigns them to the sound options in etc?
There is a file in etc but it just looks generic or unfinished,

If you pm me the Peasy Rcrsn51 I will have a go with the original Tempestuous setup, again, but it 'aint that peasy!

Last edited by Smithy on Tue 15 Dec 2015, 14:27; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Tue 15 Dec 2015, 12:21    Post subject:  

@Smithy: Everything discussed in this thread is strictly for Tahrpup and strictly for BT audio/keyboard/mice.

I am sending you a copy of PeasyBT.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 948

PostPosted: Tue 15 Dec 2015, 14:27    Post subject:  

Ok thanks, I have tahr-5.8.3.rc1 to hand, presumably this will do in the ever changing world of Puppy? Edit, picked up tahr-6.0.2.pae.
Will build the bluez and peasy into it and see if I can get it to function.

Last edited by Smithy on Wed 16 Dec 2015, 13:58; edited 1 time in total
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 948

PostPosted: Wed 16 Dec 2015, 03:22    Post subject:  

Second Attempt: Better.
Last edited by Smithy on Wed 16 Dec 2015, 13:59; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Wed 16 Dec 2015, 08:41    Post subject:  

Libgirepository is contained in tempestuous' bluez PET, so I have no idea what is going wrong.

1. I set up a frugal install of Tahrpup with a savefolder.
2. I installed the two PETs.
3. I ran PeasyBT, which is just a front-end for the commands in the main PET, like bluez-simple-agent.
4. I paired with several audio devices.
5. It all worked correctly and there were no error messages.

BTW, a Jabra BT2046 is a headset designed to pair with cellphones. IIRC, it does not support the protocol for Bluetooth streaming audio as needed by this project. But it should still pair.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 948

PostPosted: Wed 16 Dec 2015, 12:02    Post subject:  

Yes it's fine now, I made a mistake on the usr libs and missed a couple of libs.
All built in now and the peasy buttons do the functions.
The Jabra succesfully turns a music track from Deadbeef into a series of beeps.

So will a headset with mic work with Skype and Linphone under the Bluez/ Peasy setup? It did seem stable, not disconnecting the pairing.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Wed 16 Dec 2015, 12:58    Post subject:  

Smithy wrote:
The Jabra succesfully turns a music track from Deadbeef into a series of beeps.

That was my experience. To stream audio, you need a BT device that handles the A2DP profile - like a portable speaker or BT headphones.

Quote:
So will a headset with mic work with Skype and Linphone under the Bluez/ Peasy setup?

It depends on the device and how it interfaces with ALSA. But I don't think that there is any support in this system for microphones.

Quote:
I made a mistake on the usr libs and missed a couple of libs.

Please explain. The PET should install correctly on its own.

Regarding audio players: I like PeasyMP3 because it automatically plays to the default ALSA device, which you can control from PeasyBT. So you don't have to mess around with your player's setup. It's one click to switch between wired speakers and BT output.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 948

PostPosted: Wed 16 Dec 2015, 13:26    Post subject:  

I installed both pets by hand into the extracted tahr, and packed it up again.

Your Peasy MP3 sounds like it is perfect for BT and Analogue switching.
I use XMPlay because I sometimes like to see the frequencies.

Ah so a bit like the old days of half duplex.
Or even just one way transmission.
I noticed the A2DP transmitters/receivers have an either/or caveat
and two independent devices could produce unacceptable latency.

So basically this package is just for one way streaming.
I havent got bluetooth mice, so I can't test that aspect.
But what I did test (after the dumbass omission lol) seems to work very nicely
and the Peasy front end is vital for ease of use.

There are skype users who are using bluetooth stereo cans and mono mic, but I am not exactly sure what operating systems they are using.
As I plug yet another dangly cable in Smile

EDIT: Bluez up to Version 4 does include the HSF HEADSET Profile
Bluez 5 has dropped it.
A link to some TESTS i.e Sony MDR-ZX330BT fully functioning Nokia BT etc
https://wiki.archlinux.org/index.php/Bluetooth_Headset#Headset_and_ALSA_Devices

Would be good if this project of Tempestuous and yours becomes the definitive plug and play go to implementation of Bluetooth on Linux.
Needs a lot more people to plug in their bluetooth apparatus though!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 10 [138 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0839s ][ Queries: 12 (0.0236s) ][ GZIP on ]