linux lcd panel info factory
My info did not show up in XOrg.log. But I figured out that I could get the info from the DRM (Direct Rendering Manager) subcomponent of the linux kernel, which is exposed in sysfs. So I did the following:
There are many situations when you need to obtain information about your Linux system, whether it"s hardware, embedded software such as the BIOS, or how they relate to the operating system.
You need this information to understand your system better, install appropriate software and drivers, apply patches, obtain vendor support, plan expansions and upgrades, and use your system fully.
In general, Linux distributions provide many tools you can use to display system information. Often, you can query one of the virtual filesystems like /proc or /sys directly, but they may provide basic information that"s hard to understand at a glance.
This article looks at seven commands that provide details about your system"s CPU, disk, RAM, devices, and firmware, in a direct and easy-to-understand way. These utilities compile information from different sources to present a relevant summary that aids you in understanding the system"s capabilities.
The lscpu utility provides a comprehensive summary of your CPU"s capabilities, including model information, the number of cores, speeds, flags, virtualization capabilities, and security mitigations applied.
Linux provides many utilities to look at the storage and disks attached to your system, such as df, fdisk, or mount. These are great options for gathering specific information. You can also use lsblk to get an overview of your block devices at a glance:
This utility provides much more information, and you should check all of its options using man lsblk. I often use two options: --fs to include the filesystem type in the output and -J for JSON output to parse using other programs.
Use the lsusb utility to gather information about available USB devices. Your distribution may not include this utility by default. Install the usbutils package to access it:
Next on the list is lspci to get information about your PCI devices. This utility is part of the pciutils package, and you may need to install it, depending on your distribution:
You can use the -v option for a more detailed output, -k to list the Linux kernel module in use by the device, and -s to filter specific devices based on their ID. For example, to list kernel modules for device 05:00.0, use:
For additional information about your RAM hardware, including the number and type of slots available, manufacturing information, sizes, and other physical details, use the dmidecode utility. This generic utility provides information about many hardware and firmware components. You can install it with the dmidecodepackage :
Since dmidecode provides a huge dump of information, you can filter its output using the option -t TYPE to list specific types only. For example, to display only RAM-related information, use -t memory:
I"ve listed some command-line utilities that help you to understand the system and hardware where you run your Linux operating system. Some of these utilities are specialized, while dmidecode is generic. You can see all information that it can provide by using dmidecode -t:
Other high-level utilities provide detailed information about hardware like hwinfo or GUI tools such as cpu-x. I will cover some of these tools in future articles.
Linux exposes the I2C device and userland programs can communicate directly with the monitor with code such as that at http://jaffar.cs.msu.su/oleg/ddcci/