mark.linux
November 5th, 2017, 09:46 PM
The orientation sensor has malfunctioned on my laptop and is wrongly pointing out to be a tablet.
The keyboard thus has been disabled and isn't working. Also the volume button functionality is inverted as it is in tablet mode.
Same issue in windows was resolved by disabling intel integrated sensor driver.
Keyboard works just fine in grub menu. Gets disabled at lockscreen and further.
my lsmod shows this :
root@kaliScanner:~# lsmod
Module Size Used by
intel_ishtp_hid 20480 0
cpuid 16384 0
fuse 98304 5
ctr 16384 2
ccm 20480 3
btusb 45056 0
btrtl 16384 1 btusb
binfmt_misc 20480 1
nls_ascii 16384 1
nls_cp437 20480 1
snd_hda_codec_hdmi 49152 1
vfat 20480 1
fat 65536 1 vfat
efi_pstore 16384 0
arc4 16384 2
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 69632 1 snd_hda_codec_conexant
hp_wmi 16384 0
snd_soc_skl 73728 0
snd_soc_skl_ipc 49152 1 snd_soc_skl
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc
snd_hda_ext_core 24576 1 snd_soc_skl
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 217088 1 snd_soc_skl
snd_compress 20480 1 snd_soc_core
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
intel_rapl 20480 0
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
x86_pkg_temp_thermal 16384 0
videodev 172032 3 uvcvideo,videobuf2_core,videobuf2_v4l2
intel_powerclamp 16384 0
coretemp 16384 0
media 40960 2 uvcvideo,videodev
hid_logitech_hidpp 32768 0
iwlmvm 253952 0
kvm_intel 196608 0
kvm 577536 1 kvm_intel
mac80211 659456 1 iwlmvm
snd_hda_intel 40960 6
irqbypass 16384 1 kvm
rtsx_pci_ms 20480 0
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec _hdmi,snd_hda_codec_generic
snd_hda_core 77824 7 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec ,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,s nd_hda_codec_generic
intel_cstate 16384 0
intel_uncore 118784 0
snd_hwdep 16384 1 snd_hda_codec
intel_rapl_perf 16384 0
memstick 16384 1 rtsx_pci_ms
iwlwifi 163840 1 iwlmvm
joydev 20480 0
evdev 24576 30
efivars 20480 1 efi_pstore
serio_raw 16384 0
pcspkr 16384 0
i915 1269760 19
intel_th_gth 16384 0
snd_pcm 102400 7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_h da_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_cor e
cfg80211 593920 3 iwlmvm,iwlwifi,mac80211
intel_th_pci 16384 0
snd_timer 32768 1 snd_pcm
drm_kms_helper 151552 1 i915
intel_th 16384 2 intel_th_pci,intel_th_gth
iTCO_wdt 16384 0
snd 77824 22 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec _conexant,snd_hda_codec,snd_timer,snd_hda_codec_hd mi,snd_hda_codec_generic,snd_soc_core,snd_pcm
iTCO_vendor_support 16384 1 iTCO_wdt
soundcore 16384 1 snd
sg 32768 0
shpchp 36864 0
drm 348160 7 i915,drm_kms_helper
idma64 20480 0
i2c_algo_bit 16384 1 i915
mei_me 40960 0
mei 94208 1 mei_me
processor_thermal_device 16384 0
intel_pch_thermal 16384 0
intel_lpss_pci 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
ucsi 16384 0
wmi 16384 1 hp_wmi
ac 16384 0
hci_uart 98304 0
btbcm 16384 2 hci_uart,btusb
acpi_als 16384 0
btqca 16384 1 hci_uart
btintel 16384 2 hci_uart,btusb
kfifo_buf 16384 1 acpi_als
battery 20480 0
dptf_power 16384 0
soc_button_array 16384 0
industrialio 65536 2 acpi_als,kfifo_buf
intel_vbtn 16384 0
int3403_thermal 16384 0
bluetooth 540672 7 btrtl,hci_uart,btintel,btqca,btbcm,btusb
ecdh_generic 24576 1 bluetooth
int3400_thermal 16384 0
rfkill 24576 7 bluetooth,hp_wmi,cfg80211
acpi_thermal_rel 16384 1 int3400_thermal
int3402_thermal 16384 0
int3406_thermal 16384 0
intel_lpss_acpi 16384 0
int340x_thermal_zone 16384 3 int3402_thermal,int3403_thermal,processor_thermal_ device
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
tpm_crb 16384 0
video 40960 2 int3406_thermal,i915
intel_hid 16384 0
sparse_keymap 16384 3 intel_hid,intel_vbtn,hp_wmi
hp_wireless 16384 0
button 16384 1 i915
acpi_pad 24576 0
efivarfs 16384 1
ip_tables 24576 0
x_tables 36864 1 ip_tables
autofs4 40960 2
hid_logitech_dj 20480 0
ext4 593920 1
crc16 16384 2 bluetooth,ext4
jbd2 102400 1 ext4
crc32c_generic 16384 0
fscrypto 28672 1 ext4
ecb 16384 0
usbhid 49152 0
mbcache 16384 1 ext4
sd_mod 49152 3
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 2
ghash_clmulni_intel 16384 0
pcbc 16384 0
rtsx_pci_sdmmc 24576 0
mmc_core 143360 1 rtsx_pci_sdmmc
aesni_intel 167936 2
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
psmouse 143360 0
i2c_i801 24576 0
rtsx_pci 57344 2 rtsx_pci_sdmmc,rtsx_pci_ms
mfd_core 16384 2 rtsx_pci,intel_lpss
ahci 36864 2
libahci 32768 1 ahci
xhci_pci 16384 0
libata 233472 2 ahci,libahci
xhci_hcd 208896 1 xhci_pci
scsi_mod 212992 3 sd_mod,libata,sg
usbcore 245760 5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
intel_ish_ipc 20480 0
usb_common 16384 1 usbcore
intel_ishtp 40960 2 intel_ishtp_hid,intel_ish_ipc
thermal 20480 0
i2c_hid 20480 0
hid 118784 5 i2c_hid,usbhid,hid_logitech_dj,intel_ishtp_hid,hid _logitech_hidpp
fan 16384 0
I tried blacklisting drivers
blacklist nfc
blacklist pn533
blacklist hid_sensor_hub
blacklist hid_sensor_rotation
None of the solutions have worked.
Any usb keyboard works just fine.
Any help is greately appreciated.
The keyboard thus has been disabled and isn't working. Also the volume button functionality is inverted as it is in tablet mode.
Same issue in windows was resolved by disabling intel integrated sensor driver.
Keyboard works just fine in grub menu. Gets disabled at lockscreen and further.
my lsmod shows this :
root@kaliScanner:~# lsmod
Module Size Used by
intel_ishtp_hid 20480 0
cpuid 16384 0
fuse 98304 5
ctr 16384 2
ccm 20480 3
btusb 45056 0
btrtl 16384 1 btusb
binfmt_misc 20480 1
nls_ascii 16384 1
nls_cp437 20480 1
snd_hda_codec_hdmi 49152 1
vfat 20480 1
fat 65536 1 vfat
efi_pstore 16384 0
arc4 16384 2
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 69632 1 snd_hda_codec_conexant
hp_wmi 16384 0
snd_soc_skl 73728 0
snd_soc_skl_ipc 49152 1 snd_soc_skl
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc
snd_hda_ext_core 24576 1 snd_soc_skl
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 217088 1 snd_soc_skl
snd_compress 20480 1 snd_soc_core
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
intel_rapl 20480 0
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
x86_pkg_temp_thermal 16384 0
videodev 172032 3 uvcvideo,videobuf2_core,videobuf2_v4l2
intel_powerclamp 16384 0
coretemp 16384 0
media 40960 2 uvcvideo,videodev
hid_logitech_hidpp 32768 0
iwlmvm 253952 0
kvm_intel 196608 0
kvm 577536 1 kvm_intel
mac80211 659456 1 iwlmvm
snd_hda_intel 40960 6
irqbypass 16384 1 kvm
rtsx_pci_ms 20480 0
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec _hdmi,snd_hda_codec_generic
snd_hda_core 77824 7 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec ,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,s nd_hda_codec_generic
intel_cstate 16384 0
intel_uncore 118784 0
snd_hwdep 16384 1 snd_hda_codec
intel_rapl_perf 16384 0
memstick 16384 1 rtsx_pci_ms
iwlwifi 163840 1 iwlmvm
joydev 20480 0
evdev 24576 30
efivars 20480 1 efi_pstore
serio_raw 16384 0
pcspkr 16384 0
i915 1269760 19
intel_th_gth 16384 0
snd_pcm 102400 7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_h da_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_cor e
cfg80211 593920 3 iwlmvm,iwlwifi,mac80211
intel_th_pci 16384 0
snd_timer 32768 1 snd_pcm
drm_kms_helper 151552 1 i915
intel_th 16384 2 intel_th_pci,intel_th_gth
iTCO_wdt 16384 0
snd 77824 22 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec _conexant,snd_hda_codec,snd_timer,snd_hda_codec_hd mi,snd_hda_codec_generic,snd_soc_core,snd_pcm
iTCO_vendor_support 16384 1 iTCO_wdt
soundcore 16384 1 snd
sg 32768 0
shpchp 36864 0
drm 348160 7 i915,drm_kms_helper
idma64 20480 0
i2c_algo_bit 16384 1 i915
mei_me 40960 0
mei 94208 1 mei_me
processor_thermal_device 16384 0
intel_pch_thermal 16384 0
intel_lpss_pci 16384 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
ucsi 16384 0
wmi 16384 1 hp_wmi
ac 16384 0
hci_uart 98304 0
btbcm 16384 2 hci_uart,btusb
acpi_als 16384 0
btqca 16384 1 hci_uart
btintel 16384 2 hci_uart,btusb
kfifo_buf 16384 1 acpi_als
battery 20480 0
dptf_power 16384 0
soc_button_array 16384 0
industrialio 65536 2 acpi_als,kfifo_buf
intel_vbtn 16384 0
int3403_thermal 16384 0
bluetooth 540672 7 btrtl,hci_uart,btintel,btqca,btbcm,btusb
ecdh_generic 24576 1 bluetooth
int3400_thermal 16384 0
rfkill 24576 7 bluetooth,hp_wmi,cfg80211
acpi_thermal_rel 16384 1 int3400_thermal
int3402_thermal 16384 0
int3406_thermal 16384 0
intel_lpss_acpi 16384 0
int340x_thermal_zone 16384 3 int3402_thermal,int3403_thermal,processor_thermal_ device
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
tpm_crb 16384 0
video 40960 2 int3406_thermal,i915
intel_hid 16384 0
sparse_keymap 16384 3 intel_hid,intel_vbtn,hp_wmi
hp_wireless 16384 0
button 16384 1 i915
acpi_pad 24576 0
efivarfs 16384 1
ip_tables 24576 0
x_tables 36864 1 ip_tables
autofs4 40960 2
hid_logitech_dj 20480 0
ext4 593920 1
crc16 16384 2 bluetooth,ext4
jbd2 102400 1 ext4
crc32c_generic 16384 0
fscrypto 28672 1 ext4
ecb 16384 0
usbhid 49152 0
mbcache 16384 1 ext4
sd_mod 49152 3
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 2
ghash_clmulni_intel 16384 0
pcbc 16384 0
rtsx_pci_sdmmc 24576 0
mmc_core 143360 1 rtsx_pci_sdmmc
aesni_intel 167936 2
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
psmouse 143360 0
i2c_i801 24576 0
rtsx_pci 57344 2 rtsx_pci_sdmmc,rtsx_pci_ms
mfd_core 16384 2 rtsx_pci,intel_lpss
ahci 36864 2
libahci 32768 1 ahci
xhci_pci 16384 0
libata 233472 2 ahci,libahci
xhci_hcd 208896 1 xhci_pci
scsi_mod 212992 3 sd_mod,libata,sg
usbcore 245760 5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
intel_ish_ipc 20480 0
usb_common 16384 1 usbcore
intel_ishtp 40960 2 intel_ishtp_hid,intel_ish_ipc
thermal 20480 0
i2c_hid 20480 0
hid 118784 5 i2c_hid,usbhid,hid_logitech_dj,intel_ishtp_hid,hid _logitech_hidpp
fan 16384 0
I tried blacklisting drivers
blacklist nfc
blacklist pn533
blacklist hid_sensor_hub
blacklist hid_sensor_rotation
None of the solutions have worked.
Any usb keyboard works just fine.
Any help is greately appreciated.