Sound & PowerManagement auf Notebook mit OBSD3.6

T

tobi979

Guest
Hi Leute,

ich hab gestern Abend mal neben FBSD mal OpenBSD auf meinem Notebook installiert. Läuft auch alles ganz super, nur ein paar Kleinigkeiten stören mich. Das Erste ist PowerManagement. Ich hab nen Compaq Presario 2710EA bei dem es bei FBSD4.10 schon Probleme mit APM und ACPI gab.
1. Kann ich bei OBSD 3.6 acpi aktivieren, wenn ja wie. Was muss ich in die Kernel config schreiben und was danach aktivieren.
2. Ich würde gerne meine Soundkarte nutzen sie wird über auich angesprochen., was in dem generic Kernel ja mit drinne ist. Muss ich noch etwas gesondert aktivieren, damit sie mit mir was Anderes als den lauten beep spricht?

System ist ein OpenBSD 3.6 mit dem Generic Kernel. Laut dmesg wird alles erkannt. Die Ausgabe liefer ich heut Mittag nach, ich hab es vorhin vergessen.
In der Foren- bzw. googlesuche hab ich leider nichts gefunden.

Danke schon mal

Gruss Tobi
 
So hier die Ausgabe von dmesg:
Code:
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III Mobile CPU 1133MHz ("GenuineIntel" 686-class) 731 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 267362304 (261096K)
avail mem = 237084672 (231528K)
using 3289 buffers containing 13471744 bytes (13156K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(6a) BIOS, date 01/16/02, BIOS32 rev. 0 @ 0xfd852
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xfd850/0x7b0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xe000 0xce000/0x1000 0xe0000/0x4000! 0xe5000/0x1000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82830MP CPU-I/O-1" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82830MP CPU-AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M6 LY" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801CA/CAM USB" rev 0x01: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801CA/CAM USB" rev 0x01: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x41
pci2 at ppb1 bus 2
"Conexant HSF 56k HSFi" rev 0x01 at pci2 dev 4 function 0 not configured
"Texas Instruments TSB43AB22 FireWire" rev 0x00 at pci2 dev 5 function 0 not configured
cbb0 at pci2 dev 6 function 0 "Texas Instruments PCI1410 CardBus" rev 0x01: irq 11
fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x41: irq 10, address 00:02:a5:6d:b0:d2
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x01: SpeedStep
pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N020ATDA04-0>
wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2102, 1A16> SCSI0 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
"Intel 82801CA/CAM SMBus" rev 0x01 at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x01: irq 5, ICH3 AC97
ac97: codec id 0x41445361 (Analog Devices AD1886)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
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>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb4d netmask ef4d ttymask ffcf
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: M-Systems DiskOnKey, rev 1.10/2.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <M-Sys, DiskOnKey, 2.50> SCSI0 0/direct removable
sd0: 15MB, 15 cyl, 64 head, 32 sec, 512 bytes/sec, 31520 sec total
Ich habe grad noch mal geschaut, top gibt apmd als sleeping aus.
Hilfe wäre echt super.

Danke
 
1.: OpenBSD unterstützt kein ACPI

2.: überprüf die mixerctl(1) und audioctl(1) einstellungen...

auf bald
oenone
 
Hi,

das mit acpi hab ich mir fast gedacht, hatte aber irgendwann nen Post gelesen wo was über OBSD und acpi drin stand.
Muss ich zusätzlich zu der apmd_flags auf "" stellen noch was ändern? Mir geht es darum, dass der Rechner beim shutdown aus geht.

Krieg ich irgendwie diesen ekligen peep weg? Oder zumindest leiser? Ich denke meine Nachbarn wären ganz dankbar.
Ich hab was in der GENERIC gelesen:
Code:
#spkr0	at pcppi?		# PC speaker

Danke und Grüsse
Tobi
 
Zuletzt bearbeitet von einem Moderator:
du musst dazu doch keinen neuen kernel kompilieren... v.a. nicht in der config rumpfuschen.

wenn du das device aus dem kernel entfernen willst, kannst du auch config(8) benutzen..
zuerst solltest du per dmesg(8) herausfinden, welches device dein speaker tatsächlich ist.
bei mir ists z.b. midi0
dann per config disablen:
Code:
$ config -e -o bsd.new /bsd
ukc> find midi
 24 midi* at pcppi0 flags 0x0
ukc> disable midi
 24 midi* disabled
ukc> quit
dann den bsd.new booten, wenns geklappt hat kannst du /bsd dadurch ersetzen.

auf bald
oenone
 
Hey cool werd ich nachher mal austesten, ich hab es gestern Abend über mixerctl von 255 auf 15 mit Hilfe der /etc/rc.conf.local runtergeregelt, was wahrscheinlich die Holzhammermethode ist.

Danke schon mal für die Hilfe


Gruss Tobi
 
Ich hab auch das problem, dass apmd schon ales anzeigt, aber den Rechner nach halt nicht herunterfährt, selbst nicht mit halt -p...
 
Zurück
Oben