Mark Kettenis <[email protected]> writes:

>> From: [email protected] (Timo =?utf-8?Q?Myyr=C3=A4?=)
>> Date: Thu, 31 Dec 2015 13:01:45 +0200
>> 
>> Mark Kettenis <[email protected]> writes:
>> 
>> > Can you try the diff below in addition to the previous diff?
>> >
>> > Thanks,
>> >
>> > Mark
>> 
>> 
>> Applying this diff fixes the display but curiously breaks my USB
>> keyboard.  The keyboard ceases to work after bootloader. USB mouse
>> works just fine though.  If I disable inteldrm on boot the keyboard
>> works fine.
>
> Please send me a new dmesg of the machine with both radeondrm(4) and
> inteldrm(4) *enabled*.
>
> This might actually be expected behaviour.  You now effectively have
> two glass consoles: wsdisplay0 and wsdisplay1.  The keyboard attaches
> to one of those, for example:
>
>   ukbd0 at uhidev0: 8 variable keys, 6 key codes
>   wskbd0 at ukbd0: console keyboard, using wsdisplay0
>
> Now if you've connected your monitor to wsdisplay1 and your keyboard
> attaches to wsdisplay0, it will appear not to work.
>
> You can easily identify which display you'relooking at.  If the login
> greeting shows ttyC0, you're looking at wsdisplay0, if it shows ttyD0,
> you're looking at wsdisplay1.
>
> In any case, I went ahead and committed the diffs as they are a clear
> improvement over a black screen ;).
>
> Cheers,
>
> Mark

Here's the dmesg:

OpenBSD 5.9-beta (GENERIC.MP) #2: Thu Dec 31 12:51:46 EET 2015
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8481976320 (8089MB)
avail mem = 8220786688 (7839MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0f0 (28 entries)
bios0: vendor American Megatrends Inc. version "P1.60" date 07/13/2011
bios0: ASRock Z68 Pro3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG AAFT HPET SLIC
acpi0: wakeup devices CIR_(S3) PS2K(S4) PS2M(S4) UAR1(S4) BR20(S4) EUSB(S4) 
USBE(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PE2P(S4) PEX5(S4) 
PEX6(S4) PEX7(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 3293.00 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,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.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 3292.53 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 3292.53 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 3292.53 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (BR20)
acpiprt2 at acpi0: bus 2 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus 3 (PEX4)
acpiprt6 at acpi0: bus 4 (PE2P)
acpiprt7 at acpi0: bus 5 (PEX5)
acpiprt8 at acpi0: bus 6 (PEX6)
acpiprt9 at acpi0: bus 7 (PEX7)
acpiprt10 at acpi0: bus 1 (P0P1)
acpiprt11 at acpi0: bus -1 (P0P2)
acpiprt12 at acpi0: bus -1 (P0P3)
acpiprt13 at acpi0: bus -1 (P0P4)
acpicpu0 at acpi0: C3(350@104 mwait.3@0x20), C3(500@80 mwait.3@0x10), C1(1000@1 
halt), PSS
acpicpu1 at acpi0: C3(350@104 mwait.3@0x20), C3(500@80 mwait.3@0x10), C1(1000@1 
halt), PSS
acpicpu2 at acpi0: C3(350@104 mwait.3@0x20), C3(500@80 mwait.3@0x10), C1(1000@1 
halt), PSS
acpicpu3 at acpi0: C3(350@104 mwait.3@0x20), C3(500@80 mwait.3@0x10), C1(1000@1 
halt), PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3301, 3300, 3100, 2900, 2700, 2500, 
2300, 2100, 1900, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 6950" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaa80 rev 0x00: 
msi
azalia0: no supported codecs
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm1 at inteldrm0
inteldrm0: msi
inteldrm0: 1024x768
wsdisplay1 at inteldrm0 mux 1
wsdisplay1: screen 0-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia1: codecs: Realtek/0x0892
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 4 "Intel 82801BA Hub-to-PCI" rev 0xb5: msi
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x03
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: msi
pci5 at ppb4 bus 5
re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
(0x2c80), msi, address 00:25:22:e7:12:fc
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ppb5 at pci0 dev 28 function 6 "Intel 6 Series PCIE" rev 0xb5: msi
pci6 at ppb5 bus 6
xhci0 at pci6 dev 0 function 0 "Etron xHCI" rev 0x01: msi
usb1 at xhci0: USB revision 3.0
uhub1 at usb1 "Etron xHCI root hub" rev 3.00/1.00 addr 1
ppb6 at pci0 dev 28 function 7 "Intel 6 Series PCIE" rev 0xb5: msi
pci7 at ppb6 bus 7
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel Z68 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct fixed 
naa.5002538850086e91
sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD20EZRX-00D, 80.0> SCSI3 0/direct 
fixed naa.50014ee659138ece
sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-12800
spdmem1 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-12800
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0x290/8: NCT6776F
uhub3 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Yoyodyne Consulting UAC1 
DAC" rev 1.10/1.03 addr 2
uhidev0: iclass 3/0
uhid0 at uhidev0: input=18, output=27, feature=0
uaudio0 at uhub1 port 2 configuration 1 interface 1 "Yoyodyne Consulting UAC1 
DAC" rev 1.10/1.03 addr 2
uaudio0: audio rev 1.00, 2 mixer controls
audio1 at uaudio0
uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev1 at uhub4 port 1 configuration 1 interface 0 "Holtek USB Keyboard" rev 
1.10/3.90 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay1
uhidev2 at uhub4 port 1 configuration 1 interface 1 "Holtek USB Keyboard" rev 
1.10/3.90 addr 3
uhidev2: iclass 3/1, 2 report ids
uhid1 at uhidev2 reportid 1: input=6, output=0, feature=0
uhid2 at uhidev2 reportid 2: input=1, output=0, feature=0
uhidev3 at uhub4 port 2 configuration 1 interface 0 "Laview Technology Mionix 
Naos 7000" rev 2.00/1.35 addr 4
uhidev3: iclass 3/1, 1 report id
ums0 at uhidev3 reportid 1: 8 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhidev4 at uhub4 port 2 configuration 1 interface 1 "Laview Technology Mionix 
Naos 7000" rev 2.00/1.35 addr 4
uhidev4: iclass 3/0, 97 report ids
ukbd1 at uhidev4 reportid 2: 8 variable keys, 5 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay1
uhid3 at uhidev4 reportid 96: input=0, output=0, feature=63
uhid4 at uhidev4 reportid 97: input=0, output=0, feature=1040
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ca54803a3a893e5e.a) swap on sd0b dump on sd0b
radeondrm0: 1920x1200
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Reply via email to