Date: Wed, 14 Nov 2001 23:13:22 +0900 From: WATANABE Kiyoshi <aab10490@pop16.odn.ne.jp> To: Scott Lambert <lambert@lambertfam.org> Cc: FreeBSD-Mobile@FreeBSD.org Subject: Re: linmodem on freebsd Message-ID: <3BF25FE2.A7A64820@pop16.odn.ne.jp> References: <3BEF1C33.ACDCABEA@pop16.odn.ne.jp> <20011113014012.A74305@laptop.lambertfam.org> <3BF11508.FD372F0@pop16.odn.ne.jp> <20011113134937.A21171@laptop.lambertfam.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Nov 2001 13:49:37 -0500, Scott Lambert wrote: > On Tue, Nov 13, 2001 at 11:41:44PM +0900, WATANABE Kiyoshi wrote: > > On Tue, 13 Nov 2001 01:40:12 -0500, Scott Lambert wrote: > > > > > > Unfortunately for me, it doesn't seem to recognize my modem. Maybe I just > > > need to fix up the pci_ids list? > > > > > Due to my being a moron, I missed seeing the log messages where it was recognizing > the ltmdm last night. I can only use "way past bed time" as my excuse. :) > ltmdm0: <Xircom Winmodem> port 0xff38-0xff3f mem 0xefdff000-0xefdfffff irq 11 at device 8.1 on pci0 > ltmdm0: could not map interrupt in non-shareable mode. > ltmdm0: could not activate interrupt in fast mode > lucent_detect_modem() > lucent_init_modem() > vxdPortOpen() > BaseValue = 0xd8 > BaseAddress = 0xff38 > BaseAddress2 = 0xff3a > BaseAddressIndex = 0xff38 > BaseAddressData = 0xff39 > ComAddress = 0x0040 > V16550_IRQ_Number = 0 > Irq = 11 > ToshibaFlag = 0 > CpqFlag = 0 > ltmdm0: type Virtual 16550A > > I have been able to connect to /dev/cual0 and speak AT commands with it. > > My problem now is that it always says NO DIALTONE when I try to make it dial. > (I did remember to plug in a working phone line. ;-) > > I set the GCI=b5 for the USA just to be sure. I've tried a few init strings > but don't have time to really work on it right now. I will hit the various > web sites in README-en.txt later to see if I find anything that helps. When you dial, can you hear DTMF tone from monitor speaker? or can you hear the sound of RELAY which is connecting to the line? 1. If you can't, the hardware is not working. 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. 1-2. If "option PNPBIOS" is in your kernel configuration, remove it and rebuild the kernel. 2-1. If irq is shared with too many devices, change irq assignment. (if possible) 2-2. Add the following line to /boot/loader.conf. Then reboot. Then test it. hw.ltmdm.intr="INTR_TYPE_NET" > Should sysctl be reporting the vendor and device ids? > > # sysctl hw.ltmdm > hw.ltmdm.pci_vendor_id: 0 > hw.ltmdm.pci_device_id: 0 > hw.ltmdm.pci_io_basereg: 0 > hw.ltmdm.intr: INTR_TYPE_TTY|INTR_TYPE_FAST > hw.ltmdm.swi: SWI_TTY > hw.ltmdm.device_desc: These value is read from kernel environment variables and give parameters for probe function. It is an experimental function. I wrote about this to work/kernel_env.txt in the ltmdm-0.6-freebsd.tar.gz. ( sorry, it was written in Japanese. ) If both hw.ltmdm.pci_vendor_id and hw.ltmdm.pci_device_id are non-zero, the driver probes this combination first. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF25FE2.A7A64820>