All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] How can you give the pin without using the keyboard?
@ 2005-06-16 20:28 Laurent Lesage
  2005-06-16 20:35 ` Marco Trudel
  2005-06-17  5:25 ` [Bluez-users] How can you give the pin without using thekeyboard? Fredy P
  0 siblings, 2 replies; 6+ messages in thread
From: Laurent Lesage @ 2005-06-16 20:28 UTC (permalink / raw)
  To: bluez-users

Hi all,

I would like to pair my headset without typing the pin on the keyboard. 
I use the "auto" value for security in "hcid.conf" but the PIN is asked 
every time I start to use the headset (once paired, it is ok). I have a 
file 'pin' with the vlaue of the pin but it seems to be of no use.

Thanks

Laurent


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] How can you give the pin without using the keyboard?
  2005-06-16 20:28 [Bluez-users] How can you give the pin without using the keyboard? Laurent Lesage
@ 2005-06-16 20:35 ` Marco Trudel
  2005-06-16 21:13   ` Laurent Lesage
  2005-06-17  5:25 ` [Bluez-users] How can you give the pin without using thekeyboard? Fredy P
  1 sibling, 1 reply; 6+ messages in thread
From: Marco Trudel @ 2005-06-16 20:35 UTC (permalink / raw)
  To: bluez-users

Hello Laurent

replace the pin_helper utility (referenced in hcid.conf) with a script that 
echoes your pin:
echo PIN:1234
if 1234 is your pin...

regards
Marco


Laurent Lesage wrote:
> Hi all,
> 
> I would like to pair my headset without typing the pin on the keyboard. 
> I use the "auto" value for security in "hcid.conf" but the PIN is asked 
> every time I start to use the headset (once paired, it is ok). I have a 
> file 'pin' with the vlaue of the pin but it seems to be of no use.
> 
> Thanks
> 
> Laurent
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] How can you give the pin without using the keyboard?
  2005-06-16 20:35 ` Marco Trudel
@ 2005-06-16 21:13   ` Laurent Lesage
  2005-06-16 21:32     ` Marco Trudel
  0 siblings, 1 reply; 6+ messages in thread
From: Laurent Lesage @ 2005-06-16 21:13 UTC (permalink / raw)
  To: bluez-users

Thanks Marco, it works well. What is the "/etc/bluetooth/pin" file for,=20
then?

Laurent


Marco Trudel a =E9crit :

> Hello Laurent
>
> replace the pin_helper utility (referenced in hcid.conf) with a script=20
> that echoes your pin:
> echo PIN:1234
> if 1234 is your pin...
>
> regards
> Marco
>
>
> Laurent Lesage wrote:
>
>> Hi all,
>>
>> I would like to pair my headset without typing the pin on the=20
>> keyboard. I use the "auto" value for security in "hcid.conf" but the=20
>> PIN is asked every time I start to use the headset (once paired, it=20
>> is ok). I have a file 'pin' with the vlaue of the pin but it seems to=20
>> be of no use.
>>
>> Thanks
>>
>> Laurent
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dc=
lick
>> _______________________________________________
>> Bluez-users mailing list
>> Bluez-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>
>>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl=
ick
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] How can you give the pin without using the keyboard?
  2005-06-16 21:13   ` Laurent Lesage
@ 2005-06-16 21:32     ` Marco Trudel
  2005-06-17  1:19       ` Laurent Lesage
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Trudel @ 2005-06-16 21:32 UTC (permalink / raw)
  To: bluez-users

Hello Laurent

This is used if a device connects to your computer. If you read the 
comments in hcid.conf, you see that your auto value is for incoming 
connections.
Feel free to adapt your script to echo /etc/bluetooth/pin if you wan't to 
use the same pin for incoming and outgoing connections...

regards
Marco


Laurent Lesage wrote:
> Thanks Marco, it works well. What is the "/etc/bluetooth/pin" file for, 
> then?
> 
> Laurent
> 
> 
> Marco Trudel a écrit :
> 
>> Hello Laurent
>>
>> replace the pin_helper utility (referenced in hcid.conf) with a script 
>> that echoes your pin:
>> echo PIN:1234
>> if 1234 is your pin...
>>
>> regards
>> Marco
>>
>>
>> Laurent Lesage wrote:
>>
>>> Hi all,
>>>
>>> I would like to pair my headset without typing the pin on the 
>>> keyboard. I use the "auto" value for security in "hcid.conf" but the 
>>> PIN is asked every time I start to use the headset (once paired, it 
>>> is ok). I have a file 'pin' with the vlaue of the pin but it seems to 
>>> be of no use.
>>>
>>> Thanks
>>>
>>> Laurent
>>>
>>>
>>> -------------------------------------------------------
>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>>> informative Webcasts and more! Get everything you need to get up to
>>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>> _______________________________________________
>>> Bluez-users mailing list
>>> Bluez-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>>
>>>
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>> _______________________________________________
>> Bluez-users mailing list
>> Bluez-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>
>>
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] How can you give the pin without using the keyboard?
  2005-06-16 21:32     ` Marco Trudel
@ 2005-06-17  1:19       ` Laurent Lesage
  0 siblings, 0 replies; 6+ messages in thread
From: Laurent Lesage @ 2005-06-17  1:19 UTC (permalink / raw)
  To: bluez-users

Thanks again!

Laurent

Marco Trudel a =E9crit :

> Hello Laurent
>
> This is used if a device connects to your computer. If you read the=20
> comments in hcid.conf, you see that your auto value is for incoming=20
> connections.
> Feel free to adapt your script to echo /etc/bluetooth/pin if you wan't=20
> to use the same pin for incoming and outgoing connections...
>
> regards
> Marco
>
>
> Laurent Lesage wrote:
>
>> Thanks Marco, it works well. What is the "/etc/bluetooth/pin" file=20
>> for, then?
>>
>> Laurent
>>
>>
>> Marco Trudel a =E9crit :
>>
>>> Hello Laurent
>>>
>>> replace the pin_helper utility (referenced in hcid.conf) with a=20
>>> script that echoes your pin:
>>> echo PIN:1234
>>> if 1234 is your pin...
>>>
>>> regards
>>> Marco
>>>
>>>
>>> Laurent Lesage wrote:
>>>
>>>> Hi all,
>>>>
>>>> I would like to pair my headset without typing the pin on the=20
>>>> keyboard. I use the "auto" value for security in "hcid.conf" but=20
>>>> the PIN is asked every time I start to use the headset (once=20
>>>> paired, it is ok). I have a file 'pin' with the vlaue of the pin=20
>>>> but it seems to be of no use.
>>>>
>>>> Thanks
>>>>
>>>> Laurent
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategi=
es
>>>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>> informative Webcasts and more! Get everything you need to get up to
>>>> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3D=
click
>>>> _______________________________________________
>>>> Bluez-users mailing list
>>>> Bluez-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>>>
>>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategie=
s
>>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>>> informative Webcasts and more! Get everything you need to get up to
>>> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3D=
click
>>> _______________________________________________
>>> Bluez-users mailing list
>>> Bluez-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
>> _______________________________________________
>> Bluez-users mailing list
>> Bluez-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>
>>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl=
ick
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] How can you give the pin without using thekeyboard?
  2005-06-16 20:28 [Bluez-users] How can you give the pin without using the keyboard? Laurent Lesage
  2005-06-16 20:35 ` Marco Trudel
@ 2005-06-17  5:25 ` Fredy P
  1 sibling, 0 replies; 6+ messages in thread
From: Fredy P @ 2005-06-17  5:25 UTC (permalink / raw)
  To: bluez-users

El jue, 16-06-2005 a las 20:28 +0000, Laurent Lesage escribi=F3:

Hi, see http://el-directorio.org/index.php/Bluetooth_en_debian
First make /usr/local/bin/bluez-localpin
#!/bin/sh
echo "PIN":$(cat /etc/bluetooth/pin)

After put this line in your /etc/bluetooth/hcid.conf

        pin_helper /usr/local/bin/bluez-localpin; #este no es el que trae p=
or defecto, ver arriba

> Hi all,
>=20
> I would like to pair my headset without typing the pin on the keyboard.=20
> I use the "auto" value for security in "hcid.conf" but the PIN is asked=20
> every time I start to use the headset (once paired, it is ok). I have a=20
> file 'pin' with the vlaue of the pin but it seems to be of no use.
>=20
> Thanks
>=20
> Laurent
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=
k
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-17  5:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 20:28 [Bluez-users] How can you give the pin without using the keyboard? Laurent Lesage
2005-06-16 20:35 ` Marco Trudel
2005-06-16 21:13   ` Laurent Lesage
2005-06-16 21:32     ` Marco Trudel
2005-06-17  1:19       ` Laurent Lesage
2005-06-17  5:25 ` [Bluez-users] How can you give the pin without using thekeyboard? Fredy P

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.