You are not logged in.

#1 2021-03-25 22:12:01

a_bains
Member
Registered: 2021-03-25
Posts: 1

Determine if system has an integrated keyboard

I am looking for a way to query whether the linux system has an integrated keyboard, as in most cases with a laptop. The opposite being a desktop which has an external keyboard.

Offline

#2 2021-03-25 22:52:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: Determine if system has an integrated keyboard

Close the lid. If you can still see the keyboard or there's no lid, it's an external keyboard.

I realize that this is not what you mean, but you've to be more specific about the context.
However the answer is: you can't. You can reasonably guess that a bluetooth device is external and i2c is internal. A usb keyboard could be anything. You can look at the vendor or model and assume that Logitech and Razer and anything with "gamorz" in the model description are probably external devices, but you don't know.

What brings us to the final question: why do you think you need to know that?
For your question sounds a lot like an xy-one (ie. you don't want to know the keyboard location, but you think that it can help to solve the problem you actually want to solve)

Offline

Board footer

Powered by FluxBB