Subject: Re: NEC EHCI Controller
To: None <port-i386@netbsd.org>
From: Sebastian Faubel <sebastian.faubel@gmail.com>
List: port-i386
Date: 05/03/2006 00:17:24
--=-hnL9sLFhXxWT0Nb3qnBr
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello People,

I compared the dmesg output from netbsd and linux and came to the
conclusion that my problem with the NEC EHCI is probably not the EHCI
driver itself, but the OHCI/ACPI one. In my laptop there are two OHCI
controllers for 5 Ports. Looking at the NetBSD output i saw that one of
them was unabled to be assigned to a interrupt. In response the EHCI
complains about a wrong number of companions.

Looking at the linux output I can see that the Interrupts (IRQ 10) are
assigned by the ACPI subsystem, but looking at the NetBSD dmesg i cannot
see that either ACPI or APM is running.

May be this sounds stupid, but is there a working ACPI implementation
for NetBSD? If so, how can I activate it a boottime?

thanks,

sebastian


PS. dmesg snipplets:

Linux 2.6.14:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ACPI: PCI Interrupt 0000:02:0e.2[C] -> Link [C0C5] -> GSI 10 (level,
low) -> IRQ 10
ehci_hcd 0000:02:0e.2: EHCI Host Controller
ehci_hcd 0000:02:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:0e.2: irq 10, io mem 0x54000000
ehci_hcd 0000:02:0e.2: USB 2.0 initialized, EHCI 0.95, driver 10 Dec
2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
ACPI: PCI Interrupt 0000:02:0e.0[A] -> Link [C0C5] -> GSI 10 (level,
low) -> IRQ 10
ohci_hcd 0000:02:0e.0: OHCI Host Controller
ohci_hcd 0000:02:0e.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:0e.0: irq 10, io mem 0x80180000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
...
ACPI: PCI Interrupt 0000:02:0e.1[B] -> Link [C0C5] -> GSI 10 (level,
low) -> IRQ 10
ohci_hcd 0000:02:0e.1: OHCI Host Controller
ohci_hcd 0000:02:0e.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:02:0e.1: irq 10, io mem 0x80200000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected

NetBSD-current:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ohci0 at pci2 dev 14 function 0: vendor 0x1033 product 0x0035 (rev.
0x41)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci2 dev 14 function 1: vendor 0x1033 product 0x0035 (rev.
0x41)
pci_intr_map: no mapping for pin D (line=3Dff)
ohci1: couldn't map interrupt
ehci0 at pci2 dev 14 function 2: vendor 0x1033 product 0x00e0 (rev.
0x02)
ehci0: interrupting at irq 10
ehci0: BIOS has given up ownership
ehci0: EHCI version ff.ff
ehci0: wrong number of companions (15 !=3D 1)
ehci0: companion controller, 15 ports each: ohci0
ehci0: reset timeout
ehci0: init failed, error=3D13


On Fri, 2006-04-28 at 13:49 +0200, Zafer Aydogan wrote:
> You can download NetBSD current and try if it works.
> But current seems to be unstable at the moment.
> http://mia.aydogan.net/netbsd/iso/NetBSD-3.99.17-060410-install.iso
>=20
> Cheers, Zafer.
>=20
>=20
> 2006/4/27, Sebastian Faubel <sebastian.faubel@gmail.com>:
> > Hi folks,
> >
> > i intend switching from linux to netbsd. i tried out the latest release
> > 3.0 and had no problems in general, but as far as I could tell the
> > built-in NEC EHCI controller didn't work. Since I have a external HD an=
d
> > Digicam I could really use this thing..
> >
> > Has anyone a clue if it is possible to get this controller to work?
> >
> > thanks a lot,
> >
> > sebastian
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> > iD8DBQBEUTM/B4pfIOXRqxwRAskgAJ9ez212bdIdYrvLDm1nTze5eTWisACdEsEn
> > ATSpsKdNCuLx+T9SNMB2BtY=3D
> > =3D4I5m
> > -----END PGP SIGNATURE-----
> >
> >
> >

--=-hnL9sLFhXxWT0Nb3qnBr
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBEV9p0B4pfIOXRqxwRAjWzAKCZYU1bm/GV2ObCeyTNkspRAxa24ACgqSxf
JYPQfQ30BS1hk8vYVnrPhEI=
=krOo
-----END PGP SIGNATURE-----

--=-hnL9sLFhXxWT0Nb3qnBr--