public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
@ 2004-08-23 18:00 Daniel Vollmer
  2004-08-23 18:19 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Vollmer @ 2004-08-23 18:00 UTC (permalink / raw)
  To: bluez-users

Hello bluez-users,

I am quite unsure where to report this problem, I suspect it's in
the init-scripts, but neither am I sure it is a bug so I haven't
filed one against bluez-utils.

I'm using an Microsoft Intellimouse Explorer for Bluetooth with
debian/unstable (kernel 2.6.8-mh1 on a Dell Inspiron with internal
bluetooth) and it works fine. But if I reboot the system, the mouse is
not working anymore and I find the following (repeated) in my kern.log:
kernel: hci_acldata_packet: hci0 ACL packet for unknown connection handle 46

The mouse starts workin again if I remove and reinsert its batteries.
I suspect the HID connection is not properly severed on shutting down
the system.

-- 
Best regards,
    Daniel.                         http://www.maven.de
[Jesus saves...Passes to Moses..Shoots....Scores!]



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
  2004-08-23 18:00 [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot Daniel Vollmer
@ 2004-08-23 18:19 ` Marcel Holtmann
  2004-08-23 18:55   ` Daniel Vollmer
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-08-23 18:19 UTC (permalink / raw)
  To: Daniel Vollmer; +Cc: BlueZ Mailing List

Hi Daniel,

> I am quite unsure where to report this problem, I suspect it's in
> the init-scripts, but neither am I sure it is a bug so I haven't
> filed one against bluez-utils.
> 
> I'm using an Microsoft Intellimouse Explorer for Bluetooth with
> debian/unstable (kernel 2.6.8-mh1 on a Dell Inspiron with internal
> bluetooth) and it works fine. But if I reboot the system, the mouse is
> not working anymore and I find the following (repeated) in my kern.log:
> kernel: hci_acldata_packet: hci0 ACL packet for unknown connection handle 46
> 
> The mouse starts workin again if I remove and reinsert its batteries.
> I suspect the HID connection is not properly severed on shutting down
> the system.

it looks like such a problem. Try to put a "hidd -K" in the init script
and see if that helps. Maybe you also need to set the device to non
pageable with "hciconfig hci0 noscan" on shutdown.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
  2004-08-23 18:19 ` Marcel Holtmann
@ 2004-08-23 18:55   ` Daniel Vollmer
  2004-08-23 20:40     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Vollmer @ 2004-08-23 18:55 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: Edd Dumbill

Hello Marcel,

Monday, August 23, 2004, 20:19:16, you wrote:

> Hi Daniel,

>> I am quite unsure where to report this problem, I suspect it's in
>> the init-scripts, but neither am I sure it is a bug so I haven't
>> filed one against bluez-utils.
>> 
>> I'm using an Microsoft Intellimouse Explorer for Bluetooth with
>> debian/unstable (kernel 2.6.8-mh1 on a Dell Inspiron with internal
>> bluetooth) and it works fine. But if I reboot the system, the mouse is
>> not working anymore and I find the following (repeated) in my kern.log:
>> kernel: hci_acldata_packet: hci0 ACL packet for unknown connection handle 46
>> 
>> The mouse starts workin again if I remove and reinsert its batteries.
>> I suspect the HID connection is not properly severed on shutting down
>> the system.

> it looks like such a problem. Try to put a "hidd -K" in the init script
> and see if that helps.

Putting "$HIDD_DAEMON -K" into stop_hid() in /etc/init.d/bluez-utils
before the start-stop-daemon line has fixed this. I'm CCing this to
Edd, maybe he can add that to the bluez init-script.

> Maybe you also need to set the device to non
> pageable with "hciconfig hci0 noscan" on shutdown.

Didn't try this as the above worked.


Thanks for the excellent work on bluez! It is much appreciated.


-- 
Best regards,
    Daniel.                         http://www.maven.de
[BREAKFAST.COM Halted... Cereal Port Not Responding.]



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
  2004-08-23 18:55   ` Daniel Vollmer
@ 2004-08-23 20:40     ` Marcel Holtmann
  2004-08-24  9:08       ` Daniel Vollmer
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-08-23 20:40 UTC (permalink / raw)
  To: Daniel Vollmer; +Cc: Marcel Holtmann, Edd Dumbill

Hi Daniel,

> > it looks like such a problem. Try to put a "hidd -K" in the init script
> > and see if that helps.
> 
> Putting "$HIDD_DAEMON -K" into stop_hid() in /etc/init.d/bluez-utils
> before the start-stop-daemon line has fixed this. I'm CCing this to
> Edd, maybe he can add that to the bluez init-script.
> 
> > Maybe you also need to set the device to non
> > pageable with "hciconfig hci0 noscan" on shutdown.
> 
> Didn't try this as the above worked.

the point in called "hciconfig hci0 noscan" before you call "hidd -K" is
that in this case the mouse can't reconnect if you touch it again while
your machine is shutting down.

> Thanks for the excellent work on bluez! It is much appreciated.

You are welcome :)

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
  2004-08-23 20:40     ` Marcel Holtmann
@ 2004-08-24  9:08       ` Daniel Vollmer
  2004-08-24  9:26         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Vollmer @ 2004-08-24  9:08 UTC (permalink / raw)
  To: Marcel Holtmann

Hello Marcel,

Monday, August 23, 2004, 22:40:41, you wrote:

> Hi Daniel,

>> > it looks like such a problem. Try to put a "hidd -K" in the init script
>> > and see if that helps.
>> 
>> Putting "$HIDD_DAEMON -K" into stop_hid() in /etc/init.d/bluez-utils
>> before the start-stop-daemon line has fixed this. I'm CCing this to
>> Edd, maybe he can add that to the bluez init-script.
>> 
>> > Maybe you also need to set the device to non
>> > pageable with "hciconfig hci0 noscan" on shutdown.
>> 
>> Didn't try this as the above worked.

> the point in called "hciconfig hci0 noscan" before you call "hidd -K" is
> that in this case the mouse can't reconnect if you touch it again while
> your machine is shutting down.

But as I kill the hidd-daemon directly after issuing "hidd -K", this
shouldn't be a problem as it wouldn't try to reconnect. Or am I
missing something?


-- 
Best regards,
    Daniel.                         http://www.maven.de
[Open mouth. Insert foot. Echo internationally!]



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot
  2004-08-24  9:08       ` Daniel Vollmer
@ 2004-08-24  9:26         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2004-08-24  9:26 UTC (permalink / raw)
  To: Daniel Vollmer; +Cc: Marcel Holtmann

Hi Daniel,

> > the point in called "hciconfig hci0 noscan" before you call "hidd -K" is
> > that in this case the mouse can't reconnect if you touch it again while
> > your machine is shutting down.
> 
> But as I kill the hidd-daemon directly after issuing "hidd -K", this
> shouldn't be a problem as it wouldn't try to reconnect. Or am I
> missing something?

the mouse will try to reconnect if you press a button or move it. So it
is better to kill the hidd daemon before running "hidd -K". But even in
this case a connection to L2CAP will be established by the mouse. This
can cause troubles too.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-08-24  9:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-23 18:00 [Bluez-users] Bluetooth Intellimouse Explorer not working after reboot Daniel Vollmer
2004-08-23 18:19 ` Marcel Holtmann
2004-08-23 18:55   ` Daniel Vollmer
2004-08-23 20:40     ` Marcel Holtmann
2004-08-24  9:08       ` Daniel Vollmer
2004-08-24  9:26         ` Marcel Holtmann

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