]> git.webhop.me Git - lcd4linux.git/commitdiff
additional debugging output
authorvolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 24 Jan 2010 15:33:13 +0000 (15:33 +0000)
committervolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 24 Jan 2010 15:33:13 +0000 (15:33 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1093 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_G15.c
svn_version.h

index 94380be076b02b26d7006e03919cd452f99ad25a..476bfc5a5e02f7cc6d67d5a1576d9a1d9c69dbd2 100644 (file)
--- a/drv_G15.c
+++ b/drv_G15.c
@@ -330,6 +330,8 @@ static int drv_G15_open()
            debug("%s: open %s/%s/%s", Name, bus->dirname, dev->bus->dirname, dev->filename);
            if ((g15_lcd = usb_open(dev))) {
                if (dev->descriptor.idVendor == G15_VENDOR) {
+                    debug("%s: Found USB vendor ID 0x%x (Logitech), checking productID 0x%x...",
+                          Name, G15_VENDOR, dev->descriptor.idProduct);
                    switch (dev->descriptor.idProduct) {
                    case G15_DEVICE:
                    case G15_DEVICE2:
@@ -349,6 +351,8 @@ static int drv_G15_open()
                            break;
                        }
                    default:
+                        debug("%s: Don't found USB product IDs 0x%x|0x%x/0x%x for G-15/M1730 or 0x%x for Z10",
+                              Name, G15_DEVICE, G15_DEVICE2, M1730_DEVICE, Z10_DEVICE);
                        usb_close(g15_lcd);
                    }
 
index 090b8c8b9d664b586d83e27ca04c3790fbe29e2e..f08d6027fd98010d8ae817cadf6bdbaafcd2df5d 100644 (file)
@@ -1 +1 @@
-#define SVN_VERSION "1066M"
+#define SVN_VERSION "1092"