diff options
Diffstat (limited to 'drivers/input/mouse/bcm5974.c')
-rw-r--r-- | drivers/input/mouse/bcm5974.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c index f2b38261eacb..2d8fc0bf6923 100644 --- a/drivers/input/mouse/bcm5974.c +++ b/drivers/input/mouse/bcm5974.c | |||
@@ -299,6 +299,11 @@ static int report_bt_state(struct bcm5974 *dev, int size) | |||
299 | if (size != sizeof(struct bt_data)) | 299 | if (size != sizeof(struct bt_data)) |
300 | return -EIO; | 300 | return -EIO; |
301 | 301 | ||
302 | dprintk(7, | ||
303 | "bcm5974: button data: %x %x %x %x\n", | ||
304 | dev->bt_data->unknown1, dev->bt_data->button, | ||
305 | dev->bt_data->rel_x, dev->bt_data->rel_y); | ||
306 | |||
302 | input_report_key(dev->input, BTN_LEFT, dev->bt_data->button); | 307 | input_report_key(dev->input, BTN_LEFT, dev->bt_data->button); |
303 | input_sync(dev->input); | 308 | input_sync(dev->input); |
304 | 309 | ||
@@ -330,8 +335,9 @@ static int report_tp_state(struct bcm5974 *dev, int size) | |||
330 | raw_y = raw2int(f->abs_y); | 335 | raw_y = raw2int(f->abs_y); |
331 | 336 | ||
332 | dprintk(9, | 337 | dprintk(9, |
333 | "bcm5974: raw: p: %+05d w: %+05d x: %+05d y: %+05d\n", | 338 | "bcm5974: " |
334 | raw_p, raw_w, raw_x, raw_y); | 339 | "raw: p: %+05d w: %+05d x: %+05d y: %+05d n: %d\n", |
340 | raw_p, raw_w, raw_x, raw_y, raw_n); | ||
335 | 341 | ||
336 | ptest = int2bound(&c->p, raw_p); | 342 | ptest = int2bound(&c->p, raw_p); |
337 | origin = raw2int(f->origin); | 343 | origin = raw2int(f->origin); |
@@ -377,8 +383,8 @@ static int report_tp_state(struct bcm5974 *dev, int size) | |||
377 | 383 | ||
378 | dprintk(8, | 384 | dprintk(8, |
379 | "bcm5974: abs: p: %+05d w: %+05d x: %+05d y: %+05d " | 385 | "bcm5974: abs: p: %+05d w: %+05d x: %+05d y: %+05d " |
380 | "nmin: %d nmax: %d n: %d\n", | 386 | "nmin: %d nmax: %d n: %d ibt: %d\n", abs_p, abs_w, |
381 | abs_p, abs_w, abs_x, abs_y, nmin, nmax, dev->fingers); | 387 | abs_x, abs_y, nmin, nmax, dev->fingers, ibt); |
382 | 388 | ||
383 | } | 389 | } |
384 | 390 | ||