atom feed67 messages in org.freebsd.freebsd-mobileRe: linmodem on freebsd
FromSent OnAttachments
Richard C.Apr 13, 2001 2:16 am 
Robert BlacquièreApr 13, 2001 2:41 am 
Daniel O'ConnorApr 13, 2001 8:43 am 
Robert BlacquièreApr 13, 2001 8:59 am 
Kevin ObermanApr 13, 2001 10:50 am 
Daniel O'ConnorApr 13, 2001 10:57 am 
Kevin ObermanApr 13, 2001 12:51 pm 
Chad R. LarsonApr 13, 2001 6:00 pm 
Dinesh NairApr 13, 2001 11:01 pm 
Paul E. BennettApr 14, 2001 2:02 am 
Dinesh NairApr 14, 2001 3:12 am 
Vladimir B. GrebenschikovApr 14, 2001 6:18 am 
WATANABE KiyoshiApr 14, 2001 7:38 am 
Vladimir B. GrebenschikovApr 15, 2001 10:51 pm 
Nick SayerApr 16, 2001 11:41 am.Other
Simon WaltonApr 18, 2001 10:23 am 
Jesper SkriverApr 18, 2001 11:31 am 
Kevin ObermanApr 18, 2001 11:32 am 
Mark EvensonApr 18, 2001 11:57 am 
Greg SmithApr 18, 2001 12:48 pm 
Simon WaltonApr 18, 2001 12:55 pm 
Simon WaltonApr 18, 2001 1:01 pm 
Kevin ObermanApr 18, 2001 1:16 pm 
Simon WaltonApr 18, 2001 2:53 pm 
Kevin ObermanApr 19, 2001 10:09 am 
Torfinn IngolfsenApr 19, 2001 10:36 am 
Dinesh NairMay 11, 2001 9:31 pm 
Daniel O'ConnorMay 12, 2001 2:54 pm 
Daniel O'ConnorMay 12, 2001 2:58 pm 
Dinesh NairMay 12, 2001 11:25 pm 
Daniel O'ConnorMay 13, 2001 5:56 pm.txt
Dinesh NairMay 13, 2001 7:46 pm 
Daniel O'ConnorMay 14, 2001 2:49 pm 
Dinesh NairMay 14, 2001 7:36 pm 
Poul-Henning KampMay 17, 2001 4:17 am 
Daniel O'ConnorMay 18, 2001 8:49 pm 
Dinesh NairNov 10, 2001 3:40 am 
Daniel O'ConnorNov 10, 2001 4:18 am 
Scott LambertNov 10, 2001 7:43 am 
Dinesh NairNov 10, 2001 7:12 pm 
Daniel O'ConnorNov 10, 2001 7:32 pm 
Daniel O'ConnorNov 10, 2001 7:38 pm 
Dinesh NairNov 10, 2001 8:00 pm 
John BaldwinNov 10, 2001 8:09 pm 
Daniel O'ConnorNov 10, 2001 8:17 pm 
Dinesh NairNov 10, 2001 8:26 pm 
Dinesh NairNov 10, 2001 8:26 pm 
Daniel O'ConnorNov 10, 2001 8:51 pm 
Dinesh NairNov 10, 2001 8:57 pm 
Daniel O'ConnorNov 10, 2001 9:15 pm 
Daniel O'ConnorNov 10, 2001 9:57 pm 
WATANABE KiyoshiNov 11, 2001 7:48 pm 
Daniel O'ConnorNov 11, 2001 7:57 pm 
Scott LambertNov 12, 2001 10:39 pm 
WATANABE KiyoshiNov 13, 2001 6:41 am 
Scott LambertNov 13, 2001 10:49 am 
Scott LambertNov 13, 2001 9:41 pm 
Daniel O'ConnorNov 14, 2001 1:13 am 
WATANABE KiyoshiNov 14, 2001 6:13 am 
Scott LambertNov 14, 2001 6:17 am 
James HewittNov 14, 2001 9:17 am 
Scott LambertNov 14, 2001 12:26 pm 
Daniel O'ConnorNov 14, 2001 6:50 pm 
WATANABE KiyoshiNov 15, 2001 6:46 am 
Scott LambertNov 15, 2001 2:53 pm 
WATANABE KiyoshiDec 28, 2001 3:02 am 
WATANABE KiyoshiDec 28, 2001 11:13 pm 
Subject:Re: linmodem on freebsd
From:WATANABE Kiyoshi (aab1@pop16.odn.ne.jp)
Date:Nov 15, 2001 6:46:53 am
List:org.freebsd.freebsd-mobile

On Wed, 14 Nov 2001 15:26:27 -0500,Scott Lambert wrote:

On Wed, Nov 14, 2001 at 11:13:22PM +0900, WATANABE Kiyoshi wrote:

On Tue, 13 Nov 2001 13:49:37 -0500, Scott Lambert wrote:

My problem now is that it always says NO DIALTONE when I try to make it dial.

When you dial, can you hear DTMF tone from monitor speaker?

Not from the laptop speakers or a telephone handset. I don't hear anything modem related on the laptop.

or can you hear the sound of RELAY which is connecting to the line?

No.

1. If you can't, the hardware is not working.

Or the binary portion or the driver is not really telling the hardware to actually go off hook?

As another point of data, I ran the local loopback tests with at&t1 for analog and at&t3 for digital. The digital test succeeded. The analog test apparently failed. I didn't have a loopback plug hooked in so, I'm not really sure if the analog test should have worked.

2. If you can hear DTMF and still get "NO DIAL TONE", the interrupt handler is not working properly.

Please try the followings.

1-1. If APM,ACPI,PNPBIOS or what is equivalent to these is enabled in BIOS setting, disable it.

In the BIOS, the only changable option is what appears to be the PNPOS YES/NO option. Of course, it is named differently.

1-2. If "option PNPBIOS" is in your kernel configuration, remove it and rebuild the kernel.

PNPBIOS was not in my kernel config. I added it just to test. No change.

2-1. If irq is shared with too many devices, change irq assignment. (if
possible)

All PCI devices, other than the IDE controllers, seem to be hard-wired to IRQ 11.

2-2. Add the following line to /boot/loader.conf. Then reboot. Then test it.

hw.ltmdm.intr="INTR_TYPE_NET"

This didn't make any difference either.

It seems that hardware is sleeping.

I think the "digital test" test the UART emulator in the ltmdmobj.o and it does not test hardware part.

This may be a problem caused by ACPI. If it is true and you can not change BIOS setting, it will not work under FreeBSD-4.x.

I made a patch which adds call_func(1)/call_func(9) before vxdPortOpen()/vxdPortClose(). (I'm not sure this can solve the problem though.)

Since my modem is older one, I can not reproduce the problem to test it.

BEGIN --- CUT HERE --- Cut Here --- cut here --- --- ltmdmsio.c.orig Mon Oct 15 20:49:15 2001 +++ ltmdmsio.c Thu Nov 15 22:25:39 2001 @@ -444,6 +444,8 @@

/* #include "bus_if.h" */

+#define TEST__CALL_FUNC 1 + #undef LTMDM_DEBUG_MSG

#define LTMDM_MAX_UNIT 1 @@ -531,6 +533,11 @@ extern unsigned char eeprom[]; #endif

+#ifdef TEST__CALL_FUNC +extern int call_func_state; +extern int call_func (unsigned int func); +#endif + #if LTMDMOBJ_VERSION >= 600 static void rs_interrupt(void); #endif @@ -1216,9 +1223,14 @@ ltmdm_intr_type = intr_type;

#if LTMDMOBJ_VERSION >= 600 +#ifdef TEST__CALL_FUNC + eeprom_flag = 1; + call_func_state = 0; +#else eeprom_flag = 0; eeprom[0] = 0; #endif +#endif

DPRINTF(1,(" lucent_detect_modem()\n"));

@@ -1238,6 +1250,13 @@ DPRINTF(1,(" lucent_init_modem()\n")); lucent_init_modem();

+#ifdef TEST__CALL_FUNC + if (call_func_state == 0) { + call_func_state = 1; + DPRINTF(1,(" call_func(1)\n")); + call_func(1); + } +#endif DPRINTF(1,(" vxdPortOpen()\n")); vxdPortOpen();

@@ -1404,6 +1423,12 @@ comhardclose(com); ttyclose(tp); } +#ifdef TEST__CALL_FUNC + if (call_func_state == 1) { + call_func_state = 0; + call_func(9); + } +#endif vxdPortClose(); siosettimeout(); splx(s); END --- CUT HERE --- Cut Here --- cut here ---

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message