Subject: Toshiba A135-S4527 (was: ACPI, CardBus and Interrupts)
To: None <port-i386@NetBSD.org>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: port-i386
Date: 05/10/2007 11:32:18
--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 07, 2007 at 07:39:52PM -0500, Jonathan A. Kollasch wrote:
> Hi,
>=20
> I'm seriously considering a new Toshiba A135-S4527 laptop. I
> ran a netbsd-4 INSTALL_LAPTOP on it and retrieved a dmesg,
> linked to below.
>=20
> First bit of fun:
>=20
> ath0 at pci2 dev 0 function 0
> ath0: interrupting at irq 10
> ath0: unable to attach hardware; HAL status 13
>=20
> I hear Sam will have some stuff later this year to remedy this,
> hopefully I'll be able to back-port it to 4.x when the time comes.

Actually, dropping in ath_hal 0.9.18.0 fixed this. Yay!
=20
> But, in the meantime, I'll want wireless, which brings
> us to another issue:
>=20
> cbb0 at pci4 dev 4 function 0: vendor 0x104c product 0x8039 (rev. 0x00)
> cbb0: NOT USED because of unconfigured interrupt
>=20
> So, I notice that while the netbsd-4 INSTALL_LAPTOP has
> `options PCI_INTR_FIXUP`, it does not have `acpi0 at mainbus0`.
>=20
> Could having the latter make a difference in getting me working cardbus?

Yes, yes, it can.  But, not so much with the working:

cbb0 at pci4 dev 4 function 0: Texas Instruments product 0x8039 (rev. 0x00)
=2E..
cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff
cbb0: disabling socket
new status 0xffffffff
cbb0: interrupting at ioapic0 pin 16 (irq 255)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5
pcmcia0 at cardslot0

Oh well, this isn't a huge priority.

A few modifications to http://www.netbsd.org/~uebayasi/sdmmc.html
got the card reader working (well, for SD only).

I reserved some space to try DRI in -current, that
should be fun to play with.

Complete dmesg:
http://user.kollasch.net/jakllsch/stuff/a135-s4527-1178813739

 	Jonathan Kollasch

--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFGQ0kSOjx1ye3hmokRApewAJ4pEl6Iygb0m70iRR3XA4X4WDQj1ACeIVcZ
TKZjY15hFd8g9RuxMjNnWLQ=
=CjDw
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--