[OM Cooker] Results of last nights work on Ben's M$ kbd/mouse in Cooker

Ben Bullard benbullard79 at cox.net
Wed Jan 20 21:51:39 EST 2016


Attached is a file with names/paths of all newly created files. Once I 
got my own errors corrected and remembered to:

systemctl enable usbhid
and
systemd.unit+multi-user.target

each and every time I never saw either wired usb or wireless M$ kbd 
working.

I did get the logs lspci.log and lsusb.log. I think you'll see no 
kbd/mouse in lspci.log and both kbd/mouse are in lsusb.log. So that is 
where everything stands at the moment

I should be around on IRC in the morning, but my mornings are 5-6 hours 
later than yours.

-- 
Ben Bullard
ben79
--------------------
OpenMandriva-QA Team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160120/a24f8771/attachment.html>
-------------- next part --------------

create /etc/systemd/system/usbhid.service:
 
[Unit]
Description=usbhid
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/enable-usbhid
[Install]
WantedBy=multi-user.target

Then create /usr/local/sbin/enable-usbhid saying

#!/bin/sh
/sbin/modprobe usbhid
/sbin/modprobe xhci_hcd
/sbin/modprobe xhci_pci
/sbin/modprobe ehci_hcd
/sbin/modprobe ehci_pci
lspci >/lspci.log
lsusb >/lsusb.log

and then do:
chmod +x /usr/local/sbin/enable-usbhid
systemctl enable usbhid

Also currently created:

/etc/udev/rules.d/99-mouse.rules:

  #!/bin/sh
  export DISPLAY=":0"
  xuser=`/usr/bin/whoami`
  export XAUTHORITY=/home/"$xuser"/.Xauthority
  /usr/bin/xinput set-prop "DLL063E:00 06CB:2934" "Device Enabled" $1
  
  and  a moved file:
  
 # cat /etc/udev/rules.d/01-touchpad.rules.bak
#/etc/udev/rules.d/01-touchpad.rules  
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0745", ENV{REMOVE_CMD}="/opt/toggle_touch.sh 1", RUN+="/opt/toggle_touch.sh 0"

cat lspci.log

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family H97 Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)

cat lsusb.log

# cat lsusb.log

Bus 002 Device 002: ID 8087:8001 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 003 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



More information about the OM-Cooker mailing list