Package: kernel-image-2.4.27-2-686
Version: 2.4.27-10
Followup-For: Bug #315110


Hi,

after some time, I tried to work under kernel 2.6.8 and I don't even get
the module to work.

* dmesg complains the following:

found SMC SuperIO Chip (devid=0x5a rev=00 base=0x004e): LPC47N227
smsc_superio_flat(): fir: 0x130, sir: 0x3e8, dma: 03, irq: 7, mode: 0x0e
SMsC IrDA Controller found
 IrCC version 2.0, firport 0x130, sirport 0x3e8 dma=3, irq=7
 smsc_ircc_set_sir_speed(), Setting speed to: 9600
 No transceiver found. Defaulting to Fast pin select
 IrDA: Registered device irda0
 smsc_ircc_net_open(), unable to allocate irq=7

* modules are there:
# lsmod | grep ir
smsc_ircc2             21468  0
irtty_sir               9152  0
sir_dev                19244  1 irtty_sir
irda                  197120  3 smsc_ircc2,irtty_sir,sir_dev
crc_ccitt               2144  1 irda

* there are no /dev/ir* devices (udev is installed)

* my configuration (2.4 and 2.6 side by side, so to say):

/etc$ head -n 20 modutils/smc-ircc modutils/irda-utils
modprobe.d/irda-utils modprobe.d/smsc-ircc2
==> modutils/smc-ircc <==
#options smc-ircc ircc_dma=3 ircc_irq=7 ircc_cfg=0x4e ircc_sir=0x3e8
ircc_fir=0x130
pre-install smc-ircc /usr/local/sbin/toshsat1800-irdasetup -s 0x3e8 -f
0x130 -m3 -i 7 -v 0x8086 -x 0x24cc -c 0x4e

==> modutils/irda-utils <==
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
alias char-major-60 ircomm_tty

# For dongles
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin

# For FIR device

options smc-ircc ircc_dma=3 ircc_irq=7 ircc_cfg=0x4e ircc_sir=0x3e8
ircc_fir=0x130
alias irda0 smc-ircc

==> modprobe.d/irda-utils <==
# Other aliases are defined in the modules themselves
alias char-major-10-187 irnet

# For FIR device

# Module name has changed for this device, so this is a compatibility
# hack
# that the user can select the name used for 2.4 when really using 2.6
install smc-ircc /sbin/modprobe smsc-ircc2
install toshoboe /sbin/modprobe donauboe

options smc-ircc ircc_dma=3 ircc_irq=7 ircc_cfg=0x4e ircc_sir=0x3e8
ircc_fir=0x130
alias irda0 smc-ircc

==> modprobe.d/smsc-ircc2 <==
#options smsc-ircc2 ircc_dma=3 ircc_irq=7 ircc_cfg=0x4e ircc_sir=0x3e8
ircc_fir=0x130
install smsc-ircc2 /usr/local/sbin/toshsat1800-irdasetup -s 0x3e8 -f
0x130 -m 3-i 7 -v 0x8086 -x 0x24cc -c 0x4e && /sbin/modprobe
--ignore-install smsc-ircc2

(I also attach /etc/default/irda-utils)

* # head /proc/net/irda/*
==> /proc/net/irda/discovery <==
IrLMP: Discovery log:


==> /proc/net/irda/irias <==
LM-IAS Objects:
name: Device, id=0
 - Attribute name: "IrLMPSupport", value[IAS_OCT_SEQ]: octet sequence (3
   bytes)

 - Attribute name: "DeviceName", value[IAS_STRING]: "lavardex"


==> /proc/net/irda/irlap <==

==> /proc/net/irda/irlmp <==
Unconnected LSAPs:
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS
srv)

Registered Link Layers:

==> /proc/net/irda/irttp <==


I hope you can make something out of this mess. I couldn't find much on
the Internet on really making the driver work.

Thanks, Eric

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages kernel-image-2.4.27-2-686 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
ii  modutils                      2.4.26-1.2 Linux module utilities

kernel-image-2.4.27-2-686 recommends no packages.

-- no debconf information
# Set your startup settings for irattach, the IrDA-daemon, here.

# Set this to 'false' if you do not need to start irattach. Otherwise set it
# to 'true'.
ENABLE="true"

# Set discovery mode which usually is a good idea for finding other devices.
DISCOVERY="true"

# Set IRDA device to access (e.g. /dev/ttyS1 or irda0).
# In case of irda0, the proper module for FIR-mode has to be set in
# /etc/modutils/irda-utils (2.4) or /etc/modprobe.d/irda-utils (2.6)
DEVICE="irda0"

# Set dongle type, e.g. none, tekram, esi, actisys, actisys+, ep7211, girbil,
# litelink, airport, old_belkin, mcp2120, act200l, ma600). You do not need
# a dongle for FIR mode.
DONGLE="none"

# Set the serial device to quiet with setserial. This is only useful on some
# machines in FIR-mode, so most people should leave it blank. See 
# README.Debian for more information.
SETSERIAL="/dev/ttyS2"

Reply via email to