where did you get that idea from? you are wrong.

On Mon, 28 May 2007, openbsd fan wrote:

> tpb and tphdisk are only for thinkpads with apm not acpi...
> 
> On 5/27/07, Don Scott <[EMAIL PROTECTED]> wrote:
> > I have setup an MSDOS partition for tphdisk:
> > 
> > $ sudo fdisk sd0
> > Disk: sd0       geometry: 5168/240/63 [78140160 Sectors]
> > Offset: 0       Signature: 0xAA55
> >         Starting       Ending       LBA Info:
> >  #: id    C   H  S -    C   H  S [       start:      size   ]
> > ------------------------------------------------------------------------
> >  0: 16    0   1  1 -  346 159 63 [          63:     5241537 ] OS/2 hidden
> >  1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
> >  2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
> > *3: A6  346 160  1 - 2933 223 63 [     5241600:    39119472 ] OpenBSD
> > 
> > $ sudo disklabel sd0
> > # Inside MBR partition 3: type A6 start 5241600 size 39119472
> > # /dev/rsd0c:
> > type: SCSI
> > disk: SCSI disk
> > label: HTS541040G9SA00
> > flags:
> > bytes/sector: 512
> > sectors/track: 63
> > tracks/cylinder: 240
> > sectors/cylinder: 15120
> > cylinders: 5168
> > total sectors: 78140160
> > rpm: 3600
> > interleave: 1
> > trackskew: 0
> > cylinderskew: 0
> > headswitch: 0           # microseconds
> > track-to-track seek: 0  # microseconds
> > drivedata: 0
> > 
> > 16 partitions:
> > #             size        offset  fstype [fsize bsize  cpg]
> >  a:        163296       5241600  4.2BSD   2048 16384    1 # Cyl   346*-
> > 357*
> >  b:       2096640       5404896    swap                   # Cyl   357*-
> > 496*
> >  c:      78140160             0  unused      0     0      # Cyl     0 -
> > 5167
> >  d:        163296       7501536  4.2BSD   2048 16384    1 # Cyl   496*-
> > 506*
> >  e:       2096640       7664832  4.2BSD   2048 16384    1 # Cyl   506*-
> > 645*
> >  f:      12581856       9761472  4.2BSD   2048 16384    1 # Cyl   645*-
> > 1477*
> >  g:      16776144      22343328  4.2BSD   2048 16384    1 # Cyl  1477*-
> > 2587*
> >  i:       5241537            63   MSDOS                   # Cyl     0*-
> > 346*
> > 
> > I've created a save2dsk.bin file:
> > 
> > $ ls -l
> > /mnt/
> > 
> > total 5240832
> > -rwxr-xr-x  1 root  wheel  2683305984 May 27 17:31 save2dsk.bin
> > 
> > I have tpb set to run as a daemon from ~/.xinitrc. The volume mute/down/up
> > buttons work, but none of the Fn buttons do except for the thinklight.
> > On-screen display also does not work. Is this something I can fix with a
> > simple configuration change?
> > 
> >  Here is some information about my hardware. Thanks for any advice.
> > 
> > $ sysctl hw
> > hw.machine=i386
> > hw.model=Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class)
> > hw.ncpu=2
> > hw.byteorder=1234
> > hw.physmem=2137419776
> > hw.usermem=2137407488
> > hw.pagesize=4096
> > hw.disknames=sd0
> > hw.diskcount=1
> > hw.sensors.acpitz0.temp0=49.05 degC (zone temperature)
> > hw.sensors.acpitz1.temp0=47.05 degC (zone temperature)
> > hw.sensors.acpibat0.volt0=14.40 VDC (voltage)
> > hw.sensors.acpibat0.volt1=14.85 VDC (current voltage)
> > hw.sensors.acpibat0.watthour0=73.24 Wh (last full capacity)
> > hw.sensors.acpibat0.watthour1=3.66 Wh (warning capacity)
> > hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
> > hw.sensors.acpibat0.watthour3=20.38 Wh (remaining capacity), OK
> > hw.sensors.acpibat0.raw0=1 (battery discharging), OK
> > hw.sensors.acpibat0.raw1=18047 (rate)
> > hw.sensors.acpiac0.indicator0=Off (power supply)
> > hw.sensors.acpidock0.indicator0=Off (not docked)
> > hw.sensors.aps0.temp0=50.00 degC
> > hw.sensors.aps0.temp1=50.00 degC
> > hw.sensors.aps0.indicator0=On (Keyboard Active)
> > hw.sensors.aps0.indicator1=Off (Mouse Active)
> > hw.sensors.aps0.indicator2=On (Lid Open)
> > hw.sensors.aps0.raw0=495 (X_ACCEL)
> > hw.sensors.aps0.raw1=502 (Y_ACCEL)
> > hw.sensors.aps0.raw2=495 (X_VAR)
> > hw.sensors.aps0.raw3=502 (Y_VAR)
> > hw.cpuspeed=1996
> > hw.setperf=0
> > hw.vendor=LENOVO
> > hw.product=1709G3U
> > hw.version=ThinkPad X60
> > hw.serialno=LVD6250
> > hw.uuid=7ac062e0-711a-11db-80c2-db36273570d5
> > 
> > and a dmesg:
> > 
> > OpenBSD 4.1-current (GENERIC.MP <http://generic.mp/>) #3: Sat May 26
> > 13:17:13 PDT 2007
> >   [EMAIL PROTECTED]:/usr/src/sys/arch/i386 /compile/GENERIC.MP
> > cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
> > GHz
> > cpu0:
> > FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
> > 
> > real mem  = 2137419776 (2038MB)
> > avail mem = 1943982080 (1853MB)
> > using 4278 buffers containing 106995712 bytes (104488K) of memory
> > mainbus0 (root)
> > bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690,
> > SMBIOS rev. 2.4 @ 0xe0010 (67 entries)
> > bios0: LENOVO 1709G3U
> > pcibios0 at bios0: rev 2.1 @ 0xfd620/0x9e0
> > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
> > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> > pcibios0: PCI bus #22 is the last bus
> > bios0: ROM list: 0xc0000/0xea00! 0xdc000/0x4000! 0xe0000/0x10000!
> > acpi0 at mainbus0: rev 2
> > acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT
> > SSDT
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpi device at acpi0 from table DSDT not configured
> > acpi device at acpi0 from table FACP not configured
> > acpi device at acpi0 from table SSDT not configured
> > acpi device at acpi0 from table ECDT not configured
> > acpi device at acpi0 from table TCPA not configured
> > acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: apic clock running at 166 MHz
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
> > GHz
> > cpu1:
> > FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
> > 
> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> > ioapic0: duplicate apic id, remapped to apid 2
> > acpi device at acpi0 from table MCFG not configured
> > acpihpet0 at acpi0 table HPET: 14318179 Hz
> > acpi device at acpi0 from table BOOT not configured
> > acpi device at acpi0 from table SSDT not configured
> > acpi device at acpi0 from table SSDT not configured
> > acpi device at acpi0 from table SSDT not configured
> > acpi device at acpi0 from table SSDT not configured
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 0 (AGP_)
> > acpiprt2 at acpi0: bus 2 (EXP0)
> > acpiprt3 at acpi0: bus 3 (EXP1)
> > acpiprt4 at acpi0: bus 4 (EXP2)
> > acpiprt5 at acpi0: bus 12 (EXP3)
> > acpiprt6 at acpi0: bus 21 (PCI1)
> > acpiec0 at acpi0: EC__
> > acpicpu0 at acpi0: CPU0:
> > acpicpu1 at acpi0: CPU1:
> > acpitz0 at acpi0, critical temperature: 127 degC
> > acpitz1 at acpi0, critical temperature: 97 degC
> > acpibtn0 at acpi0: LID_
> > acpibtn1 at acpi0: SLPB
> > acpibat0 at acpi0: BAT0: model: 93P5029 serial:   437 type: LION oem: SANYO
> > acpibat1 at acpi0: BAT1: not present
> > acpibat2 at acpi0: BAT2: not present
> > acpiac0 at acpi0: AC unit offline
> > acpidock0 at acpi0: GDCK: not docked (0)
> > cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2406000613
> > cpu0: using only highest and lowest power states
> > cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 2000, 1000 MHz
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
> > vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture at
> > 0xee100000, size 0x10000000
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
> > azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2
> > int 17 (irq 11)
> > azalia0: host: High Definition Audio rev. 1.0
> > azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0
> > azalia0: RIRB time out
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
> > pci1 at ppb0 bus 2
> > em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 2
> > int 16 (irq 11), address 00:16:d3:2f:f1:6d
> > ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
> > pci2 at ppb1 bus 3
> > wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2
> > int 17 (irq 11), address 00:18:de:63:cc:4a
> > ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
> > pci3 at ppb2 bus 4
> > ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
> > pci4 at ppb3 bus 12
> > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 16
> > (irq 11)
> > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 17
> > (irq 11)
> > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18
> > (irq 11)
> > uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 19
> > (irq 11)
> > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 19
> > (irq 11)
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0
> > uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
> > uhub0: 8 ports with 8 removable, self powered
> > ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> > pci5 at ppb4 bus 21
> > cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: apic 2 int 16
> > (irq 11)
> > "Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
> > sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: apic 2 int 18
> > (irq 11)
> > sdmmc0 at sdhc0
> > cardslot0 at cbb0 slot 0 flags 0
> > cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
> > pcmcia0 at cardslot0
> > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
> > disabled
> > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel
> > 0 configured to compatibility, channel 1 configured to compatibility
> > pciide0: channel 0 disabled (no drives)
> > pciide0: channel 1 ignored (disabled)
> > ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02: AHCI
> > 1.1: apic 2 int 16 (irq 11)
> > scsibus0 at ahci0: 32 targets
> > sd0 at scsibus0 targ 0 lun 0: <ATA, HTS541040G9SA00, MB2I> SCSI2 0/direct
> > fixed
> > sd0: 38154MB, 4864 cyl, 255 head, 63 sec, 512 bytes/sec, 78140160 sec total
> > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 2 int
> > 23 (irq 11)
> > iic0 at ichiic0
> > usb1 at uhci0: USB revision 1.0
> > uhub1 at usb1
> > uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > uhub1: 2 ports with 2 removable, self powered
> > usb2 at uhci1: USB revision 1.0
> > uhub2 at usb2
> > uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > uhub2: 2 ports with 2 removable, self powered
> > usb3 at uhci2: USB revision 1.0
> > uhub3 at usb3
> > uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > uhub3: 2 ports with 2 removable, self powered
> > usb4 at uhci3: USB revision 1.0
> > uhub4 at usb4
> > uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > uhub4: 2 ports with 2 removable, self powered
> > isa0 at ichpcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5
> > pckbd0 at pckbc0 (kbd slot)
> > pckbc0: using irq 1 for kbd slot
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > pckbc0: using irq 12 for aux slot
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > midi0 at pcppi0: <PC speaker>
> > spkr0 at pcppi0
> > aps0 at isa0 port 0x1600/31
> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > pctr: 686-class user-level performance counters enabled
> > mtrr: Pentium Pro MTRR support
> > ugen0 at uhub4 port 2
> > ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
> > dkcsum: sd0 matches BIOS drive 0x80
> > root on sd0a swap on sd0b dump on sd0b

Reply via email to