On Fri, Mar 29, 2013 at 11:06:11PM +0000, Ben Hutchings wrote:
> Control: retitle -1 Many HID drivers not included in initramfs
> Control: reassign -1 initramfs-tools 0.109
> Control: severity -1 serious
> 
> On Wed, 2013-03-27 at 14:02 -0700, Josh Triplett wrote:
> > found 697619 3.8.2-1~experimental.1
> > thanks
> > 
> > On Sun, Jan 20, 2013 at 01:12:52AM +0000, Ben Hutchings wrote:
> > > On Sat, 2013-01-19 at 16:16 -0800, Josh Triplett wrote:
> > > > On Sat, Jan 19, 2013 at 10:37:43PM +0000, Ben Hutchings wrote:
> > > > > On Mon, 2013-01-07 at 09:23 -0800, Josh Triplett wrote:
> > > > > > Package: src:linux
> > > > > > Version: 3.7.1-1~experimental.1
> > > > > > Severity: grave
> > > > > > 
> > > > > > The 3.7 kernel in experimental no longer accepts input from a USB
> > > > > > keyboard at the initramfs passphrase prompt for an encrypted root.  
> > > > > > This
> > > > > > works fine with the 3.6 kernel currently in latest unstable, which I
> > > > > > booted to make this report.
> > > > > [...]
> > > > [    1.555303] usb 1-1.3: new low-speed USB device number 4 using 
> > > > xhci_hcd
> > > > [    1.585030] usb 1-1.3: New USB device found, idVendor=17ef, 
> > > > idProduct=6009
> > > > [    1.585129] usb 1-1.3: New USB device strings: Mfr=1, Product=2, 
> > > > SerialNumber=0
> > > > [    1.585202] usb 1-1.3: Product: ThinkPad USB Keyboard with TrackPoint
> > > > [    1.585263] usb 1-1.3: Manufacturer: Lite-On Technology Corp.
> > > 
> > > Keyboard is detected.
> > > 
> > > > [    1.585475] usb 1-1.3: ep 0x81 - rounding interval to 64 
> > > > microframes, ep desc says 80 microframes
> > > > [    1.585553] usb 1-1.3: ep 0x82 - rounding interval to 64 
> > > > microframes, ep desc says 80 microframes
> > > 
> > > This looks suspicious.
> > 
> > This doesn't appear anymore.
> > 
> > > [...]
> > > > [   67.355998] input: Lite-On Technology Corp. ThinkPad USB Keyboard 
> > > > with TrackPoint as 
> > > > /devices/pci0000:00/0000:00:1c.6/0000:0e:00.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
> > > > [   67.356067] lenovo_tpkbd 0003:17EF:6009.0001: input,hidraw0: USB HID 
> > > > v1.10 Keyboard [Lite-On Technology Corp. ThinkPad USB Keyboard with 
> > > > TrackPoint] on usb-0000:0e:00.0-1.3/input0
> > > > [   67.356223] Bluetooth: SCO socket layer initialized
> > > > [   67.359576] input: Lite-On Technology Corp. ThinkPad USB Keyboard 
> > > > with TrackPoint as 
> > > > /devices/pci0000:00/0000:00:1c.6/0000:0e:00.0/usb1/1-1/1-1.3/1-1.3:1.1/input/input5
> > > > [   67.360128] lenovo_tpkbd 0003:17EF:6009.0002: input,hiddev0,hidraw1: 
> > > > USB HID v1.10 Mouse [Lite-On Technology Corp. ThinkPad USB Keyboard 
> > > > with TrackPoint] on usb-0000:0e:00.0-1.3/input1
> > > [...]
> > > 
> > > Could you test with the keyboard plugged into a non-USB 3 port, assuming
> > > there is one?  Usually the USB 3 ports are distinguished by some blue
> > > colouration.
> > 
> > Fairly certain that the USB port on the dock that I plugged it into did
> > not do USB3, but I tried it on a port that I *know* doesn't do USB3 and
> > it still didn't work.
> 
> Got it: this device is now handled by the new hid-lenovo-tpkbd module,
> which isn't included in the initramfs.
> 
> This isn't really a new problem, though - it's just affecting yet
> another device that got a special driver not on the list.
> 
> The hid driver has an option to use the generic code for all HID
> devices, so you should be able to work around this by putting
> hid.ignore_special_drivers=1 on the kernel command line.  But
> initramfs-tools should not set this option because there's no way to
> switch over to the specialised module once the real root is mounted.
> 
> I think that instead of including specific hid modules, initramfs-tools
> must include everything under drivers/hid, but exclude those that are
> known not to be keyboard drivers.  This is basically the same approach
> that's used for network drivers now.

Makes sense, though it seems unfortunate that the generic HID driver
can't hand off to a more specialized one after boot, given that the
generic driver has all the functionality needed to enter a passphrase.

- Josh Triplett


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to