On giovedì 22 febbraio 2018 06:14:07 CET Jeremy Cline wrote: > Hey folks, > > Commit 30323fb6d552c41997baca5292bf7001366cab57 (Support tablet mode > switch) causes the keyboard on my XPS 13 to stop working. This > particular model has a touch screen (which I've disabled in the BIOS), > but isn't a 2-in-1 with a tablet mode. My guess is it's being put in > tablet mode and that's disabling the keyboard? In any case, I'm happy > to test fixes and provide any necessary information. 30323fb6d552c41997baca5292bf7001366cab57 initializes the switch to the correct state, in theory, it seems VGBS() is returning the wrong thing? could it report it has the switch and in a closed state even if it doesn't have it? also seems device specific, on my inspiron6352 if i go in teblet mode the keyboard keeps working until i fold it completely (which i don't know/don't think is something detectable at all from the software side) can you test with the command evtest (if an external keyboard works, or via ssh)?, then looking at the state of the intel virtual button driver it should show you the current state of the switch -- Marco Martin