public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] hidd connect permissions
@ 2006-10-26  0:19 Thomas Kear
  2006-10-29 20:16 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Kear @ 2006-10-26  0:19 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1720 bytes --]

# hidd -n --server
hidd[32412]: Bluetooth HID daemon
hidd[32412]: Rejected connection from unknown device 00:12:EE:07:95:48
(same result running as non-root user)

Remote device is a Sony Ericsson K750i, using inbuilt HID controller.  Phone 
is paired with the computer, file transfer (using kdebluetooth or obexftp) 
and rfcomm devices both work.

This used to work with bluez-2.25, current (non-working) version is 3.7.  
Installed from ebuilds out of liquidx's overlay, on gentoo/amd64 2006.1 
(http://overlays.gentoo.org/dev/liquidx/browser/net-wireless).  

Does hidd have a configuration file that isn't documented anywhere?


hciconfig -a
hci0:   Type: USB
        BD Address: 00:02:72:B0:36:D7 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:2797012 acl:12150 sco:0 events:5242 errors:0
        TX bytes:68770 acl:3782 sco:0 commands:786 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'insanity'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing, Object Transfer, 
Audio
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x110 LMP Ver: 1.1 (0x1) LMP Subver: 0x110
        Manufacturer: Cambridge Silicon Radio (10)

hcid.conf:
options {
        autoinit yes;
        security auto;
        pairing multi;
        passkey "0000";
}
device {
        name "insanity";
        class 0x3e0100;
        iscan enable; pscan enable;
        lm accept;
        lp rswitch,hold,sniff,park;
        discovto 0;
}

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] hidd connect permissions
  2006-10-26  0:19 [Bluez-users] hidd connect permissions Thomas Kear
@ 2006-10-29 20:16 ` Marcel Holtmann
  2006-10-29 22:23   ` Thomas Kear
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-10-29 20:16 UTC (permalink / raw)
  To: thomas.kear, BlueZ users

Hi Thomas,

> # hidd -n --server
> hidd[32412]: Bluetooth HID daemon
> hidd[32412]: Rejected connection from unknown device 00:12:EE:07:95:48
> (same result running as non-root user)

connect from the Linux machine once again. It needs to store the HID
descriptor and authorize the phone first.

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

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

* Re: [Bluez-users] hidd connect permissions
  2006-10-29 20:16 ` Marcel Holtmann
@ 2006-10-29 22:23   ` Thomas Kear
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Kear @ 2006-10-29 22:23 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]

Thanks for that.  Removed my phone from the linkkeys file, connected 
with 'hidd --connect 00:12:EE:07:95:48', re-paired and all was well.  
Discovered my phone even asks if you want to open the remote control app when 
hidd requests it.

On Monday 30 October 2006 9:16 am, Marcel Holtmann wrote:
> Hi Thomas,
>
> > # hidd -n --server
> > hidd[32412]: Bluetooth HID daemon
> > hidd[32412]: Rejected connection from unknown device 00:12:EE:07:95:48
> > (same result running as non-root user)
>
> connect from the Linux machine once again. It needs to store the HID
> descriptor and authorize the phone first.
>
> Regards
>
> Marcel

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-10-29 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-26  0:19 [Bluez-users] hidd connect permissions Thomas Kear
2006-10-29 20:16 ` Marcel Holtmann
2006-10-29 22:23   ` Thomas Kear

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