Date: Sat, 23 Oct 1999 11:35:40 -0700 (PDT) From: Brad Karp <bkarp@aciri.org> To: freebsd-mobile@freebsd.org Subject: Sony N505-VX PCIC IRQ?? Message-ID: <199910231835.LAA02963@leibniz.aciri.org>
next in thread | raw e-mail | index | archive | help
My institute has just picked up one of the new Sony N505-VX laptops; same 3.1 lb. form factor as the 505-TR, but with a 333 MHz P-II. I've had no success whatsoever at assigning the PCIC in this laptop an IRQ such that dynamic card insertion/removal events are recognized by FreeBSD 3.2-RELEASE. Note that insert/remove interrupts work beautifully on the 505-TR under 3.2-R. On the TR, the PCIC is assigned to IRQ 10. I started with my 505-TR kernel on the N505-VX. Note further that the TR and N505 both appear to have similar, if not identical, PCICs. FreeBSD describes these two PCICs as follows: 505-TR: pcic0: <Ricoh RL5C475 PCI-CardBus Brige> rev 0x00 int a irq 255 on pci0.10.0 N505-VX: pcic0: <Ricoh RL5C475 PCI-CardBus Brige> rev 0x80 int a irq 255 on pci0.10.0 In case you want more details, pciconf says: 505-TR: card = 0x8030104d chip = 0x04751180 rev = 0x00 hdr = 0x02 N505-VX: card = 0x8061104d chip = 0x04751180 rev = 0x80 hdr = 0x02 I set "PnP OS" to "No" in the BIOS, so that the BIOS configures the USB controller with an IRQ, as I did on the 505-TR. The BIOS puts the USB controller on IRQ 9 (on both the TR and N505-VX). The N505-VX has a WinModem, rather than the nice "true" modem in the 505-TR, so IRQ 3, usually taken by sio1 on the TR, was available. FreeBSD successfully assigned IRQ 3 to the PCIC. But at IRQ 3, insert/remove events went unrecognized by FreeBSD. I booted into Win98, to observe where Win98 puts the PCIC. Win98 assigns IRQs on the N505-VX as follows: 1 keyboard 3 PCI WinModem 3 NeoMagic VGA 3 ACPI 4 COM1 5 **free** 6 **free** (the N505-VX has a USB floppy, and no legacy FDC) 7 LPT1 9 PCIC 9 USB 9 IEEE 1394 9 Yamaha DS-XG PCI audio 10 IrDA 11 Sony Programmable I/O Device 12 PS/2 mouse 14 Primary IDE 15 Primary IDE I tried the following: - disabled IrDA, as I did on the 505-TR, freeing up IRQ 10 - disabled IEEE 1394, in case that might collide with trying IRQ 9 I then, using /boot/loader.conf, tried setting the IRQ for the PCIC to all of: 5, 6, 9, 10, 11 (that is, using machdep.pccard.pcic_irq="X".) Card insertion/removal interrupts weren't seen by FreeBSD at any of these IRQs! :-( More specifically, IRQ assignment fails at IRQ 9 (collision with the USB IRQ), and at all other values, assignment succeeds, but no events are delivered to the PCIC interrupt handler. Does anyone have any experience with the N505-VX's PCIC, or suggestions as to what I might try? I'm wondering if I'll need to tweak a register or two in the PCIC's configuration. Many thanks, -Brad, karp@eecs.harvard.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910231835.LAA02963>
