From owner-freebsd-questions@FreeBSD.ORG Sun Jun 6 17:50:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82D2516A4CE for ; Sun, 6 Jun 2004 17:50:41 -0700 (PDT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A35143D46 for ; Sun, 6 Jun 2004 17:50:40 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i570oYTG072774; Mon, 7 Jun 2004 10:50:34 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Mon, 07 Jun 2004 10:50:34 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id E7E523F36; Mon, 7 Jun 2004 10:50:31 +1000 (EST) From: Murray Taylor To: Matthew Seaman In-Reply-To: <20040603103637.GA59942@happy-idiot-talk.infracaninophile.co.uk> References: <200406031117.22331.a.shterenlikht@umist.ac.uk> <20040603103637.GA59942@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1086569430.634.21.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 07 Jun 2004 10:50:31 +1000 Content-Transfer-Encoding: 7bit cc: a.shterenlikht@umist.ac.uk cc: freebsdquestions Subject: Re: pccard modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 00:50:41 -0000 On Thu, 2004-06-03 at 20:36, Matthew Seaman wrote: > On Thu, Jun 03, 2004 at 11:17:22AM +0000, a.shterenlikht@umist.ac.uk wrote: > > > I recently installed FreeBSD 5.2.1 on Compaq Armada 1700. I have a > > pcmcia modem (Psion gold card WAN Global PC Card 56 k+ Fax Combine iT). > > > > 1. Is this not a winmodem? > > Seeing as it says "type 16550A" probably not. Looks like you have > picked a device with a real UART. > > > 2. How do I make it work? I'm not sure if it is detected or not. I get > > the lines > > > > sio4: at port 0x2f8-0x2ff irq 11 > > function 0 config 5 on pccard0 > > sio4: type 16550A > > sio4: unable to activate interrupt in fast mode - using normal mode > > > > from the dmesg. Does it mean the card is properly detected. > > Yup. Looks very properly detected to me. > > > 3. If it is detected, do I need to start a daemon for it? > > It depends what you want to do with it. If you're looking to use it > to dial out to some ISP then you need to configure PPP. The user-mode > ppp(8) is the easiest to use. For instructions see: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html > > as well as the ppp(8) man page and the sample files in > /usr/share/examples/ppp -- make sure you don't get things confused > with the kernek-mode pppd(8), which provides pretty much exactly the > same basic functionality, but by a different chunk of software. > > If you want to use it for Fax, then you need to install one of the > comms/mgetty+sendfax or comms/efax or comms/hylafax ports > > > 4. What is the recommended way to check that the card is working > > Start with the basics: can you connect to the modem using tip(1) -- > seeing as the card has decided it's sio4, you may need to edit > /etc/remote juduciously and add a line for your modem analogous to the > com1 .. com4 lines already there. Then you should be able to: > > # tip modem > > and issue AT commands -- your modem's manual should have a listing of > what's available. > > Then once you've established that the modem is talking to your system, > go for broke, and install the end-user sofware you require. Being > able to make a ppp connection or send a Fax pretty much proves things > are working OK. > > Cheers, > > Matthew FWIW I have a PCMCIA Card Drive adapter in my clone box and plugging my Laptops Xircom card modem in gave this ---------------------------------8<----------------------------- pccard: card inserted, slot 0 Jun 7 10:37:23 wstaylorm pccardd[53]: Card "Xircom"("Modem 56 V2") [RM56V2] [1.00] has function ID 2 sio4 at port 0x2e8-0x2ef irq 10 flags 0x40000 slot 0 on pccard0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode Jun 7 10:37:38 wstaylorm pccardd[53]: sio4: GENERIC PCMCIA modem inserted. ---------------------------------8<----------------------------- and with this line in /etc/remote ---------------------------------8<----------------------------- # Finger friendly shortcuts com1:dv=/dev/cuaa0:br#9600:pa=none: com2:dv=/dev/cuaa1:br#9600:pa=none: com3:dv=/dev/cuaa2:br#9600:pa=none: com4:dv=/dev/cuaa3:br#9600:pa=none: xircom:dv=/dev/cuaa4:br#9600:pa=none: <<<<< THIS LINE ---------------------------------8<----------------------------- got this when using tip ---------------------------------8<----------------------------- root@wstaylorm (/usr/X11R6/lib)ttyp1 # tip xircom connected at OK ati Xircom Modem 56 V2 AU (Revision 2.33) OK ---------------------------------8<----------------------------- I have used this modem for general modem related comms testing xircom --> PSTN --> Netcomm external modem using the same FreeBSD box running both ends of the tests. cheers -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************