From b0a68d287e89c8c6f02293fc083429d899f41286 Mon Sep 17 00:00:00 2001 From: Alexandre Bezroutchko Date: Sun, 7 Oct 2012 22:28:50 +0200 Subject: [PATCH] dvp/qvm-usb: Added some debugging code. --- misc/usb_add_change | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/usb_add_change b/misc/usb_add_change index 8d106d38..79b9794e 100755 --- a/misc/usb_add_change +++ b/misc/usb_add_change @@ -8,7 +8,7 @@ ## running in dom0. ## -# Ignore USB hubs. +# FIXME: Ignore USB hubs. [ "$DEVTYPE" = "usb_device" ] || exit 0 NAME="${ID_VENDOR_ID}_${ID_MODEL_ID}" @@ -16,6 +16,8 @@ DESC="${NAME} ${ID_SERIAL}" XS_KEY="qubes-usb-devices/$NAME" xenstore-write "$XS_KEY/desc" "$DESC" +#xenstore-write "$XS_KEY/_devname" "$DEVNAME" +#xenstore-write "$XS_KEY/_devtype" "$DEVTYPE" # Make sure PVUSB backend driver is loaded. /sbin/modprobe xen-usbback 2> /dev/null || /sbin/modprobe usbbk