aboutsummaryrefslogtreecommitdiffstats
path: root/drv_G15.c
diff options
context:
space:
mode:
authorvolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-24 15:33:13 +0000
committervolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-24 15:33:13 +0000
commitf622ea6ee27135dc7148b981c07dea4ef13dcc90 (patch)
tree7f1ed1e0613c1ac45c8eff33ee2bb3b68a06b0bc /drv_G15.c
parent6cb52cd1063078550edb1a7346e8cd31cf39b14b (diff)
downloadlcd4linux-f622ea6ee27135dc7148b981c07dea4ef13dcc90.tar.gz
additional debugging output
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1093 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_G15.c')
-rw-r--r--drv_G15.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drv_G15.c b/drv_G15.c
index 94380be..476bfc5 100644
--- 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);
}