* [Bluez-devel] Bluetooth HID device doesn't work (HID create error)
@ 2006-04-20 14:18 Michal Krenek
2006-04-20 14:30 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Michal Krenek @ 2006-04-20 14:18 UTC (permalink / raw)
To: bluez-devel
Hello,
I have Sony Ericsson K700 mobile phone, which supports standard HID profile=
(you
can use it as remote control for your computer). I have tried this function=
in
november (or december) last year and it had worked without problems. But wh=
en I
tried it today, it doesn't work. My mobile phone freezes on "Connecting" an=
d I
must restart it.
I have kernel 2.6.16.4, udev 089, bluez-libs & bluez-utils 2.25. My phone i=
s
paired with my PC and every other bluetooth functions work without problems
(file transfer, addressbook synchronization, internet connection via GPRS,
etc.). hidp kernel module is loaded and hidd --server is running (as root).=
This
is what hcid and hidd gives me when I try it:
hcid[2620]: link_key_request (sba=3D00:13:85:00:0E:62, dba=3D00:12:EE:7D:03=
:CF)
hidd[2634]: HID create error 2 (No such file or directory)
I have tried also strace on hidd:
open("/usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd", O_RDONLY) =3D -1 ENOE=
NT (No
such file or directory)
Well, this file really doesn't exist, so I have tried to create it manually
(touch /usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd) and then repeat it. I=
have
also checked write permissions and it looks good. Now hidd gives me this er=
ror:
hidd[3846]: HID create error 22 (Invalid argument)
And if I try strace it:
open("/usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd", O_RDONLY) =3D 9
flock(9, LOCK_SH) =3D 0
fstat64(9, {st_mode=3DS_IFREG|0644, st_size=3D0, ...}) =3D 0
mmap2(NULL, 0, PROT_READ, MAP_SHARED, 9, 0) =3D -1 EINVAL (Invalid argument=
)
I am really lost now, I don't know where is the problem. Can you please hel=
p me?
Thanks,
Michal Krenek (Mikos)
-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] Bluetooth HID device doesn't work (HID create error)
2006-04-20 14:18 [Bluez-devel] Bluetooth HID device doesn't work (HID create error) Michal Krenek
@ 2006-04-20 14:30 ` Marcel Holtmann
2006-04-20 14:49 ` Michal Krenek
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-04-20 14:30 UTC (permalink / raw)
To: bluez-devel
Hi Michal,
> I have Sony Ericsson K700 mobile phone, which supports standard HID profile (you
> can use it as remote control for your computer). I have tried this function in
> november (or december) last year and it had worked without problems. But when I
> tried it today, it doesn't work. My mobile phone freezes on "Connecting" and I
> must restart it.
>
> I have kernel 2.6.16.4, udev 089, bluez-libs & bluez-utils 2.25. My phone is
> paired with my PC and every other bluetooth functions work without problems
> (file transfer, addressbook synchronization, internet connection via GPRS,
> etc.). hidp kernel module is loaded and hidd --server is running (as root). This
> is what hcid and hidd gives me when I try it:
>
> hcid[2620]: link_key_request (sba=00:13:85:00:0E:62, dba=00:12:EE:7D:03:CF)
> hidd[2634]: HID create error 2 (No such file or directory)
>
> I have tried also strace on hidd:
>
> open("/usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd", O_RDONLY) = -1 ENOENT (No
> such file or directory)
>
> Well, this file really doesn't exist, so I have tried to create it manually
> (touch /usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd) and then repeat it. I have
> also checked write permissions and it looks good. Now hidd gives me this error:
>
> hidd[3846]: HID create error 22 (Invalid argument)
>
> And if I try strace it:
> open("/usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd", O_RDONLY) = 9
> flock(9, LOCK_SH) = 0
> fstat64(9, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap2(NULL, 0, PROT_READ, MAP_SHARED, 9, 0) = -1 EINVAL (Invalid argument)
>
> I am really lost now, I don't know where is the problem. Can you please help me?
use "hidd --search" to connect to your phone. You need to do this at
least once to have the correct data in the hidd file.
Regards
Marcel
-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] Bluetooth HID device doesn't work (HID create error)
2006-04-20 14:30 ` Marcel Holtmann
@ 2006-04-20 14:49 ` Michal Krenek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Krenek @ 2006-04-20 14:49 UTC (permalink / raw)
To: bluez-devel
On Thu, 20 Apr 2006 at 16:31:12, Marcel Holtmann wrote:
> use "hidd --search" to connect to your phone. You need to do this at
> least once to have the correct data in the hidd file.
Unfortunately this doesn't work. I have tried to kill running hidd --server=
=20
and then run hidd --search but without success=20
(file /usr/var/lib/bluetooth/00:13:85:00:0E:62/hidd is still missing). Then=
I=20
tried to run hidd --search and while hidd --search was running, I have trie=
d=20
to activate "Remote control" function on my mobile phone, but also without=
=20
success (mobile phone doesn't freeze, but "connecting" phase is terminated=
=20
with "Can't connect to remote device" and hidd --search still didn't find=
=20
anything).
Also in the past (as I said in november or december) it has worked without=
=20
problems out of the box (I didn't have to run hidd --search). So I think th=
is=20
is some problem with newer versions of bluez-libs, bluez-utils or kernel.
-------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-20 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-20 14:18 [Bluez-devel] Bluetooth HID device doesn't work (HID create error) Michal Krenek
2006-04-20 14:30 ` Marcel Holtmann
2006-04-20 14:49 ` Michal Krenek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.