Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 17366

Re: Implementing a Bluetooth HID Profile on the Edison

$
0
0

I thought enabling UserspaceHID might work... but still the same results.

# cat /etc/bluetooth/input.conf

# Configuration file for the input service

 

# This section contains options which are not specific to any

# particular interface

[General]

 

# Set idle timeout (in minutes) before the connection will

# be disconnect (defaults to 0 for no timeout)

#IdleTimeout=30

 

# Enable HID protocol handling in userspace input profile

# Defaults to false (HIDP handled in HIDP kernel module)

UserspaceHID=true

 

root@iikeyboard:~# ./btkbdd/btkbdd /dev/input/by-id/usb-05f3_0007-event-kbd

Cannot bind a L2CAP server socket: Address already in use

 

root@iikeyboard:~# python ./btk/agent.py

start hid

Traceback (most recent call last):

  File "./btk/agent.py", line 121, in <module>

    sock.bind(('', PSM_INTR))

  File "/usr/lib/python2.7/site-packages/bluetooth/bluez.py", line 172, in bind

    return self._sock.bind (addrport)

_bluetooth.error: (98, 'Address already in use')

 

root@iikeyboard:~# ./hidclient/hidclient

HID keyboard/mouse service registered

Opened /dev/input/event0 as event device [counter 0]

Opened /dev/input/event1 as event device [counter 1]

Opened /dev/input/event2 as event device [counter 2]

Opened /dev/input/event3 as event device [counter 3]

Bind error (PSM 19): Address already in use

Failed to bind sockets (9/8) to PSM (17/19)


Viewing all articles
Browse latest Browse all 17366

Latest Images

Trending Articles



Latest Images