SO> This patch integrates the smcinit code into the smsc-ircc driver. SO> Some laptops have their smsc-ircc chip not properly configured by the BIOS and needs some preconfiguration. Currently, this can be done from userspace with smcinit, a utility that comes with the irda-utils package. It messes with ioports and PCI settings, from userspace. SO> Now with this patch, if we happen to be on one of the known to be faulty laptops, we preconfigure the chip from the driver.
Finally got around to trying it on a Toshiba Satellite 1800 model 314 and it did not work: Detected unconfigured Toshiba Satellite 1800 SMSC IrDA chip, pre-configuring device. SORRY: Toshiba Satellite 1800 has an unsupported bridge controller (ALi): not pre-configured. smsc-ircc2, Preconfiguration failed ! found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227 smsc_superio_flat(): IrDA not enabled smsc_superio_flat(): fir: 0x00, sir: 0x00, dma: 15, irq: 0, mode: 0x02 It works using pnpbios but not with pnpacpi (seems to be a bios bug). With pnpbios, I can turn it on using install smc-ircc echo "auto" > /sys/bus/pnp/devices/00:0f/resources && echo "activate" > /sys/bus/pnp/devices/00:0f/resources && /sbin/modprobe smsc-ircc2 lspci output (without and with -n): 0000:00:00.0 Host bridge: ALi Corporation M1644/M1644T Northbridge+Trident (rev 01) 0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller 0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 0000:00:04.0 IDE interface: ALi Corporation M5229 IDE (rev c3) 0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 01) 0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] 0000:00:08.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU] 0000:00:11.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32) 0000:00:11.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32) 0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 (rev 82) 0000:06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0000:00:00.0 0600: 10b9:1644 (rev 01) 0000:00:01.0 0604: 10b9:5247 0000:00:02.0 0c03: 10b9:5237 (rev 03) 0000:00:04.0 0101: 10b9:5229 (rev c3) 0000:00:06.0 0401: 10b9:5451 (rev 01) 0000:00:07.0 0601: 10b9:1533 0000:00:08.0 0680: 10b9:7101 0000:00:11.0 0607: 1179:0617 (rev 32) 0000:00:11.1 0607: 1179:0617 (rev 32) 0000:01:00.0 0300: 1023:8820 (rev 82) 0000:06:00.0 0200: 10ec:8139 (rev 10) -- Meelis Roos - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html