You are not logged in.

#1 2010-12-08 16:49:56

qq405165798
Member
Registered: 2010-11-03
Posts: 17

how can I disable those drivers and modules ?

this is my
  cat  /proc/bus/input/devices

$  cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: EV=40001
B: SND=6

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2 
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: EV=3
B: KEY=3e000b 0 0 0 0 0 0 0

I: Bus=0011 Vendor=0002 Product=000f Version=0000
N: Name="FSPPS/2 Sentelic FingerSensingPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=mouse0 event7 
B: EV=7
B: KEY=670000 0 0 0 0 0 0 0 0
B: REL=143

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input8
U: Uniq=
H: Handlers=kbd event8 
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/input/input9
U: Uniq=
H: Handlers=kbd event9 
B: EV=1f
B: KEY=837fff 2c3027 bf004444 0 0 1 c04 b27c000 267bfa d941dfed 9e0000 0 0 0
B: REL=40
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=093a Product=2511 Version=0111
N: Name="USB OPTICAL MOUSE"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input10
U: Uniq=
H: Handlers=mouse1 event10 
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10

$  ca /proc/buvim  /proc/bus/input/devices
$  cat  /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: EV=40001
B: SND=6

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2 
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: EV=3
B: KEY=3e000b 0 0 0 0 0 0 0

I: Bus=0011 Vendor=0002 Product=000f Version=0000
N: Name="FSPPS/2 Sentelic FingerSensingPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=mouse0 event7 
B: EV=7
B: KEY=670000 0 0 0 0 0 0 0 0
B: REL=143

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input8
U: Uniq=
H: Handlers=kbd event8 
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/input/input9
U: Uniq=
H: Handlers=kbd event9 
B: EV=1f
B: KEY=837fff 2c3027 bf004444 0 0 1 c04 b27c000 267bfa d941dfed 9e0000 0 0 0
B: REL=40
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=093a Product=2511 Version=0111
N: Name="USB OPTICAL MOUSE"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input10
U: Uniq=
H: Handlers=mouse1 event10 
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10

I want to disable the drivers of

FSPPS/2 Sentelic FingerSensingPad

and

N: Name="USB USB Keykoard"
...
H: Handlers=kbd event9

How can I do this? Thank you!

Offline

#2 2010-12-09 04:10:55

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

Search for the loaded modules using lsmod
Remove them with rmmod or blacklist them in /etc/modprobe.d/modprobe.conf

Offline

#3 2010-12-09 05:12:14

qq405165798
Member
Registered: 2010-11-03
Posts: 17

Re: how can I disable those drivers and modules ?

slytux wrote:

Search for the loaded modules using lsmod
Remove them with rmmod or blacklist them in /etc/modprobe.d/modprobe.conf

$> lsmod
Module                  Size  Used by
fuse                   56432  3 
ipv6                  245073  12 
joydev                  7631  0 
snd_seq_dummy           1079  0 
i915                  283884  3 
b44                    24725  0 
snd_intel8x0m           9344  1 
snd_intel8x0           22230  2 
snd_seq_oss            25040  0 
snd_seq_midi_event      4496  1 snd_seq_oss
usbhid                 32137  0 
snd_seq                41688  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
ssb                    38660  1 b44
drm_kms_helper         23055  1 i915
snd_ac97_codec         87943  2 snd_intel8x0m,snd_intel8x0
drm                   142903  3 i915,drm_kms_helper
snd_seq_device          4369  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33630  0 
snd_mixer_oss          14654  2 snd_pcm_oss
ac97_bus                 762  1 snd_ac97_codec
hid                    60496  1 usbhid
mmc_core               52845  1 ssb
snd_pcm                59168  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
firewire_ohci          23260  0 
sr_mod                 13217  0 
intel_agp              24075  2 i915
yenta_socket           18785  0 
pcmcia                 31744  1 ssb
i2c_i801                6946  0 
i2c_algo_bit            4183  1 i915
pcmcia_rsrc             9240  1 yenta_socket
iTCO_wdt                8677  0 
snd_timer              15455  2 snd_seq,snd_pcm
tifm_7xx1               3526  0 
firewire_core          42849  1 firewire_ohci
ideapad_acpi            2820  0 
uhci_hcd               19059  0 
ehci_hcd               32812  0 
rfkill                 12854  1 ideapad_acpi
sg                     20996  0 
tifm_core               3713  1 tifm_7xx1
video                  15857  1 i915
pcmcia_core             9745  3 yenta_socket,pcmcia_rsrc,pcmcia
container               1913  0 
iTCO_vendor_support     1433  1 iTCO_wdt
output                  1416  1 video
usbcore               115770  4 usbhid,uhci_hcd,ehci_hcd
i2c_core               15634  5 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
snd                    43283  14 snd_intel8x0m,snd_seq_oss,snd_intel8x0,snd_seq,snd_ac97_codec,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
cdrom                  31410  1 sr_mod
soundcore               4929  2 snd
agpgart                22816  2 drm,intel_agp
mii                     3198  1 b44
button                  3746  1 i915
processor              22776  1 
psmouse                49765  0 
crc_itu_t               1053  1 firewire_core
ac                      2329  0 
battery                 7847  0 
wmi                     6951  0 
thermal                 9690  0 
pcspkr                  1359  0 
evdev                   6660  9 
serio_raw               3566  0 
snd_page_alloc          5949  3 snd_intel8x0m,snd_intel8x0,snd_pcm
ext4                  288101  2 
mbcache                 4298  1 ext4
jbd2                   58372  1 ext4
crc16                   1053  1 ext4
sd_mod                 24384  4 
ata_piix               17935  3 
libata                140500  1 ata_piix
scsi_mod              106987  4 sr_mod,sg,sd_mod,libata

Which one shoud be  rmmoded?

Offline

#4 2010-12-09 05:30:35

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

Those look like they are core keyboard/mouse drivers in kernel so you may have to disable them in Device Drivers --> Input Device Support and recompile.  Try using make localmodconfig and see if what shows up after in the menus.

Offline

#5 2010-12-09 05:41:23

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

There is an AUR package 'fspc' so you might be able to use it as a configuration tool for Sentelic touchpads.

Offline

#6 2010-12-09 05:49:03

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

From what I found, it shows up as PS/2 mouse in the kernel and can be controlled at /sys/devices/platform/i8042/serio1/

Last edited by slytux (2010-12-09 06:02:02)

Offline

#7 2010-12-09 06:00:45

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

Ok, it might be under /lib/modules/2.6.36-ARCH/kernel/drivers/input/mouse/psmouse.ko
If you feel adventureous, you can try deleting that file (maybe back it up first).

*The module should be called psmouse.

Last edited by slytux (2010-12-09 06:38:58)

Offline

#8 2010-12-09 06:17:54

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

The easiest way if you are using X is to open a terminal or add it to an autostart script.

# Turn touchpad off
synclient touchpadoff=1

# Turn touchpad on
synclient touchpadoff=0

Offline

#9 2010-12-09 14:18:13

qq405165798
Member
Registered: 2010-11-03
Posts: 17

Re: how can I disable those drivers and modules ?

slytux wrote:

The easiest way if you are using X is to open a terminal or add it to an autostart script.

# Turn touchpad off
synclient touchpadoff=1

# Turn touchpad on
synclient touchpadoff=0

It seems like that synclient just work for touchpad. I don't know it can disable my keyboard?

PS: I can't use synclient and it gives my Error message:

Couldn't find synaptics properties. No synaptics driver loaded?

Offline

#10 2010-12-09 14:23:15

qq405165798
Member
Registered: 2010-11-03
Posts: 17

Re: how can I disable those drivers and modules ?

slytux wrote:

From what I found, it shows up as PS/2 mouse in the kernel and can be controlled at /sys/devices/platform/i8042/serio1/

What I should do ? just rm?

Offline

#11 2010-12-09 15:10:50

qq405165798
Member
Registered: 2010-11-03
Posts: 17

Re: how can I disable those drivers and modules ?

slytux wrote:

Ok, it might be under /lib/modules/2.6.36-ARCH/kernel/drivers/input/mouse/psmouse.ko
If you feel adventureous, you can try deleting that file (maybe back it up first).

*The module should be called psmouse.

It need not to remove it . It works by
rmmod psmouse

My question is
1 how to find the name of  drive "psmouse" via touchpadoff?
2 how to disable the drive of keyboardA (event8) but enable the work of keboardB(event9)  ?

Last edited by qq405165798 (2010-12-09 15:54:13)

Offline

#12 2010-12-09 16:33:34

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: how can I disable those drivers and modules ?

The synclient commands worked on a thinkpad I have.  I guess your synaptics is different.

Offline

#13 2010-12-13 17:04:30

qq405165798
Member
Registered: 2010-11-03
Posts: 17

Re: how can I disable those drivers and modules ?

slytux wrote:

The synclient commands worked on a thinkpad I have.  I guess your synaptics is different.

It was solved by myself.

$> xinput --list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                           id=10    [slave  pointer  (2)]
⎜   ↳ FSPPS/2 Sentelic FingerSensingPad           id=14    [slave  pointer  (2)]
⎜   ↳ USB USB Keykoard                            id=11    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Power Button                                id=8    [slave  keyboard (3)]
    ↳ Sleep Button                                id=9    [slave  keyboard (3)]
    ↳ USB USB Keykoard                            id=12    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave  keyboard (3)]


disable
sudo xinput set-int-prop 13 "Device Enabled" 8 0
enable
sudo xinput set-int-prop 13 "Device Enabled" 8 1

Offline

Board footer

Powered by FluxBB