2004-04-21 17:44:38

by Michael Frey

[permalink] [raw]
Subject: [Bluez-devel] BTHID setup...

I now have my kernel running bluez and now want to set up the new bthid
from CVS.

I built libs2 and utils2 and am trying to run the bthidd and get the
following errors.

root@(none):/opt/bluetooth/bluez/sbin# ./bthidd
Can't open HIDP control socket: Invalid argument

Did I not compile something into the kernel that I need to support this?

Thanks in advance,
Michael



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-04-21 20:50:10

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] BTHID setup...

Hi Michael,

> ok -- My keyboard does reconnect once connected. I am talking about
> the very first time. So I need to implement a way to search for all
> devices in the area present the list to the user and let them choose
> the device to connect to.

for the first connect you need to do it this way or you send me a patch
that implements the search functionality.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-04-21 20:44:00

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] BTHID setup...

Marcel,

ok -- My keyboard does reconnect once connected. I am talking about
the very first time. So I need to implement a way to search for all
devices in the area present the list to the user and let them choose
the device to connect to.

Michael

On Apr 21, 2004, at 3:32 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> I understand, and I now have my keyboard working using bthid. However
>> search and list does not work for me. It never prints anything out. I
>> had to find out the btaddr of my keyboard and use bthid -c after
>> launching bthid -d. That works. I would now love to have bthid find
>> and connect automatically.
>
> the search and list are not implemented and maybe never will be.
> However
> most HID device are designed to reconnect. This means that starting
> bthid -d at boot is enough and after you press a key, your keyboard
> will
> connect to the latest used host device.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-04-21 19:32:45

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] BTHID setup...

Hi Michael,

> I understand, and I now have my keyboard working using bthid. However
> search and list does not work for me. It never prints anything out. I
> had to find out the btaddr of my keyboard and use bthid -c after
> launching bthid -d. That works. I would now love to have bthid find
> and connect automatically.

the search and list are not implemented and maybe never will be. However
most HID device are designed to reconnect. This means that starting
bthid -d at boot is enough and after you press a key, your keyboard will
connect to the latest used host device.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-04-21 19:26:30

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] BTHID setup...

Marcel,

I understand, and I now have my keyboard working using bthid. However
search and list does not work for me. It never prints anything out. I
had to find out the btaddr of my keyboard and use bthid -c after
launching bthid -d. That works. I would now love to have bthid find
and connect automatically.

Is this supported?

Michael

On Apr 21, 2004, at 3:20 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> I now have my kernel running bluez and now want to set up the new
>> bthid
>> from CVS.
>
> and you compiled the uinput driver?
>
>> I built libs2 and utils2 and am trying to run the bthidd and get the
>> following errors.
>>
>> root@(none):/opt/bluetooth/bluez/sbin# ./bthidd
>> Can't open HIDP control socket: Invalid argument
>>
>> Did I not compile something into the kernel that I need to support
>> this?
>
> This userspace code is for the HIDP kernel module which is experimental
> stuff. What you are looking for is the bthid program.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-04-21 19:20:39

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] BTHID setup...

Hi Michael,

> I now have my kernel running bluez and now want to set up the new bthid
> from CVS.

and you compiled the uinput driver?

> I built libs2 and utils2 and am trying to run the bthidd and get the
> following errors.
>
> root@(none):/opt/bluetooth/bluez/sbin# ./bthidd
> Can't open HIDP control socket: Invalid argument
>
> Did I not compile something into the kernel that I need to support this?

This userspace code is for the HIDP kernel module which is experimental
stuff. What you are looking for is the bthid program.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel