9front - general discussion about 9front
 help / color / mirror / Atom feed
* Thinkpad P50
@ 2017-08-29  8:37 inkswinc
  0 siblings, 0 replies; only message in thread
From: inkswinc @ 2017-08-29  8:37 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

Hi all,

With minor kernel changes I can pxe boot my p50 and get audio working,
and vesa does 4k out of the box, which is awesome.  Also tested VMX,
which seemed to work fine.  Excited for that.  Haven't yet tried
wireless or native graphics or anything else I can think of.  Volume
and screen brightness keys seem to require OS support and thus don't
work, not that that's much of a surprise on a modern laptop :/

But the biggest remaining problem is that after a while of disuse the
screen will turn off.  When I attempt keyboard or mouse activity to
force it to resume, the screen turns back on but stays black; it
doesn't redraw.  Not sure whether or not the screen is the only thing
going to sleep here, I think any playing audio is halted as well, but
I haven't yet confirmed this.

This happened both with/without '*acpi='; I've been slowly mucking
with bios settings to see if I can find whatever is causing this to
occur in the first place and disable it, but I'm not making much
progress.  If I could get some help with either finding the correct
BIOS setting or with getting 9front to resume properly, that'd be
great.

Either way, sysinfo and diff are attached.

- sam-d

[-- Attachment #2: kernel.patch --]
[-- Type: text/plain, Size: 1220 bytes --]

diff -r 562936b18926 sys/src/9/pc/audiohda.c
--- a/sys/src/9/pc/audiohda.c	Wed Aug 09 18:53:48 2017 +0200
+++ b/sys/src/9/pc/audiohda.c	Tue Aug 29 08:12:30 2017 +0000
@@ -1749,6 +1749,7 @@
 		case (0x8086 << 16) | 0x8c20:	/* Intel 8 Series/C220 Series */
 		case (0x8086 << 16) | 0x9c20:	/* Intel 8 Series Lynx Point */
 		case (0x8086 << 16) | 0x9ca0:	/* Intel Wildcat Point */
+		case (0x8086 << 16) | 0xa170:   /* Intel Sunrise Point-H */
 
 		case (0x10de << 16) | 0x026c:	/* NVidia MCP51 (untested) */
 		case (0x10de << 16) | 0x0371:	/* NVidia MCP55 (untested) */
@@ -1871,6 +1872,7 @@
 		case 0x8c20:
 		case 0x9c20:
 		case 0x9ca0:
+		case 0xa170:
 			pcicfgw16(p, 0x78, pcicfgr16(p, 0x78) & ~0x800);
 		}
 	}
diff -r 562936b18926 sys/src/9/pc/ether82563.c
--- a/sys/src/9/pc/ether82563.c	Wed Aug 09 18:53:48 2017 +0200
+++ b/sys/src/9/pc/ether82563.c	Tue Aug 29 08:12:30 2017 +0000
@@ -490,7 +490,7 @@
 [i210]		"i210",		9728,	F75|Fnofct|Fert,
 [i217]		"i217",		9728,	Fload|Fnofct|Fert|Fbadcsum,
 [i218]		"i218",		9728,	Fload|Fert|F79phy|Fnofct|Fbadcsum,
-[i219]		"i219",		9728,	Fload|Fert|F79phy|Fnofct,
+[i219]		"i219",		9728,	Fload|Fert|F79phy|Fnofct|Fbadcsum,
 [i350]		"i350",		9728,	F75|F79phy|Fnofct,
 };
 

[-- Attachment #3: sysinfo --]
[-- Type: text/plain, Size: 17201 bytes --]

% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*bootscreen = 3840x2160x32 x8r8g8b8 0x60000000 67108864
*e820 = 1 0x0000000000000000 0x000000000009d000 2 0x000000000009d000 0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000 0x0000000038a1b000 2 0x0000000038a1b000 0x000000004b8bc000 4 0x000000004b8bc000 0x000000004b8bd000 2 0x000000004b8bd000 0x0000000057f2a000 4 0x0000000057f2a000 0x0000000057fbf000 3 0x0000000057fbf000 0x0000000057fff000 2 0x0000000057fff000 0x0000000058100000 2 0x0000000058600000 0x000000005e800000 2 0x00000000e0000000 0x00000000f0000000 2 0x00000000fd000000 0x00000000fe800000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fed00000 0x00000000fed01000 2 0x00000000fed10000 0x00000000fed18000 2 0x00000000fed18000 0x00000000fed19000 2 0x00000000fed19000 0x00000000fed1a000 2 0x00000000fed84000 0x00000000fed85000 2 0x00000000fee00000 0x00000000fee01000 2 0x00000000ff800000 0x0000000100000000 1 0x0000000100000000 0x000000049f800000
bootfile = /amd64/9pc64i219badcsum
monitor = vesa
mouseport = ps2intellimouse
nobootprompt = tls
vgasize = 3840x2160x32

% cat '#'P/archctl
cpu P6 2713 pge
pge on
coherence mfence
cmpswap cmpswap486
arch _MP_
cache default wb
cache 0x80000000 2147483648 uc
cache 0x60000000 536870912 uc
cache 0x5c000000 67108864 uc
cache 0x5a000000 33554432 uc
cache 0x60000000 67108864 wc

% cat '#'P/irqalloc
          1           0 debugexc
          3           0 debugpt
          7           0 mathemu
          8           0 doublefault
          9           0 mathover
         14           0 faultamd64
         15           0 unexpected
         16           0 matherror
         19           0 simderror
         50          18 clock
         51          19 lapicerror
         63          31 lapicspurious
         65          11 ether0
         73           1 kbd
         81          11 hda
         89          10 xhci
         97          11 sdE (ahci)
        105          12 kbdaux

% cat '#'P/ioalloc
      20       21 i8259.0     
      40       43 i8253       
      60       60 i8042.data  
      61       61 i8253.cntr2c
      64       64 i8042.cs    
      70       71 rtc/nvr     
      a0       a1 i8259.1     
     2b0      2df vga         
     3c0      3da vga         
     fff      fff dummy       

% cat '#'c/config
# pc64 - amd64 pc terminal with local disk
dev
	root
	cons
	arch
	pnp		pci
	env
	pipe
	proc
	mnt
	srv
	shr
	dup
	rtc
	ssl
	tls
	cap
	kprof
	fs

	ether		netif
	ip		arp chandial ip ipv6 ipaux iproute netlog ethermedium nullmedium pktmedium inferno

	draw		screen vga vgax swcursor
	mouse		mouse
	kbd
	vga

	sd
#	floppy		dma
	aoe
#	lpt

	audio		dma
#	pccard
#	i82365		cis
	uart
	usb
	
	segment
	vmx

link
#	devpccard
#	devi82365
	cputemp
#	ether2000	ether8390
#	ether2114x	pci
#	ether589	etherelnk3
	ether79c970	pci
#	ether8003	ether8390
	ether8139	pci
	ether8169	pci ethermii
# should be obsoleted by igbe
#	ether82543gc	pci
#	ether82557	pci
	ether82563	pci
#	ether82598	pci
#	ether83815	pci
	etherbcm        pci
#	etherdp83820	pci
#	etherec2t	ether8390
#	etherelnk3	pci
#	etherga620	pci
	etherigbe	pci ethermii
#	ethervgbe	pci ethermii
#	ethervt6102	pci ethermii
#	ethervt6105m	pci ethermii
#	ethersink
#	ethersmc	devi82365 cis
	etheryuk	pci
#	etherwavelan	wavelan devi82365 cis pci
	etheriwl	pci wifi
	etherwpi	pci wifi
	etherrt2860	pci wifi
	ethervirtio	pci
	ethermedium
#	pcmciamodem
	netdevmedium
	loopbackmedium
	usbuhci
	usbohci
	usbehci		usbehcipc
	usbxhci		pci

#	audiosb16	dma
#	audioac97	audioac97mix
	audiohda

misc
	archacpi	mp apic squidboy ec
	archmp		mp apic squidboy
	mtrr

	sdaoe
	sdide		pci sdscsi
#	sd53c8xx	pci sdscsi
#	sdmylex		pci sdscsi
	sdiahci		pci sdscsi led
#	sdodin		pci sdscsi led
	sdvirtio	pci sdscsi
	sdmmc		pci pmmc
	sdnvme		pci
	sdloop

	uarti8250
	uartisa
#	uartpci		pci

#	vga3dfx		+cur
#	vgaark2000pv	+cur
#	vgabt485	=cur
#	vgaclgd542x	+cur
#	vgaclgd546x	+cur
#	vgact65545	+cur
#	vgacyber938x	+cur
#	vgaet4000	+cur
#	vgageode	+cur
#	vgahiqvideo	+cur
#	vgai81x		+cur
	vgaigfx		+cur
#	vgamach64xx	+cur
#	vgamga2164w	+cur
#	vgamga4xx	+cur
#	vganeomagic	+cur
#	vganvidia	+cur
#	vgaradeon	+cur
#	vgargb524	=cur
#	vgas3		+cur vgasavage
#	vgat2r4		+cur
#	vgatvp3020	=cur
#	vgatvp3026	=cur
	vgavesa
#	vgavmware	+cur

ip
	tcp
	udp
	rudp
	ipifc
	icmp
	icmp6
	gre
	ipmux
	esp
	il

port
	int cpuserver = 0;

bootdir
	/$objtype/bin/paqfs
	/$objtype/bin/auth/factotum
	bootfs.paq
	boot

% cat '#'c/swap
16506257408 memory
4096 pagesize
524288 kernel
12218/3747328 user
0/160000 swap
24499600/26001888/2138305280 kernel malloc
102152968/112788864/1924474752 kernel draw
5632/330528/16777216 kernel secret

% cat '#'c/sysstat
          0      354947      393716      489123       46988           0           0          12          99           0 
          1      366457      162058      715257       52873           0           0           0         100           0 
          2      293041      122084      328430       57708           0           0           0         100           0 
          3      286892      120239      304759       59750           0           0           0          99           0 

% awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
0x00020000 0x00086000 417792
0x004e9000 0x38a1b000 944971776
945389568 bytes free
cpu0: 2712MHz GenuineIntel P6 (AX 000506E3 CX 77FAFBFF DX BFEBFBFF)
LAPIC: fee00000 0xffffff00fee00000
ELCR: 0C00
cpu0: lapic clock at 24MHz
cpu1: 2712MHz GenuineIntel P6 (AX 000506E3 CX 77FAFBFF DX BFEBFBFF)
cpu2: 2712MHz GenuineIntel P6 (AX 000506E3 CX 77FAFBFF DX BFEBFBFF)
cpu3: 2712MHz GenuineIntel P6 (AX 000506E3 CX 77FAFBFF DX BFEBFBFF)
pcirouting: ignoring south bridge PCI.0.31.0 8086/A150
#l0: i219: 1000Mbps port 0xC5700000 irq 11: c85b76744982
#S/sdE: ahci: sata-II with 1 ports
#A0: hda mem ffffff00c5740000 irq 11
#A0: codec #0, vendor 10ec0298, rev 00100103
usbxhci: 0x8086 0xa12f: port 0xc5720000 size 0x10000 irq 10
15746M memory: 1108M kernel data, 14638M user, 15263M swap
sdE0: LLBA 500,118,192 sectors
  INTEL SSDSCKKF256H6L LBBFL10P CVLY632502Y4256J [newdrive]
i219: phy2 oui 0x5500
user[glenda]: 
secstore password: 
secstore: null password, skipping secstore login

!Adding key: dom=n3rd.haus proto=dp9ik
user[glenda]: 
password: 
!

!Adding key: proto=dp9ik dom=n3rd.haus
user[glenda]: 
password: 
!


% pci -v
0.0.0:	brg  06.00.00 8086/1910   0
	Intel Corporation Skylake Host Bridge/DRAM Registers
0.1.0:	brg  06.04.00 8086/1901  11
	Intel Corporation Skylake PCIe Controller (x16)
0.2.0:	vid  03.00.00 8086/191b  11 0:c2000004 16777216 2:6000000c 268435456 4:00005001 64
	Intel Corporation HD Graphics 530
0.20.0:	usb  0c.03.30 8086/a12f  10 0:c5720004 65536
	Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller
0.20.2:	sigl 11.80.00 8086/a131  11 0:c574a004 4096
	Intel Corporation Sunrise Point-H Thermal subsystem
0.22.0:	ser  07.80.00 8086/a13a  11 0:c574b004 4096
	Intel Corporation Sunrise Point-H CSME HECI #1
0.22.3:	ser  07.00.02 8086/a13d  11 0:00005081 16 1:c574f000 4096
	Intel Corporation Sunrise Point-H KT Redirection
0.23.0:	disk 01.06.01 8086/a102  11 0:c5748000 8192 1:c574e000 256 2:00005089 16 3:00005091 16 4:00005061 32 5:c574c000 2048
	Intel Corporation Sunrise Point-H SATA controller [AHCI mode]
0.28.0:	brg  06.04.00 8086/a110  11
	Intel Corporation Sunrise Point-H PCI Express Root Port #1
0.28.2:	brg  06.04.00 8086/a112  11
	Intel Corporation Sunrise Point-H PCI Express Root Port #3
0.28.4:	brg  06.04.00 8086/a114  11
	Intel Corporation Sunrise Point-H PCI Express Root Port #5
0.29.0:	brg  06.04.00 8086/a11c  11
	Intel Corporation Sunrise Point-H PCI Express Root Port #13
0.31.0:	brg  06.01.00 8086/a150   0
	Intel Corporation Sunrise Point-H LPC Controller
0.31.2:	mem  05.80.00 8086/a121   0
	Intel Corporation Sunrise Point-H PMC
0.31.3:	aud  04.03.00 8086/a170  11 0:c5740004 16384 4:c5730004 65536
	Intel Corporation Sunrise Point-H HD Audio
0.31.4:	smb  0c.05.00 8086/a123  11 0:c574d004 256 4:0000efa1 32
	Intel Corporation Sunrise Point-H SMBus
0.31.6:	net  02.00.00 8086/15b7  11 0:c5700000 131072
	Intel Corporation Ethernet Connection (2) I219-LM
1.0.0:	vid  03.00.00 10de/13b0  11 0:c3000000 16777216 1:b000000c 268435456 3:c000000c 33554432 5:00004001 128
	NVIDIA Corporation GM107GLM [Quadro M2000M]
4.0.0:	net  02.80.00 8086/24f3  11 0:c4c00004 8192
	Intel Corporation Wireless 8260
62.0.0:	---  ff.00.00 10ec/525a  11
	Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader

% aux/cpuid
vendor GenuineIntel
procmodel 000506e3 / 04100800
typefammod 0 06 056 3
features fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
features pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe 
features pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 
features sse4_2 x2apic movbe popcnt tscdeadline aes xsave avx f16c rdrnd 
features xsaveopt 
extmodel 00000000 / 00000000
extfeatures syscall nx pg1g tscp lm 
extfeatures ahf64 lzcnt 3dnow!p 
procname Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
physbits 39
virtbits 48

% aux/icanhasmsi
0.1.0
0.2.0
0.20.0
0.20.2
0.22.0
0.22.3
0.23.0
0.28.0
0.28.2
0.28.4
0.29.0
0.31.3
0.31.6
1.0.0
4.0.0
62.0.0

% aux/icanhasvmx -v
vmcsrev 0x4
vmxonsz 1024
vmcsmem 6
extcontrols 1
pin extirq nmiexit virtnmi preempt 
proc irqwin tscoffset hltexit invlpgexit mwaitexit rdpmcexit rdtscexit cr3ldexit 
proc cr3stexit cr8ldexit cr8stexit tprshadow nmiwin movdrexit ioexit iobitmap mtf 
proc msrbitmap monitorexit pauseexit 
proc2 virtapic ept gdtexit rdtscp virtx2apic vpid wbinvdexit unrestr pauseloopexit 
proc2 rdrandexit invpcid vmfunc vmcsshadow enclsexit rdseedexit pml #ve conceal xsave 
entry loaddebug guest64 entrysmm dualmonitor loadperfglobal loadpat loadefer loadbndcfgs 
entry concealentries 
exit savedebug host64 saveperfglobal ackextirq !savepat !loadpat saveefer loadefer 
exit savepreempt savebndcfgs concealexits 
misc preemptdiv:7 cr3targ:4 maxmsr:0 mseg:0x0
misc longmodeswitch hlt shutdown ipi pt rdmsrsmm smmblock vmwriteany zerolenswirq 
cr0fixed pe ne pg 
cr4fixed !umip vmxe !pke 
vmcsenum 0x2e
ept xonly pwl4 ucmem wbmem 2MBpage 1GBpage invept dirtybits invept.single invept.all 
vpid invvpid invvpid.addr invvpid.single invvpid.all invvpid.noglob 

% aux/pcmcia
pcmcia: opening #y/pcm0attr: unknown device in # filename

% cat '#'u/usb/ctl
ep1.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 16 xhci
ep2.0 enabled control rw speed super maxpkt 512 pollival 0 samplesz 0 hz 0 hub 0 port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 10 xhci
ep3.0 enabled control rw speed low maxpkt 8 pollival 0 samplesz 0 hz 0 hub 0 port 13 rootport 13 addr 1 busy
hid csp 0x000003 vid 0x0765 did 0x5010 none <nil> 21557 xhci
ep3.1 enabled interrupt r speed low maxpkt 8 pollival 10 samplesz 0 hz 0 hub 0 port 13 rootport 13 addr 1 busy

% cat '#'S/sdctl
sdE ahci ahci port 0xffffff00c574c000: 64a ncq ntf alp led clo am pmb slum pslum ems apts alhd xonly smb elmt iss 3 ncs 31 np 3 ghc 80000002 isr 0 pi 1 0 ver 10301

% cat '#'S/sdE0/ctl
inquiry INTEL SSDSCKKF256H6L
model	INTEL SSDSCKKF256H6L
serial	CVLY632502Y4256J
firm	LBBFL10P
wwn	55cd2e414d168d3a
flag	lba llba smart nop ata8 sct 
udma	6
reg	task 50 cmd c017 serr 0  ci 0 is 0 sig 101 sstatus 133
cmd	cr fr pod sud st 
mode	auto sataiii
geometry 500118192 512
alignment 512 0
missirq	0
part data 0 500118192
part esp 2048 206848
part msr 206848 468992
part dos 468992 468768768
part dos1 468768768 500116144

% cat '#'l0/ether0/addr
c85b76744982
% cat '#'l0/ether0/stats
in: 164359
link: 1
out: 107121
crc errs: 0
overflows: 0
soft overflows: 0
framing errs: 0
buffer errs: 0
output errs: 0
prom: 0
mbps: 100
addr: c85b76744982

% cat '#'l0/ether0/ifstats
Good Packets Received: 164348 3
Broadcast Packets Received: 23 0
Good Packets Transmitted: 107124 3
Good Octets Received: 188490702 270
Good Octets Transmitted: 12226235 491
Management Packets Rx: 43 0
Management Packets Tx: 1 0
Total Octets Received: 188490702 270
Total Octets Transmitted: 12226235 232
Total Packets Received: 164348 3
Total Packets Transmitted: 107124 2
Broadcast Packets Transmitted: 14 0
Interrupt Assertion: 159584 3
lintr: 1 2
rintr: 159583 159584
tintr: 0 0
ixcs: 164348 164285 164285
rdtr: 25
radv: 500
ctrl: 00100240
ctrlext: 815a1027
status: 00080443
txcw: 00000000
txdctl: 00040004
pba: 000e0012
speeds: 10:0 100:1 1000:0 ?:1
type: i219
eeprom: 5bc8 7476 8249 0801 ffff 0083 009d 8000
        1000 ffff 10c3 2233 17aa 15b7 0000 0000
        0000 0000 8000 a705 302c 1000 0000 0c00
        0b6a 0a02 0843 0113 15b7 baad 15b7 15b8
        baad 15b7 baad 15b7 0000 8080 4e00 0886
        0000 0000 0007 2000 0020 0000 0e00 0000
        0100 4000 0106 4007 ffff ffff ffff ffff
        ffff ffff ffff ffff ffff 0200 ffff b6ff

% cat '#'v/vgactl
type vesa
size 3840x2160x32 x8r8g8b8
hwgc soft
hwaccel off
hwblank on
panning off
addr p 0x60000000 v 0xffffff0060000000 size 0x4000000
softscreen on

@{rfork n; aux/realemu; aux/vga -p}
vesa flag            Ulinear|Hlinear|Fsnarf
vesa sig            VESA 3.0
vesa oem            Intel(R) SKL/KBL Mobile/Desktop Graphics Chipset Accelerated VGA BIOS 0.0
vesa vendor         <nil>
vesa product        <nil>
vesa rev            <nil>
vesa cap             8-bit-dac
vesa mem            67043328
vesa dsp con        4 
vesa dsp act        4 
vesa mode           0x13a 1600x1200x8 m8 packed
vesa mode           0x14b 1600x1200x16 r5g6b5 direct
vesa mode           0x15a 1600x1200x32 x8r8g8b8 direct
vesa mode           0x107 1280x1024x8 m8 packed
vesa mode           0x11a 1280x1024x16 r5g6b5 direct
vesa mode           0x11b 1280x1024x32 x8r8g8b8 direct
vesa mode           0x105 1024x768x8 m8 packed
vesa mode           0x117 1024x768x16 r5g6b5 direct
vesa mode           0x118 1024x768x32 x8r8g8b8 direct
vesa mode           0x112 640x480x32 x8r8g8b8 direct
vesa mode           0x114 800x600x16 r5g6b5 direct
vesa mode           0x115 800x600x32 x8r8g8b8 direct
vesa mode           0x101 640x480x8 m8 packed
vesa mode           0x103 800x600x8 m8 packed
vesa mode           0x111 640x480x16 r5g6b5 direct
vesa mode           0x17d 3840x2160x8 m8 packed
vesa mode           0x17e 3840x2160x16 r5g6b5 direct
vesa mode           0x17f 3840x2160x32 x8r8g8b8 direct
edid mfr            SHP
edid serialstr      
edid name           
edid product        5179
edid serial         0
edid version        1.4
edid mfrdate        2015.36
edid size (cm)      35x19
edid gamma          2.20
edid vert (Hz)      0-0
edid horz (Hz)      0-0
edid pclkmax        0
edid flags           digital monochrome
edid 3840x2160@60Hz 
		clock=533.25
		shb=3888 ehb=3920 ht=4000
		vrs=2163 vre=2168 vt=2222
		hsync=- vsync=- 

% xd -x1 '#'r/nvram
0000000  35 11 11 00 08 03 02 29 08 17 26 02 50 80 00 00
0000010  00 df 00 ff 0e 74 02 ff ff 00 00 ff df db 00 ff
0000020  e9 fd ff ff ff ff ff ff 00 00 00 00 00 00 0f f8
0000030  ff ff 20 00 00 89 03 00 00 00 00 00 00 00 00 00
0000040  00 00 00 00 c2 01 00 07 00 00 00 00 46 00 00 80
0000050  01 00 00 00 ff ff ff eb 00 00 14 00 00 00 a2 00
0000060  01 00 00 00 02 00 03 04 00 00 00 01 00 ff 00 00
0000070  00 00 30 00 00 00 00 00 00 5a 00 00 49 53 b2 00
0000080  35 11 11 00 08 03 02 29 08 17 26 02 40 80 00 00
0000090  00 df 00 ff 0e 74 02 ff ff 00 00 ff df db 00 ff
00000a0  e9 fd ff ff ff ff ff ff 00 00 00 00 00 00 0f f8
00000b0  ff ff 20 00 00 89 03 00 00 00 00 00 00 00 00 00
00000c0  00 00 00 00 c2 01 00 07 00 00 00 00 46 00 00 80
00000d0  01 00 00 00 ff ff ff eb 00 00 14 00 00 00 a2 00
00000e0  01 00 00 00 02 00 03 04 00 00 00 01 00 ff 00 00
00000f0  00 00 30 00 00 00 00 00 00 5a 00 00 49 53 b2 00
0000100 
0000100 

% cat '#'A/audiostat
bufsize   1024 buffered      0
codec 0 pin 20 inpin 18
aout 2 41d
aout 3 41d
beep 4 f00000
beep 5 f00000
aout 6 411
beep 7 f00000
ain 8 10051b ← asel 35
ain 9 10051b ← asel 34
ain 10 100511 ← asel 37
amix 11 20010b ← pin 24, pin 25, pin 26, pin 29
amix 12 20010b ← aout 2, amix 11
amix 13 20010b ← aout 3
beep 14 f00000
beep 15 f00000
beep 16 f00000
ain 17 10051b ← asel 36
pin 18 in fix int N/A micin ?
pin 19 in nothing ext N/A lineout ?
pin 20 out fix int N/A speaker ? eapd ← amix 12, amix 13
beep 21 f00000
beep 22 f00000
pin 23 out nothing ext rear speaker black eapd ← amix 12, amix 13, aout 6
pin 24 in jack ext left micin black
pin 25 in nothing ext rear speaker black
pin 26 inout nothing ext rear speaker black eapd ← amix 12, amix 13
beep 27 f00000
beep 28 f00000
pin 29 in nothing ext N/A modemline purple
pin 30 out nothing ext rear speaker black ← aout 6
pin 31 in nothing ext rear speaker black
beep 32 f00040
pin 33 out jack ext left hpout black ← amix 12, amix 13
asel 34 300101 ← pin 24, pin 25, pin 26, pin 29, amix 11, pin 18
asel 35 300101 ← pin 24, pin 25, pin 26, pin 29, amix 11, pin 19
asel 36 300101 ← pin 18, pin 19
asel 37 300101 ← pin 31
outpath aout 2 → amix 12 → pin 20
outamp aout 2
inpath pin 18 → asel 34 → ain 9
inamp ain 9

% cat '#'A/volume
master 100 100
recgain 0 0
speed 44100
delay 1764

% cat /mnt/apm/ctl
cat: can't open /mnt/apm/ctl: '/mnt/apm/ctl' does not exist

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-29  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29  8:37 Thinkpad P50 inkswinc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).