请教:手机红外线连接上网,系统检测不得猫?
RedHat 9
/root/myirda:
#!/bin/sh
#Start up the IrDA process and load necessary modules
#
case "$1" in
start)
#Start IRDA
echo -n "Starting up the IR modules"
modprobe irda
modprobe ircomm
modprobe ircomm-tty
irattach /dev/ttyS1 -s
echo "Done."
echo ""
;;
stop)
#KILL IRDA
echo -n "Stopping IRDA and removing used modules"
#Kill the irattach process and remove the modules
killall -9 irattach
rmmod ircomm-tty ircomm irda
echo "Done."
echo ""
;;
*)
echo "Usage:irdastart.sh{start|stop}"
echo ""
exit 1
esac
exit 0
[root@localhost root]# ./myirda start
Starting up the IR modulesDone.
[root@localhost root]# irdadump
05:26:49.340653 xid:cmd 8b6849a6 > ffffffff S=6 s=0 (14)
05:26:49.430638 xid:cmd 8b6849a6 > ffffffff S=6 s=1 (14)
05:26:49.520641 xid:cmd 8b6849a6 > ffffffff S=6 s=2 (14)
05:26:49.610648 xid:cmd 8b6849a6 > ffffffff S=6 s=3 (14)
05:26:49.700650 xid:cmd 8b6849a6 > ffffffff S=6 s=4 (14)
05:26:49.700627 xid:rsp 8b6849a6 < 00004767 S=6 s=3 Sony Ericss hint=9124 [ PnP
Modem IrCOMM IrOBEX ] (28)
05:26:49.790639 xid:cmd 8b6849a6 > ffffffff S=6 s=5 (14)
05:26:49.880640 xid:cmd 8b6849a6 > ffffffff S=6 s=* localhost hint=4400 [ Computer LAN Access ] (25)
[root@localhost root]# wvdialconf wvdial.conf
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1 S2 S3 S4 S5 S6 S7 S8
Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16
...
到这里没了反应.