From: David Woodhouse Date: Fri, 23 Dec 2005 16:41:41 +0000 (+0000) Subject: [PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices X-Git-Tag: v2.6.16-rc1~474^2~22^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9714c845c0681a203a9ae22aa5165ec72c51d33;p=pandora-kernel.git [PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices I looked at the userspace code which uses the LPIOC_GET_DEVICE_ID ioctl and I almost went blind. Let's export it in sysfs instead, and just as a string instead of with a big-endian length at the beginning of it. This also prints the message about finding the printer _after_ we know the minor device number it's going to have, rather than reporting all printers as 'usblp0'. Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed