public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] BTHID setup...
@ 2004-04-21 17:44 Michael Frey
  2004-04-21 19:20 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Frey @ 2004-04-21 17:44 UTC (permalink / raw)
  To: BlueZ Mailing List

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BTHID setup...
  2004-04-21 17:44 [Bluez-devel] BTHID setup Michael Frey
@ 2004-04-21 19:20 ` Marcel Holtmann
  2004-04-21 19:26   ` Michael Frey
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-04-21 19:20 UTC (permalink / raw)
  To: Michael Frey; +Cc: BlueZ Mailing List

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BTHID setup...
  2004-04-21 19:20 ` Marcel Holtmann
@ 2004-04-21 19:26   ` Michael Frey
  2004-04-21 19:32     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Frey @ 2004-04-21 19:26 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

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
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BTHID setup...
  2004-04-21 19:26   ` Michael Frey
@ 2004-04-21 19:32     ` Marcel Holtmann
  2004-04-21 20:44       ` Michael Frey
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2004-04-21 19:32 UTC (permalink / raw)
  To: Michael Frey; +Cc: BlueZ Mailing List

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BTHID setup...
  2004-04-21 19:32     ` Marcel Holtmann
@ 2004-04-21 20:44       ` Michael Frey
  2004-04-21 20:50         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Frey @ 2004-04-21 20:44 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

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
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] BTHID setup...
  2004-04-21 20:44       ` Michael Frey
@ 2004-04-21 20:50         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2004-04-21 20:50 UTC (permalink / raw)
  To: Michael Frey; +Cc: BlueZ Mailing List

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-04-21 20:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-21 17:44 [Bluez-devel] BTHID setup Michael Frey
2004-04-21 19:20 ` Marcel Holtmann
2004-04-21 19:26   ` Michael Frey
2004-04-21 19:32     ` Marcel Holtmann
2004-04-21 20:44       ` Michael Frey
2004-04-21 20:50         ` Marcel Holtmann

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