Skip to contentSkip to conversation

can't get bthid

Bluez-users Zi Ming GAO 5 participants 9 messages Apr 25, 2004 – May 1, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi,

Quoted 4 lines

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.

Quoted 8 lines

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

#2 lore raw

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.

Quoted 19 lines

Hi,

Quoted 6 lines

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.

Quoted 3 lines

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.

Quoted 8 lines

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

#3 lore raw

=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

Quoted 33 lines · pro

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.

Quoted 18 lines

Hi,

Quoted 4 lines

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.

Quoted 8 lines

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.

Quoted 6 lines

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

Regards

Marcel

Quoted 9 lines

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

#4 lore raw
In reply to Zi Ming GAO

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

Quoted 14 lines · Zi Ming GAO

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

Quoted 6 lines

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

maintainer
#5 lore raw

Hi Myke,

Quoted 9 lines

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

#6 lore raw
Quoted 11 lines · Marcel Holtmann

Hi Myke,

Quoted 6 lines

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. :(

Quoted 9 lines

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

?

maintainer
#7 lore raw

Hi Mykel,

Quoted 8 lines

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

#8 lore raw
Quoted 15 lines · Marcel Holtmann

Hi Mykel,

Quoted 10 lines

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

Quoted 10 lines

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:~#