FreeBSD + notebook

Jan Stary hans at stare.cz
Thu Mar 31 16:07:32 CEST 2005


Ahoj,

> >>Po zobudeni nesiel touchpad, ani ext. myska, trebalo ju vypojit a
> >>znova zapojit.

me na to pomuze /etc/rc.d/moused restart,
coz je vopruz, takze ...

> >Pokial je to PS/2 (interny touchpad urcite bude), tak kernel 5/6 (mozno
> >aj 4, nepamatam si) podporuje pre device psm volby
> >
> >options         PSM_HOOKRESUME
> >options         PSM_RESETAFTERSUSPEND
> > 
> dik, pomohlo

... jsem pridal tyto dve options do sveho 5.3-RELEASE-p5 na laptopu
Dell Latitude LS. Pri resume spolehlive zatuhne cela masina. Vyhodil
jsem PSM_RESETAFTERSUSPEND, nacez mys po resume funguje (jak na
konzoli, tak v X), aniz by bylo potreba restartovat moused. Je jen
potreba dat mu par vterin (dokud kernel nerekne 'wakeup from the
sleeping state') - nekolikrat rychle opakovane suspend/resume ho stale
sejme.

Jeste drobnost: man psm popisuje flagy psm driveru, mimo jine

     bit 13 HOOKRESUME
	    The built-in PS/2 pointing device of some laptop computers is
	    somehow not operable immediately after the system `resumes' from
	    the power saving mode, though it will eventually become available.
	    There are reports that stimulating the device by performing I/O
	    will help waking up the device quickly.  This flag will enable a
	    piece of code in the psm driver to hook the `resume' event and
	    exercise some harmless I/O operations on the device.

     bit 14 INITAFTERSUSPEND
	    This flag adds more drastic action for the above problem.  It will
	    cause the psm driver to reset and re-initialize the pointing
	    device after the `resume' event.  It has no effect unless the
	    HOOKRESUME flag is set as well.

V jakem vztahu jsou tato nastaveni k tem kernel options? Kdyz to
zakompiluju do kernelu, znamena to totez, jako kdyz v device.hints
zapnu tyhle dva bity?


	Diky

		Hans



Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE-p5 #1: Thu Mar 31 12:08:15 CEST 2005
    root at dell:/usr/obj/usr/src/sys/DELL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (398.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 134152192 (127 MB)
avail memory = 121626624 (115 MB)
module_register_init: MOD_LOAD (splash_bmp, 0xc07c7810, 0) error 2
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0> port 0x66,0x62 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcm0: <NeoMagic 256AV> mem 0xfea00000-0xfeafffff,0xf7800000-0xf7bfffff irq 10 at device 0.1 on pci1
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfcd0-0xfcdf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 10 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
cbb0: <TI1211 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfc00-0xfc7f mem 0xfedfec00-0xfedfec7f irq 10 at device 13.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:4d:ae:31
pci0: <simple comms> at device 16.0 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xcc000-0xcc7ff,0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 398270747 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging unlimited
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 19077MB <IC25N020ATMR04-0/MO1OAD0A> [38760/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a


hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: S3
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.throttle_max: 8
hw.acpi.cpu.throttle_state: 8
hw.acpi.cpu.cx_supported: C1/0 C2/10
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00% 0.00%
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 3222
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3632
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3732
hw.acpi.thermal.tz0._ACx: 3522 3352 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.acline: 1
hw.acpi.battery.life: 98
hw.acpi.battery.time: -1
hw.acpi.battery.state: 1
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5





More information about the Users-l mailing list