Hi,
The new Dell inspiron laptops is using a new SMC chip called
FDC37N972. This chip is UART compatible for SIR speeds, but for some
reason, it's not working properly. I suspect that the Bios
initialization of the chip is not correct, so I've actually not
managed to make an IrDA connection on my own inspiron 4000 laptop yet.
-- Dag
On Mon, 07 May 2001 23:54:37 +0200, Dieter Rohlfing wrote:
> Hallo everybody,
>
> I'm very sorry to ask a question, which has been asked so many times
> before. I've read in the archives of this mailing list, I've read Werner
> Heuser's IR-How-To, I've visited a lot of websites, but I can't get my
> Palm IIIxe to synchronize with pilot-xfer from my Dell Inspiron 7500 via
> an IR connection.
>
> Synchronizing under Linux via serial cable is no problem, and I can
> synchronize under Windows 98 SE via IR, too. So the hardware definitely
> does work.
>
> Hardware: Dell Inspiron 7500
> BIOS: SIR mode, IRQ 3, IO 0x2F8
>
> I'm using a stock 2.2.19 kernel with no patch applied (by the way: is
> there any need for an IRDA related patch?). Everything is built in the
> kernel. The only modules are from IRDA and PCMCIA.
>
> 04.05.2001 19:51 44468 /lib/modules/2.2.19/misc/ircomm-tty.o
> 04.05.2001 19:51 13992 /lib/modules/2.2.19/misc/irtty.o
> 04.05.2001 19:51 22217 /lib/modules/2.2.19/net/ircomm.o
> 04.05.2001 19:51 227868 /lib/modules/2.2.19/net/irda.o
>
> I compiled the kernel resp. the modules with the following options:
>
> # IrDA (infrared) support
> CONFIG_IRDA=m
> # CONFIG_IRLAN is not set
> CONFIG_IRCOMM=m
> # CONFIG_IRDA_ULTRA is not set
> CONFIG_IRDA_OPTIONS=y
> # CONFIG_IRDA_CACHE_LAST_LSAP is not set
> # CONFIG_IRDA_FAST_RR is not set
> CONFIG_IRDA_DEBUG=y
> # CONFIG_IRDA_COMPRESSION is not set
>
> # Infrared-port device drivers
> CONFIG_IRTTY_SIR=m
> # CONFIG_IRPORT_SIR is not set
> # CONFIG_NSC_FIR is not set
> # CONFIG_WINBOND_FIR is not set
> # CONFIG_TOSHIBA_FIR is not set
> # CONFIG_SMC_IRCC_FIR is not set
> # CONFIG_DONGLE is not set
>
> The kernel initializes the serial ports:
> boot.msg:<6>ttyS00 at 0x03f8 (irq = 4) is a 16550A <- serial port
> boot.msg:<6>ttyS01 at 0x02f8 (irq = 3) is a 16550A <- IR port
>
> IRDA support is started in a rc file with the following commands:
> insmod irda�
> insmod irtty�
> insmod ircomm�
> insmod ircomm-tty�
> /usr/sbin/irattach /dev/ttyS1 -s 1
>
> The kernel log shows:
> May 7 19:41:23 lap kernel: IrDA (tm) Protocols for Linux-2.2 (Dag
> Brattli)�
> May 7 19:41:23 lap kernel: IrCOMM protocol (Dag Brattli)�
> May 7 19:41:23 lap kernel: IrDA: Registered device irda0�
>
> ifconfig reports:
> irda0 Link encap:IrLAP HWaddr 7c:5c:18:56
> UP RUNNING NOARP MTU:2048 Metric:1
> RX packets:539 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:8
>
> lsmod reports:
> Module Size Used by
> ircomm-tty 32360 0
> ircomm 14872 0 [ircomm-tty]
> irtty 8036 2
> irda 150081 1 [ircomm-tty ircomm irtty]
> pcnet_cs 10896 1
> 8390 6280 0 [pcnet_cs]
> serial_cs 5504 0 (unused)
> ds 6632 2 [pcnet_cs serial_cs]
> i82365 23560 2
> pcmcia_core 47008 0 [pcnet_cs serial_cs ds i82365]
>
> PS: serial_cs serves the PCMCIA modem with IRQ 9 and IO 0x03e8, so there
> should be no conflict with the built-in serial ports.
>
> I have the following devices:
> crw-rw-rw- 1 root root 161, 0 Wed Apr 25 15:48:29 2001
> /dev/ircomm0
> crw-rw-rw- 1 root root 161, 1 Wed Apr 25 15:48:35 2001
> /dev/ircomm1
> crw-rw-rw- 1 root root 161, 16 Thu Apr 26 22:11:48 2001
> /dev/irlpt0
> crw-rw-rw- 1 root root 161, 17 Thu Apr 26 22:11:54 2001
> /dev/irlpt1
>
> When I start irdadump (from irda-utils-0.9.13), I get the following
> output:
> 17:51:39.854294 xid:cmd 7c5c1856 > ffffffff S=6 s=1 (14)
> This allways repeats every 5 seconds, no message from the Palm. There's
> no difference, whether the Palm is on or off.
>
> Next, I start pilot-xfer with the following command:
> pilot-xfer -p /dev/ircomm1 -s /home/user/tol/.jpilot
>
> Next, I start the hotsync program on the Palm.
>
> irdadump then shows the following output:
> 17:54:31.144293 xid:cmd ffffffff < cc09500e S=6 s=0 (14)
> 17:54:31.294292 xid:cmd ffffffff < cc09500e S=6 s=1 (14)
> 17:54:31.444292 xid:cmd ffffffff < cc09500e S=6 s=2 (14)
> 17:54:31.594292 xid:cmd ffffffff < cc09500e S=6 s=3 (14)
> 17:54:31.744293 xid:cmd ffffffff < cc09500e S=6 s=4 (14)
> 17:54:31.894292 xid:cmd ffffffff < cc09500e S=6 s=5 (14)
> 17:54:32.054302 xid:cmd ffffffff < cc09500e S=6 s=* IrCOMM hint=8204 [
> PDA/Palmtop IrCOMM ] (23)
> 17:54:32.814297 xid:cmd 7c5c1856 > ffffffff S=6 s=1 (14)
> 17:54:34.234292 xid:cmd ffffffff < cc09500e S=6 s=0 (14)
> 17:54:34.384293 xid:cmd ffffffff < cc09500e S=6 s=1 (14)
> 17:54:34.534292 xid:cmd ffffffff < cc09500e S=6 s=2 (14)
> 17:54:34.684292 xid:cmd ffffffff < cc09500e S=6 s=3 (14)
> 17:54:34.834292 xid:cmd ffffffff < cc09500e S=6 s=4 (14)
> 17:54:34.984292 xid:cmd ffffffff < cc09500e S=6 s=5 (14)
> 17:54:35.144292 xid:cmd ffffffff < cc09500e S=6 s=* IrCOMM hint=8204 [
> PDA/Palmtop IrCOMM ] (23)
> 17:54:37.184292 xid:cmd ffffffff < cc09500e S=6 s=0 (14)
> 17:54:37.334293 xid:cmd ffffffff < cc09500e S=6 s=1 (14)
> 17:54:37.484292 xid:cmd ffffffff < cc09500e S=6 s=2 (14)
> 17:54:37.634292 xid:cmd ffffffff < cc09500e S=6 s=3 (14)
> 17:54:37.784293 xid:cmd ffffffff < cc09500e S=6 s=4 (14)
> 17:54:37.814298 xid:cmd 7c5c1856 > ffffffff S=6 s=1 (14)
> 17:54:37.934292 xid:cmd ffffffff < cc09500e S=6 s=5 (14)
> 17:54:38.094292 xid:cmd ffffffff < cc09500e S=6 s=* IrCOMM hint=8204 [
> PDA/Palmtop IrCOMM ] (23)
> 17:54:40.134293 xid:cmd ffffffff < cc09500e S=6 s=0 (14)
> 17:54:40.284292 xid:cmd ffffffff < cc09500e S=6 s=1 (14)
> 17:54:40.434292 xid:cmd ffffffff < cc09500e S=6 s=2 (14)
> 17:54:40.584293 xid:cmd ffffffff < cc09500e S=6 s=3 (14)
> 17:54:40.734292 xid:cmd ffffffff < cc09500e S=6 s=4 (14)
> 17:54:40.884292 xid:cmd ffffffff < cc09500e S=6 s=5 (14)
> 17:54:41.044292 xid:cmd ffffffff < cc09500e S=6 s=* IrCOMM hint=8204 [
> PDA/Palmtop IrCOMM ] (23)
> This allways repeats.
>
> But no synchronizition is done. After about 1 minute the Palm says
> something like 'no connection to host'.
>
> Does anybody know, what's wrong with my setup?
>
> I'm at my wits end and need help. TIA.
>
> Dieter Rohlfing
> _______________________________________________
> Linux-IrDA mailing list - [EMAIL PROTECTED]
> http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
>
>
>
--
Dag Brattli, Mail: [EMAIL PROTECTED]
CEO, ObexCode AS Web: http://www.obexcode.com
Forskningsparken Phone: +47 776 33 690
NO-9291 Tromsoe, NORWAY Cell: +47 481 06 352
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda