From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 09:24:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C39116A4C0 for ; Fri, 22 Aug 2003 09:24:33 -0700 (PDT) Received: from SMT02002.global-asp.net (SMT02002.global-asp.net [194.51.152.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 140D343FF2 for ; Fri, 22 Aug 2003 09:24:32 -0700 (PDT) (envelope-from apasselac@free.fr) Received: from smt02003.global-asp.net (localhost [127.0.0.1]) by SMT02002.global-asp.net (Postfix) with ESMTP id 994892345A; Fri, 22 Aug 2003 18:24:28 +0200 (CEST) Received: from freebie.freebsd.org (Mix-Poitiers-111-1-75.w80-9.abo.wanadoo.fr [80.9.23.75]) by smt02003.global-asp.net (Postfix) with ESMTP id 10AB72FA09; Fri, 22 Aug 2003 18:24:29 +0200 (CEST) Received: from freebie.freebsd.org (freebie.freebsd.org [127.0.0.1]) by freebie.freebsd.org (8.12.9/8.12.9) with ESMTP id h7MGMPre005460; Fri, 22 Aug 2003 18:22:25 +0200 (CEST) (envelope-from kmaster@freebie.freebsd.org) Received: (from kmaster@localhost) by freebie.freebsd.org (8.12.9/8.12.9/Submit) id h7MGMO7r005459; Fri, 22 Aug 2003 18:22:24 +0200 (CEST) Date: Fri, 22 Aug 2003 18:22:24 +0200 From: Armand Passelac To: Kevin Oberman Message-ID: <20030822162224.GA5238@freebie.freebsd.org> References: <20030822141016.GA4599@freebie.freebsd.org> <20030822154112.3C9435D04@ptavv.es.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20030822154112.3C9435D04@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: How create /dev/apm* ??? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 16:24:34 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline [---- On Fri, 22 Aug, 2003 at 8:41, Kevin Oberman wrote: ----] > > Date: Fri, 22 Aug 2003 16:10:16 +0200 > > From: Armand Passelac > > Sender: owner-freebsd-current@freebsd.org > > > > > > Hi, > > I have installed a FreeBSD 5.1 on my Laptop (Compaq Armada E500). > > I have a problem with the power management : > > > > - I can't use the ACPI module : the kernel can't be loaded. > > OK no problem ! > > As I saw within many FAQs, it's normal (it depends on the type of the laptop). > > > > - I would like to use APM so ! > > I realize the following stages (see http://freebsd.unixtech.be/doc/en_US.ISO8859-1/articles/laptop/x61.html) : > > > > * I build my kernel with "device apm" > > > > * /boot/device.hints : > > hint.acpi.0.disabled="1" > > #hw.acpi.ec.event_driven="1" > > hint.apm.0.disabled="0" > > hint.apm.0.flags="0x20" > > > > * /boot/loader.conf : > > apm_load="YES" > > > > * /etc/rc.conf > > apm_enable="YES" > > > > > > But during the boot I get an error : "can't open /dev/apm" > > > > Indeed, there is no device with apm* name within /dev > > > > How can I create this device (In the freebsd-questions list somebody tails me that's not possible with 5.X there is no possibility to use a kind of makedev). > > > > That is correct. The apm driver creates the device automagically with > devfs. S0 the question is why it is not doing so. > > Please attach the output of dmesg. (Actually, all of the apm stuff > should be in the first 15 lines.) My dmesg is in attach. I see nothing aboutt apm ! But during the boot I can see the message tailling /dev/apm no such file > -- > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: oberman@es.net Phone: +1 510 486-8634 [---- End of original mail from Kevin Oberman ----] -- "No guts No glory" =] PASSELAC Armand [= ( @ @ ) Ingenieur Systemes-Reseaux & Securite ORBYTES INGENIERIE --DocE+STaALJfprDB Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2003 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.1-RELEASE #0: Sat Jul 19 23:33:27 CEST 2003 root@freebie.freebsd.org:/usr/obj/usr/src/sys/FREEBIE Preloaded elf kernel "/boot/kernel/kernel" at 0xc06f1000. Preloaded elf module "/boot/kernel/snd_driver.ko" at 0xc06f11cc. Preloaded elf module "/boot/kernel/snd_vibes.ko" at 0xc06f127c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06f132c. Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc06f13d8. Preloaded elf module "/boot/kernel/snd_t4dwave.ko" at 0xc06f148c. Preloaded elf module "/boot/kernel/snd_solo.ko" at 0xc06f153c. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc06f15ec. Preloaded elf module "/boot/kernel/snd_sb16.ko" at 0xc06f1698. Preloaded elf module "/boot/kernel/snd_sb8.ko" at 0xc06f1748. Preloaded elf module "/boot/kernel/snd_neomagic.ko" at 0xc06f17f4. Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc06f18a8. Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc06f1954. Preloaded elf module "/boot/kernel/snd_maestro.ko" at 0xc06f1a08. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc06f1ab8. Preloaded elf module "/boot/kernel/snd_fm801.ko" at 0xc06f1b64. Preloaded elf module "/boot/kernel/snd_ess.ko" at 0xc06f1c14. Preloaded elf module "/boot/kernel/snd_es137x.ko" at 0xc06f1cc0. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06f1d70. Preloaded elf module "/boot/kernel/snd_ds1.ko" at 0xc06f1e20. Preloaded elf module "/boot/kernel/snd_csa.ko" at 0xc06f1ecc. Preloaded elf module "/boot/kernel/snd_cs4281.ko" at 0xc06f1f78. Preloaded elf module "/boot/kernel/snd_cmi.ko" at 0xc06f2028. Preloaded elf module "/boot/kernel/snd_als4000.ko" at 0xc06f20d4. Preloaded elf module "/boot/kernel/snd_ad1816.ko" at 0xc06f2184. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 596923840 Hz CPU: Intel Pentium III (596.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 201261056 (191 MB) avail memory = 187969536 (179 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0x50000000-0x53ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x41100000-0x41100fff irq 11 at device 4.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x41180000-0x41180fff irq 11 at device 4.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x3420-0x342f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x3400-0x341f irq 11 at device 7.2 on pci0 usb0: 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: at device 7.3 (no driver attached) pcm0: port 0x3000-0x30ff irq 11 at device 8.0 on pci0 pcm0: fxp0: port 0x3440-0x347f mem 0x41200000-0x4121ffff,0x41280000-0x41280fff irq 11 at device 9.0 on pci0 fxp0: Ethernet address 00:d0:59:1a:04:8d miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 9.1 (no driver attached) orm0: