Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Panasonic FZ-G2 #307

Open
wants to merge 322 commits into
base: replay-capture
Choose a base branch
from
Open

Add Panasonic FZ-G2 #307

wants to merge 322 commits into from

Conversation

jbrewkeggin
Copy link

Link: #306

jigpu added 30 commits May 8, 2018 09:30
The sysinfo script used to perform two independent passes through sysfs
looking for data. Data for devices was logged from both passes, but only
devices found in the latter pass would have e.g. their HID descriptors
copied. Ideally we should handle all devices (regardless of where they're
found in sysfs) the same.

To allow this, we generate and iterate over a combined list of devices.
This combined list can theoretically recognize slightly more devices since
the second loop uses the same list of IDs as the first loop (which
contains both ACPI and USB IDs).
Declare a list of IDs and modules that we care about upfront and then
make use of these lists (or modified equivalents) wherever we can.
Helps to make sure we don't miss any cases when adding new IDs.
Moves the initialization of the exit trap and directory creation to the
very beginning of the script.
Use a combination of exec and set to save all the (uncaught) stderr output
to a file and have bash print out each command as its executed. This gives
us information about exactly what data was expected to be gathered and
what steps (if any) failed.
Instead of hardcoding the search string for our dmesg log extraction, we
reuse the REGEX_VENDORS and REGEX_MODULES variables set up top that define
the hardware and software we're interested in.
The xorg.conf[.d] configurations and udev rules can make a significant
difference to a tablet working as expected or not. Go ahead and add
these to the set of data we gather from systems for analysis.
Newer versions of libinput have moved away from providing a number of
separate utility commands to having everyting available through just
the 'libinput' command. This breaks the sysinfo script's call out to
libinput-list-devices. This commit now first checks if the command
exists and runs either it or the new alternative.

Ref: #37
jigpu and others added 30 commits February 17, 2022 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants