Fix "timeout initializing reports" and speed up boot

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
powerhouse
Level 5
Level 5
Posts: 986
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Fix "timeout initializing reports" and speed up boot

Postby powerhouse » Wed Jan 22, 2014 8:16 am

I'm currently running LM16 and noticed that booting from SSD took much too long ~ 30 seconds!

Checking the dmesg log file under /var/log shows a 7 second delay in initializing an USB device :( . Here is the relevant section in dmesg:

Code: Select all

[   10.607141] hid-generic 0003:058F:9410.0007: input,hidraw4: USB HID v1.10 Keyboard [USB Multimedia Keyboard] on usb-0000:00:1d.0-1.3.3/input0
[   10.611668] input: USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.3/2-1.3.3:1.1/input/input7
[   10.611987] hid-generic 0003:058F:9410.0008: input,hidraw5: USB HID v1.10 Device [USB Multimedia Keyboard] on usb-0000:00:1d.0-1.3.3/input1
[   17.645726] hid-generic 0003:058F:9410.0002: usb_submit_urb(ctrl) failed: -1
[   17.645749] hid-generic 0003:058F:9410.0002: timeout initializing reports
[   17.645916] input: USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1/input/input8


Note the following message after the 7 second delay:

[ 17.645749] hid-generic 0003:058F:9410.0002: timeout initializing reports

This issue can be solved by adding the following grub command line option to your existing options in /etc/default/grub and changing the hexadecimal numbers as explained below:

Code: Select all

    GRUB_CMDLINE_LINUX_DEFAULT="usbhid.quirks=0x058F:0x9410:0x20000000"

where 058F is the vendor ID and 9410 the product ID taken from the dmesg line here:
[ 17.645749] hid-generic 0003:058F:9410.0002: timeout initializing reports

Following is an example of a complete grub entry after adding the above option - most likely yours will look different:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="profile elevator=deadline usbhid.quirks=0x058F:0x9410:0x20000000 quiet nomodeset"


When done editing and saving the /etc/default/grub file, issue the following command:

Code: Select all

sudo update-grub


And here the result after reboot:

Code: Select all

[   10.216019] hid-generic 0003:058F:9410.0007: input,hidraw6: USB HID v1.10 Keyboard [USB Multimedia Keyboard] on usb-0000:00:1d.0-1.3.3/input0
[   10.219682] input: USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.3/2-1.3.3:1.1/input/input9
[   10.219889] hid-generic 0003:058F:9410.0008: input,hidraw7: USB HID v1.10 Device [USB Multimedia Keyboard] on usb-0000:00:1d.0-1.3.3/input1
[   10.624759] vesafb: mode is 1920x1200x32, linelength=7680, pages=0


Voila, gone are the 7 seconds delay :D .


Note: The "timeout initializing reports" message in dmesg may or may not be preceded with a failure message - the important part is the "timeout..."

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=907221
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Gigabyte GTX 970 + PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB + Samsung EVO 850 250GB SSD + 5 HDD, Corsair 500R case, SeaSonic 660W Gold X PS

starper
Level 1
Level 1
Posts: 8
Joined: Tue May 18, 2010 4:10 am

Re: Fix "timeout initializing reports" and speed up boot

Postby starper » Tue Sep 02, 2014 2:17 am

It's really working! Great thanks, best regards!
(Linux Mint 17 Cinnamon, kb BTC 5211AU)

powerhouse
Level 5
Level 5
Posts: 986
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Fix "timeout initializing reports" and speed up boot

Postby powerhouse » Wed Sep 10, 2014 11:42 pm

starper wrote:It's really working! Great thanks, best regards!
(Linux Mint 17 Cinnamon, kb BTC 5211AU)


Glad it helped. It's amazing, isn't it?
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Gigabyte GTX 970 + PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB + Samsung EVO 850 250GB SSD + 5 HDD, Corsair 500R case, SeaSonic 660W Gold X PS

iamapizza
Level 1
Level 1
Posts: 1
Joined: Sun Mar 29, 2015 11:54 am

Re: Fix "timeout initializing reports" and speed up boot

Postby iamapizza » Sun Mar 29, 2015 11:56 am

Thank you for this - these instructions worked for a Corsair M65 gaming mouse on Ubuntu 14.10 as well. I added

Code: Select all

usbhid.quirks=0x1B1C:0x1B12:0x20000000

powerhouse
Level 5
Level 5
Posts: 986
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Fix "timeout initializing reports" and speed up boot

Postby powerhouse » Wed Apr 01, 2015 5:42 am

iamapizza wrote:Thank you for this - these instructions worked for a Corsair M65 gaming mouse on Ubuntu 14.10 as well. I added

Code: Select all

usbhid.quirks=0x1B1C:0x1B12:0x20000000


That's good news. Thanks for posting the Corsair M65 gaming mouse ID!
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Gigabyte GTX 970 + PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB + Samsung EVO 850 250GB SSD + 5 HDD, Corsair 500R case, SeaSonic 660W Gold X PS

User avatar
Spearmint2
Level 14
Level 14
Posts: 5061
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Fix "timeout initializing reports" and speed up boot

Postby Spearmint2 » Wed Dec 21, 2016 5:23 pm

Have the exact same keyboard and exact same problem. This works.

mine

Code: Select all

lsusb
Bus 003 Device 123: ID 058f:9410 Alcor Micro Corp. Keyboard
Bus 003 Device 122: ID 04d9:a0cd Holtek Semiconductor, Inc.
Bus 003 Device 121: ID 8054:0001 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

powerhouse
Level 5
Level 5
Posts: 986
Joined: Thu May 03, 2012 3:54 am
Location: Israel
Contact:

Re: Fix "timeout initializing reports" and speed up boot

Postby powerhouse » Thu Dec 22, 2016 8:14 am

@Spearmint2: Isn't it a nice Christmas present? Glad it works for you too!
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Gigabyte GTX 970 + PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB + Samsung EVO 850 250GB SSD + 5 HDD, Corsair 500R case, SeaSonic 660W Gold X PS

User avatar
Spearmint2
Level 14
Level 14
Posts: 5061
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Fix "timeout initializing reports" and speed up boot

Postby Spearmint2 » Thu Dec 22, 2016 12:08 pm

powerhouse wrote:@Spearmint2: Isn't it a nice Christmas present? Glad it works for you too!

Yes. Now if I could get this wonky keyboard to also wake it up from sleep. I have a cheapy $10 ON keyboard I bought at walmart, and it works perfectly in Linux to do it all. This keyboard is about $45 and mechanical and cranky as it can be about working properly. I'm thinking it would help if it had some "stay alive" tweak built into it.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests