Seit Tagen versuche ich eine Verbindung zwischen meinem Nokia 5140i (mit OBEX Unterstützung) und meinem Laptop (HP NC6000) herzustellen.
- irda-utils ist installiert
- Kernel: Ubuntu, kernel 2.6.20-16-generic
Bei der ersten Konfiguration über
# sudo dpkg-reconfigure irda-utils
mit den Optionen:
- Aktivieren beim Systemstart? → Ja
Irda beim Systemstart autokonfigurieren? → Ja
Discovery-Modus? → Ja
Typ? seriell
Serielle Gerätedatei für IrDA? irda0 (= FIR = Fast Infrared)
Adaptertyp auswählen → keiner (= eingebaute IrDA Schnittstelle)
läuft alles gut. Verbindung steht.
Problem: Sobald ich den rechner neustarte geht garnichts mehr!
Im Internet habe ich unter http://irda.sourceforge.net/smcinit/ folgenden Hinweis gefunden:
Many Laptops are provided with a SMCS LPC47N227 SuperIO chip which is IrDA SIR/FIR capable. The IrDA subsystem of the SuperIO chip is supported by the smc-ircc Linux kernel module. Unfortunately the BIOS neither configurates the SuperIO chip IrDA subsystem (SIR port, FIR port, dma, irq, IrDA mode, power) nor sets the PCI-ISA bridge to decode any usable port. Linux kernel is thus prevented to detect the second UART making impossible to use it in SIR mode. For the same reason, the FIR mode smc-ircc is able to detect the SuperIO chip but, once found the IrDA subsystem unconfigured, fails to install. While this problem will be fixed in Linux 2.6.x kernel series, the 2.4.x users are frustrated. Daniele Peri, Rob Miller and Paul Hampson mananged to build little utilities that initialize the LPC47N227 SuperIO allowing smc-ircc IrDA kernel driver to detect and use the SMSC chip.
Victor Meghesan hacked a bit the tosh5100-smcinit.c, changed PCI and bus ID for Intel PCI-ISA bridge on HP-Compaq "nc6000" (series PP2090) laptop, device ID as seen on dmesg command output and voila, the Linux-IrDA work even on Hewlett Packard portables! The SMSC resources which may be used with smcinit from 0.4-1 release are:
SIR I/O = 0x3E8
FIR I/O = 0x130
FIR IRQ = 7
FIR DMA = 3The PCI-ISA Brigde is 82801LPC with bus ID 00:1f.0 and device+vendor ID 8086:24CC. The LPC47N227 SMSC super I/O chip have device_id=0x5A (most important for hack) and base_address=0x4e
# sudo lspci -v liefert auf jeden Fall:
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) Flags: bus master, medium devsel, latency 0
# sudo smcinit -v liefert:
smcinit 0.5cvs SIR ioport: 0x3f8 FIR ioport: 0x130 FIR interupt: 3 FIR DMA: 3 Detected IO hub vendor id: 0x8086 Detected IO hub device id: 0x24cc Detected smc_base: 0x4e Detected Chip id: 0x5a SIR ioport register write: 0xfe read: 0xfe FIR interrupt register write: 0x3 read: 0x3 FIR ioport register write: 0x26 read: 0x26 FIR dma register write: 0x3 read: 0x3 Initialization of the SMC 47Nxxx succeeded
# sudo dmesg grep | tail liefert:
[ 37.800000] Bluetooth: L2CAP ver 2.8 [ 37.800000] Bluetooth: L2CAP socket layer initialized [ 37.952000] Bluetooth: RFCOMM socket layer initialized [ 37.952000] Bluetooth: RFCOMM TTY layer initialized [ 37.952000] Bluetooth: RFCOMM ver 1.8 [ 54.856000] NET: Registered protocol family 10 [ 54.856000] lo: Disabled Privacy Extensions [ 54.856000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 65.616000] ath0: no IPv6 routers present [ 91.768000] ath0: no IPv6 routers present
Vielleicht hat ja jemand Erfahrungen gemacht oder eine Idee?