2006-10-20 17:41:54

by Robert Moskowitz

[permalink] [raw]
Subject: [Bluez-users] Current information on bluetooth mouse support

I am trying to find information on bluetooth utilities. Everything I
have found so far is either at least a year old, and does not map to
files on my system.

Anyway, I have an HP NC4010.

I am using a Cables Unlimited dongle:

/usr/sbin/hciconfig -a
hci0: Type: USB
BD Address: 00:0D:18:01:20:B9 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:491300 acl:31961 sco:0 events:5005 errors:0
TX bytes:5297 acl:136 sco:0 commands:205 errors:0
Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'nc4010.htt-consult.com-0'
Class: 0x120104
Service Classes: Networking, Object Transfer
Device Class: Computer, Desktop workstation
HCI Ver: 1.2 (0x2) HCI Rev: 0x512 LMP Ver: 1.2 (0x2) LMP Subver:
0x512
Manufacturer: Cambridge Silicon Radio (10)


So far I have been working with my IOgear mouse.

After much effort, I have gotten it connected and authenticated. Now if
I turn it on and press its connect button I can then do a:

hidd --search
Searching ...
Connecting to device 00:0A:94:C0:C3:19

and

hcitool info 00:0A:94:C0:C3:19
Requesting information ...
BD Address: 00:0A:94:C0:C3:19
Device Name: Bluetooth Mouse
LMP Version: 1.1 (0x1) LMP Subversion: 0x356
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2
packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO>

But I loose connection with this mouse if it goes idle long enough, and
so far I have had to power it off and reconnect.

I have read messages like:

http://article.gmane.org/gmane.linux.bluez.user/6609/match=automatically+accepting+pairing+mouse

But I don't have a /etc/default/bluez-utils file to add:

HIDD_ENABLED=1
HIDD_OPTIONS="--server"

Nor can I figure out what file this now goes into.

Also how do I get the Gnome bluetooth tools working on my Centos desktop?

I still have my headphone, stereo headset, and TREO 650 to connect....



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-10-21 19:07:31

by Andrey Jivsov

[permalink] [raw]
Subject: Re: [Bluez-users] Current information on bluetooth mouse support

Robert Moskowitz wrote:
> Andrey Jivsov wrote:
>> Robert Moskowitz wrote:
>>
>>> I am trying to find information on bluetooth utilities. Everything I
>>> have found so far is either at least a year old, and does not map to
>>> files on my system.
>>>
>>> Anyway, I have an HP NC4010.
>>>
>>> I am using a Cables Unlimited dongle:
>>>
>>>
>>> But I loose connection with this mouse if it goes idle long enough, and
>>> so far I have had to power it off and reconnect.
>>>
>>> I have read messages like:
>>>
>>> http://article.gmane.org/gmane.linux.bluez.user/6609/match=automatically+accepting+pairing+mouse
>>>
>>> But I don't have a /etc/default/bluez-utils file to add:
>>>
>>> HIDD_ENABLED=1
>>> HIDD_OPTIONS="--server"
>>>
>>> Nor can I figure out what file this now goes into.
>>>
>>>
>> Hello Robert. I successfully solved this problem. You don't even need to
>> power-off or reset the mouse. Follow the directions in my earlier e-mail:
>>
>> http://sourceforge.net/mailarchive/forum.php?thread_id=30640322&forum_id=1883
>> ( or search for "Microsoft IntelliMouse with kernel 2.6.18 and
>> patch-2.6.18-mh1 is broken (fix provided)" ).
>>
> Well I am running Centos 4.4, that means Bluez 2.1 for now. As far as
> the kernel, well.....
>
> But when I look at your notes, I am left straggling in the dust. I am
> not a unix heavy, missed my chance 10+ years ago with Solaris
> 3.whatever.... And I don't do kernel sources.

I was pointing out to the user-level commands. Here are they again:

try this:
killall hcid
killall hidd

hciconfig hci0 up
<physically reset your mouse>
hcitool scan
<note its address that looks like this: 00:50:F2:E8:E0:71>

hcid
hidd -t 10 --connect <address that looks like this:
00:50:F2:E8:E0:71> --server
hciconfig hci0 down
usleep 500000
hciconfig hci0 up

I think that the above "hidd" will solve your problem because it is
responsible for keeping connection active to your mouse. -t parameter
informs the daemon when your mouse will go idle.

The options your mentions should cause the same effect after you add "-t
X_in_minutes" parameter after "--server" so you might try this simpler
method first.

>
> Why are you initializing the mouse at boot? I only use my wireless mouse
> sometimes.
>
> WHere is the sleep script? Or is that notebook suspend?
>
>>
>>> Also how do I get the Gnome bluetooth tools working on my Centos desktop?
>>>
>>> I still have my headphone, stereo headset, and TREO 650 to connect....

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-10-20 20:19:31

by Robert Moskowitz

[permalink] [raw]
Subject: Re: [Bluez-users] Current information on bluetooth mouse support

Andrey Jivsov wrote:
> Robert Moskowitz wrote:
>
>> I am trying to find information on bluetooth utilities. Everything I
>> have found so far is either at least a year old, and does not map to
>> files on my system.
>>
>> Anyway, I have an HP NC4010.
>>
>> I am using a Cables Unlimited dongle:
>>
>>
>> But I loose connection with this mouse if it goes idle long enough, and
>> so far I have had to power it off and reconnect.
>>
>> I have read messages like:
>>
>> http://article.gmane.org/gmane.linux.bluez.user/6609/match=automatically+accepting+pairing+mouse
>>
>> But I don't have a /etc/default/bluez-utils file to add:
>>
>> HIDD_ENABLED=1
>> HIDD_OPTIONS="--server"
>>
>> Nor can I figure out what file this now goes into.
>>
>>
>
> Hello Robert. I successfully solved this problem. You don't even need to
> power-off or reset the mouse. Follow the directions in my earlier e-mail:
>
> http://sourceforge.net/mailarchive/forum.php?thread_id=30640322&forum_id=1883
> ( or search for "Microsoft IntelliMouse with kernel 2.6.18 and
> patch-2.6.18-mh1 is broken (fix provided)" ).
>
Well I am running Centos 4.4, that means Bluez 2.1 for now. As far as
the kernel, well.....

But when I look at your notes, I am left straggling in the dust. I am
not a unix heavy, missed my chance 10+ years ago with Solaris
3.whatever.... And I don't do kernel sources.

Why are you initializing the mouse at boot? I only use my wireless mouse
sometimes.

WHere is the sleep script? Or is that notebook suspend?

>
>> Also how do I get the Gnome bluetooth tools working on my Centos desktop?
>>
>> I still have my headphone, stereo headset, and TREO 650 to connect....
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-10-20 18:30:09

by Andrey Jivsov

[permalink] [raw]
Subject: Re: [Bluez-users] Current information on bluetooth mouse support

Robert Moskowitz wrote:
> I am trying to find information on bluetooth utilities. Everything I
> have found so far is either at least a year old, and does not map to
> files on my system.
>
> Anyway, I have an HP NC4010.
>
> I am using a Cables Unlimited dongle:
>
> /usr/sbin/hciconfig -a
> hci0: Type: USB
> BD Address: 00:0D:18:01:20:B9 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:491300 acl:31961 sco:0 events:5005 errors:0
> TX bytes:5297 acl:136 sco:0 commands:205 errors:0
> Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Name: 'nc4010.htt-consult.com-0'
> Class: 0x120104
> Service Classes: Networking, Object Transfer
> Device Class: Computer, Desktop workstation
> HCI Ver: 1.2 (0x2) HCI Rev: 0x512 LMP Ver: 1.2 (0x2) LMP Subver:
> 0x512
> Manufacturer: Cambridge Silicon Radio (10)
>
>
> So far I have been working with my IOgear mouse.
>
> After much effort, I have gotten it connected and authenticated. Now if
> I turn it on and press its connect button I can then do a:
>
> hidd --search
> Searching ...
> Connecting to device 00:0A:94:C0:C3:19
>
> and
>
> hcitool info 00:0A:94:C0:C3:19
> Requesting information ...
> BD Address: 00:0A:94:C0:C3:19
> Device Name: Bluetooth Mouse
> LMP Version: 1.1 (0x1) LMP Subversion: 0x356
> Manufacturer: Cambridge Silicon Radio (10)
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> <3-slot packets> <5-slot packets> <encryption> <slot offset>
> <timing accuracy> <role switch> <hold mode> <sniff mode>
> <park state> <RSSI> <channel quality> <SCO link> <HV2
> packets>
> <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
> <power control> <transparent SCO>
>
> But I loose connection with this mouse if it goes idle long enough, and
> so far I have had to power it off and reconnect.
>
> I have read messages like:
>
> http://article.gmane.org/gmane.linux.bluez.user/6609/match=automatically+accepting+pairing+mouse
>
> But I don't have a /etc/default/bluez-utils file to add:
>
> HIDD_ENABLED=1
> HIDD_OPTIONS="--server"
>
> Nor can I figure out what file this now goes into.
>

Hello Robert. I successfully solved this problem. You don't even need to
power-off or reset the mouse. Follow the directions in my earlier e-mail:

http://sourceforge.net/mailarchive/forum.php?thread_id=30640322&forum_id=1883
( or search for "Microsoft IntelliMouse with kernel 2.6.18 and
patch-2.6.18-mh1 is broken (fix provided)" ).

> Also how do I get the Gnome bluetooth tools working on my Centos desktop?
>
> I still have my headphone, stereo headset, and TREO 650 to connect....
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users