Z97-P MB , communication error device

Asus Z97-P , bios 2803 (last one)

Antec power trio 430 W

Opensuse 13.1 x86_64 kernel 3.11.10

printer-scanner HP 1220
usb silitech usb keyboard
logitech usb mouse

with my old asus M2N no pb with my printer-scanner

since i upgraded to Z97-P i “get communication error device”

i can print .

i can’t scan .
the app find the scanner but when running a scan it says “waiting for scanner starting”

sometime my keyboard and mouse are suddenly disabled during a kde session but not the desktop environment .

one time my keyboard and mouse before bios session were enabled then after several seconds during bios session were disabled

not often but regularly sometime when rebooting during bios start (it says keyboard not detected) and linux start keyboard and mouse are disabled then enabled when linux start is finished.

i know there is something new with the MB : USB 3.0 . i wonder if it is the pb .

in bios usb settings there are 3 parameters about bios:

Legacy USB support (Enabled) : Enabled | Disabled

Intel xHCI mode (Smart auto) : Smart auto | auto | Enabled | Disabled

EHCI Hand-off (Disabled) : Enabled | Disabled

what are the best usb settings according to resolve my problems ?

thanks

some info

linux-b4lz:~ # lsusb
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 003 Device 002: ID 046d:081b Logitech, Inc. Webcam C310
Bus 003 Device 008: ID 03f0:0417 Hewlett-Packard LaserJet 1200 series
Bus 003 Device 007: ID 0443:000c Gateway, Inc.
Bus 003 Device 006: ID 0443:000d Gateway, Inc.
Bus 003 Device 005: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 004: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

linux-b4lz:~ # dmesg | grep xhci
0.863312] xhci_hcd 0000:00:14.0: setting latency timer to 64
0.863314] xhci_hcd 0000:00:14.0: xHCI Host Controller
0.863318] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
0.863466] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
0.863480] xhci_hcd 0000:00:14.0: irq 42 for MSI/MSI-X
0.863520] usb usb3: Manufacturer: Linux 3.11.10-29-desktop xhci_hcd
0.863578] xHCI xhci_add_endpoint called for root hub
0.863579] xHCI xhci_check_bandwidth called for root hub
0.865030] xhci_hcd 0000:00:14.0: xHCI Host Controller
0.865033] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
0.865053] usb usb4: Manufacturer: Linux 3.11.10-29-desktop xhci_hcd
0.865273] xHCI xhci_add_endpoint called for root hub
0.865274] xHCI xhci_check_bandwidth called for root hub
1.218582] usb 3-6: new high-speed USB device number 2 using xhci_hcd
1.603223] usb 3-7: new full-speed USB device number 3 using xhci_hcd
1.769485] usb 3-12: new high-speed USB device number 4 using xhci_hcd
1.935760] usb 3-13: new low-speed USB device number 5 using xhci_hcd
2.106067] usb 3-14: new full-speed USB device number 6 using xhci_hcd
2.393622] usb 3-14.1: new full-speed USB device number 7 using xhci_hcd
494.178042] usb 3-5: new full-speed USB device number 8 using xhci_hcd
linux-b4lz:~ # lsmod | grep -i hci
xhci_hcd 108655 0

linux-b4lz:~ # lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 5: Dev 8, If 0, Class=Printer, Driver=, 12M
|__ Port 6: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 6: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 6: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 6: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 7: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 7: Dev 3, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 7: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 7: Dev 3, If 3, Class=Application Specific Interface, Driver=, 12M
|__ Port 12: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 13: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 14: Dev 6, If 0, Class=Hub, Driver=hub/2p, 12M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M

linux-b4lz:~ # lspci | grep USB
00:14.0 USB controller: Intel Corporation Device 8cb1
00:1a.0 USB controller: Intel Corporation Device 8cad
00:1d.0 USB controller: Intel Corporation Device 8ca6

i get same pb with Leap 42.1 and its kernel 4.1.12

when i switch on the printer in “messages” i get this :

2015-11-12T17:38:09.724899+01:00 linux-b4lz kernel: 1074.956616] usb 3-5: new full-speed USB device number 8 using xhci_hcd
2015-11-12T17:38:09.736859+01:00 linux-b4lz kernel: 1074.969183] usb 3-5: New USB device found, idVendor=03f0, idProduct=0417
2015-11-12T17:38:09.736875+01:00 linux-b4lz kernel: 1074.969191] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2015-11-12T17:38:09.736878+01:00 linux-b4lz kernel: 1074.969196] usb 3-5: Product: HP LaserJet 1220
2015-11-12T17:38:09.736879+01:00 linux-b4lz kernel: 1074.969200] usb 3-5: Manufacturer: HewLett Packard
2015-11-12T17:38:09.736881+01:00 linux-b4lz kernel: 1074.969203] usb 3-5: SerialNumber: 00CNCK053755
2015-11-12T17:38:09.736882+01:00 linux-b4lz kernel: 1074.969435] usb 3-5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
2015-11-12T17:38:09.741200+01:00 linux-b4lz logger: udev hpmud.rules runs hp-firmware to test if HP device with USB vendor ID 03f0 and USB product ID 0417 at USB bus ID 003 and USB device ID 008 needs firmware and if yes to upload it
2015-11-12T17:38:09.855550+01:00 linux-b4lz python: io/hpmud/musb.c 2165: [5420] hpmud_make_usb_uri() bus=003 dev=008
2015-11-12T17:38:09.857193+01:00 linux-b4lz python: io/hpmud/musb.c 2262: hpmud_make_usb_uri() uri=hp:/usb/HP_LaserJet_1220?serial=00CNCK053755 bytes_read=44
2015-11-12T17:38:09.869699+01:00 linux-b4lz python: io/hpmud/musb.c 426: Found interface conf=0, iface=0, altset=1, index=1
2015-11-12T17:38:09.869904+01:00 linux-b4lz python: io/hpmud/musb.c 388: Active kernel driver on interface=0 ret=0
2015-11-12T17:38:09.870069+01:00 linux-b4lz python: io/hpmud/musb.c 531: claimed 7/1/2 interface
2015-11-12T17:38:09.870562+01:00 linux-b4lz python: io/hpmud/musb.c 775: read actual device_id successfully fd=1 len=128
2015-11-12T17:38:09.870829+01:00 linux-b4lz kernel: 1075.103499] usb 3-5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
2015-11-12T17:38:09.870947+01:00 linux-b4lz python: io/hpmud/musb.c 557: released 7/1/2 interface
2015-11-12T17:38:09.871075+01:00 linux-b4lz python: io/hpmud/musb.c 426: Found interface conf=0, iface=0, altset=1, index=1
2015-11-12T17:38:09.871197+01:00 linux-b4lz python: io/hpmud/musb.c 388: Active kernel driver on interface=0 ret=0
2015-11-12T17:38:09.871340+01:00 linux-b4lz python: io/hpmud/musb.c 531: claimed 7/1/2 interface
2015-11-12T17:38:09.871791+01:00 linux-b4lz python: io/hpmud/musb.c 775: read actual device_id successfully fd=1 len=128
2015-11-12T17:38:09.871827+01:00 linux-b4lz kernel: 1075.104728] usb 3-5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
2015-11-12T17:38:09.872143+01:00 linux-b4lz python: io/hpmud/musb.c 557: released 7/1/2 interface
2015-11-12T17:38:09.872312+01:00 linux-b4lz hp-firmware: hp-firmware[5420]: error: Device hp:/usb/HP_LaserJet_1220?serial=00CNCK053755 does not support or require firmware download.
2015-11-12T17:38:09.930228+01:00 linux-b4lz systemd[5273]: Starting Printer.
2015-11-12T17:38:09.930430+01:00 linux-b4lz systemd[3023]: Starting Printer.
2015-11-12T17:38:09.930561+01:00 linux-b4lz systemd[3023]: Reached target Printer.
2015-11-12T17:38:09.930695+01:00 linux-b4lz systemd[5273]: Reached target Printer.
2015-11-12T17:38:09.943116+01:00 linux-b4lz kernel: 1075.175538] usblp 3-5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0417
2015-11-12T17:38:09.943126+01:00 linux-b4lz kernel: 1075.175552] usbcore: registered new interface driver usblp
2015-11-12T17:38:09.950899+01:00 linux-b4lz systemd[1]: Starting Printer.
2015-11-12T17:38:09.951126+01:00 linux-b4lz systemd[1]: Reached target Printer.
2015-11-12T17:38:09.951435+01:00 linux-b4lz systemd[1]: Starting system-configure\x2dprinter.slice.
2015-11-12T17:38:09.951560+01:00 linux-b4lz systemd[1]: Created slice system-configure\x2dprinter.slice.
2015-11-12T17:38:09.951699+01:00 linux-b4lz systemd[1]: Starting Configure Plugged-In Printer…
2015-11-12T17:38:09.951853+01:00 linux-b4lz systemd[1]: Started Configure Plugged-In Printer.
2015-11-12T17:38:09.958120+01:00 linux-b4lz udev-configure-printer: add usb-003-008
2015-11-12T17:38:09.968369+01:00 linux-b4lz udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:14.0/usb3/3-5
2015-11-12T17:38:09.968588+01:00 linux-b4lz udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1220 SERN:- serial:00CNCK053755
2015-11-12T17:38:11.056865+01:00 linux-b4lz kernel: 1076.291105] usblp0: removed
2015-11-12T17:38:11.056875+01:00 linux-b4lz kernel: 1076.291120] usb 3-5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
2015-11-12T17:38:11.058829+01:00 linux-b4lz kernel: 1076.292849] usb 3-5: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
2015-11-12T17:38:11.059837+01:00 linux-b4lz kernel: 1076.294151] usblp 3-5:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0417
2015-11-12T17:38:11.086556+01:00 linux-b4lz udev-configure-printer: URI contains USB serial number
2015-11-12T17:38:11.086789+01:00 linux-b4lz udev-configure-printer: URI match: usb://HP/LaserJet%201220?serial=00CNCK053755
2015-11-12T17:38:11.086936+01:00 linux-b4lz udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201220?serial=00CNCK053755, normalized: laserjet 1220 serial 00cnck053755
2015-11-12T17:38:11.087073+01:00 linux-b4lz udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_1220?serial=00CNCK053755, normalized: laserjet 1220 serial 00cnck053755
2015-11-12T17:38:11.087213+01:00 linux-b4lz udev-configure-printer: Queue ipp://localhost/printers/HP_LaserJet_1220 has matching device URI
2015-11-12T17:38:11.087316+01:00 linux-b4lz udev-configure-printer: Re-enabled printer ipp://localhost/printers/HP_LaserJet_1220

if i understand well this

2015-11-12T17:38:09.724899+01:00 linux-b4lz kernel: 1074.956616] usb 3-5: new full-speed USB device number 8 using xhci_hcd

the driver XHCI is used for the printer .

but the printer is a 1.1 usb one . we expect UHCI not XHCI . right ?

making many tests i found this

Legacy USB support (Enabled) : Enabled | Disabled

set to Disabled

Intel xHCI mode (Smart auto) : Smart auto | Auto | Enabled | Disabled

set to Auto

EHCI Hand-off (Disabled) : Enabled | Disabled

i did not change the defalt value Disabled

what i understand about these parameters :

"Legacy USB support " is for old OS which don’t supplies USB driver

“Intel xHCI mode”

  • Auto : USB 3.controller enabled , USB 3.0 driver is not supplied for OS which gets one
  • Enabled : USB 3.0 controller enabled , USB 3.0 driver is supplied for OS which don’t get one
  • Disabled : USB 3.0 controller disabled

all the problems are resolved : keyboard , mouse , printer, scanner

finally :

  • to solve problems with keyboard and mouse

set “Intel xHCI mode” to “Auto”

  • to solve problem with printing a,d scanning

get a pci card wich adds usb ports

like this one

http://www.amazon.fr/gp/product/B00O0TR60Y?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s01