Mick wrote:
> On Saturday 02 September 2006 20:29, d2clon wrote:
> You need to enable some virtual (COM) ports.  In your kernel configuration 
> you 
> will need to set additional serial ports.  Go to:

This is how I have done:
-----------------------------------------
<*> 8250/16550 and compatible serial support

[ ]   Console on 8250/16550 and compatible serial port

< >   8250/16550 PCMCIA device support

[ ]   8250/16550 device discovery via ACPI namespace

(4)   Maximum number of 8250/16550 serial ports

[*]   Extended 8250/16550 serial driver options

[*]     Support more than 4 legacy serial ports

[*]     Support for sharing serial interrupts

[ ]     Autodetect IRQ on standard ports (unsafe)

[ ]     Support RSA serial ports

--- Non-8250 serial port support

< > Digi International NEO PCI Support
-----------------------------------------

I hope I did well.
This is my kernel:
-----------------------------------------
biit linux # uname -a
Linux biit 2.6.15-gentoo-r1 #13 SMP PREEMPT Mon Sep 4 09:49:09 CEST 2006
i686 Intel(R) Pentium(R) M processor 1500MHz GNU/Linux
-----------------------------------------

I reboot the system and then I continue with the sequence:
-----------------------------------------
biit ~ # setserial /dev/ttyS2 uart none
-----------------------------------------
That's ok, not errors, nothing into syslog, nothing into dmesg.

-----------------------------------------
biit ~ # /sbin/modprobe smsc_ircc2
FATAL: Error inserting smsc_ircc2
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko):
No such device
-----------------------------------------
This module doesn't work, some thing appeared into syslog:

-----------------------------------------
Sep  5 11:54:13 localhost kernel: NET: Registered protocol family 23
-----------------------------------------
But I don't know if some thing to be with.

-----------------------------------------
biit ~ # /sbin/modprobe smsc_ircc2
FATAL: Error inserting smsc_ircc2
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko):
No such device
-----------------------------------------
Nothing into syslog, nothing into dmesg

-----------------------------------------
biit ~ # modprobe ali-ircc
FATAL: Error inserting ali_ircc
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/ali-ircc.ko): No
such device
-----------------------------------------
Nothing into syslog, nothing into dmesg

-----------------------------------------
biit ~ # modprobe donauboe
-----------------------------------------
Nothing into syslog, nothing into dmesg

-----------------------------------------
biit ~ # modprobe irtty-sir
-----------------------------------------
Nothing into syslog, nothing into dmesg

-----------------------------------------
biit ~ # modprobe nsc-ircc
FATAL: Error inserting nsc_ircc
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/nsc-ircc.ko): No
such device
-----------------------------------------

dmesg:
-------
nsc-ircc, Found chip at base=0x04e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8

syslog:
-------
Sep  5 12:00:30 localhost kernel: nsc-ircc, Found chip at base=0x04e
Sep  5 12:00:30 localhost kernel: nsc-ircc, driver loaded (Dag Brattli)
Sep  5 12:00:30 localhost kernel: nsc_ircc_open(), can't get iobase of 0x2f8
Sep  5 12:00:30 localhost kernel: nsc-ircc, Found chip at base=0x04e
Sep  5 12:00:30 localhost kernel: nsc-ircc, driver loaded (Dag Brattli)
Sep  5 12:00:30 localhost kernel: nsc_ircc_open(), can't get iobase of 0x2f8

-----------------------------------------
biit ~ # modprobe sir-dev
-----------------------------------------

-----------------------------------------
biit ~ # modprobe smsc-ircc2
FATAL: Error inserting smsc_ircc2
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko):
No such device
-----------------------------------------

-----------------------------------------
biit ~ # modprobe stir4200
-----------------------------------------
syslog:
-------
Sep  5 12:02:57 localhost kernel: usbcore: registered new driver stir4200

dmesg:
------
usbcore: registered new driver stir4200

-----------------------------------------
biit ~ # modprobe via-ircc
-----------------------------------------

-----------------------------------------
biit ~ # modprobe vlsi_ir
-----------------------------------------

-----------------------------------------
biit ~ # modprobe w83977af_ir
FATAL: Error inserting w83977af_ir
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/w83977af_ir.ko):
No such device
-----------------------------------------


This is my actual lsmod:
-----------------------------------------
biit ~ # lsmod
Module                  Size  Used by
vlsi_ir                25480  0
via_ircc               25108  0
stir4200               12420  0
irtty_sir               6784  0
sir_dev                15564  1 irtty_sir
donauboe               12032  0
irda                  123064  5 vlsi_ir,via_ircc,stir4200,sir_dev,donauboe
crc_ccitt               2816  3 vlsi_ir,donauboe,irda
ieee80211_crypt_wep     5248  1
ipw2100               136932  0
ieee80211              46696  1 ipw2100
ieee80211_crypt         6016  2 ieee80211_crypt_wep,ieee80211
snd_intel8x0           30876  2
snd_ac97_codec         94496  1 snd_intel8x0
snd_ac97_bus            2944  1 snd_ac97_codec
-----------------------------------------

Now I try the irattach:
-----------------------------------------
biit ~ # irattach irda0 -s
-----------------------------------------
syslog:
---------
Sep  5 12:06:40 localhost irattach: executing: '/sbin/modprobe irda0'
Sep  5 12:06:40 localhost irattach: + FATAL: Module irda0 not found.
Sep  5 12:06:40 localhost irattach: Trying to load module irda0 exited
with status 1
Sep  5 12:06:40 localhost irattach: executing: 'echo biit >
/proc/sys/net/irda/devname'
Sep  5 12:06:40 localhost irattach: executing: 'echo 1 >
/proc/sys/net/irda/discovery'
Sep  5 12:06:40 localhost irattach: Starting device irda0
Sep  5 12:06:40 localhost irattach: ioctl(SIOCGIFFLAGS): No such device
Sep  5 12:06:40 localhost irattach: Stopping device irda0
Sep  5 12:06:40 localhost irattach: ioctl(SIOCGIFFLAGS): No such device
Sep  5 12:06:40 localhost irattach: exiting ...

dmesg:
-----
(nothing)


If I try with irda and not with irda0:
-----------------------------------------
biit ~ # irattach irda -s
Could not get device name list.
-----------------------------------------
Nothing into syslog, nothing into dmesg.


I'll try to start the irda service:
-----------------------------------------
biit ~ # /etc/init.d/irda start
 * Starting IrDA ...                               [ ok ]
biit ~ # /etc/init.d/irda status
 * status:  started
-----------------------------------------
That's fine.. but into syslog:
-----
Sep  5 12:09:32 localhost irattach: Stopping device /dev/ttyS2
Sep  5 12:09:32 localhost irattach: ioctl(SIOCGIFFLAGS): No such device
Sep  5 12:09:32 localhost irattach: exiting ...---


Try to found some thing into irda:
-----------------------------------------
biit ~ # irdadump
0 packets received by filter
biit ~ # cat /proc/net/irda/irlap
-----------------------------------------

Nothing...


This is my dmesg: http://paste.lisp.org/display/25422
This is my .config: http://paste.lisp.org/display/25423

What I can doing wrong?
Thanks so much.

d2clon.

-- 
http://www.flickr.com/photos/d2clon/
http://enamsterdam.blogspot.com/
-- 
gentoo-user@gentoo.org mailing list

Reply via email to