Date: Mon, 12 Feb 2001 18:59:05 +0100 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: current@FreeBSD.org Subject: just FYI: playing with PnP and device.hints Message-ID: <3A882469.C2A78096@we.lc.ehu.es>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------49CFF195CB293A22E4570CB4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I have been playing with PnP and device hints. Using a device.hints with hints for all the drivers, some "<PNPxxx> can't assing resources" messages showed up at boot. Then I removed hints one by one, until I ended up with these: hint.fd.0.at="fdc0" hint.fd.0.drive="0" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" hint.atkbd.0.flags="0x1" hint.psm.0.at="atkbdc" hint.psm.0.irq="12" hint.sc.0.at="isa" If I remove the hints for fd, the floppy is not attached (fd0c is). Something similar happens with atkbd and psm, and also with sc. Using the hints given above, I only get one <PNPxxx>..." message for the PNP0f13 device. I found that this message is not shown after removing the psm hints, so I suspect that the PNP0f13 device is the PS/2 port. However, I must keep the psm hints for getting the psm driver attached. All the rest of ISA devices are found and attached without problems. I include the dmesg output for reference. I have "PnP OS = yes" in the BIOS setup, BTW. Just FYI ;-) Cheers, -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** --------------49CFF195CB293A22E4570CB4 Content-Type: text/plain; charset=us-ascii; name="dmesg.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.out" Copyright (c) 1992-2001 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.0-CURRENT #1: Wed Feb 7 15:04:53 CET 2001 toor@defiant.we.lc.ehu.es:/usr/obj/usr/src/sys/DEFIANT Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (342.62-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 134152192 (131008K bytes) avail memory = 127049728 (124072K bytes) Preloaded elf kernel "kernel" at 0xc036c000. Preloaded elf module "joy.ko" at 0xc036c09c. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00fde00 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443LX (440 LX) host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 pci0: <mass storage, ATA> at 7.1 (no driver attached) pci0: <serial bus, USB> at 7.2 (no driver attached) pci0: <bridge, PCI-unknown> at 7.3 (no driver attached) fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe400-0xe43f mem 0xe3000000-0xe30fffff,0xe3101000-0xe3101fff irq 15 at device 15.0 on pci0 fxp0: Ethernet address 00:d0:b7:3e:a0:fb ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xe800-0xe8ff mem 0xe3100000-0xe3100fff irq 11 at device 20.0 on pci0 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs isa0: unexpected small tag 14 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm0: <SB16 DSP 4.16> on sbc0 midi0: <SB Midi Interface> on sbc0 midi1: <SB OPL FM Synthesizer> on sbc0 joy0: <Generic PnP Joystick> at port 0x200-0x207 on isa0 midi2: <CTL0022 WaveTable Synthesizer> at port 0x620-0x623,0xa20-0xa23,0xe20-0xe23 on isa0 emu2: DRAM size = 512KB atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 irq 1 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 unknown: <PNP0f13> can't assign resources sio0: <16550A-compatible COM port> at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A fdc0: <NEC 72065B or clone> at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Standard parallel printer port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode sio1: <16550A-compatible COM port> at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A Waiting 10 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s2a cd0 at ahc0 bus 0 target 5 lun 0 cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at ahc0 bus 0 target 4 lun 0 da1: <FUJITSU M2513E 0050> Removable Optical SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15) da1: Attempt to query device size failed: NOT READY, Medium not present da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DDRS-34560W S92A> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) --------------49CFF195CB293A22E4570CB4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A882469.C2A78096>