Does it suspend?

On Oct 13, 2010, at 16:51, Jan Stary <h...@stare.cz> wrote:

> This is a fresh upgrade of current/amd64 on a Macbook3,1.
> Basically, everything works except the wifi and uvideo.
>
> The wifi is reported as
>
>    Wireless Card Type:     AirPort Extreme (0x14E4, 0x88)
>    Wireless Card Firmware: Broadcom BCM43xx 1.0 (510.91.21)
>
> by the MacOSX 10.5.8 I dualboot at the machine. It does not seem to be
> mentioned in the dmesg below. Who is the person at Broadcom that I shall
> scream at / kindly ask for documentation?
>
> (I have read the bcw story starting at
> http://marc.info/?l=linux-wireless&m=117571766928130&w=2
> which gives me little hope.)
>
> I installed the uvideo firmware as documented in uvideo(4).
> I can capture an image with 'fswebcam image.jpg';
> I have problems capturing a video stream with
> ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg
> (the fps eventually drops to 0 and results in a tiny file
> containing just a few frames) but I haven't really tried
> tweaking the format options.
>
> X works; sound works; suspend/resume works, including machdep.lidsuspend.
> However, after the resume, apmd seems to be a bit confused: I use apmd -A,
> and after a resume, it always jumps to hw.setperf=100 and hw.cpuspeed=2000
> (and the fan gets loud) although there is actually nothing much happening,
> load-wise. A workaround seems to be 'apm -L' followed by 'apm -A' again.
> That makes 'apmd -A' drop hw.setperf when there is not much work.
>
> As a macbook, it has no pgup/pgdn, home/end, delete/insert, etc.
> (Luckilly, there is a tilda.)  Under MacOSX, there are key combinations
> (Fn+Up = PgUp etc) for these. What are people using under OpenBSD?
> Someone has a ~/.xmodmaprc figured out nicely?
>
> Also, the installer offered the ftp.sh.cvut.cz mirror,
> which is the university I work at; nice touch, this :-)
>
> Thank you very much.
>
>    Jan
>
>
> OpenBSD 4.8-current (GENERIC.MP) #572: Wed Oct  6 14:22:30 MDT 2010
>    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2646556672 (2523MB)
> avail mem = 2562240512 (2443MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (44 entries)
> bios0: vendor Apple Inc. version "MB31.88Z.008E.B02.0803051832" date
03/05/08
> bios0: Apple Inc. MacBook3,1
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT
SSDT
> acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3)
UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3)
> 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)2 Duo CPU T7300 @ 2.00GHz, 1995.34 MHz
> cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,NXE,LONG
> cpu0: 4MB 64b/line 16-way L2 cache
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 MHz
> cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,NXE,LONG
> cpu1: 4MB 64b/line 16-way L2 cache
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (RP05)
> acpiprt2 at acpi0: bus 3 (RP06)
> acpiprt3 at acpi0: bus 4 (PCIB)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "15253732082930497" type 15253732284385612 oem
"15253732284452179"
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: LCD_
> acpivout1 at acpivideo0: VGA_
> acpivout2 at acpivideo0: TV__
> cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800
MHz
> memory map conflict 0xf00f8000/0x1000
> memory map conflict 0xfed1c000/0x4000
> memory map conflict 0xfffa0000/0x30000
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03
> vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x03
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xa0000000, size 0x10000000
> inteldrm0 at vga1: apic 1 int 16 (irq 11)
> drm0 at inteldrm0
> "Intel GM965 Video" rev 0x03 at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
(irq 10)
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 16
(irq 11)
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 21
(irq 9)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1
int 20 (irq 10)
> azalia0: codecs: Realtek ALC885
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 16
(irq 255)
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: apic 1 int 16
(irq 255)
> pci2 at ppb1 bus 2
> "Broadcom BCM4321" rev 0x03 at pci2 dev 0 function 0 not configured
> ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x03: apic 1 int 17
(irq 255)
> pci3 at ppb2 bus 3
> mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8058" rev 0x13, Yukon-2 EC
Ultra rev. B0 (0x3): apic 1 int 17 (irq 7)
> msk0 at mskc0 port A: address 00:1b:63:aa:12:67
> eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
(irq 11)
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 18
(irq 5)
> uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 21
(irq 9)
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20
(irq 10)
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
> pci4 at ppb3 bus 4
> "AT&T/Lucent FW322 1394" rev 0x61 at pci4 dev 3 function 0 not configured
> pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-RW CW-8221, GA0K> ATAPI 5/cdrom
removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 1 int 18 (irq 5) for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST980811AS>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int
20 (irq 10)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> mtrr: Pentium Pro MTRR support
> uvideo0 at uhub1 port 4 configuration 1 interface 0 "Micron Built-in iSight"
rev 2.00/1.84 addr 2
> video0 at uvideo0
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "Apple Computer ADB
device" rev 2.00/19.65 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub2 port 1 configuration 1 interface 1 "Apple Computer ADB
device" rev 2.00/19.65 addr 2
> uhidev1: iclass 3/1
> ums0 at uhidev1: 5 buttons
> wsmouse0 at ums0 mux 0
> uhidev2 at uhub6 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR
Receiver" rev 2.00/0.16 addr 2
> uhidev2: iclass 3/0, 38 report ids
> uhid0 at uhidev2 reportid 36: input=4, output=0, feature=0
> uhid1 at uhidev2 reportid 37: input=4, output=0, feature=0
> uhid2 at uhidev2 reportid 38: input=4, output=0, feature=0
> uhidev3 at uhub6 port 2 configuration 1 interface 0 "Apple Inc. Apple
Internal Keyboard / Trackpad" rev 2.00/0.09 addr 3
> uhidev3: iclass 3/1
> ukbd1 at uhidev3: 8 modifier keys, 5 key codes, country code 13
> wskbd1 at ukbd1 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev4 at uhub6 port 2 configuration 1 interface 1 "Apple Inc. Apple
Internal Keyboard / Trackpad" rev 2.00/0.09 addr 3
> uhidev4: iclass 3/1, 5 report ids
> ums1 at uhidev4 reportid 2: 3 buttons
> wsmouse1 at ums1 mux 0
> ums2 at uhidev4 reportid 5
> ums2: mouse has no X report
> uhidev5 at uhub6 port 2 configuration 1 interface 2 "Apple Inc. Apple
Internal Keyboard / Trackpad" rev 2.00/0.09 addr 3
> uhidev5: iclass 3/0
> uhid3 at uhidev5: input=1, output=0, feature=0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
>
> hw.machine=amd64
> hw.model=Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
> hw.ncpu=2
> hw.byteorder=1234
> hw.pagesize=4096
> hw.disknames=cd0:,wd0:9d9e8494d88f41c5
> hw.diskcount=2
> hw.sensors.cpu0.temp0=52.00 degC
> hw.sensors.cpu1.temp0=52.00 degC
> hw.sensors.acpiac0.indicator0=On (power supply)
> hw.sensors.acpibat0.volt0=10.95 VDC (voltage)
> hw.sensors.acpibat0.volt1=12.55 VDC (current voltage)
> hw.sensors.acpibat0.watthour0=52.86 Wh (last full capacity)
> hw.sensors.acpibat0.watthour1=0.25 Wh (warning capacity)
> hw.sensors.acpibat0.watthour2=0.10 Wh (low capacity)
> hw.sensors.acpibat0.watthour3=52.86 Wh (remaining capacity), OK
> hw.sensors.acpibat0.raw0=0 (battery full), OK
> hw.sensors.acpibat0.raw1=0 (rate)
> hw.cpuspeed=800
> hw.setperf=0
> hw.vendor=Apple Inc.
> hw.product=MacBook3,1
> hw.version=1.0
> hw.serialno=RM805BJ4Z62
> hw.uuid=9cfe245e-d0c8-bd45-a79f-54ea5fbd3d97
> hw.physmem=2646556672
> hw.usermem=2625269760
> hw.ncpufound=2

Reply via email to