Xinput isn't prepared to handle these very device dependent informations very well. I have a new xf86misc extension in mind which can be used to configure device dependent parameters and retreive device dependent information from devices. Unfortunately I have been side tracked too much lately that I didn't have time to look into this. Once this extension is in place it may be used to reteive this information.
> > I'm writing about PS/2 mice, not USB. And the info is there, have a look here: > http://www.dqcs.com/logitech/PS2ppSpec.htm > and I have no problem retrieving it, for example using this simple patch over > mouse.c: > @@ -1416,6 +1416,9 @@ > dw = (pBuf[2] & 0x08) ? (pBuf[2] & 0x0f) - 16 : > (pBuf[2] & 0x0f); > break; > + case 5: /* wireless status type packet */ > + xf86Msg(X_INFO, "%s: battery level: %d, RF channel: %d\n", > pInfo->name, > + pBuf[2] & 0x07, (pBuf[2] >> 3) & 0x07); > case 0: /* device type packet - shouldn't happen */ > default: > buttons |= (pMse->lastButtons & ~0x07); > > (I have Logitech Cordless MouseMan Optical). What the problem is is getting > the info from the driver to a client (once it has been read from the mouse). > Does this mouse use the Mouseman+ protocol? We can add something like this to the driver but we may have to add a new mouse type for the Logitech mice as these bits may code something else on another (non-Logitech) mouse or is this an 'official' extension of the Mouseman+ protocol? Egbert. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel