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 Fri 31 Oct 2014, 07:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Bluetooth & D-Bus, January 08
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 5 of 7 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
Chewi


Joined: 17 Aug 2008
Posts: 31
Location: Perth, Scotland

PostPosted: Sun 15 Feb 2009, 07:32    Post_subject:  

plugz is considered obsolete now. All you need now is Bluez 3.16 and ALSA. See this wiki page. I've successfully done it this way on Gentoo but if you're walking around and it starts losing signal, things can get a bit flakey. I'm waiting for PulseAudio to finish adding its bluetooth support, though that wouldn't be appropriate for Puppy.
_________________
Running Puppy 4.00 on a Toshiba Libretto 70CT. That's a Pentium 120MMX, 32MB RAM machine the size of a VHS cassette! It works like a charm. I even have wireless (WPA) and Bluetooth. Very Happy
Back to top
View user's profile Send_private_message 
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Sun 15 Feb 2009, 11:26    Post_subject:  

Thanks for your reply Chewi

I was having a look at the page you linked as it looked simpler than some of the other ways I have seen.

However the reason I was asking about the Bluetooth-alsa-sbc+plugz.pet is that I thought it would provide /.asoundrc as I don't have this file to modify.

The bluez libs firmware and utils I have installed are all 3.24 so I presume these are OK

" 1, Make sure the audio service is installed
2, modify your ~/.asoundrc to contain...."

I am also presuming that I need to install the "audio service", is there a pet for this?

Cheers
Gary
Back to top
View user's profile Send_private_message 
Chewi


Joined: 17 Aug 2008
Posts: 31
Location: Perth, Scotland

PostPosted: Sun 15 Feb 2009, 11:39    Post_subject:  

The .asoundrc file isn't usually needed so it doesn't usually exist. Just create an empty file with that stuff in it. The system-wide version is located at /etc/asound.conf.

The audio service is part of Bluez and is probably enabled by default.

_________________
Running Puppy 4.00 on a Toshiba Libretto 70CT. That's a Pentium 120MMX, 32MB RAM machine the size of a VHS cassette! It works like a charm. I even have wireless (WPA) and Bluetooth. Very Happy
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Wed 04 Mar 2009, 09:03    Post_subject:  

Hi,

I'm trying to pair an Intemp Bluetooth speaker with my 4.12 puppy and having some trouble.

I've performed the steps in the first post (installing Bluez, modprobe, etc) and all went well.

Using hcitool scan and info find my speaker. When I use sdptool I get information back but nothing mentions a channel.

Now when I use hcitool cc to connect that completes but does not output anything and using hcitool conn shows nothing.

It looks like I'm failing to create a pairing with my speakers. Can anyone suggest what I should look for to get this to work.

One thing to note is the speaker instructions say that they only support A2DP profiles. How do I make sure that the connection is an A2DP connection as that might be the problem.

Can anyone provide any suggestions?

Thanks
Back to top
View user's profile Send_private_message 
Chewi


Joined: 17 Aug 2008
Posts: 31
Location: Perth, Scotland

PostPosted: Wed 04 Mar 2009, 09:24    Post_subject:  

Just so people know, I'm vaguely thinking about updating these packages to Bluez 4.

It doesn't need any extra dependencies but the C version of the command line passkey agent isn't fully working right now. In fact, the version in the official tree doesn't work at all. There is a Python version that works but Puppy doesn't include Python.

Other userspace tools such as hidd have also disappeared in favour of applets that interact with D-Bus directly. The available applets aren't suitable for Puppy and someone would probably have to write a new one, similar to the other configuration tools it has. This probably isn't as difficult as it sounds.

_________________
Running Puppy 4.00 on a Toshiba Libretto 70CT. That's a Pentium 120MMX, 32MB RAM machine the size of a VHS cassette! It works like a charm. I even have wireless (WPA) and Bluetooth. Very Happy
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Wed 04 Mar 2009, 12:53    Post_subject:  

Any thoughts on how I can debug what my pairing problem is?

I don't know what all the bluetooth commands are and have tried to google all the ones referenced here but nothing shows that can provide detailed failure info.

Thanks
Back to top
View user's profile Send_private_message 
Chewi


Joined: 17 Aug 2008
Posts: 31
Location: Perth, Scotland

PostPosted: Wed 04 Mar 2009, 13:07    Post_subject:  

"hcitool cc" is rarely needed for anything in my experience. You need to modify/create an .asoundrc/asound.conf file as mentioned at the top of this page. I think you also need to have passkey-agent running when you try to use the speaker. The pincode is usually 0000. To actually use it, you need to output to the ALSA device you added in the above file. With aplay, for example, you would add the option -Dplug:bluetooth. The "plug" part helps to ensure any necessary format conversion is done to the sound before sending it out.
_________________
Running Puppy 4.00 on a Toshiba Libretto 70CT. That's a Pentium 120MMX, 32MB RAM machine the size of a VHS cassette! It works like a charm. I even have wireless (WPA) and Bluetooth. Very Happy
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Thu 05 Mar 2009, 09:07    Post_subject:  

Thanks for the tips.

I tried your suggestions and also downloaded hcidump to see what was going on.

It looks like I'm failing the key/pin exchange. Not sure what is wrong with passkey-agent or if I'm doing something wrong.

I can do everything l2ping, all the hcitool commands but just can't pair. It's driving me crazy
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Fri 06 Mar 2009, 14:50    Post_subject:  

Bought a new BT dongle (now Belkin) which does not give me any errors in dmesg. However, all comments on the internet suggest that the errors should not give any problems except to fill your logfiles.

Tried everything again and still cannot pair to my BT speakers.

I also tried a fresh boot and checked dmesg before doing anything thing time. I found that puppy 4.12 loads Bluetooth drivers on boot?

Could this be my problem. Could it be that the install packages from the first page are being confused by what is loaded at the startup.

Has anyone tried setting up Bluetooth on a 4.12 puppy following the steps in this guide?

I'm so confused now
Back to top
View user's profile Send_private_message 
Chewi


Joined: 17 Aug 2008
Posts: 31
Location: Perth, Scotland

PostPosted: Fri 06 Mar 2009, 15:13    Post_subject:  

It worked for me on Puppy 4.00. To be honest, Puppy isn't the best distro to try Bluetooth with for the first time.
_________________
Running Puppy 4.00 on a Toshiba Libretto 70CT. That's a Pentium 120MMX, 32MB RAM machine the size of a VHS cassette! It works like a charm. I even have wireless (WPA) and Bluetooth. Very Happy
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Sat 07 Mar 2009, 09:44    Post_subject:  

Thanks. I'll try 4.0 to see if that improves things. There are a few comments on the internet (various Linux flavours) that suggest newer kernels are causing some issues with pairing.

I'll report back if this fixes my problems.
Back to top
View user's profile Send_private_message 
Antilles

Joined: 07 Jan 2009
Posts: 17

PostPosted: Thu 19 Mar 2009, 08:29    Post_subject: Quick update  

I rolled back to Puppy 4.0 and again cannot pair the speaker with the computer. Using the dump tool it looks like the pass code just is not going through. All the rest of the bluetooth stack seem fine.

I've decided to just add a USB Audio dongle for now and have also rolled back to 4.12

This looked so promising when I started
Back to top
View user's profile Send_private_message 
burgiuk

Joined: 19 Mar 2009
Posts: 3

PostPosted: Mon 23 Mar 2009, 06:51    Post_subject:  

Hello everyone

After following an older thread I was pointed to this one and I have followed the instructions to the letter and I am pleased to say that it has worked! Very Happy

Sort of... I am trying to transfer files from my phone to the PC and it keeps failing. Do I need to specify a directory to download to?

Hmmm... sorry I was going to paste the result I get from the console but I don't know the keyboard shortcut to copy, if anyone can tell me that first I can show you where it is failing.

I am using a Motorola RAZR V3i and an unbranded bluetooth dongle.

Thanks in advance![/code]
Back to top
View user's profile Send_private_message 
klasu777

Joined: 09 Apr 2009
Posts: 17

PostPosted: Mon 13 Apr 2009, 10:57    Post_subject: Not working for Puppy 2.14  

Hi,

I'm desperately trying to run BlueZ on Puppy (version 2.14). I installed all PETs from this thread and when i run "hcid -n", i get the following error message:


I get the following error messages:
hcid: /lib/libc.so.6: version GLIBC_2.4 not found (required by hcid).

So, i suspect that HCID is requiring a GLIBC version that was released after my Puppy version. Do you think this is the case?


I need this Puppy version because it can run on systems without coprocessors. Is there a way around this problem?

Thanks,
Klaus.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 13 Apr 2009, 11:34    Post_subject:  

Hi Klasu777 [& burgiuk, if still around?]

Would recommend starting a new thread in 'beginners help' to get a better response - this is the 'additional software' section

http://www.murga-linux.com/puppy/index.php?f=2

Sorry I don't know about bluetooth

Aitch Smile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 5 of 7 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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