Skip to contentSkip to conversation

Forward and Backward keys on presenter

Bluez-devel Rui Pedro Lopes 2 participants 2 messages Jul 5, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all!

I have a microsoft notebook presenter mouse 8000
(http://www.microsoft.com/hardware/Presenter/productdetails.aspx?pid=085) and I have managed to have it working (as a mouse). When switching to presenter mode, the multimedia keys work (volume up and down), but the forward and backword keys do not. I tried to get the key codes with xev, but nothing shows up. Even the scan code (with showkey -s or with getscancode - http://keytouch.sourceforge.net/) nothing shows up.

However, with hcidump I can see that something goes through:

(as a mouse)

Quoted 5 lines

02 32 20 0B 00 07 00 41 00 A1 11 00 FF 00 00 00
02 32 20 0B 00 07 00 41 00 A1 11 00 FE FF 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 0F 00 00
04 14 06 00 2E 00 00 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00

(switching to presenter)

Quoted 3 lines

04 14 06 00 2E 00 02 A2 00
04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 4E 00

(pressing forward key)

Quoted 2 lines

02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00

(switching to mouse)

Quoted 4 lines

04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 1E 00
04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 4E 00

(as a mouse)

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 08 00 00 
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 1E 00

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 00 00 00 

(switching to presenter)

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 4E 00
(pressing forward key)

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 0E 00 00 
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 1E 00

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 00 00 00 

(back to mouse mode)

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 4E 00

I do not know how to interpret this information. Does anyone knows if the problem is related to the bluetooth part or to X?
Is there any possibility of getting it working?

Cheers,

/rp

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Rui,

Quoted 52 lines

I have a microsoft notebook presenter mouse 8000
(http://www.microsoft.com/hardware/Presenter/productdetails.aspx?pid=085) and I have managed to have it working (as a mouse). When switching to presenter mode, the multimedia keys work (volume up and down), but the forward and backword keys do not. I tried to get the key codes with xev, but nothing shows up. Even the scan code (with showkey -s or with getscancode - http://keytouch.sourceforge.net/) nothing shows up.

However, with hcidump I can see that something goes through:

(as a mouse)

Quoted 5 lines

02 32 20 0B 00 07 00 41 00 A1 11 00 FF 00 00 00
02 32 20 0B 00 07 00 41 00 A1 11 00 FE FF 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 0F 00 00
04 14 06 00 2E 00 00 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00

(switching to presenter)

Quoted 3 lines

04 14 06 00 2E 00 02 A2 00
04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 4E 00

(pressing forward key)

Quoted 2 lines

02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00
02 32 20 0B 00 07 00 41 00 A1 16 00 00 00 00 00

(switching to mouse)

Quoted 4 lines

04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 1E 00
04 14 06 00 32 00 00 00 00
04 14 06 00 32 00 02 4E 00

(as a mouse)

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 08 00 00 
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 1E 00

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 00 00 00 

(switching to presenter)

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 4E 00
(pressing forward key)

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 0E 00 00 
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 1E 00

Quoted 1 line

ACL data: handle 50 flags 0x02 dlen 11

    L2CAP(d): cid 0x0041 len 7 [psm 0]
      A1 16 00 00 00 00 00 

(back to mouse mode)

Quoted 8 lines
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 00 00 00

Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

00 32 00 02 4E 00

I do not know how to interpret this information. Does anyone knows if the problem is related to the bluetooth part or to X?
Is there any possibility of getting it working?

the generic HID driver inside the kernel will handle this part. So to convert all buttons, it might need some quirks to be setup. However I have no idea which ones are needed since I don't have one of these devices at home for testing.

Regards

Marcel

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel