Hi,
I'm writing you to ask you some help with the package Handsfree. I've installed the version 040326 and I got some warnings but the handsfree does work. When I've tried to contact my Nokia N70 I got errors and I dont know what to do to resolve them. The output of the handsfree command is the following :
[root@ws12 handsfree]# ./handsfree 00:16:4E

9:20:98 2
Voice setting: 0x0060
RFCOMM channel connected
sending.cmd AT+BRSF=31
poll descriptors count 1
poll descriptors count 1
opening control pipe - set to stdin: No such file or directory
>>AT+BRSF=31
>>
+BRSF: 47
OK
boo.
sending.cmd AT+CIND=?
>>AT+CIND=?
>>
+CIND: ("call",(0,1)),("service",(0,1)),("call_setup", (0-3)),("callsetup",(0-3))
OK
sending.cmd AT+CIND?
>>AT+CIND?
>>
+CIND: 0,1,0,0
OK
sending.cmd AT+CMER=3,0,0,1
>>AT+CMER=3,0,0,1
>>
OK
sending.cmd AT+CMER=3,0,0,1
>>AT+CMER=3,0,0,1
>>
OK
sending.cmd AT+CLIP=1
>>AT+CLIP=1
sending.cmd AT+NREC=0
>>
OK
sending.cmd AT+CHLD=?
>>AT+NREC=0
>>
ERROR
Error
can't grok [
ERROR
]Error: Error in state_conn - ignoring
>>AT+CHLD=?
]>>'t grok [AT+CHLD=?
+CHLD: (0,1,1x,2,2x,3,4)
OK
I hope you'll help me with this problem because I need to make it works. I've already installed the latest versions of bluez 'bluez-utils-3.9, bluez-libs-3.9, bluez-hcidump-1.33 and bluez-firmware-1.2' under Mandriva 2006 and I can establish a connection between my pc and my nokia N70. I want to have the handsfree option available so I add it with :
sdptool add --channel=2 HF
(the channel for handsfree on N70 is the number 1) and the test seems to work fine since I had an icon on my nokia when I launch :
rfcomm connect /dev/rfcomm0 00:16:4E

9:20:98 2
The connection lasts only few secondes then terminate. So I make :
rfcomm listen /dev/rfcomm0 2
and try to call the nokia N70 from another phone. The N70 contact the pc via bluetooth and I enter the PIN in both sides and the connection is done but when I hangup the sound doesn't came from the pc's headspeaker but from N70's one.
I thought I need to install the bluetooth-alsa to make it work. So I do, I installed btsco-0.5, plugz and sbc and I tried to add snd-bt-sco module :
[root@ws12 btsco-0.5]# cd kernel/
[root@ws12 kernel]# make
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'
Building modules, stage 2.
MODPOST
*** Warning: "snd_hidden_kmalloc" [/root/confhandsfree/btsco-0.5/kernel/snd-bt-sco.ko] undefined!
*** Warning: "snd_verbose_printk" [/root/confhandsfree/btsco-0.5/kernel/snd-bt-sco.ko] undefined!
*** Warning: "snd_hidden_kfree" [/root/confhandsfree/btsco-0.5/kernel/snd-bt-sco.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
[root@ws12 kernel]# make install
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'
INSTALL /root/confhandsfree/btsco-0.5/kernel/snd-bt-sco.ko
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
[root@ws12 kernel]# depmod -eav | grep snd-bt-sco
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_ctl_add": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_pcm_new": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-pcm.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_card_register": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_card_free": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_ctl_new1": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_card_new": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_pcm_lib_ioctl": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-pcm.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_hwdep_new": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-hwdep.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_ctl_notify": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_malloc_pages": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-page-alloc.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_pcm_set_ops": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-pcm.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_pcm_period_elapsed": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-pcm.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_free_pages": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-page-alloc.ko.gz
/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko needs "snd_pcm_format_width": /lib/modules/2.6.12-12mdk/kernel/sound/core/snd-pcm.ko.gz
[root@ws12 kernel]# modprobe snd-bt-sco
FATAL: Error inserting snd-bt-sco (/lib/modules/2.6.12-12mdk/extra/snd-bt-sco.ko): Invalid module format
Otherwise, I tried to connect my bluetooth dongle 'belkin' and I got :
[root@localhost confhandsfree]# btsco 00:0A:3A:50:27:84 2
Error: hwdep next device (hw:0): Operation not permitted
Error: control open (hw:1): No such device
Error: Can't find device. Bail
I hope that you'll help me I need to make this work as soon as possible and I'm lost
Thanks a lot.