2005-05-21 03:57:00

by Brad Midgley

[permalink] [raw]
Subject: [Bluez-devel] pskey bootmode value

Hi

What bootmode value should I use for hci? I see 0x0001 for hid but I
don't want to just "guess" that it's 0...

Brad


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-05-22 15:12:47

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey bootmode value


Brad,

didn't saw this. Thank you for the info.

Ciao,

Peter

On Sun, 22 May 2005, Brad Midgley wrote:

> Peter,
>
> Maybe you didn't see that Marcel put a "pskey" program in
> bluez-utils-cvs. It will look up the bootmode key but doesn't give any
> suggestions for the value.
>
> I just updated the adapter:
>
> /usr/src/bluez/utils/tools/pskey -i hci1 bootmode 0
>
> and it's working with the new default bootmode. I disliked the hid2hci
> requirement so this is nice.
>
> Brad
>
> Peter Wippich wrote:
> > Hi Brad,
> >
> > there is a PSKEY which allows you to set the default Boot Mode if you
> > don't want the dongle to start up in HID mode you've to set this to Boot Mode 0
> > (HCI). If you don't have the CSR software to change this: it is PSKEY
> > 0x03CD. Should be 0001 on your device. Set to 0000 to boot up in HCI mode.
> >
> > Good luck,
> >
> > Peter
> >
> >
> > On Sun, 22 May 2005, Brad Midgley wrote:
> >
> >
> >>Peter,
> >>
> >>Thanks for the confirmation.
> >>
> >>Yes, this is a CSR dongle (it's the dlink dbt-120, notorious for
> >>prefering hid mode after the v1.2 firmware update from apple)
> >>
> >>i believe I saw code in pskey to bail out if it's not a CSR chip...
> >>
> >>brad
> >>
> >>Peter Wippich wrote:
> >>
> >>>Hi Brad,
> >>>
> >>>bootmode is nothing which depends on BlueZ but on the dongle you use. If
> >>>you have a CSR Dongle which uses the BlueLab Dual Boot Firmware than
> >>>bootmode 0 is HCI and bootmode 1 is HID mode. However, every
> >>>manufacturer can choose what he wants....
> >>>
> >>>To be sure what you have you have to consult the manufacturers
> >>>documentation for your dongle. But I'm afraid for most devices this isn't
> >>>documented at all.
> >>>
> >>>Ciao,
> >>>
> >>>Peter
> >>>
> >>>
> >>>On Fri, 20 May 2005, Brad Midgley wrote:
> >>>
> >>>
> >>>
> >>>>Hi
> >>>>
> >>>>What bootmode value should I use for hci? I see 0x0001 for hid but I
> >>>>don't want to just "guess" that it's 0...
> >>>>
> >>>>Brad
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>>>Want to be the first software developer in space?
> >>>>Enter now for the Oracle Space Sweepstakes!
> >>>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> >>>>_______________________________________________
> >>>>Bluez-devel mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >>>>
> >>>
> >>>
> >>>| Peter Wippich Voice: +49 30 46776411 |
> >>>| G&W Instruments GmbH fax: +49 30 46776419 |
> >>>| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
> >>>| D-13355 Berlin / Germany |
> >>>
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>>Want to be the first software developer in space?
> >>>Enter now for the Oracle Space Sweepstakes!
> >>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> >>>_______________________________________________
> >>>Bluez-devel mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>Want to be the first software developer in space?
> >>Enter now for the Oracle Space Sweepstakes!
> >>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> >>_______________________________________________
> >>Bluez-devel mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >>
> >
> >
> > | Peter Wippich Voice: +49 30 46776411 |
> > | G&W Instruments GmbH fax: +49 30 46776419 |
> > | Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
> > | D-13355 Berlin / Germany |
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> > _______________________________________________
> > Bluez-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
| D-13355 Berlin / Germany |




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-05-22 15:02:13

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey bootmode value

Peter,

Maybe you didn't see that Marcel put a "pskey" program in
bluez-utils-cvs. It will look up the bootmode key but doesn't give any
suggestions for the value.

I just updated the adapter:

/usr/src/bluez/utils/tools/pskey -i hci1 bootmode 0

and it's working with the new default bootmode. I disliked the hid2hci
requirement so this is nice.

Brad

Peter Wippich wrote:
> Hi Brad,
>
> there is a PSKEY which allows you to set the default Boot Mode if you
> don't want the dongle to start up in HID mode you've to set this to Boot Mode 0
> (HCI). If you don't have the CSR software to change this: it is PSKEY
> 0x03CD. Should be 0001 on your device. Set to 0000 to boot up in HCI mode.
>
> Good luck,
>
> Peter
>
>
> On Sun, 22 May 2005, Brad Midgley wrote:
>
>
>>Peter,
>>
>>Thanks for the confirmation.
>>
>>Yes, this is a CSR dongle (it's the dlink dbt-120, notorious for
>>prefering hid mode after the v1.2 firmware update from apple)
>>
>>i believe I saw code in pskey to bail out if it's not a CSR chip...
>>
>>brad
>>
>>Peter Wippich wrote:
>>
>>>Hi Brad,
>>>
>>>bootmode is nothing which depends on BlueZ but on the dongle you use. If
>>>you have a CSR Dongle which uses the BlueLab Dual Boot Firmware than
>>>bootmode 0 is HCI and bootmode 1 is HID mode. However, every
>>>manufacturer can choose what he wants....
>>>
>>>To be sure what you have you have to consult the manufacturers
>>>documentation for your dongle. But I'm afraid for most devices this isn't
>>>documented at all.
>>>
>>>Ciao,
>>>
>>>Peter
>>>
>>>
>>>On Fri, 20 May 2005, Brad Midgley wrote:
>>>
>>>
>>>
>>>>Hi
>>>>
>>>>What bootmode value should I use for hci? I see 0x0001 for hid but I
>>>>don't want to just "guess" that it's 0...
>>>>
>>>>Brad
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by Oracle Space Sweepstakes
>>>>Want to be the first software developer in space?
>>>>Enter now for the Oracle Space Sweepstakes!
>>>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
>>>>_______________________________________________
>>>>Bluez-devel mailing list
>>>>[email protected]
>>>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>>>
>>>
>>>
>>>| Peter Wippich Voice: +49 30 46776411 |
>>>| G&W Instruments GmbH fax: +49 30 46776419 |
>>>| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
>>>| D-13355 Berlin / Germany |
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by Oracle Space Sweepstakes
>>>Want to be the first software developer in space?
>>>Enter now for the Oracle Space Sweepstakes!
>>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
>>>_______________________________________________
>>>Bluez-devel mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by Oracle Space Sweepstakes
>>Want to be the first software developer in space?
>>Enter now for the Oracle Space Sweepstakes!
>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>
>
> | Peter Wippich Voice: +49 30 46776411 |
> | G&W Instruments GmbH fax: +49 30 46776419 |
> | Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
> | D-13355 Berlin / Germany |
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-05-22 14:41:47

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey bootmode value


Hi Brad,

there is a PSKEY which allows you to set the default Boot Mode if you
don't want the dongle to start up in HID mode you've to set this to Boot Mode 0
(HCI). If you don't have the CSR software to change this: it is PSKEY
0x03CD. Should be 0001 on your device. Set to 0000 to boot up in HCI mode.

Good luck,

Peter


On Sun, 22 May 2005, Brad Midgley wrote:

> Peter,
>
> Thanks for the confirmation.
>
> Yes, this is a CSR dongle (it's the dlink dbt-120, notorious for
> prefering hid mode after the v1.2 firmware update from apple)
>
> i believe I saw code in pskey to bail out if it's not a CSR chip...
>
> brad
>
> Peter Wippich wrote:
> > Hi Brad,
> >
> > bootmode is nothing which depends on BlueZ but on the dongle you use. If
> > you have a CSR Dongle which uses the BlueLab Dual Boot Firmware than
> > bootmode 0 is HCI and bootmode 1 is HID mode. However, every
> > manufacturer can choose what he wants....
> >
> > To be sure what you have you have to consult the manufacturers
> > documentation for your dongle. But I'm afraid for most devices this isn't
> > documented at all.
> >
> > Ciao,
> >
> > Peter
> >
> >
> > On Fri, 20 May 2005, Brad Midgley wrote:
> >
> >
> >>Hi
> >>
> >>What bootmode value should I use for hci? I see 0x0001 for hid but I
> >>don't want to just "guess" that it's 0...
> >>
> >>Brad
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>Want to be the first software developer in space?
> >>Enter now for the Oracle Space Sweepstakes!
> >>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> >>_______________________________________________
> >>Bluez-devel mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >>
> >
> >
> > | Peter Wippich Voice: +49 30 46776411 |
> > | G&W Instruments GmbH fax: +49 30 46776419 |
> > | Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
> > | D-13355 Berlin / Germany |
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> > _______________________________________________
> > Bluez-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
| D-13355 Berlin / Germany |




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-05-22 14:25:00

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey bootmode value

Peter,

Thanks for the confirmation.

Yes, this is a CSR dongle (it's the dlink dbt-120, notorious for
prefering hid mode after the v1.2 firmware update from apple)

i believe I saw code in pskey to bail out if it's not a CSR chip...

brad

Peter Wippich wrote:
> Hi Brad,
>
> bootmode is nothing which depends on BlueZ but on the dongle you use. If
> you have a CSR Dongle which uses the BlueLab Dual Boot Firmware than
> bootmode 0 is HCI and bootmode 1 is HID mode. However, every
> manufacturer can choose what he wants....
>
> To be sure what you have you have to consult the manufacturers
> documentation for your dongle. But I'm afraid for most devices this isn't
> documented at all.
>
> Ciao,
>
> Peter
>
>
> On Fri, 20 May 2005, Brad Midgley wrote:
>
>
>>Hi
>>
>>What bootmode value should I use for hci? I see 0x0001 for hid but I
>>don't want to just "guess" that it's 0...
>>
>>Brad
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by Oracle Space Sweepstakes
>>Want to be the first software developer in space?
>>Enter now for the Oracle Space Sweepstakes!
>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>
>
> | Peter Wippich Voice: +49 30 46776411 |
> | G&W Instruments GmbH fax: +49 30 46776419 |
> | Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
> | D-13355 Berlin / Germany |
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-05-22 13:50:11

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey bootmode value


Hi Brad,

bootmode is nothing which depends on BlueZ but on the dongle you use. If
you have a CSR Dongle which uses the BlueLab Dual Boot Firmware than
bootmode 0 is HCI and bootmode 1 is HID mode. However, every
manufacturer can choose what he wants....

To be sure what you have you have to consult the manufacturers
documentation for your dongle. But I'm afraid for most devices this isn't
documented at all.

Ciao,

Peter


On Fri, 20 May 2005, Brad Midgley wrote:

> Hi
>
> What bootmode value should I use for hci? I see 0x0001 for hid but I
> don't want to just "guess" that it's 0...
>
> Brad
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
| D-13355 Berlin / Germany |




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel