All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Jon Valvatne <jon@valvatne.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] hidd --server only finding one device
Date: Fri, 18 Jun 2004 00:19:36 +0200	[thread overview]
Message-ID: <1087510775.4309.86.camel@pegasus> (raw)
In-Reply-To: <1087507199.3103.27.camel@localhost.localdomain>

Hi Jon,

> > do you've activated the role switch support on your host device?
> 
> I believe so:
> 
> # hciconfig hci0 lm
> hci0:   Type: PCCARD
>         BD Address: 00:E0:03:25:3E:29 ACL MTU: 340:4  SCO MTU: 64:0
>         Link mode: ACCEPT MASTER 
> # hciconfig hci0 lp
> hci0:   Type: PCCARD
>         BD Address: 00:E0:03:25:3E:29 ACL MTU: 340:4  SCO MTU: 64:0
>         Link policy: RSWITCH HOLD SNIFF PARK 

show us the output of "hciconfig -a".

> # hidd --server --nodaemon
> hidd[6666]: Bluetooth HID daemon
> hidd[6666]: New HID device 00:07:61:1A:78:E2 (Logitech Bluetooth Mouse)
> 
> ... and then nothing when I try to use the keyboard. Is there something
> I've overlooked regarding the role-switch stuff?
> 
> I've done some simple debugging in hidd's main.c, which so far only
> reveals that the poll() call in run_server() fails to produce any new
> events once the first create_device() call has been made. The problem
> doesn't appear to be caused inside hidd itself though, because killing
> and restarting it after it's established the connection to the first
> device doesn't help it discover the second one.
> 
> Any pointers to where else I might look for the bug? I'm afraid I don't
> really know my way around BlueZ internals.

Check with "hcidump -x" what happens when you press a button of your
second device.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-06-17 22:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17 18:22 [Bluez-users] hidd --server only finding one device Jon Valvatne
2004-06-17 20:29 ` Marcel Holtmann
2004-06-17 21:19   ` Jon Valvatne
2004-06-17 22:19     ` Marcel Holtmann [this message]
2004-06-17 22:28       ` Jon Valvatne
2004-06-17 22:38         ` Marcel Holtmann
2004-06-17 22:55           ` Jon Valvatne
2004-06-17 23:01             ` Marcel Holtmann
2004-06-18  1:09               ` Jon Valvatne
2004-06-18 11:49                 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087510775.4309.86.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=jon@valvatne.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.