On Sat, 7 Apr 2007 03:12:49 -0700 [EMAIL PROTECTED] wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=8310 > > Summary: USB device names are not sanitized for UTF-8 > Kernel Version: 2.6.21-rc5 > Status: NEW > Severity: normal > Owner: [EMAIL PROTECTED] > Submitter: [EMAIL PROTECTED] > > > The USB layer will output text device names "as is", sometimes not in 7bit > ASCII > or UTF-8 but ISO-8859-1 > > These names are reused by the xorg evdev driver to identify devices: > > Section "InputDevice" > Identifier "track-expl" > Driver "evdev" > Option "Protocol" "evdev" > Option "Name" "Microsoft Microsoft Trackball Explorer_" > Option "ZAxisMapping" "4 5" > Option "Buttons" "7" > EndSection > > evdev matching requires the "Name" string match byte-to-byte to the string > exposed by the kernel > > That means finding a way to create a ISO-8859-1 conf file on a UTF-8 distro > (not > easy nowadays) > > Also all the Xorg.conf tools will rewrite the file in UTF-8 at the slightest > opportunity, breaking the matching and killing X startup. Some of the commonly > installed tools rewrite the file at each boot, and you get to fix X setup > manually every time > > Can't the USB layer filter byte strings that are incompatible with today's > main > Linux encoding ?
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel