Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: IrDA crashes every time
Date: Mon, 24 Apr 2006 15:16:57
Message-Id: 20060424170549.35ee7f88.hilse@web.de
In Reply to: Re: [gentoo-user] Re: IrDA crashes every time by Mick
1 Hi again,
2
3 On Mon, 24 Apr 2006 15:09:43 +0100 Mick <michaelkintzios@×××××.com>
4 wrote:
5
6 > I've got partial success! I can modprobe smsc-ircc2 which seems to
7 > successfully install the module:
8 > =====================
9 > # modprobe -v smsc-ircc2 ircc_sir=0x3e8 ircc_irq=3
10 > insmod /lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko
11 > ircc_sir=0x3e8 ircc_irq=3
12
13 So it doesn't report an error here, correct?
14
15 > But only after I have run setserial:
16 > =====================
17 > # setserial /dev/ttyS2 uart none
18 > =====================
19 >
20 > The log shows:
21 > [...]
22
23 OK, this probably means that you have the default serial driver
24 installed and it claims the device. The setserial is needed in order to
25 release the port again. You might want to try to have the default
26 serial driver not touch the IrDA port at all -- the simplest thing
27 would be to try running without serial plug support for the start.
28
29 > Then I start /etc/init.d/irda:
30 > =====================
31 > Apr 24 15:03:37 lappy irattach: tcgetattr: Input/output error
32 > Apr 24 15:03:37 lappy irattach: Stopping device /dev/ttyS2
33 > Apr 24 15:03:37 lappy irattach: ioctl(SIOCGIFFLAGS): No such device
34 > Apr 24 15:03:37 lappy irattach: exiting ...
35 > =====================
36
37 This seems to indicate that you're trying to use /dev/ttyS2. But as
38 you're not using the serial port IrDA driver but an extended FIR driver
39 the device is probably "irda0" (and it doesn't have a path, as it's a
40 network device). Try "ifconfig -a", it should be listed. I don't have
41 IrDA on my current machine, so I can't tell what exact configuration
42 setting must be changed from "/dev/ttyS2" to "irda0". Start with this,
43 first.
44
45 > Should I perhaps run all this is a different order?
46
47 As I said, try modprobing after the "setserial" call or even omit
48 serial support in the kernel.
49
50 -hwh
51 --
52 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: IrDA crashes every time Mick <michaelkintzios@×××××.com>