Hi Przemo, On Tue, Feb 16, 2010 at 10:00:20PM +0000, Przemo Firszt wrote: > Hi, > I'm developing device driver for a bluetooth device. I need to report > battery state/ac plugged status via input_event function. I've 2 ideas > what event I could use: EV_MSC/MSC_RAW or define something for EV_PWR > i.e.: > PWR_BAT for reporting battery operation, > PWR_AC for ac connected and > PWR_STT for battery state. > > There are some definitions in HID usage tables in HID specification, but > I cannot see any of them implemented in kernel (or I omitted something). I maintain that these kind of events are outside of input subsystem doman (which I would like to limit to human interfaces, not general purpose transport). -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html