public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] input service trouble
Date: Sat, 16 Jun 2007 09:39:45 +0200	[thread overview]
Message-ID: <1181979586.6846.62.camel@aeonflux.inter-touch.com> (raw)
In-Reply-To: <loom.20070613T200722-459@post.gmane.org>

Hi Dick,

> I'm testing the new input service but I have some trouble with reconnects. If I
> don't use my dinovo keyboard or mx laser for a while the connection is closed
> and  they aren't automatically reconnected.
> 
> Sometimes a power cycle (on the HID device) helps, sometimes I need to send a
> Connect() through DBUS and sometimes I need a hciconfig hci0 reset and I also
> have some success with reloading hci_usb.
> 
> I also have error messages in dmesg:
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb df9a7c14 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb df9a7c14 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f3272814 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f3272814 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f2d36814 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f2d36814 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f3272414 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f3272414 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f7d01014 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f7d01014 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb df9a7a14 err -38
> hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb df9a7a14 err -38

load the hci_usb driver with isoc=0. It seems that you USB host
controller doesn't really like ISOC URBs.

> And the module usage count on hidp is high:
> $ lsmod
> Module                  Size  Used by
> hidp                   10816  26 
> hci_usb                13596  4 
> rfcomm                 28376  1 
> l2cap                  17216  18 hidp,rfcomm
> bluetooth              39588  8 hidp,hci_usb,rfcomm,l2cap

Check hcitool con and /sys/class/bluetooth/l2cap for open sockets.

> ListDevices() only gives the two devices (keyboard0 and pointing1).

How many devices do you have. I count only two. So that looks fine to
me.

> I'm using 2.6.20-gentoo-r8 (without mh patches)

We are at 2.6.22-rc4 and that is the official one with all patches.
Worth trying that one.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-06-16  7:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-13 18:08 [Bluez-users] input service trouble Dick
2007-06-16  7:39 ` Marcel Holtmann [this message]
2007-06-16 18:31   ` Dick
2007-06-19 18:26     ` Dick
2007-07-12 19:14       ` Dick

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=1181979586.6846.62.camel@aeonflux.inter-touch.com \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox