Bluetooth headset GUI configuration

Simon Kagstrom simon.kagstrom at gmail.com
Sat Dec 20 11:15:50 CET 2008


On Fri, 19 Dec 2008 20:54:36 +0000
Al Johnson <openmoko at mazikeen.demon.co.uk> wrote:

> >   root at om-gta02:~# dbus-send --system --print-reply --dest=org.bluez
> > /org/bluez org.bluez.Manager.ActivateService string:audio Error
> > org.bluez.Error.NoSuchService: No such service
> >
> > it seems like bluez-utils have been compiled without --enable-audio.
> > Could this be the problem?
>
> Do you have bluez-audio or bluez-utils-alsa installed? They aren't in
> FSO by default.

Right, that's it. I did

  opkg install bluez-audio
  opkg install bluez-utils
  /etc/init.d/bluetooth stop
  /etc/init.d/bluetooth start

and now the audio service is there. However, I still can't get the
connection to actually work. I've tried to pair with my computer:

  dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding string:<mac>

but all I get is

   Error org.bluez.Error.AuthenticationRejected: Authentication Rejected

With FSO I also get some kernel problems (2.6.24) when releasing the reset:

   usb 1-1: new full speed USB device using s3c2410-ohci and address 3
   usb 1-1: configuration #1 chosen from 1 choice
   sysfs: duplicate filename 'hci_usb' can not be created
   WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
   [<c002ebec>] (dump_stack+0x0/0x14) from [<c00d7abc>] (sysfs_add_one+0x50/0xfc)
   [<c00d7a6c>] (sysfs_add_one+0x0/0xfc) from [<c00d81b8>] (create_dir+0x58/0xa8)
    r6:fffffff4 r5:c7085e48 r4:c7f1cab4
   [<c00d8160>] (create_dir+0x0/0xa8) from [<c00d8248>] (sysfs_create_dir+0x40/0x60)
    r8:00000008 r7:bf001e6c r6:bf003568 r5:bf003520 r4:bf003568
   [<c00d8208>] (sysfs_create_dir+0x0/0x60) from [<c0165aec>] (kobject_add+0xf4/0x1d0)
    r4:bf003568
   [<c01659f8>] (kobject_add+0x0/0x1d0) from [<c00697e4>] (mod_sysfs_setup+0x28/0xb4)
   [<c00697bc>] (mod_sysfs_setup+0x0/0xb4) from [<c006aa04>] (sys_init_module+0xf90/0x14bc)
    r8:c886ca04 r7:c886cbbc r6:bf003520 r5:00000000 r4:bf001e6c
   [<c0069a74>] (sys_init_module+0x0/0x14bc) from [<c0029f40>] (ret_fast_syscall+0x0/0x2c)
   kobject_add failed for hci_usb with -EEXIST, don't try to register things with the same name in the same directory.
   [<c002ebec>] (dump_stack+0x0/0x14) from [<c0165b7c>] (kobject_add+0x184/0x1d0)
   [<c01659f8>] (kobject_add+0x0/0x1d0) from [<c00697e4>] (mod_sysfs_setup+0x28/0xb4)
   [<c00697bc>] (mod_sysfs_setup+0x0/0xb4) from [<c006aa04>] (sys_init_module+0xf90/0x14bc)
    r8:c886ca04 r7:c886cbbc r6:bf003520 r5:00000000 r4:bf001e6c
   [<c0069a74>] (sys_init_module+0x0/0x14bc) from [<c0029f40>] (ret_fast_syscall+0x0/0x2c)
   sysfs: duplicate filename 'hci_usb' can not be created
   WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
   [<c002ebec>] (dump_stack+0x0/0x14) from [<c00d7abc>] (sysfs_add_one+0x50/0xfc)
   [<c00d7a6c>] (sysfs_add_one+0x0/0xfc) from [<c00d81b8>] (create_dir+0x58/0xa8)
    r6:fffffff4 r5:c7e9fe48 r4:c7f1cab4
   [<c00d8160>]

so no luck so far.

// Simon




More information about the community mailing list