aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-compat.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-02-20 16:11:42 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-03-03 17:23:07 +0000
commitb9e6f30ba835f5019db55d98631f6571fdc575ef (patch)
tree39156eda97dfe2ecd6fbc4c01013d8a871bab14b /include/ModemManager-compat.h
parent6eabfd27bf3c4c53d7779722b46e7261d22c1d92 (diff)
kerneldevice,udev: don't assume interface is the direct parent object
E.g. it may be one more layer up: looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1/ttyUSB1/tty/ttyUSB1': KERNEL=="ttyUSB1" SUBSYSTEM=="tty" DRIVER=="" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1/ttyUSB1': KERNELS=="ttyUSB1" SUBSYSTEMS=="usb-serial" DRIVERS=="option1" ATTRS{port_number}=="0" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.4/1-8.4:1.1': KERNELS=="1-8.4:1.1" SUBSYSTEMS=="usb" DRIVERS=="option" ATTRS{bNumEndpoints}=="02" ATTRS{supports_autosuspend}=="1" ATTRS{bInterfaceNumber}=="01" ATTRS{bAlternateSetting}==" 0" ATTRS{bInterfaceSubClass}=="06" ATTRS{bInterfaceProtocol}=="13" ATTRS{interface}=="Huawei Mobile Connect - Application" ATTRS{bInterfaceClass}=="ff" ATTRS{authorized}=="1"
Diffstat (limited to 'include/ModemManager-compat.h')
0 files changed, 0 insertions, 0 deletions