Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 21:05:59 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        usb-bsd@egroups.com
Cc:        stable@FreeBSD.ORG
Subject:   Re: [usb-bsd] USB hangs -STABLE on Dell Inspiron 3200
Message-ID:  <Pine.BSF.4.20.0006202057170.33655-100000@localhost>
In-Reply-To: <394F3E01.BDC94B55@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am running 4.0 -STABLE on a Dell Inspiron 3200 laptop.  I have an
> Intel 82371AB/EB (PIIX4) USB controller, and a TI PCI-1131 pccard 
> controller. The BIOS's PnP OS option is disabled. I'm afraid I can't 
> give full boot messages with the problem kernel, as it hangs during 
> boot. I have set up my kernel conf file so that my pccard controller 
> pcic0 uses IRQ 11 instead of the default 10, since my USB controller 
> uses IRQ 10. This is what Win98 uses on this machine. Previously they 
> both used IRQ 10. Behaviour was the same before that change (ie: 
> pcmcia works, USB doesn't). 


Are you sure the USB controller did not move as well? It is possible to
run the PCMCIA adapter and USB on the same interrupt (that is what I do
here), but you will have to patch the kernel slightly: In my case this
was done with the following patch:

Index: i82365.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/pcic/i82365.c,v
retrieving revision 1.20
diff -u -r1.20 i82365.c
--- i82365.c    2000/04/19 08:31:17     1.20
+++ i82365.c    2000/05/07 19:00:37
@@ -214,7 +214,7 @@

        sc->irq_rid = 0;
        sc->irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irq_rid,
-           0, ~0, 1, RF_ACTIVE);
+           0, ~0, 1, RF_SHAREABLE | RF_ACTIVE);
        if (!sc->irq_res) {
 #ifdef PCIC_DEBUG
                device_printf(dev, "Cannot allocate irq\n");


You will have to find the appropriate location for your driver. I can't
instantly find it in the sources, which driver attaches to the PCMCIA
bridge?)

Nick


--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0006202057170.33655-100000>