[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

blacklist module? Selective disable USB?



I have just installed Debian onto an older HP touchpad.

The machine has a touchscreen and a touchpad. The touchscreen is faulty and continually triggers. I have plugged in a USB mouse as well.

Configuration

dmesg | grep hid
[    7.765628] hidraw: raw HID events driver (C) Jiri Kosina
[    7.819717] usbcore: registered new interface driver usbhid
[    7.819721] usbhid: USB HID core driver
[    7.883497] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:10.0-1/input0
[    7.943455] hid-generic 0003:046D:C534.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:10.0-1/input1
[    8.494717] hid-generic 0003:03EB:8434.0003: input,hiddev1,hidraw2: USB HID v1.11 Device [Atmel Atmel maXTouch Digitizer] on usb-0000:00:13.0-2/input0
[    8.503252] hid-generic 0003:03EB:8434.0004: hiddev2,hidraw3: USB HID v1.11 Device [Atmel Atmel maXTouch Digitizer] on usb-0000:00:13.0-2/input1

dmesg | grep -i touch

[    8.342953] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.5, id: 0x1e0b1, caps: 0xf00073/0x240000/0xa2400/0x0, board id: 1679, fw id: 1458864
[    8.413802] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6
[    8.476380] usb 6-2: Product: Atmel maXTouch Digitizer
[    8.494178] input: Atmel Atmel maXTouch Digitizer Touchscreen as /devices/pci0000:00/0000:00:13.0/usb6/6-2/6-2:1.0/0003:03EB:8434.0003/input/input13
[    8.494434] input: Atmel Atmel maXTouch Digitizer as /devices/pci0000:00/0000:00:13.0/usb6/6-2/6-2:1.0/0003:03EB:8434.0003/input/input14
[    8.494717] hid-generic 0003:03EB:8434.0003: input,hiddev1,hidraw2: USB HID v1.11 Device [Atmel Atmel maXTouch Digitizer] on usb-0000:00:13.0-2/input0
[    8.503252] hid-generic 0003:03EB:8434.0004: hiddev2,hidraw3: USB HID v1.11 Device [Atmel Atmel maXTouch Digitizer] on usb-0000:00:13.0-2/input1

To try and fix this I created blackists

/etc/modprobe.d/

-rw-r--r-- 1 root root 45 Jan 12 16:01 hid_generic.conf
-rw-r--r-- 1 root root 26 Jan 12 15:04 hid_multitouch.conf

cat hid_multitouch.conf
blacklist hid_multitouch

cat hid_generic.conf
blacklist hid_generic

lsmod | grep hid

hid_generic            16384  0
usbhid                 57344  0
hid                   139264  2 usbhid,hid_generic
usbcore               294912  10 xhci_hcd,ohci_hcd,ehci_pci,usbhid,uvcvideo,ehci_hcd,ath3k,btusb,xhci_pci,ohci_pci

This was not effective so I manually disabled the hid_generic device

modprobe -r hid_generic

At this point the touchscreen stopped working but so did the plugged in USB mouse. The touchpad kept working.

So two issues:

1. How do I make the blackist entries work?

2. Can I selectively disable the USB devices that run the touchscreen yet keep any USB mouse working?


--
Jeremy

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: