Hello ! Thanks your help but it seems I forgot say a few word about the default problem. The laptop can't use any device wich I connected to the serial port. I would like use an standard external modem but it can't work (the modem didn't answer). Next I want set the GPRS connection but it didn't work neither. I knew the devices working correctly because I probed them with a PC. So I think maybe the serial port undown. I connected the laptop to the PC with an simple nullmodem cable and try send some string. I saw the communication wery slowly. Here is some information from the laptop : ############################### Interrupts -> /proc/interrupts ############################### CPU0 0: 5314052 XT-PIC timer 1: 2318 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 2 XT-PIC rtc 9: 142475 XT-PIC acpi, ICH, eth0, O2 Micro, Inc. OZ6933 Cardbus Controller, O2 Micro, Inc. OZ6933 Cardbus Controller (#2), Intel 82801BA-ICH2 11: 1413 XT-PIC usb-uhci, usb-uhci 12: 117316 XT-PIC PS/2 Mouse 14: 14774 XT-PIC ide0 15: 21568 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 ################################## Serial -> /proc/tty/driver/serial ################################## serinfo:1.0 driver:5.05c revision:2001-07-08 0: uart:16550A port:3F8 irq:4 baud:9600 tx:0 rx:0 3: uart:16550A port:2E8 irq:3 baud:9600 tx:0 rx:0 ###################################### Setserial -> setserial -bg /dev/ttyS? ###################################### /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A /dev/ttyS3 at 0x02e8 (irq = 3) is a 16550A It seem correctly but these days I discovered an error message in the boot.msg ...... <5>aio_setup: num_physpages = 16352 <5>aio_setup: sizeof(struct page) = 48 <4>pty: 256 Unix98 ptys configured <6>Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled <6>ttyS00 at 0x03f8 (irq = 4) is a 16550A <6>ttyS03 at 0x02e8 (irq = 3) is a 16550A <6>Real Time Clock Driver v1.10e <6>FDC 0 is a post-1991 82077 <4>RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize ...... Kernel logging (ksyslog) stopped. Kernel log daemon terminating. Boot logging started on /dev/tty1(/dev/console) at Wed Feb 11 08:21:04 2004 <notice>run boot scripts (setserial boot.proc) insmod: Warning: loading /lib/modules/2.4.21-99-default/misc/slmdm.o will taint the kernel: non-GPL license - Smart Link Ltd. insmod: See http://www.tux.org/lkml/#export-tainted for information about tainted modules insmod: Module slmdm loaded, with warnings insmod: Warning: loading /lib/modules/2.4.21-99-default/misc/slamrmo.o will taint the kernel: non-GPL license - Smart Link Ltd. insmod: Module slamrmo loaded, with warnings Configuring serial ports... ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS3 at 0x02e8 (irq = 3) is a 16550A Cannot get serial info: Invalid argument Configured serial ports failed<notice>exit status of (setserial boot.proc) is (1 0) <notice>run boot scripts (boot.md) <notice>exit status of (boot.md) is (0) <notice>run boot scripts (boot.lvm) Run file system check on root for LVM activation fsck 1.34 (25-Jul-2003) Do you have any idea ? Thanks Saca 2004. február 9. 16.06 dátummal Stefan Seyfried ezt írta:
On Mon, Feb 09, 2004 at 03:48:02PM +0100, Bakos Sandor wrote:
port don't work correctly. It is very slowly. I connected this port to the PC serial port with simple null modem cable. I send a string out (echo 'Hello' > /dev/ttyS0) from PC and read on Laptop (cat /dev/ttyS0). The communication reading was verry slowly. It was some string which can't arriving to the laptop. I probed change the communication direction but in this case the writeing was very slowly.
hm, try "setserial -bg /dev/ttyS?" to see if your UART ist detected correctly. Then you probably need to setup the serial ports on both machines to sane parameters using setserial or something like that.
I would try a terminal program like "minicom" on both machines or simply
screen /dev/ttyS0 57600 (57600 is the serial speed) on both machines. To quit screen press "CTRL-A k" simply using cat probably leaves the serial ports uninitialized or they are using some settings the BIOS assigned to them, which may not be the same on both machines.
There is an another problem. It seems the linux can't use the inner IRDA port. It is possible ?
Sorry, there are a lot of different possible IRDA setups, so you either have to provide more details or try searching reports for your model on http://linux-laptop.net or http://tuxmobil.org -- Stefan Seyfried
On Wed, Feb 11, 2004 at 08:02:48PM +0100, Bakos Sandor wrote:
Setserial -> setserial -bg /dev/ttyS? ###################################### /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
probably your serial port
/dev/ttyS3 at 0x02e8 (irq = 3) is a 16550A
probably your irda port
It seem correctly but these days I discovered an error message in the boot.msg
Kernel logging (ksyslog) stopped. Kernel log daemon terminating.
Boot logging started on /dev/tty1(/dev/console) at Wed Feb 11 08:21:04 2004
this is normal
insmod: Warning: loading /lib/modules/2.4.21-99-default/misc/slmdm.o will taint the kernel: non-GPL license - Smart Link Ltd.
this is only a warning. Do you have a smartlink Softmodem configured?
Configuring serial ports... ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS3 at 0x02e8 (irq = 3) is a 16550A Cannot get serial info: Invalid argument
i don't know about this one, probably setserial which is called from /etc/init.d/setserial has problems with the irda port.
Configured serial ports failed<notice>exit status of (setserial boot.proc) is (1 0)
Do you have any idea ?
not really, also i don't know why the slmodem modules are loaded, maybe they interfere with the serial ports, you never know with such binary only things :-) Did you try my suggestion with "screen" on both sides and the nullmodem cable between the machines? Of course you can also try minicom or some other terminal program. The problem may be that "cat" does not set up the serial ports correctly, so it may sometimes work but fail on the next try. -- Stefan Seyfried
participants (2)
-
Bakos Sandor
-
Stefan Seyfried