Monday, Dag Brattli mi scrisse cio` che segue:
> James <[EMAIL PROTECTED]> writes:
>
> > Does IrLAN now peer with win95 IrLAN
>
> Don't know, haven't tried that in a very long time. If you have problems it
> might be better to use modprobe irlan access=1 which will make Win95 think
> it's talking to an access point ;-) But then I haven't tried this either!
Actually, as I said I was curious and I tried connecting with my wife's
toshiba which run win98 to transfer some files. It was a failure on
all fronts! Since I was running 2.2.10 with no patches and toshoboe 1.9,
I installed 2.2.13, toshoboe 1.9, irda utils 0.9.4, and *it got even
worse* (irdaping was functioning before, and was broken after...).
The connection is:
Toshiba 2540CDS Toshiba 4070CDT
Linux 2.2.13 <----------> Win 98
irda-utils 0.9.4 no patching whatsoever
I did'nt understand a word of James' last mail talking about what need
to be done on win98 in order to make it work (win 98 is definitely too
difficult for me :) - so I'm at a loss. I add to this mail a script of
all the operations I did while trying to get it running. The relevant
part of my /etc/conf.modules is:
#
# irda stuff
#
alias tty-ldisc-11 irtty # tty-ldisc-11 for snapshots since 21/10/98
alias char-major-60 ircomm_tty # if you want IrCOMM support
alias net-pf-17 irlan # <--- IS THAT RIGHT?
Now here's what I did (modules where already partly installed):
Script started on Fri Oct 29 21:06:33 1999
ax-nicb:.../nicb$ /sbin/lsmod
Module Size Used by
toshoboe 5792 1 (autoclean)
irda 63041 1 (autoclean) [toshoboe]
binfmt_aout 3944 0 (autoclean)
nls_iso8859-1 2052 1 (autoclean)
beep 976 0 (unused)
isofs 17848 1 (autoclean)
ax-nicb:.../nicb$ dmesg
Linux version 2.2.13 ([EMAIL PROTECTED]) (gcc version pgcc-2.95.1 19990816
(release)) #3 Fri Oct 29 21:47:58 CEST 1999
Detected 333275236 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 335.87 BogoMIPS
Memory: 95932k/98304k available (736k kernel code, 412k reserved, 1184k data, 40k init)
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
[snip ---8<--]
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
ToshOboe: Found 701 chip at 0xffe0 irq 11
PCI: Enabling bus mastering for device 00:88
ToshOboe: seting baud to 9600
IrDA: Registered device irda0
irmanager is not running!
ToshOboe: Using single tasks, version $Id: toshoboe.c,v 1.9 1999/06/29 14:21:06 root
Exp $
__irda_device_change_speed(), device locked!
__irda_device_change_speed(), device locked!
__irda_device_change_speed(), device locked!
__irda_device_change_speed(), device locked!
ToshOboe: seting baud to 4000000
ToshOboe: seting baud to 9600
ax-nicb:.../nicb$ /sbin/modprobe -k irlan access=1
ax-nicb:.../nicb$ /sbin/lsmod
Module Size Used by
irlan 17744 0 (autoclean) (unused)
toshoboe 5792 1 (autoclean)
irda 63041 1 (autoclean) [irlan toshoboe]
binfmt_aout 3944 0 (autoclean)
nls_iso8859-1 2052 1 (autoclean)
beep 976 0 (unused)
isofs 17848 1 (autoclean)
ax-nicb:.../nicb$ cat /proc/net/irda/discovery
IrLMP: Discovery log:
name: clc portable, hint: 0x0400, saddr: 0x8432b0c4, daddr: 0x56d69d66
ax-nicb:.../nicb$ irdaping 0x56d69d66
socket: Invalid argument
ax-nicb:.../nicb$ /usr/local/sbin/irdaspray
Discovered: (list len=1)
name: clc portable
daddr: 56d69d66
saddr: 8432b0c4
Lets try this one
connect: Network is unreachable
ax-nicb:.../nicb$ irxfer ~/phone-messages/gioia.acm
Send files to and receive files from win95
PUT file /usr/local/user/nicb/phone-messages/gioia.acm
IrOBEX_ConnectRequest()
obex_do_event(), event = CONNECT_REQUEST, state = STATE_DISCONNECTED
obex_state_disconnected()
obex_connect_request()
Discovered: (list len=1)
name: clc portable
daddr: 56d69d66
saddr: 8432b0c4
irobex_connect_request(), ret=-1
obex_next_state(), STATE_DISCONNECTED
ax-nicb:.../nicb$
Script done on Fri Oct 29 21:09:36 1999
I've also looked at irdaping.c with gdb to see where it fails. It
fails here:
183 /* Create socket */
184 self.fd = socket(AF_PACKET, SOCK_PACKET, htons(ETH_P_ALL));
185 if (self.fd < 0) {
186 perror("socket");
187 exit(-1);
188 }
(if that can be of any help).
Thanks for all the work you're putting into this great project!
Nicola
P.S. I use regularly irda to connect my satellite 2540CDS to a SH888,
with actual irda, with cables etc. and it works perfectly!
------------------------------------------------------------------------
Nicola Bernardini
E-mail: [EMAIL PROTECTED]
Re graphics: A picture is worth 10K words -- but only those to describe
the picture. Hardly any sets of 10K words can be adequately described
with pictures.
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda