All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Gareth Reakes <gareth@apache.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Bthid question
Date: Fri, 28 Nov 2003 14:25:57 +0100	[thread overview]
Message-ID: <1070025957.9036.153.camel@pegasus> (raw)
In-Reply-To: <20031128011412.C61007@minotaur.apache.org>

Hi Gareth,

> 1)When __io_canceled is true, is this the same as (or at least a case of)
> when the above code is called (IE when the mouse goes to sleep)?
> 
> 2)Why is it in Marcels bthid code that the control and interrupt channels
> are shut down in different a order depending on if __io_canceled is true
> or not?

let me clear this a little bit up. When __io_canceled is true, we are
terminating the connection to the HID device. In general this is done by
sending SIGTERM to the process. When __io_canceld is false then the HID
device cuts the connection. For the Microsoft devices this is after 12
minutes.

While I was playing with the Microsoft devices I found that the order of
closing the connections differ on who terminates the connection. I think
that the problem is on the Linux side, but I couldn't found it. If it is
really the fault of BlueZ it must be something very odd that we have
overlooked all the time.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2003-11-28 13:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  9:24 [Bluez-users] Bthid question Gareth Reakes
2003-11-28 13:25 ` Marcel Holtmann [this message]
2003-11-28 14:07   ` Gareth Reakes
2003-11-28 15:01     ` Marcel Holtmann
2003-11-28 15:06       ` Gareth Reakes
2003-11-28 21:07         ` Gareth Reakes
2003-11-28 22:19           ` Marcel Holtmann
2003-11-28 22:38             ` Gareth Reakes
2003-11-28 23:10               ` Marcel Holtmann
2003-11-28 23:26                 ` Gareth Reakes
2003-11-28 23:37                   ` 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=1070025957.9036.153.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=gareth@apache.org \
    /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.