X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/efb14422c53623aa8edf0ae432d1ebca9b3b82a0..ceddbf89ac27fc6dcfe68908d5e44827f73a94ac:/tools/helpers/drivers.py diff --git a/tools/helpers/drivers.py b/tools/helpers/drivers.py index 25a5b62..cf708f0 100644 --- a/tools/helpers/drivers.py +++ b/tools/helpers/drivers.py @@ -12,16 +12,19 @@ import tools.helpers.run BINDER_DRIVERS = [ "anbox-binder", "puddlejumper", + "bonder", "binder" ] VNDBINDER_DRIVERS = [ "anbox-vndbinder", "vndpuddlejumper", + "vndbonder", "vndbinder" ] HWBINDER_DRIVERS = [ "anbox-hwbinder", "hwpuddlejumper", + "hwbonder", "hwbinder" ] @@ -86,7 +89,9 @@ def probeBinderDriver(args): if len(binder_dev_nodes) > 0: if not isBinderfsLoaded(args): - command = ["modprobe", "binder_linux"] + devices = ','.join(binder_dev_nodes) + command = ["modprobe", "binder_linux", + "devices=\"{}\"".format(devices)] output = tools.helpers.run.user(args, command, check=False, output_return=True) if output: logging.error("Failed to load binder driver")