SUBSYSTEM!="usb", GOTO="libobex_rules_end"
ENV{DEVTYPE}!="usb_device", GOTO="libobex_rules_end"
ACTION!="add", GOTO="libobex_rules_end"

ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:020b??:*", ENV{ID_OBEX}="1", MODE="0664", GROUP="plugdev"

LABEL="libobex_rules_end"
