Skip to contentSkip to conversation

Problem with Mighty Mouse

DISCUSSION Bastien Nocera 2 participants 3 messages Oct 12, 2013 – Oct 17, 2013 HID

lore
Share & tools
lore
#0 lore raw

Heya,

I've tested a Bluetooth Apple Mighty Mouse (AA1197) and though I can move the cursor without a problem, none of the buttons work. evtest doesn't see any button events.

Any ideas what I should look at, or which tool I could use to capture the raw data?

Cheers

#1 lore raw

Hi Bastien,

Quoted 8 lines · Bastien Nocera

Heya,

I've tested a Bluetooth Apple Mighty Mouse (AA1197) and though I can move the cursor without a problem, none of the buttons work. evtest doesn't see any button events.

Any ideas what I should look at, or which tool I could use to capture the raw data?

you can use hid-recorder[1] to retrieve the raw events from hidraw (it mainly does a hexdump on /dev/hidrawX or you can use the kernel debugfs interface for some devices which are preventing hidraw to forward the events).

Ideally, you should give the output of evtest (or evemu) and hid-recorder at the same time so we can have an idea of the input and the output of the kernel driver.

Cheers,
Benjamin

[1] http://bentiss.github.io/hid-replay-docs/

Quoted 7 lines

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 12 lines · Benjamin Tissoires

Hi Bastien,

Quoted 8 lines · Bastien Nocera

Heya,

I've tested a Bluetooth Apple Mighty Mouse (AA1197) and though I can move the cursor without a problem, none of the buttons work. evtest doesn't see any button events.

Any ideas what I should look at, or which tool I could use to capture the raw data?

Quoted 8 lines

you can use hid-recorder[1] to retrieve the raw events from hidraw (it mainly does a hexdump on /dev/hidrawX or you can use the kernel debugfs interface for some devices which are preventing hidraw to forward the events).

Ideally, you should give the output of evtest (or evemu) and hid-recorder at the same time so we can have an idea of the input and the output of the kernel driver.

Colour me confused, it works again. I'll bear those advices in mind if and when it happens again.

Cheers