HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Installing PCI cards for extra modems



Steve,

Thanks for the reply, I seem to have somehow managed to work with my original modem in some strange way, as dmesg comes up with nothing for tty. Even though the server has been running for nearly 2 years. As for the lspci it shows the 2 cards I have put in.

01:0b.0 Communication controller: NetMos Technology 222N-2 I/O Card (2S+1P) (rev 01)
        Subsystem: LSI Logic / Symbios Logic: Unknown device 0012
        Flags: medium devsel, IRQ 5
        I/O ports at cf90 [size=8]
        I/O ports at cf68 [size=8]
        I/O ports at cf60 [size=8]
        I/O ports at cf58 [size=8]
        I/O ports at cf50 [size=8]
        I/O ports at cf40 [size=16]

01:0c.0 Communication controller: NetMos Technology 222N-2 I/O Card (2S+1P) (rev 01)
        Subsystem: LSI Logic / Symbios Logic: Unknown device 0012
        Flags: medium devsel, IRQ 11
        I/O ports at cff0 [size=8]
        I/O ports at cfe0 [size=8]
        I/O ports at cfa8 [size=8]
        I/O ports at cfa0 [size=8]
        I/O ports at cf98 [size=8]
        I/O ports at cf80 [size=16]


So with this info I assume I just follow this bit;
 "If you're not using devfs then you'll need to create 
/dev/ttyS4 with makedev `cd /dev; ./MAKEDEV ttyS4`.  You then want to 
chown/chmod ttyS4 to the correct permissions, I use uucp/600.  Then you 
can use `cu -l /dev/ttyS4` to test the modem."

How do I know which port to use out of the 6?

Thanks,

Tony.


-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx
[mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf Of Steven Kurylo
Sent: Tuesday, April 06, 2004 2:18 PM
To: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Installing PCI cards for extra modems


hylafax-users-bounce@xxxxxxxxxxx wrote:

>Does anybody have any good links for doing this in the simplest way. I know basic Linux, but need to hit the ground running with these cards. I have installed them into the box and lspci see's them but there are no tty's in /dev. I understand that I need to create the tty's and set them up with information which I think I have got using a few other commands. I just need a good how-to to hold my hand through it.
>p.s. Mandrake 9.1 if that helps.
>
I thought Mandrake used devfs in  9.1, so the nodes should be create for 
you; they just wouldn't be called ttyS[0-9], they would be tts/[0-9].

First you need to find out where the modems are
$dmesg |grep tty
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS04 at port 0x6800 (irq = 9) is a 16550A

This shows my fax server, the first is the onboard serial port, the 
second is my modem.  If you do
$lspci -v
[..snip..]
00:0a.0 Communication controller: Lucent Microelectronics Venus Modem 
(V90, 56KFlex)
        Subsystem: Lucent Microelectronics: Unknown device 5656
        Flags: bus master, medium devsel, latency 0, IRQ 9
        Memory at e8001000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 6800 [size=256]
[..snip..]

You'll notice the 6800 in common.  Now if I had devfs I'd find my modem 
at /dev/tts/4 (see thettyS04).  You would want to create a symlink 
between /dev/ttyS4 and /dev/tts/4, hylafax doesn't like  subdirectories 
in  dev.  If you're not using devfs then you'll need to create 
/dev/ttyS4 with makedev `cd /dev; ./MAKEDEV ttyS4`.  You then want to 
chown/chmod ttyS4 to the correct permissions, I use uucp/600.  Then you 
can use `cu -l /dev/ttyS4` to test the modem.

-- 
Steven Kurylo



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



-+-+-+-+-+-+-+-+-+ Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-+-+-
This message, and any associated attachment is confidential.  If you have recieved
it in error, please delete it from your system, do not use or disclose the information
in any way, and notify either the sender or Postmaster@xxxxxxxxxxxxxxx immediately.
The contents of this message may contain personal views which are not necessarily 
the views of Business Computer Projects Ltd., unless specifically stated.  Whilst every
effort has been made to ensure that emails and their attachments are virus free, it is 
the responsibility of the recipient(s) to verify the integrity of such emails.
Business Computer Projects Ltd
BCP House
151 Charles Street
Stockport
Cheshire
SK1 3JY
Tel: +44 (0)161 355-3000
Fax: +44 (0)161 355-3001
Web: http://www.bcpsoftware.com

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions