Bambor » Пн июл 20, 2020 8:54 pm
подключил к малине вот такой девайс
[ KERNEL] [ 1.909939] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[ KERNEL] [ 2.280555] usb 1-1.2: New USB device found, idVendor=047f, idProduct=c022, bcdDevice= 1.35
[ KERNEL] [ 2.280569] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ KERNEL] [ 2.280578] usb 1-1.2: Product: Plantronics C310
[ KERNEL] [ 2.280587] usb 1-1.2: Manufacturer: Plantronics
[ KERNEL] [ 2.280596] usb 1-1.2: SerialNumber: 99D16DB9133828479DA3C6EC7C2B5ECF
[ KERNEL] [ 2.526002] input: Plantronics Plantronics C310 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input0
[ KERNEL] [ 2.590273] input: Plantronics Plantronics C310 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input1
[ KERNEL] [ 2.590697] input: Plantronics Plantronics C310 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input2
[ KERNEL] [ 2.591273] hid-generic 0003:047F:C022.0001: input,hiddev96,hidraw0: USB HID v1.11 Device [Plantronics Plantronics C310] on usb-0000:01:00.0-1.2/input3
[ KERNEL] [ 2.699918] usb 1-1.3: new low-speed USB device number 4 using xhci_hcd
На нем есть кнопки - Ответ/Отбой, vol+, vol-, mic-off.
Возможно ли их мапить на действия в linphone?
Cейчас это выглядит вот так:
[ gm] [ 15.200851] EV_ABS flag found. Add mouse event2: Plantronics Plantronics C310.
[ gm] [ 15.200959] Add keyboard event1: Plantronics Plantronics C310.
[ gm] [ 15.201064] Add keyboard event0: Plantronics Plantronics C310 Consumer Control.
=================================================
[ KERNEL] [ 211.395129] keyboard: can't emulate rawmode for keycode 248
[ KERNEL] [ 211.395155] keyboard: can't emulate rawmode for keycode 248
[ gm] [ 211.385592] Unknown key 248 (0x000000f8) from 'Plantronics Plantronics C310', '/dev/input/event1'.
[ gm] [ 211.385688] Unknown key 248 (0x000000f8) from 'Plantronics Plantronics C310', '/dev/input/event1'.
[ gm] [ 212.885663] Unknown key 256 (0x00000100) from 'Plantronics Plantronics C310', '/dev/input/event2'.
[ gm] [ 212.885783] Unknown key 256 (0x00000100) from 'Plantronics Plantronics C310', '/dev/input/event2'.
подключил к малине вот такой девайс
[ KERNEL] [ 1.909939] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[ KERNEL] [ 2.280555] usb 1-1.2: New USB device found, idVendor=047f, idProduct=c022, bcdDevice= 1.35
[ KERNEL] [ 2.280569] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ KERNEL] [ 2.280578] usb 1-1.2: Product: Plantronics C310
[ KERNEL] [ 2.280587] usb 1-1.2: Manufacturer: Plantronics
[ KERNEL] [ 2.280596] usb 1-1.2: SerialNumber: 99D16DB9133828479DA3C6EC7C2B5ECF
[ KERNEL] [ 2.526002] input: Plantronics Plantronics C310 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input0
[ KERNEL] [ 2.590273] input: Plantronics Plantronics C310 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input1
[ KERNEL] [ 2.590697] input: Plantronics Plantronics C310 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:047F:C022.0001/input/input2
[ KERNEL] [ 2.591273] hid-generic 0003:047F:C022.0001: input,hiddev96,hidraw0: USB HID v1.11 Device [Plantronics Plantronics C310] on usb-0000:01:00.0-1.2/input3
[ KERNEL] [ 2.699918] usb 1-1.3: new low-speed USB device number 4 using xhci_hcd
На нем есть кнопки - Ответ/Отбой, vol+, vol-, mic-off.
Возможно ли их мапить на действия в linphone?
Cейчас это выглядит вот так:
[ gm] [ 15.200851] EV_ABS flag found. Add mouse event2: Plantronics Plantronics C310.
[ gm] [ 15.200959] Add keyboard event1: Plantronics Plantronics C310.
[ gm] [ 15.201064] Add keyboard event0: Plantronics Plantronics C310 Consumer Control.
=================================================
[ KERNEL] [ 211.395129] keyboard: can't emulate rawmode for keycode 248
[ KERNEL] [ 211.395155] keyboard: can't emulate rawmode for keycode 248
[ gm] [ 211.385592] Unknown key 248 (0x000000f8) from 'Plantronics Plantronics C310', '/dev/input/event1'.
[ gm] [ 211.385688] Unknown key 248 (0x000000f8) from 'Plantronics Plantronics C310', '/dev/input/event1'.
[ gm] [ 212.885663] Unknown key 256 (0x00000100) from 'Plantronics Plantronics C310', '/dev/input/event2'.
[ gm] [ 212.885783] Unknown key 256 (0x00000100) from 'Plantronics Plantronics C310', '/dev/input/event2'.