LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-05-2017, 06:10 PM   #1
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Rep: Reputation: Disabled
Laptop Stuck In Tablet Mode [Keyboard Disabled]


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 :
Code:
Code:
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,snd_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_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
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_hdmi,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
tried blacklisting drivers
Code:
blacklist nfc
blacklist pn533
blacklist hid_sensor_hub
blacklist hid_sensor_rotation


Code:
# xinput
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Logitech K230                               id=9    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=14    [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)]
    ↳ HP Wide Vision HD                           id=10    [slave  keyboard (3)]
    ↳ Intel Virtual Button driver                 id=11    [slave  keyboard (3)]
    ↳ Intel Virtual Button driver                 id=12    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave  keyboard (3)]
    ↳ HP WMI hotkeys                              id=15    [slave  keyboard (3)]
    ↳ HP Wireless hotkeys                         id=16    [slave  keyboard (3)]
    ↳ Logitech K230
None of the solutions have worked.
Any usb keyboard works just fine.
Any help is greatly appreciated.
 
Old 11-06-2017, 03:19 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,681

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
This intel_ishtp_hid could be the issue. You can blacklist it or do something like

alias intel_ishtp_hid /bin/true

It might change things.
 
Old 11-06-2017, 09:01 PM   #3
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
This intel_ishtp_hid could be the issue. You can blacklist it or do something like

alias intel_ishtp_hid /bin/true

It might change things.
I just tried it and it failed to work.

Even the volume buttons work in an inverted fashion, as they do in tablet mode.
No problems fixing it on windows. Unfortunately I don't use windows as my primary os.
 
Old 11-07-2017, 03:52 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,681

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Right. Why don't you find the number of the integrated sensor chip, and see what drives it in linux? Take the number, or light it well and take a photo of the chip and I'll try to make sense of it.
 
Old 11-07-2017, 02:06 PM   #5
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Right. Why don't you find the number of the integrated sensor chip, and see what drives it in linux? Take the number, or light it well and take a photo of the chip and I'll try to make sense of it.
It's burnt from the top brother. I tried blacklisting hid and every possible Intel driver. All failed.
3 days of my life are wasted.
I'll switch over to windows.
Brother I really appreciate your help!
 
Old 11-08-2017, 04:43 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,681

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Those things have junction temperature limits of 150-200C. If the top cooked, it's toast. If you're running a blown motherboard, and windows performs better, I suppose you deserve windows :-P. Your thanks are appreciated.
 
Old 11-08-2017, 12:49 PM   #7
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Those things have junction temperature limits of 150-200C. If the top cooked, it's toast. If you're running a blown motherboard, and windows performs better, I suppose you deserve windows :-P. Your thanks are appreciated.
It's actually a fixed blown motherboard. The technician who fixed it ended up burning the top and disabled it. Thereby botching up its orientation, something that windows let me customize. I'm switching over to Windows because Linux wasn't customizable enough. Irony at its best.

Ps. Windows lol
 
Old 11-08-2017, 04:31 PM   #8
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
I just deleted windows. Probably the most boring os ever.
Still forced to use a USB keyboard on Ubuntu though.
 
Old 11-09-2017, 04:48 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,681

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
As windows is gone, have you tried booting another install dvd? You might also be able to get around this with your personal kernel. Even reading what the various modules do can tell you loads and you can give them options and do all sorts of clever stuff with config files.

Lastly, you could treat yourself in the new year's sales. Let the Saturnalia(Xmas, the modern name for the Roman Saturnalia) pass by, and wait until January.
 
Old 11-17-2017, 04:49 AM   #10
mark.linux
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Right. Why don't you find the number of the integrated sensor chip, and see what drives it in linux? Take the number, or light it well and take a photo of the chip and I'll try to make sense of it.
So I've been trying to figure out which one of these it is but to no avail.
So stuck on Linux with a Bluetooth keyboard which sucks.
Any ideas?
https://drive.google.com/folderview?...QGTZo4qfJDrRoG
 
Old 11-18-2017, 04:08 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,681

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
the only chip I can see is an FPGA which comes alive hen programmed.b No data on the program.
That clearly didn't help. what does 'lsusb' or the board spec say?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla stuck in fullscreen mode on Gateway NV53 laptop running centos 6.6 elviejito Linux - Software 2 11-11-2014 03:55 PM
Suggestion for laptop or 'tablet laptop' with the last standard pre-1995 keys dchmelik Linux - Hardware 5 11-16-2013 05:05 AM
My laptop keyboard is disabled during startup BBXiong Linux - Laptop and Netbook 1 11-05-2008 09:26 PM
Wacom tablet is in mouse mode instead of absolute mode saravkrish Linux - Hardware 2 12-01-2006 02:35 AM
laptop keyboard key stuck dsschanze General 2 11-12-2005 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration