From owner-freebsd-mobile Wed Apr 3 22:26:12 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from samson.dc.luth.se (samson.dc.luth.se [130.240.112.30]) by hub.freebsd.org (Postfix) with ESMTP id 6A0A837B405 for ; Wed, 3 Apr 2002 22:26:03 -0800 (PST) Received: from osiris.dc.luth.se (bj@osiris.dc.luth.se [130.240.112.182]) by samson.dc.luth.se (8.10.1/8.10.1) with ESMTP id g346Px700222; Thu, 4 Apr 2002 08:26:00 +0200 (MET DST) Message-Id: <200204040626.g346Px700222@samson.dc.luth.se> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Gavin Atkinson Cc: mobile@FreeBSD.ORG Subject: Re: Winmodem question In-reply-to: Your message of Wed, 03 Apr 2002 20:47:17 BST. Dcc: Reply-To: bj@dc.luth.se X-Disposition-notification-to: Borje.Josefsson@dc.luth.se X-uri: http://www.dc.luth.se/~bj/index.html Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Apr 2002 08:25:34 +0200 From: Borje Josefsson Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I already tried that (well, almost...). I downloaded the ltmdm-1.4.tgz = file and worked with that instead of the port. After inserting the line You suggested I rebooted, and got the modem = recognized (shows up in dmesg etc), but then I got: "could not find ioport base reg" (line 1194 in ltmdmsio.c) I also did some research (better name for "surfing" :-) ) and found this = page: http://www.sfu.ca/~cth/ltmodem/ which says that AMR modems are not supported. As my Windows 2000 says = "Toshiba software modem AMR", I guess this is a rather strong indication = that I'm having bad luck here, or do You have any other ideas? --Borje On Wed, 03 Apr 2002 20:47:17 BST Gavin Atkinson wrote: > On Mon, 1 Apr 2002, Borje Josefsson wrote: > = > > I am trying to get FreeBSD 4.5 working on a Toshiba Portege 2000. So > > far so good (sound, X, built-in wavelan etc works fine), but I haven'= t > > got the winmodem to work. Since I haven't had a laptop with a winmode= m > > before, I am not really sure what to do... Under Windows the modem is= > > shown as "Toshiba software modem AMR", manufacturer "LT" and uses the= > > driver "LTSM.SYS", so I guess it is a Lucent modem. > > I have installed the ltmdm port without problems, and the module load= s > > without a comment, but the modem doesn't respond: > = > No comment at all? It should at least print a line or two in > /var/log/messages showing that the driver has discovered the modem. I g= et: > ltmdm0: port... > ltmdm0: type Virtual 16550A > = > If you don't then I guess the driver doesn't recognise the modem (which= > sounds like it's the case, given the info below). What does pciconf -l > give? > = > > root@porter 42# tip winmodem > > tip: /dev/cual0: Device not configured > > link down > = > If you're getting no recognition from the above then i'm not suprised..= =2E > = > > I have seen some mails describing "winmodem" being displayed by dmesg= , but > > I see no such thing, the one I guess is the winmodem is the following= : > > pci0: (vendor=3D0x1179, dev=3D0x0805) at 18.0 irq 11 > = > I have no idea what this is. It's not on pciids.sourceforge.net or in > /usr/share/misc/pci_vendors, so I guess it's very new. 1179 is however > Toshiba's vendor ID. Do you have windows dual booting on this machine? = If > so, you can go into the registry and find which device this ID belongs = to. > = > > What have I forgotten to do to make the winmodem to work?? > = > OK, let's have a go. Seeing as we're pretty sure it's a Lucent modem, I= t's > worth a try. Note that this should be safe, but if it causes problems t= hen > you've been warned. First, update your ports collection, (see > http://www.freebsddiary.org/ports.php if you don't know how to). then: > = > su to root > cd /usr/ports/comms/ltmdm > make clean configure > load ./work/sys/dev/ltmdm/ltmdmsio.c into your favourite editor > Search for "pci_ids[]" (without the quotes) > In the table, insert the following line above the line ending in NULL: > { 0x1179, 0x0805, 0x0805, "Toshiba Winmodem" }, > Save the file > Execute make all install > = > reboot and see if it worked... you should at least get it recognised > when the module loads up. THe real test will be if you can talk to it. > tell me how it goes. > = > Gavin > = To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message