From owner-freebsd-bugs Sat Feb 28 00:00:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10080 for freebsd-bugs-outgoing; Sat, 28 Feb 1998 00:00:17 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10051; Sat, 28 Feb 1998 00:00:05 -0800 (PST) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09482; Fri, 27 Feb 1998 23:58:05 -0800 (PST) (envelope-from nobody) Message-Id: <199802280758.XAA09482@hub.freebsd.org> Date: Fri, 27 Feb 1998 23:58:05 -0800 (PST) From: badam@mw.mil.pl To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: conf/5872: no initial/lock state entries for Specialix callout devices Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5872 >Category: conf >Synopsis: no initial/lock state entries for Specialix callout devices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 28 00:00:03 PST 1998 >Last-Modified: >Originator: Adam Baran >Organization: >Release: 2.2.5-STABLE >Environment: FreeBSD grom.mw.mil.pl 2.2.5-STABLE FreeBSD 2.2.5-STABLE #0: Tue Feb 24 13:45:33 CET 1998 badam@grom.mw.mil.pl:/usr/src/sys/compile/GROM i386 >Description: MAKEDEV script (as of late february) doesn't create device entries for Specialix initial/lock state callout devices. Driver code doesn't also prepare DEVFS entries for those devices. I found them usefull, so after creating those entries in /dev (in ttyA like manner) my Specialix now works even better (for me -). >How-To-Repeat: ls -l /dev/cua* Even after applying: ./MAKEDEV ttyA16 cuaA16 there are no cuaiA* cualA* entries. >Fix: *** /dev/MAKEDEV Thu Feb 26 19:04:15 1998 --- /dev/MDV Thu Feb 26 19:13:44 1998 *************** *** 827,833 **** minor=`expr $port - 1` name=`expr $port + 1000 | cut -c 3-4` mknod cuaA$name c $major `expr $minor + 128` ! chown uucp.dialer cuaA$name port=`expr $port + 1` done umask 77 --- 827,835 ---- minor=`expr $port - 1` name=`expr $port + 1000 | cut -c 3-4` mknod cuaA$name c $major `expr $minor + 128` ! mknod cuaiA$name c $major `expr $minor + 128 + 65536` ! mknod cualA$name c $major `expr $minor + 128 + 131072` ! chown uucp.dialer cuaA$name cuaiA$name cualA$name port=`expr $port + 1` done umask 77 >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message