public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] can't get bthid
@ 2004-04-25 23:45 Zi Ming GAO
  2004-04-25 23:53 ` Marcel Holtmann
  2004-04-26  1:01 ` Mykel
  0 siblings, 2 replies; 9+ messages in thread
From: Zi Ming GAO @ 2004-04-25 23:45 UTC (permalink / raw)
  To: bluez-users

Hey guys,
    The problem i'm having is i get the follow error when i try to start 
bthid,

Can't connect to HID service: No such file or directory

Now the bluetooth i'm using is the logitech MX900 with the logitech 
bluetooth dodge. The software i'm using are lib2 and utils2 both from 
the cvs. I managed to get hid2hci working and from the 
/proc/bus/usb/devices i can tell the hub is in bluetooth mode. Running 
"hciconfig hci0 up" to bring the bluetooth interface up, which works 
fine. "hcid" also ran fine. I could manually linked up the mouse with 
the hub by using "hcitool cc <mouse address>". Other command such as 
"hcitool scan" "hcitool inq" all works fine.

I had problems previously getting hid2hci working. And it's due to the 
fact that i'm running on a customised linux and i forgot to enable usb 
raw hid access. anyway ... under my dev i have
/dev/misc/uinput
/dev/input/hid/hiddev[0..15]
and also other rfcomms and other bluetooth essentials under /dev
i also updated modprobe.inf with bluetooth alias from other posts

from what i understand bthid should be accessing the uinput device ...
is there other devices that bthid requires???
because the error message looks like i'm missing a devices file somewhere
or probably forgot to compiled in something necessory ...

anyway any help will be appreciated ... thanks ...


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-25 23:45 [Bluez-users] can't get bthid Zi Ming GAO
@ 2004-04-25 23:53 ` Marcel Holtmann
  2004-04-30 15:07   ` pro
  2004-04-26  1:01 ` Mykel
  1 sibling, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-04-25 23:53 UTC (permalink / raw)
  To: Zi Ming GAO; +Cc: BlueZ Mailing List

Hi,

>     The problem i'm having is i get the follow error when i try to start 
> bthid,
> 
> Can't connect to HID service: No such file or directory

you must start a bthid daemon instance with "bthid -d" first.

> Now the bluetooth i'm using is the logitech MX900 with the logitech 
> bluetooth dodge. The software i'm using are lib2 and utils2 both from 
> the cvs. I managed to get hid2hci working and from the 
> /proc/bus/usb/devices i can tell the hub is in bluetooth mode. Running 
> "hciconfig hci0 up" to bring the bluetooth interface up, which works 
> fine. "hcid" also ran fine. I could manually linked up the mouse with 
> the hub by using "hcitool cc <mouse address>". Other command such as 
> "hcitool scan" "hcitool inq" all works fine.

Don't play with "hcitool cc". The HCI connection is created automaticly
when needed.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-25 23:45 [Bluez-users] can't get bthid Zi Ming GAO
  2004-04-25 23:53 ` Marcel Holtmann
@ 2004-04-26  1:01 ` Mykel
  2004-04-26  1:09   ` Marcel Holtmann
  1 sibling, 1 reply; 9+ messages in thread
From: Mykel @ 2004-04-26  1:01 UTC (permalink / raw)
  To: bluez-users

I have the exact same problem! I just joined this mailing list yesterday 
to ask this same question.
I have a BlueTooth equipped laptop and I have the Logitech cradle 
plugged in... I have no idea what I'm doing tho. I've seen 
http://www.bueche.ch/comp/mx900/mx900.html and followed what I can, but 
I still get the same errors.

But like I said, I'm just doing this stuff blindly, I'm quite clueless 
at most of this. :(

Myke


Zi Ming GAO wrote:

> Hey guys,
>    The problem i'm having is i get the follow error when i try to 
> start bthid,
>
> Can't connect to HID service: No such file or directory
>
> Now the bluetooth i'm using is the logitech MX900 with the logitech 
> bluetooth dodge. The software i'm using are lib2 and utils2 both from 
> the cvs. I managed to get hid2hci working and from the 
> /proc/bus/usb/devices i can tell the hub is in bluetooth mode. Running 
> "hciconfig hci0 up" to bring the bluetooth interface up, which works 
> fine. "hcid" also ran fine. I could manually linked up the mouse with 
> the hub by using "hcitool cc <mouse address>". Other command such as 
> "hcitool scan" "hcitool inq" all works fine.
>
> I had problems previously getting hid2hci working. And it's due to the 
> fact that i'm running on a customised linux and i forgot to enable usb 
> raw hid access. anyway ... under my dev i have
> /dev/misc/uinput
> /dev/input/hid/hiddev[0..15]
> and also other rfcomms and other bluetooth essentials under /dev
> i also updated modprobe.inf with bluetooth alias from other posts
>
> from what i understand bthid should be accessing the uinput device ...
> is there other devices that bthid requires???
> because the error message looks like i'm missing a devices file somewhere
> or probably forgot to compiled in something necessory ...
>
> anyway any help will be appreciated ... thanks ...



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-26  1:01 ` Mykel
@ 2004-04-26  1:09   ` Marcel Holtmann
  2004-04-26  2:24     ` Mykel
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-04-26  1:09 UTC (permalink / raw)
  To: Mykel; +Cc: BlueZ Mailing List

Hi Myke,

> I have the exact same problem! I just joined this mailing list yesterday 
> to ask this same question.
> I have a BlueTooth equipped laptop and I have the Logitech cradle 
> plugged in... I have no idea what I'm doing tho. I've seen 
> http://www.bueche.ch/comp/mx900/mx900.html and followed what I can, but 
> I still get the same errors.
> 
> But like I said, I'm just doing this stuff blindly, I'm quite clueless 
> at most of this. :(

you must start a daemon instance first. Run "bthid -d" before trying to
use the "-c" switch.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-26  1:09   ` Marcel Holtmann
@ 2004-04-26  2:24     ` Mykel
  2004-04-26  9:52       ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Mykel @ 2004-04-26  2:24 UTC (permalink / raw)
  To: BlueZ Mailing List

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Marcel Holtmann wrote:

>Hi Myke,
>
>  
>
>>I have the exact same problem! I just joined this mailing list yesterday 
>>to ask this same question.
>>I have a BlueTooth equipped laptop and I have the Logitech cradle 
>>plugged in... I have no idea what I'm doing tho. I've seen 
>>http://www.bueche.ch/comp/mx900/mx900.html and followed what I can, but 
>>I still get the same errors.
>>
>>But like I said, I'm just doing this stuff blindly, I'm quite clueless 
>>at most of this. :(
>>    
>>
>
>you must start a daemon instance first. Run "bthid -d" before trying to
>use the "-c" switch.
>
>Regards
>
>Marcel
>
>  
>
Hey hey! I got somewhere! (Thanks! I'm so happy about this!) But after 
reboot, I'm not sure what I was doing wrong... It seems I need to hit 
connect every time I restart... Maybe I have the sequence of commands wrong?

bthid -d
hcid
bthid -c xx:xx:xx:...

?





[-- Attachment #2: Type: text/html, Size: 1405 bytes --]

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

* Re: [Bluez-users] can't get bthid
  2004-04-26  2:24     ` Mykel
@ 2004-04-26  9:52       ` Marcel Holtmann
  2004-04-27  3:58         ` Mykel
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-04-26  9:52 UTC (permalink / raw)
  To: Mykel; +Cc: BlueZ Mailing List

Hi Mykel,

> Hey hey! I got somewhere! (Thanks! I'm so happy about this!) But after
> reboot, I'm not sure what I was doing wrong... It seems I need to hit
> connect every time I restart... Maybe I have the sequence of commands
> wrong?
> 
> bthid -d
> hcid
> bthid -c xx:xx:xx:...

you should start hcid before you start any other Bluetooth daemon and
the "bthid -c" is only needed once. The HID device will reconnect by
itself after you pressed a key.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-26  9:52       ` Marcel Holtmann
@ 2004-04-27  3:58         ` Mykel
  0 siblings, 0 replies; 9+ messages in thread
From: Mykel @ 2004-04-27  3:58 UTC (permalink / raw)
  To: BlueZ Mailing List; +Cc: Marcel Holtmann

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

Marcel Holtmann wrote:

>Hi Mykel,
>
>  
>
>>Hey hey! I got somewhere! (Thanks! I'm so happy about this!) But after
>>reboot, I'm not sure what I was doing wrong... It seems I need to hit
>>connect every time I restart... Maybe I have the sequence of commands
>>wrong?
>>
>>bthid -d
>>hcid
>>bthid -c xx:xx:xx:...
>>    
>>
>
>you should start hcid before you start any other Bluetooth daemon and
>the "bthid -c" is only needed once. The HID device will reconnect by
>itself after you pressed a key.
>
>Regards
>
>Marcel
>
>  
>
Tried this now a few times but it doesn't seem to work, I *must* bthid 
-c and press connect after an extended idle period

Apr 26 22:09:37 immutable logger: ACPI group button/lid / action LID0 is 
not defined
Apr 26 22:32:41 immutable -- MARK --
Apr 26 22:39:38 immutable bthid[1166]: Disconnected: Logitech Bluetooth 
Mouse (046d:b001)

So, it takes 20 minutes to disconnect. I return and there's no mouse 
working obviously:

root@immutable:~# bthid -c 00:07:61:14:5c:a7

==> messages <==
Apr 26 23:30:30 immutable bthid[1166]: Connection failed: Connection 
refused (111)

root@immutable:~# bthid -c 00:07:61:14:5c:a7
root@immutable:~# bthid -c 00:07:61:14:5c:a7
(press connect on mouse)
root@immutable:~#
Apr 26 23:30:38 immutable last message repeated 3 times
Apr 26 23:30:47 immutable bthid[1166]: Connected: Logitech Bluetooth 
Mouse (046d:b001)
root@immutable:~#


[-- Attachment #2: Type: text/html, Size: 1882 bytes --]

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

* Re: [Bluez-users] can't get bthid
  2004-04-25 23:53 ` Marcel Holtmann
@ 2004-04-30 15:07   ` pro
  2004-05-01 21:42     ` Matias Pablo Brutti
  0 siblings, 1 reply; 9+ messages in thread
From: pro @ 2004-04-30 15:07 UTC (permalink / raw)
  To: bluez-users

thanks ... both keyboard and mouse are working fine now.

The fn key doesn't seems to work thou.

also i noticed that when i run hid2hci, it doesn't always switch the 
dodgle from hid to hci.
Sometimes i have to run it 2nd time to get it to work.

>Hi,
>
>  
>
>>    The problem i'm having is i get the follow error when i try to start 
>>bthid,
>>
>>Can't connect to HID service: No such file or directory
>>    
>>
>
>you must start a bthid daemon instance with "bthid -d" first.
>
>  
>
>>Now the bluetooth i'm using is the logitech MX900 with the logitech 
>>bluetooth dodge. The software i'm using are lib2 and utils2 both from 
>>the cvs. I managed to get hid2hci working and from the 
>>/proc/bus/usb/devices i can tell the hub is in bluetooth mode. Running 
>>"hciconfig hci0 up" to bring the bluetooth interface up, which works 
>>fine. "hcid" also ran fine. I could manually linked up the mouse with 
>>the hub by using "hcitool cc <mouse address>". Other command such as 
>>"hcitool scan" "hcitool inq" all works fine.
>>    
>>
>
>Don't play with "hcitool cc". The HCI connection is created automaticly
>when needed.
>
>Regards
>
>Marcel
>  
>


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] can't get bthid
  2004-04-30 15:07   ` pro
@ 2004-05-01 21:42     ` Matias Pablo Brutti
  0 siblings, 0 replies; 9+ messages in thread
From: Matias Pablo Brutti @ 2004-05-01 21:42 UTC (permalink / raw)
  To: bluez-users

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was wondering if you could share all the step that you took to make your =
=2E.=20
MX900 to work . because I have been trying but there is no way to make it=20
work as a bluetooth device ...  what modules you load .. and where you=20
configure you mouse to work .. because I managed to connect the mouse and=20
hcidump.. gives me all kind of info everytime I move the mouse .. but .. th=
e=20
pointer does not move ..=20

Please if you have some way of how to ... that you did .. please .. share=20
it .. I will mean the world to me ..=20

THanks ..=20

On Friday 30 April 2004 12:07, pro wrote:
> thanks ... both keyboard and mouse are working fine now.
>
> The fn key doesn't seems to work thou.
>
> also i noticed that when i run hid2hci, it doesn't always switch the
> dodgle from hid to hci.
> Sometimes i have to run it 2nd time to get it to work.
>
> >Hi,
> >
> >>    The problem i'm having is i get the follow error when i try to start
> >>bthid,
> >>
> >>Can't connect to HID service: No such file or directory
> >
> >you must start a bthid daemon instance with "bthid -d" first.
> >
> >>Now the bluetooth i'm using is the logitech MX900 with the logitech
> >>bluetooth dodge. The software i'm using are lib2 and utils2 both from
> >>the cvs. I managed to get hid2hci working and from the
> >>/proc/bus/usb/devices i can tell the hub is in bluetooth mode. Running
> >>"hciconfig hci0 up" to bring the bluetooth interface up, which works
> >>fine. "hcid" also ran fine. I could manually linked up the mouse with
> >>the hub by using "hcitool cc <mouse address>". Other command such as
> >>"hcitool scan" "hcitool inq" all works fine.
> >
> >Don't play with "hcitool cc". The HCI connection is created automaticly
> >when needed.
> >
> >Regards
> >
> >Marcel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQJQZvmXJj+mzTB70AQK7JQgAgsFuk8GqAziZBDbYaS0n/5R/IlYlzxrT
o4KSZoTYYAHTsS2uVwboR2lEtAcv+uMUGrvvanJoKHfSDFXYPVmfxPItdcMq7H8F
bDz7EmNWNOvII9wFi0zvYMEIo6kRKBP7AIqskpS7nmewQtJy9VVt8mV+tLSAlnxG
teHm0HKNhb07oFFc+txmGYU6vCk7Rw90CVVcmBdNxoYSmnsAK6v+RjBmJhAHNWSv
mXirAaMsrrXqJ6gzY+DyDbNJn4RrbRN9yFFVhqnGEYKPwRU9+Rb88AVMdl5P0n48
KQLG6hZ66ftuJgu1I+bmoKszkIDeCdfplptcuc2OBhL/E1/Ql4Oy+A=3D=3D
=3D9/9I
=2D----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-05-01 21:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25 23:45 [Bluez-users] can't get bthid Zi Ming GAO
2004-04-25 23:53 ` Marcel Holtmann
2004-04-30 15:07   ` pro
2004-05-01 21:42     ` Matias Pablo Brutti
2004-04-26  1:01 ` Mykel
2004-04-26  1:09   ` Marcel Holtmann
2004-04-26  2:24     ` Mykel
2004-04-26  9:52       ` Marcel Holtmann
2004-04-27  3:58         ` Mykel

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