Hi again,

On Mon, 24 Apr 2006 15:09:43 +0100 Mick <[EMAIL PROTECTED]>
wrote:

> I've got partial success!  I can modprobe smsc-ircc2 which seems to
> successfully install the module:
> =====================
> # modprobe -v smsc-ircc2 ircc_sir=0x3e8 ircc_irq=3
> insmod /lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko
> ircc_sir=0x3e8 ircc_irq=3

So it doesn't report an error here, correct?

> But only after I have run setserial:
> =====================
> # setserial /dev/ttyS2 uart none
> =====================
> 
> The log shows:
> [...]

OK, this probably means that you have the default serial driver
installed and it claims the device. The setserial is needed in order to
release the port again. You might want to try to have the default
serial driver not touch the IrDA port at all -- the simplest thing
would be to try running without serial plug support for the start.

> Then I start /etc/init.d/irda:
> =====================
> Apr 24 15:03:37 lappy irattach: tcgetattr: Input/output error
> Apr 24 15:03:37 lappy irattach: Stopping device /dev/ttyS2
> Apr 24 15:03:37 lappy irattach: ioctl(SIOCGIFFLAGS): No such device
> Apr 24 15:03:37 lappy irattach: exiting ...
> =====================

This seems to indicate that you're trying to use /dev/ttyS2. But as
you're not using the serial port IrDA driver but an extended FIR driver
the device is probably "irda0" (and it doesn't have a path, as it's a
network device). Try "ifconfig -a", it should be listed. I don't have
IrDA on my current machine, so I can't tell what exact configuration
setting must be changed from "/dev/ttyS2" to "irda0". Start with this,
first.

> Should I perhaps run all this is a different order?

As I said, try modprobing after the "setserial" call or even omit
serial support in the kernel.

-hwh
-- 
gentoo-user@gentoo.org mailing list

Reply via email to