public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] input service trouble
@ 2007-06-13 18:08 Dick
  2007-06-16  7:39 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Dick @ 2007-06-13 18:08 UTC (permalink / raw)
  To: bluez-users

Hi,

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

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

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

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

All suggestions are welcome

Thanks in advance,
Dick


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] input service trouble
  2007-06-13 18:08 [Bluez-users] input service trouble Dick
@ 2007-06-16  7:39 ` Marcel Holtmann
  2007-06-16 18:31   ` Dick
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-06-16  7:39 UTC (permalink / raw)
  To: BlueZ users

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] input service trouble
  2007-06-16  7:39 ` Marcel Holtmann
@ 2007-06-16 18:31   ` Dick
  2007-06-19 18:26     ` Dick
  0 siblings, 1 reply; 5+ messages in thread
From: Dick @ 2007-06-16 18:31 UTC (permalink / raw)
  To: bluez-users

Marcel Holtmann <marcel <at> holtmann.org> writes:
> load the hci_usb driver with isoc=0. It seems that you USB host
> controller doesn't really like ISOC URBs.
Thanks, I've disabled isco and the messages are gone.

> > And the module usage count on hidp is high:
> > $ lsmod
> > Module                  Size  Used by
> > hidp                   10816  26 
> Check hcitool con and /sys/class/bluetooth/l2cap for open sockets.
I checked hcitool con and it showed me only the two devices. I can't understand
why hidp has a usage count of 26, usually this is only 2.


> We are at 2.6.22-rc4 and that is the official one with all patches.
> Worth trying that one.
I'll try that if the trouble persists

Again, thanks so far, I will inform you with the results.

greetings,
Dick


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] input service trouble
  2007-06-16 18:31   ` Dick
@ 2007-06-19 18:26     ` Dick
  2007-07-12 19:14       ` Dick
  0 siblings, 1 reply; 5+ messages in thread
From: Dick @ 2007-06-19 18:26 UTC (permalink / raw)
  To: bluez-users

Dick <dick <at> mrns.nl> writes:
> Thanks, I've disabled isco and the messages are gone.

Okay this definitely fixed my problem, the input service / bluetooth is a lot
more stable now.


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] input service trouble
  2007-06-19 18:26     ` Dick
@ 2007-07-12 19:14       ` Dick
  0 siblings, 0 replies; 5+ messages in thread
From: Dick @ 2007-07-12 19:14 UTC (permalink / raw)
  To: bluez-users

Hi,

I still have some problems with the input service. I'm not sure if I'm using the
report mode (instead of boot). Can I query this using DBUS?
And the input service doesn't seem to work if one of the devices is SLAVE in
"hcitool con". Is that a known issue?

Dick



-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-12 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13 18:08 [Bluez-users] input service trouble Dick
2007-06-16  7:39 ` Marcel Holtmann
2007-06-16 18:31   ` Dick
2007-06-19 18:26     ` Dick
2007-07-12 19:14       ` Dick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox