Skip to contentSkip to conversation

pskey bootmode value

Bluez-devel Brad Midgley 2 participants 6 messages May 21, 2005 – May 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 8 lines · Brad Midgley

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

Quoted 10 lines

-------------------------------------------------------
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

#2 lore raw

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

Quoted 47 lines · Peter Wippich

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

Quoted 8 lines · Brad Midgley

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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

#3 lore raw

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

Quoted 70 lines · Brad Midgley

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

Quoted 47 lines · Peter Wippich

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

Quoted 8 lines · Brad Midgley

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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

Quoted 10 lines

-------------------------------------------------------
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

#4 lore raw

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

Quoted 107 lines · Peter Wippich

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

Quoted 72 lines · Brad Midgley

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

Quoted 48 lines · Peter Wippich

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

Quoted 8 lines · Brad Midgley

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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

#5 lore raw

Brad,

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

Ciao,

Peter

Quoted 134 lines · Brad Midgley

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

Quoted 107 lines · Peter Wippich

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

Quoted 72 lines · Brad Midgley

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

Quoted 48 lines · Peter Wippich

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

Quoted 8 lines · Brad Midgley

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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

Quoted 10 lines

-------------------------------------------------------
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					|
Quoted 9 lines

-------------------------------------------------------
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

Quoted 10 lines

-------------------------------------------------------
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