Skip to contentSkip to conversation

Can't open PIN file /home/chenjiajing/bluez//etc/bluetooth/pin!

Bluez-users zhu yong 1 participant 1 message Mar 9, 2006 Bluetooth drivers

lore
Share & tools
lore

zhu yong

author
#0 lore raw

Hi Erwin

Quoted 4 lines

you need to specify --prefix=\"\" for "configure" in bluez-utils and bluez-libs for cross compiling.

-Erwin

I follow your suggest that set --prefix=/.
but the cmd 'hcid -n' still can not stop. And the cmd 'hciattach /dev/ttyS1 bcsp 115200' have the error 'bcsp_recv: Error in BCSP hdr checksum'. I read some old mail in this maillist, said the error can ignore. How can i do to use my device.
Info as follows:

# ./hcid -n -f /bluez/etc/bluetooth/hcid.conf
hcid[31]: Bluetooth HCI daemon

hcid[31]: Exit.

# ./hciattach /dev/ttyS1 bcsp 115200
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Error in BCSP hdr checksum
#

Thanks
yong Zhu

Quoted 12 lines

I use the cmd 'hcid', but find that hcid find the pin file from error directory.
the /home/chenjiajing/bluez/ is my compile directory.
How can I change to the correct directory of '/etc/bluetooth/pin'? info as follows:

# ./hcid -n -f /etc/bluetooth/hcid.conf
hcid[32]: Bluetooth HCI daemon
hcid[32]: Can't open PIN
file /home/chenjiajing/bluez//etc/bluetooth/pin. No suc
h file or directory(2)
hcid[33]: Can't init device hci0. Connection timed out(110)