<div dir="ltr">I went ahead and allocated a new device entry for the touchpad and everything is working OK now.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 26, 2017 at 12:15 PM, tsopdump tsopdump <span dir="ltr"><<a href="mailto:tsopdump@gmail.com" target="_blank">tsopdump@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have a Bluetooth Sony MSG-MR5U remote that has a full keyboard and a touchpad. The keyboard works fine in Linux but the touchpad isn't recognized.</div><div><br></div><div>I've edited the hid-sony module to enable the touchpad but I've run into a problem where the keyboard stops working when I enable the touchpad. More specifically, if I call input_mt_init_slots with the INPUT_MT_POINTER flag, the touchpad works but the keyboard stops working. If I don't pass this flag, the keyboard works but the touchpad doesn't.</div><div><br></div><div>Only one device entry is created and after passing INPUT_MT_POINTER to input_mt_init_slots, <span lang="EN-CA">/proc/bus/input/devices shows</span></div><div><span lang="EN-CA"><span><span lang="EN-CA"><p>I: Bus=0005 Vendor=0609 Product=0368 Version=0111<br>N: Name="SONY NSG-MR5-U"<br>P: Phys=00:1a:7d:da:71:0a<br>S: Sysfs=/devices/pci0000:00/<wbr>0000:00:0b.0/usb2/2-5/2-5:1.0/<wbr>bluetooth/hci0/hci0:70/0005:<wbr>0609:0368.0007/input/input12<br>U: Uniq=00:01:90:d2:1b:7b<br>H: Handlers=sysrq kbd mouse1 event7 <br>B: PROP=5<br>B: EV=10001f<br>B: KEY=3007f 0 0 483ffff17aff32d bf54444600002420 10001 1130f938b17c007 ffff7bfad9415fff febeffdfffefffff fffffffffffffffe<br>B: REL=40<br>B: ABS=2738f0100000003<br>B: MSC=10</p><p><span>Do I have to allocate a new device entry using input_allocate_device so the touchpad is using a separate device from the keyboard or is there a way to activate both the touchpad and the keyboard using a single device?</span></p><p><span>BTW, I'm working with the 4.10.0-rc3+ kernel.</span></p><p><span>Thanks,<br></span><span>Todd</span></p></span></span></span></div></div>
</blockquote></div><br></div>