Re: perl serial port access

2003-10-19 Thread Bernd Walter
On Fri, Oct 17, 2003 at 02:01:50PM +0200, Perica Veljanovski wrote:
 Hi,
 
 What is the name of the /dev for the serial port in FreeBSD. dmesg says
 there are sio0 and sio1 but there are no such file names in /dev.

And the sio(4) manpage says:
FILES
 /dev/ttyd?   for callin ports
 /dev/ttyid?
 /dev/ttyld?  corresponding callin initial-state and lock-state devices

 /dev/cuaa?   for callout ports
 /dev/cuaia?
 /dev/cuala?  corresponding callout initial-state and lock-state devices

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


perl serial port access

2003-10-17 Thread Perica Veljanovski
Hi,

What is the name of the /dev for the serial port in FreeBSD. dmesg says
there are sio0 and sio1 but there are no such file names in /dev.

What module should I use in Perl to access (read/write strings) to the
serial port?

10x.
-- 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl serial port access

2003-10-17 Thread Q
On Fri, 2003-10-17 at 22:01, Perica Veljanovski wrote:

 What is the name of the /dev for the serial port in FreeBSD. dmesg says
 there are sio0 and sio1 but there are no such file names in /dev.



The device name you are looking for is /dev/cuaa*


 What module should I use in Perl to access (read/write strings) to the
 serial port?


Try this in the ports collection:  comms/p5-Device-SerialPort

Seeya...Q
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl serial port access

2003-10-17 Thread Kliment Andreev
 What is the name of the /dev for the serial port in FreeBSD. dmesg says
 there are sio0 and sio1 but there are no such file names in /dev.
Most devices in the kernel are accessed through ``device special files'',
which are located in the /dev directory. The sio devices are accessed
through the /dev/ttydN (dial-in) and /dev/cuaaN (call-out) devices. FreeBSD
also provides initialization devices (/dev/ttyidN and /dev/cuaiaN) and
locking devices (/dev/ttyldN and /dev/cualaN).and so on (handbook)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]