/systemd-251/hwdb.d/ |
D | 60-sensor.hwdb | 7 # sensor:modalias:<parent modalias pattern>:dmi:<dmi pattern> 9 # The device modalias can be seen in the `modalias` file of the sensor parent, 11 # cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias 14 # /sys/class/dmi/id/modalias 80 sensor:modalias:acpi:KIOX0009*:dmi:*:svnAcer:pnAspireSW3-016:* 83 sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-011:* 86 sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-012:* 89 sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*TP-SW5-017-17BU:* 92 sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:* 95 sensor:modalias:acpi:SMO8500:*:dmi:*Acer*:pnOneS1002:* [all …]
|
D | 60-input-id.hwdb | 7 # id-input:modalias:<modalias> 48 # id-input:modalias:input:b0003v1234pABCD* 55 id-input:modalias:input:b0003v28bdp0078* 59 id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4* 63 id-input:modalias:input:b0005v046DpB00De0700* 67 id-input:modalias:input:b0003v046Dp408Ae0111* 71 id-input:modalias:input:b0003v046Dp4066e0111* 75 id-input:modalias:input:b0003v068Ep00F2e0100*
|
D | 70-pointingstick.hwdb | 13 # This matches on the kernel modalias of the input-device, mainly: 16 # is an arbitrary length input-modalias describing the device capabilities. 23 # <vendor> is the firmware-provided string from the kernel DMI modalias, 24 # see /sys/class/dmi/id/modalias
|
D | README | 2 of mappings from modalias-like keys (which identify specific hardware devices)
|
D | 60-autosuspend.hwdb | 6 # <subsystem>:<modalias>
|
D | 60-keyboard.hwdb | 19 # This matches on the kernel modalias of the input-device, mainly: 22 # is an arbitrary length input-modalias describing the device capabilities. 29 # exported by the kernel DMI modalias, see /sys/class/dmi/id/modalias 35 # by the kernel DMI modalias, see /sys/class/dmi/id/modalias 43 # firmware-provided string exported by the kernel DMI modalias, 44 # see /sys/class/dmi/id/modalias
|
D | 60-evdev.hwdb | 7 # evdev:<modalias>
|
/systemd-251/src/udev/ |
D | udev-builtin-hwdb.c | 21 const char *prefix, const char *modalias, in udev_builtin_hwdb_lookup() argument 31 lookup = strjoin(prefix, modalias); in udev_builtin_hwdb_lookup() 34 modalias = lookup; in udev_builtin_hwdb_lookup() 37 SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) { in udev_builtin_hwdb_lookup() 80 const char *dsubsys, *devtype, *modalias = NULL; in udev_builtin_hwdb_search() local 89 (void) sd_device_get_property_value(d, "MODALIAS", &modalias); in udev_builtin_hwdb_search() 95 if (!modalias) in udev_builtin_hwdb_search() 96 modalias = modalias_usb(d, s, sizeof(s)); in udev_builtin_hwdb_search() 102 if (!modalias) in udev_builtin_hwdb_search() 105 log_device_debug(dev, "hwdb modalias key: \"%s\"", modalias); in udev_builtin_hwdb_search() [all …]
|
D | udev-builtin.h | 81 int udev_builtin_hwdb_lookup(sd_device *dev, const char *prefix, const char *modalias,
|
/systemd-251/rules.d/ |
D | 60-sensor.rules | 7 IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \ 11 IMPORT{builtin}="hwdb 'sensor:modalias:acpi:$attr{hid}:$attr{[dmi/id]modalias}'", \ 15 IMPORT{builtin}="hwdb 'sensor:modalias:platform:$id:$attr{[dmi/id]modalias}'", \
|
D | 60-evdev.rules | 12 IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \ 17 …wdb 'evdev:name:$attr{name}:phys:$attr{phys}:ev:$attr{capabilities/ev}:$attr{[dmi/id]modalias}'", \ 22 IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \
|
D | 60-input-id.rules | 6 SUBSYSTEM=="input", IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=id-input:modalias:"
|
D | 71-seat.rules.in | 31 …UBSYSTEM=="graphics", KERNEL=="fb[0-9]*", ATTRS{modalias}=="?*", IMPORT{builtin}="hwdb fb:$attr{mo…
|
/systemd-251/test/fuzz/fuzz-udev-rules/ |
D | 60-sensor.rules | 7 IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \ 11 IMPORT{builtin}="hwdb 'sensor:modalias:acpi:$attr{hid}:$attr{[dmi/id]modalias}'", \ 15 IMPORT{builtin}="hwdb 'sensor:modalias:platform:$id:$attr{[dmi/id]modalias}'", \
|
D | 60-evdev.rules | 12 IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \ 16 …wdb 'evdev:name:$attr{name}:phys:$attr{phys}:ev:$attr{capabilities/ev}:$attr{[dmi/id]modalias}'", \ 20 KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \
|
D | 60-input-id.rules | 6 SUBSYSTEM=="input", IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=id-input:modalias:"
|
/systemd-251/src/systemd/ |
D | sd-hwdb.h | 31 int sd_hwdb_get(sd_hwdb *hwdb, const char *modalias, const char *key, const char **value); 33 int sd_hwdb_seek(sd_hwdb *hwdb, const char *modalias); 37 #define SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) \ argument 38 if (sd_hwdb_seek(hwdb, modalias) < 0) { } \
|
/systemd-251/src/libsystemd/sd-hwdb/ |
D | sd-hwdb.c | 354 static int properties_prepare(sd_hwdb *hwdb, const char *modalias) { in DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC() 356 assert(modalias); in DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC() 361 return trie_search_f(hwdb, modalias); in DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC() 364 _public_ int sd_hwdb_get(sd_hwdb *hwdb, const char *modalias, const char *key, const char **_value)… in sd_hwdb_get() argument 370 assert_return(modalias, -EINVAL); in sd_hwdb_get() 373 r = properties_prepare(hwdb, modalias); in sd_hwdb_get() 386 _public_ int sd_hwdb_seek(sd_hwdb *hwdb, const char *modalias) { in sd_hwdb_seek() argument 391 assert_return(modalias, -EINVAL); in sd_hwdb_seek() 393 r = properties_prepare(hwdb, modalias); in sd_hwdb_seek()
|
/systemd-251/src/libudev/ |
D | libudev-hwdb.c | 105 …udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *modalias, unsigned flags) { in udev_hwdb_get_properties_list_entry() argument 110 assert_return_errno(modalias, NULL, EINVAL); in udev_hwdb_get_properties_list_entry() 114 SD_HWDB_FOREACH_PROPERTY(hwdb->hwdb, modalias, key, value) in udev_hwdb_get_properties_list_entry()
|
D | test-libudev.c | 331 static void test_hwdb(struct udev *udev, const char *modalias) { in test_hwdb() argument 341 udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(hwdb, modalias, 0)) in test_hwdb()
|
D | libudev.h | 178 …*udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *modalias, unsigned flags);
|
/systemd-251/src/shared/ |
D | hwdb-util.h | 10 int hwdb_query(const char *modalias);
|
D | hwdb-util.c | 653 int hwdb_query(const char *modalias) { in hwdb_query() argument 658 assert(modalias); in hwdb_query() 664 SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) in hwdb_query()
|
/systemd-251/src/network/ |
D | networkctl.c | 874 char modalias[STRLEN("OUI:XXYYXXYYXXYY") + 1], *desc; in ieee_oui() local 889 xsprintf(modalias, "OUI:" ETHER_ADDR_FORMAT_STR, in ieee_oui() 892 r = sd_hwdb_get(hwdb, modalias, "ID_OUI_FROM_DATABASE", &description); in ieee_oui()
|
/systemd-251/ |
D | NEWS | 3351 if the device modalias matches one of the new hwdb entries).
|