From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 26 Mar 2004 23:11:05 +0000 Subject: Re: input.agent bits parse bug Message-Id: <20040326231104.GI31372@kroah.com> List-Id: References: <87wu5o7h35.wl@ukai.org> In-Reply-To: <87wu5o7h35.wl@ukai.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Mar 14, 2004 at 03:11:10AM +0900, Fumitoshi UKAI wrote: > Hi, > > Recent version of input.agent has some problems parsing modules.inputmap. > From module-init-tools's code, modules.inputmap will have the following > format > > name number of unsigned int > evBits 1 > keyBits 16 > relBits 1 > > absBits 2 > mscBits 1 > ledBits 1 > sndBits 1 > ffBits 4 > > for each unsigned int value, it is printed by using format string "%lx" > concatinated by ':' > > So, keyBits, absBits and ffBits can't be parsed as $(($)) since it > is not simple integer. And other bits parameter should be parsed as > $((0x$)) instead of $(($)) because it is not decimal, but hex value. > > I think input.agent should be fixed as follows: You already fixed this in cvs, by using input_match_bits(), right? thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel