Re: [gentoo-user] Bluetooth is impossible

2010-02-01 Thread Damian
> All that is required is emerge bluez, reload dbus, start bluetooth,
> emerge blueman-1.21, config asound.conf as above, and restart
> alsasound.
>
> Has anyone gotten bluetooth pairing without a GUI tool such as
> blueman?  That's the "impossible" part.
Thanks Grant for sharing your experience (I'll try blueman version
1.21). I've also struggled with the bluetooth configuration, and I
agree: the gentoo guide is outdated (have you contacted the author?).

I tried to pair devices from the command line, but it was impossible for me too.

Greetings,
Damian.



Re: [gentoo-user] Bluetooth is impossible

2010-01-28 Thread Grant
 You mentioned that the headset's PIN can't be changed.  Couldn't
 anybody pair with it if they enter ?
>>
>>> They can't because you have to hold the button down to initiate the
>>> pairing process.
>>
>> Even if they could, what's the point? It would only mean that you would
>> be able to make and receive calls using their phone :-O
>
> I have this notion that the security implications are a little wider than
> this.
>
> If one could pair with any arbitrary headset, without the requirement to
> hold the button down, one could surely (?) pair with that headset and use it
> as a bugging device when it wasn't in use by the owner.
>
> Stroller.

The way my Motorola H560 works, when you switch it on, it's in pairing
mode for 30 seconds or something.  So I suppose it's susceptible to
this type of thing every time I turn it on.

- Grant



Re: [gentoo-user] Bluetooth is impossible

2010-01-28 Thread Stroller


On 28 Jan 2010, at 10:15, Neil Bothwick wrote:


On Thu, 28 Jan 2010 10:05:50 +, Stroller wrote:


If one could pair with any arbitrary headset, without the requirement
to hold the button down, one could surely (?) pair with that headset
and use it as a bugging device when it wasn't in use by the owner.


You're way too devious for me! :)


Just security aware.

Stroller.




Re: [gentoo-user] Bluetooth is impossible

2010-01-28 Thread Neil Bothwick
On Thu, 28 Jan 2010 10:05:50 +, Stroller wrote:

> If one could pair with any arbitrary headset, without the requirement  
> to hold the button down, one could surely (?) pair with that headset  
> and use it as a bugging device when it wasn't in use by the owner.

You're way too devious for me! :)


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


signature.asc
Description: PGP signature


Re: [gentoo-user] Bluetooth is impossible

2010-01-28 Thread Stroller


On 27 Jan 2010, at 12:28, Neil Bothwick wrote:


On Wed, 27 Jan 2010 08:33:57 +, Stroller wrote:


You mentioned that the headset's PIN can't be changed.  Couldn't
anybody pair with it if they enter ?



They can't because you have to hold the button down to initiate the
pairing process.


Even if they could, what's the point? It would only mean that you  
would

be able to make and receive calls using their phone :-O


I have this notion that the security implications are a little wider  
than this.


If one could pair with any arbitrary headset, without the requirement  
to hold the button down, one could surely (?) pair with that headset  
and use it as a bugging device when it wasn't in use by the owner.


Stroller.




Re: [gentoo-user] Bluetooth is impossible

2010-01-27 Thread Grant
>> > You mentioned that the headset's PIN can't be changed.  Couldn't
>> > anybody pair with it if they enter ?
>
>> They can't because you have to hold the button down to initiate the
>> pairing process.
>
> Even if they could, what's the point? It would only mean that you would
> be able to make and receive calls using their phone :-O

Good point to both of you.

- Grant



Re: [gentoo-user] Bluetooth is impossible

2010-01-27 Thread Neil Bothwick
On Wed, 27 Jan 2010 08:33:57 +, Stroller wrote:

> > You mentioned that the headset's PIN can't be changed.  Couldn't
> > anybody pair with it if they enter ?  

> They can't because you have to hold the button down to initiate the  
> pairing process.

Even if they could, what's the point? It would only mean that you would
be able to make and receive calls using their phone :-O


-- 
Neil Bothwick

You shall know the truth, and you shall freak.


signature.asc
Description: PGP signature


Re: [gentoo-user] Bluetooth is impossible

2010-01-27 Thread Stroller


On 26 Jan 2010, at 01:00, Grant wrote:

...
You mentioned that the headset's PIN can't be changed.  Couldn't
anybody pair with it if they enter ?



They can't because you have to hold the button down to initiate the  
pairing process.


Stroller.



Re: [gentoo-user] Bluetooth is impossible

2010-01-26 Thread Grant
>>> I have a TRENDnet TBW-105UB USB bluetooth adapter and Motorola H560
>>> bluetooth headset, and I'm trying to use them with twinkle VOIP
>>> software.  I've spent at least 8 hours today following up with every
>>> single lead and I can't figure out how this is supposed to work.  I
>>> think I don't have the 2 devices "pairing".  The instructions here:
>>>
>>> http://www.gentoo.org/doc/en/bluetooth-guide.xml
>>>
>>> seem to be completely outdated.  I installed blueman in the hopes that
>>> it would help facilitate pairing, but I only get python errors when I
>>> try to run the binaries.  Is it gnome-only?  I'm running xfce4.
>>
>> Dumb question, Grant, but you are using the right passkey, right?
>>
>> These headsets have it built into them, and you usually have to do something
>> like hold down the headset's power button for 4 or 6 seconds (instead of
>> just pushing it and letting go, as you would normally do to power on the
>> device) and the indicator light will flash (or flash more slowly than usual,
>> or change colour or in some other way indicate it's doing things
>> differently). This initiates pairing mode on the headset, and you have 10 or
>> 20 seconds to pair.
>>
>> The passkey of the headset is usually fixed at , but check the manual.
>> You can't change it, and you'll need to match your PC to that.
>>
>> It seems like you're a bit frustrated by all this, the way you've posted
>> without giving us any information. If you're struggling with the concept of
>> pairing, then I suggest you try pairing the headset with your phone & using
>> it, just to get the hang of it. If you don't have a bluetooth phone, maybe
>> you could borrow one? Usually headsets pair with phones pretty easily, first
>> or second time, just as soon as you've worked out which of the tiny little
>> buttons to hold in the right way for pairing. Once you've got this sussed
>> out it'll pair immediately - or even automatically - with your PC.
>>
>> The article doesn't look *that* out of date to me, as it mentions "... with
>>>=bluez-libs-3.x and >=bluez-utils-3.x, pin helpers have been replaced..."
>> and here on my systems versions 2.25 are still marked as stable. On the
>> other hand I see that 3.36 is marked as stable, too. :/
>>
>> Stroller.
>
> Thank you for taking the time to write, and I'm sorry my frustration
> shined through.  I got blueman running and everything is working now.
> To get blueman running I had to use the dbus bluetooth.conf from here:
>
> http://bugs.gentoo.org/275470
>
> and run blueman-applet and then blueman-manager.
>
> That Gentoo Bluetooth page really is way out of date.  I reverted back
> to original everything, and the only info I needed from that page was
> the kernel config.  Absolutely nothing else necessary except for
> emerging blueman, copying the dbus bluetooth.conf from above, and
> starting /etc/init.d/bluetooth.  That page refers to bluez-utils-3.*
> and bluez-libs-3.* which are both deprecated and the config is
> different.  bluetooth stuff in portage depends on bluez-4.* which
> blocks the other two.
>
> Also, it was necessary to add the following to /etc/asound.conf and
> specify "bluetooth" for the alsa devices in twinkle:
>
> pcm.bluetooth {
>        type bluetooth
>        device 00:1F:82:14:7F:11
> }
>
> You mentioned that the headset's PIN can't be changed.  Couldn't
> anybody pair with it if they enter ?
>
> - Grant

Using the blueman-1.21 ebuild is really the secret to success here:

http://bugs.gentoo.org/show_bug.cgi?id=289902

All that is required is emerge bluez, reload dbus, start bluetooth,
emerge blueman-1.21, config asound.conf as above, and restart
alsasound.

Has anyone gotten bluetooth pairing without a GUI tool such as
blueman?  That's the "impossible" part.

- Grant



Re: [gentoo-user] Bluetooth is impossible

2010-01-25 Thread Grant
>> I have a TRENDnet TBW-105UB USB bluetooth adapter and Motorola H560
>> bluetooth headset, and I'm trying to use them with twinkle VOIP
>> software.  I've spent at least 8 hours today following up with every
>> single lead and I can't figure out how this is supposed to work.  I
>> think I don't have the 2 devices "pairing".  The instructions here:
>>
>> http://www.gentoo.org/doc/en/bluetooth-guide.xml
>>
>> seem to be completely outdated.  I installed blueman in the hopes that
>> it would help facilitate pairing, but I only get python errors when I
>> try to run the binaries.  Is it gnome-only?  I'm running xfce4.
>
> Dumb question, Grant, but you are using the right passkey, right?
>
> These headsets have it built into them, and you usually have to do something
> like hold down the headset's power button for 4 or 6 seconds (instead of
> just pushing it and letting go, as you would normally do to power on the
> device) and the indicator light will flash (or flash more slowly than usual,
> or change colour or in some other way indicate it's doing things
> differently). This initiates pairing mode on the headset, and you have 10 or
> 20 seconds to pair.
>
> The passkey of the headset is usually fixed at , but check the manual.
> You can't change it, and you'll need to match your PC to that.
>
> It seems like you're a bit frustrated by all this, the way you've posted
> without giving us any information. If you're struggling with the concept of
> pairing, then I suggest you try pairing the headset with your phone & using
> it, just to get the hang of it. If you don't have a bluetooth phone, maybe
> you could borrow one? Usually headsets pair with phones pretty easily, first
> or second time, just as soon as you've worked out which of the tiny little
> buttons to hold in the right way for pairing. Once you've got this sussed
> out it'll pair immediately - or even automatically - with your PC.
>
> The article doesn't look *that* out of date to me, as it mentions "... with
>>=bluez-libs-3.x and >=bluez-utils-3.x, pin helpers have been replaced..."
> and here on my systems versions 2.25 are still marked as stable. On the
> other hand I see that 3.36 is marked as stable, too. :/
>
> Stroller.

Thank you for taking the time to write, and I'm sorry my frustration
shined through.  I got blueman running and everything is working now.
To get blueman running I had to use the dbus bluetooth.conf from here:

http://bugs.gentoo.org/275470

and run blueman-applet and then blueman-manager.

That Gentoo Bluetooth page really is way out of date.  I reverted back
to original everything, and the only info I needed from that page was
the kernel config.  Absolutely nothing else necessary except for
emerging blueman, copying the dbus bluetooth.conf from above, and
starting /etc/init.d/bluetooth.  That page refers to bluez-utils-3.*
and bluez-libs-3.* which are both deprecated and the config is
different.  bluetooth stuff in portage depends on bluez-4.* which
blocks the other two.

Also, it was necessary to add the following to /etc/asound.conf and
specify "bluetooth" for the alsa devices in twinkle:

pcm.bluetooth {
type bluetooth
device 00:1F:82:14:7F:11
}

You mentioned that the headset's PIN can't be changed.  Couldn't
anybody pair with it if they enter ?

- Grant



Re: [gentoo-user] Bluetooth is impossible

2010-01-24 Thread Stroller


On 25 Jan 2010, at 01:33, Grant wrote:


I have a TRENDnet TBW-105UB USB bluetooth adapter and Motorola H560
bluetooth headset, and I'm trying to use them with twinkle VOIP
software.  I've spent at least 8 hours today following up with every
single lead and I can't figure out how this is supposed to work.  I
think I don't have the 2 devices "pairing".  The instructions here:

http://www.gentoo.org/doc/en/bluetooth-guide.xml

seem to be completely outdated.  I installed blueman in the hopes that
it would help facilitate pairing, but I only get python errors when I
try to run the binaries.  Is it gnome-only?  I'm running xfce4.


Dumb question, Grant, but you are using the right passkey, right?

These headsets have it built into them, and you usually have to do  
something like hold down the headset's power button for 4 or 6 seconds  
(instead of just pushing it and letting go, as you would normally do  
to power on the device) and the indicator light will flash (or flash  
more slowly than usual, or change colour or in some other way indicate  
it's doing things differently). This initiates pairing mode on the  
headset, and you have 10 or 20 seconds to pair.


The passkey of the headset is usually fixed at , but check the  
manual. You can't change it, and you'll need to match your PC to that.


It seems like you're a bit frustrated by all this, the way you've  
posted without giving us any information. If you're struggling with  
the concept of pairing, then I suggest you try pairing the headset  
with your phone & using it, just to get the hang of it. If you don't  
have a bluetooth phone, maybe you could borrow one? Usually headsets  
pair with phones pretty easily, first or second time, just as soon as  
you've worked out which of the tiny little buttons to hold in the  
right way for pairing. Once you've got this sussed out it'll pair  
immediately - or even automatically - with your PC.


The article doesn't look *that* out of date to me, as it mentions "...  
with >=bluez-libs-3.x and >=bluez-utils-3.x, pin helpers have been  
replaced..." and here on my systems versions 2.25 are still marked as  
stable. On the other hand I see that 3.36 is marked as stable, too. :/


Stroller.




[gentoo-user] Bluetooth is impossible

2010-01-24 Thread Grant
I have a TRENDnet TBW-105UB USB bluetooth adapter and Motorola H560
bluetooth headset, and I'm trying to use them with twinkle VOIP
software.  I've spent at least 8 hours today following up with every
single lead and I can't figure out how this is supposed to work.  I
think I don't have the 2 devices "pairing".  The instructions here:

http://www.gentoo.org/doc/en/bluetooth-guide.xml

seem to be completely outdated.  I installed blueman in the hopes that
it would help facilitate pairing, but I only get python errors when I
try to run the binaries.  Is it gnome-only?  I'm running xfce4.

Can anyone tell me how this is done?

- Grant