On Sun, 21 Jun 2015 20:16:08 +0200
Martin Pieuchot <[email protected]> wrote:

> On 21/06/15(Sun) 19:54, Martin Pieuchot wrote:
> > On 21/06/15(Sun) 12:25, Adam Wolk wrote:
> > > Hi misc@,
> > > 
> > > I'm running -current amd64 snapshot from 19th Jun, this laptop
> > > went through 9 snapshots so far.
> > > 
> > > During all upgrades the built-in camera in the laptop was
> > > always detected and displayed as configured. I had no need
> > > to use it so didn't test if it actually works.
> > > [...] 
> > > Running video(1) results in the following line appearing in dmesg:
> > > uvideo0: could not open VS pipe: INVAL
> > > 
> > > This was consistent behaviour for the past 2 snapshots and I
> > > believe that it always behaved this way but I didn't test older
> > > ones. I doubt this is a regression of any kind.
> > 
> > It is not a regression.  The problem is that your camera is attached
> > to an xHCI controller and the xhci(4) driver still lack support for
> > Isochronous transfer.  
> > 
> > > The interesting bit happened yesterday. I wanted to leave the
> > > laptop on overnight but didn't want it to drain power so enabled
> > > apmd, set apm -C and hit zzz.
> > > 
> > > Before going off I decided to test if it's possible to even wake
> > > up from that state. So hit space, the laptop started waking up
> > > and I noticed the webcam led blinking once shortly. Decided to
> > > test video(1) again and behold, a webcam window appeared with my
> > > half asleep face on it.
> > > 
> > > Does anyone have an idea what might be different when waking up
> > > from zzz compared to the regular initialization that the system
> > > does during boot?
> > 
> > If you carefully look at your dmesg you'll see that:
> > 
> > - uvideo0 at uhub0 port 6 configuration 1 interface 0 "J58E8R30X
> > Lenovo EasyCamera" rev 2.00/0.06 addr 4
> > + uvideo0 at uhub2 port 6 configuration 1 interface 0 "J58E8R30X
> > Lenovo EasyCamera" rev 2.00/0.06 addr 4
> > 
> > Here uhub2 is the rate match hub below your ehci(4) whereas uhub0
> > is the root hub of xhci(4).  In other words after resuming your
> > machine your camera appears to be on a different bus...
> > 
> > Alternatively you can run usbdevs(8) before and after suspending an
> > see the difference.  Now I don't know why/how this happens.
> 
> After looking at Linux' sources it seems that some BIOSes that do not
> support xHCI route your USB ports back to an EHCI controller during
> suspend/resume.
> 
> Could you test the diff below and let me know if your uvideo(4) stays
> on the same bus after resuming?
> 

Sure thing, test results below (tl;dr it sticks to the same bus).

> Index: xhci_pci.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 xhci_pci.c
> --- xhci_pci.c        30 Oct 2014 18:25:08 -0000      1.5
> +++ xhci_pci.c        21 Jun 2015 18:10:57 -0000
> @@ -61,17 +61,19 @@ struct xhci_pci_softc {
>       struct xhci_softc       sc;
>       pci_chipset_tag_t       sc_pc;
>       pcitag_t                sc_tag;
> +     pcireg_t                sc_id;
>       void                    *sc_ih;         /*
> interrupt vectoring */ };
>  
>  int  xhci_pci_match(struct device *, void *, void *);
>  void xhci_pci_attach(struct device *, struct device *, void
> *); int       xhci_pci_detach(struct device *, int);
> +int  xhci_pci_activate(struct device *, int);
>  void xhci_pci_takecontroller(struct xhci_pci_softc *, int);
>  
>  struct cfattach xhci_pci_ca = {
>       sizeof(struct xhci_pci_softc), xhci_pci_match,
> xhci_pci_attach,
> -     xhci_pci_detach, xhci_activate
> +     xhci_pci_detach, xhci_pci_activate
>  };
>  
>  int
> @@ -92,10 +94,10 @@ xhci_pci_port_route(struct xhci_pci_soft
>  {
>       pcireg_t val;
>  
> -     /* 
> +     /*
>        * Check USB3 Port Routing Mask register that indicates the
> ports
>        * can be changed from OS, and turn on by USB3 Port SS
> Enable register.
> -      */ 
> +      */
>       val = pci_conf_read(psc->sc_pc, psc->sc_tag,
> PCI_XHCI_INTEL_USB3PRM); DPRINTF(("%s: USB3PRM / USB3.0 configurable
> ports: 0x%08x\n", psc->sc.sc_bus.bdev.dv_xname, val));
> @@ -106,7 +108,7 @@ xhci_pci_port_route(struct xhci_pci_soft
>           psc->sc.sc_bus.bdev.dv_xname, val));
>  
>       /*
> -      * Check USB2 Port Routing Mask register that indicates the
> USB2.0 
> +      * Check USB2 Port Routing Mask register that indicates the
> USB2.0
>        * ports to be controlled by xHCI HC, and switch them to
> xHCI HC. */
>       val = pci_conf_read(psc->sc_pc, psc->sc_tag,
> PCI_XHCI_INTEL_XUSB2PRM); @@ -142,6 +144,7 @@ xhci_pci_attach(struct
> device *parent, s 
>       psc->sc_pc = pa->pa_pc;
>       psc->sc_tag = pa->pa_tag;
> +     psc->sc_id = pa->pa_id;
>       psc->sc.sc_bus.dmatag = pa->pa_dmat;
>  
>       /* Handle quirks */
> @@ -189,16 +192,8 @@ xhci_pci_attach(struct device *parent, s
>               goto disestablish_ret;
>       }
>  
> -     switch (PCI_VENDOR(pa->pa_id)) {
> -     case PCI_VENDOR_INTEL:
> -             switch (PCI_PRODUCT(pa->pa_id)) {
> -             case PCI_PRODUCT_INTEL_8SERIES_XHCI:
> -             case PCI_PRODUCT_INTEL_8SERIES_LP_XHCI:
> -             case PCI_PRODUCT_INTEL_7SERIES_XHCI:
> -                     xhci_pci_port_route(psc);
> -                     break;
> -             }
> -     }
> +     if (PCI_VENDOR(psc->sc_id) == PCI_VENDOR_INTEL)
> +             xhci_pci_port_route(psc);
>  
>       /* Attach usb device. */
>       config_found(self, &psc->sc.sc_bus, usbctlprint);
> @@ -233,6 +228,24 @@ xhci_pci_detach(struct device *self, int
>       }
>       return (0);
>  }
> +
> +int
> +xhci_pci_activate(struct device *self, int act)
> +{
> +     struct xhci_pci_softc *psc = (struct xhci_pci_softc *)self;
> +
> +     switch (act) {
> +     case DVACT_RESUME:
> +             if (PCI_VENDOR(psc->sc_id) == PCI_VENDOR_INTEL)
> +                     xhci_pci_port_route(psc);
> +             break;
> +     default:
> +             break;
> +     }
> +
> +     return (xhci_activate(self, act));
> +}
> +
>  
>  void
>  xhci_pci_takecontroller(struct xhci_pci_softc *psc, int silent)

Before the patch after resume usbdevs stated:

$
usbdevs addr 1: xHCI root hub, Intel
 addr 2: USB2.0-CRW, Generic
addr 1: EHCI root hub, Intel
 addr 2: Rate Matching Hub, Intel
  addr 3: USB Device, COMPANY
  addr 4: Lenovo EasyCamera, J58E8R30X
  addr 5: product 0x3004, Atheros Communications
$ 

With the patch applied, resuming from 'zzz' keeps the camera
in a non working state (though the led blinks when waking up).

First command done after a fresh boot into the recompiled kernel.

$ usbdevs                                                                      
addr 1: xHCI root hub, Intel
 addr 2: USB Device, COMPANY
 addr 3: USB2.0-CRW, Generic
 addr 4: Lenovo EasyCamera, J58E8R30X
 addr 5: product 0x3004, Atheros Communications
addr 1: EHCI root hub, Intel
 addr 2: Rate Matching Hub, Intel
$ video                                                                         
                                                                                
                  
video: poll error, revents=0x8
$ su -
Password:
# /etc/rc.d/apmd -f start                                                       
                                                                                
                  
apmd(ok)
# apm -C 
# zzz
Suspending system...
# exit
$ usbdevs                                                                       
                                                                                
                  
addr 1: xHCI root hub, Intel
 addr 2: USB Device, COMPANY
 addr 3: USB2.0-CRW, Generic
 addr 4: Lenovo EasyCamera, J58E8R30X
 addr 5: product 0x3004, Atheros Communications
addr 1: EHCI root hub, Intel
 addr 2: Rate Matching Hub, Intel
$ video                                                                         
                                                                                
                  
video: poll error, revents=0x8
$ sysctl kern.version                                                           
                                                                                
                  
kern.version=OpenBSD 5.8-beta (GENERIC.MP) #3: Sun Jun 21 20:39:28 CEST 2015
    root@napalm:/usr/src/sys/arch/amd64/compile/GENERIC.MP


New dmesg after reboot:
syncing disks... done
rebooti
OpenBSD 5.8-beta (GENERIC.MP) #3: Sun Jun 21 20:39:28 CEST 2015
    root@napalm:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80<clock_battery>
real mem = 8464887808 (8072MB)
avail mem = 8204460032 (7824MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6e40 (38 entries)
bios0: vendor LENOVO version "9ACN29WW" date 10/20/2014
bios0: LENOVO 20351
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC UEFI FPDT POAT ASF! HPET APIC MCFG WDAT SSDT BOOT 
LPIT ASPT DBGP SSDT SSDT SSDT SSDT
acpi0: wakeup devices P0P1(S4) UAR1(S3) EHC1(S3) XHC_(S3) HDEF(S4) TPD4(S4) 
TPD7(S0) TPD8(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.88 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP03)
acpiprt3 at acpi0: bus 2 (RP04)
acpiprt4 at acpi0: bus 3 (RP05)
acpiprt5 at acpi0: bus -1 (PEG0)
acpiprt6 at acpi0: bus -1 (PEG1)
acpiprt7 at acpi0: bus -1 (PEG2)
acpiec0 at acpi0
acpicpu0 at acpi0: !C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: !C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: !C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: AMD3, resource for RP05
acpipwrres1 at acpi0: AMD2, resource for RP05
acpibat0 at acpi0: BAT0 serial BAT20101001 oem "Lenovo IdeaPad"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 1895 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2000, 
1900, 1800, 1600, 1500, 1400, 1200, 1100, 1000, 800, 754 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 100000
error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle 
patterns
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle 
patterns
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: msi
azalia0: No codecs found
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
azalia1: codecs: Conexant/0x510f
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x10: RTL8168GU/8111GU 
(0x5080), msi, address 68:f7:28:39:b2:85
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi
pci2 at ppb1 bus 2
"Atheros AR9565" rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi
pci3 at ppb2 bus 3
3:0:0: mem address conflict 0xfffe0000/0x20000
"ATI Radeon HD 8500M" rev 0x00 at pci3 dev 0 function 0 not configured
ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD10JPCX-24U, 01.0> SCSI3 0/direct 
fixed naa.50014ee60528f927
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus1 targ 1 lun 0: <PLDS, DVD-RW DA8A6SH, GL61> ATAPI 5/cdrom 
removable
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhidev0 at uhub0 port 3 configuration 1 interface 0 "COMPANY USB Device" rev 
1.10/6b.35 addr 2
uhidev0: iclass 3/0, 7 report ids
uhid0 at uhidev0 reportid 7: input=15, output=0, feature=71
uhidev1 at uhub0 port 3 configuration 1 interface 1 "COMPANY USB Device" rev 
1.10/6b.35 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 8 buttons, Z dir
wsmouse1 at ums0 mux 0
ugen0 at uhub0 port 4 "Generic USB2.0-CRW" rev 2.00/39.60 addr 3
uvideo0 at uhub0 port 6 configuration 1 interface 0 "J58E8R30X Lenovo 
EasyCamera" rev 2.00/0.06 addr 4
video0 at uvideo0
ugen1 at uhub0 port 7 "Atheros Communications product 0x3004" rev 1.10/0.01 
addr 5
uhub2 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ec584bbe45ede0d3.a) swap on sd0b dump on sd0b
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
uvideo0: could not open VS pipe: INVAL
error: [drm:pid17335:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid17335:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
error: [drm:pid17335:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid22081:i915_write8] *ERROR* Unknown unclaimed register before 
writing to 3b4
uhid0 detached
uhidev0 detached
wsmouse1 detached
ums0 detached
uhidev1 detached
ugen0 detached
video0 detached
uvideo0 detached
ugen1 detached
uhub0 detached
uhub2 detached
uhub1 detached
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
error: [drm:pid22081:i915_write32] *ERROR* Unclaimed write to 70030
error: [drm:pid22081:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid22081:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
error: [drm:pid22081:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
uhidev0 at uhub0 port 3 configuration 1 interface 0 "COMPANY USB Device" rev 
1.10/6b.35 addr 2
uhidev0: iclass 3/0, 7 report ids
uhid0 at uhidev0 reportid 7: input=15, output=0, feature=71
uhidev1 at uhub0 port 3 configuration 1 interface 1 "COMPANY USB Device" rev 
1.10/6b.35 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 8 buttons, Z dir
wsmouse1 at ums0 mux 0
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
ugen0 at uhub0 port 4 "Generic USB2.0-CRW" rev 2.00/39.60 addr 3
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:intel_dp_set_link_train] *ERROR* Timed out waiting for DP 
idle patterns
error: [drm:pid27979:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
uvideo0 at uhub0 port 6 configuration 1 interface 0 "J58E8R30X Lenovo 
EasyCamera" rev 2.00/0.06 addr 4
video0 at uvideo0
ugen1 at uhub0 port 7 "Atheros Communications product 0x3004" rev 1.10/0.01 
addr 5
uhub2 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2
uvideo0: could not open VS pipe: INVAL

Reply via email to