Skip to contentSkip to conversation

Bluetooth Intellimouse Explorer not working after reboot

Bluez-users Daniel Vollmer 2 participants 6 messages Aug 23, 2004 – Aug 24, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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.

Signature · 15 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#1 lore raw

Hi Daniel,

Quoted 10 lines

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

Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hello Marcel,

Quoted 12 lines · you

Hi Daniel,

Quoted 10 lines

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

Quoted 6 lines
Quoted 3 lines

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.

Quoted 2 lines

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.

Signature · 15 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#3 lore raw

Hi Daniel,

Quoted 11 lines
Quoted 2 lines

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.

Quoted 2 lines

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.

Quoted 1 line

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

Hello Marcel,

Quoted 9 lines · you

Hi Daniel,

Quoted 7 lines
Quoted 2 lines

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.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

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?

Signature · 15 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#5 lore raw

Hi Daniel,

Quoted 7 lines
Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users