View | Details | Raw Unified | Return to bug 171533
Collapse All | Expand All

(-)usr.sbin/ppp/README.changes (-1 / +1 lines)
Lines 53-59 Link Here
53
  written to the TCP/IP log.
53
  written to the TCP/IP log.
54
o Any number of diagnostic prompts are allowed, and they are allowed in
54
o Any number of diagnostic prompts are allowed, and they are allowed in
55
  interactive mode.
55
  interactive mode.
56
o The default `device' is cuad1, then cuad0
56
o The default `device' is cuau1, then cuau0
57
o A password of "*" in ppp.secret causes a passwd database lookup in
57
o A password of "*" in ppp.secret causes a passwd database lookup in
58
  pap mode.
58
  pap mode.
59
o The value of the CONNECT environment variable is logged in the
59
o The value of the CONNECT environment variable is logged in the
(-)tools/test/ppsapi/README (-2 / +2 lines)
Lines 16-22 Link Here
16
16
17
The output looks like:
17
The output looks like:
18
18
19
# ./ppsapitest -C /dev/cuad4
19
# ./ppsapitest -C /dev/cuau4
20
1070915603 .703680117 119 1070915940 .902275676 121
20
1070915603 .703680117 119 1070915940 .902275676 121
21
1070915941 .703657317 120 1070915941 .902327516 122
21
1070915941 .703657317 120 1070915941 .902327516 122
22
1070915942 .703657077 121 1070915942 .902367957 123
22
1070915942 .703657077 121 1070915942 .902367957 123
Lines 36-42 Link Here
36
(If the -C option had not been specified, twice as many lines would
36
(If the -C option had not been specified, twice as many lines would
37
be output:
37
be output:
38
38
39
# ./ppsapitest /dev/cuad4
39
# ./ppsapitest /dev/cuau4
40
1070916432 .703624557 125 1070915945 .902527078 126
40
1070916432 .703624557 125 1070915945 .902527078 126
41
1070916432 .703624557 125 1070916432 .902303156 127
41
1070916432 .703624557 125 1070916432 .902303156 127
42
1070916433 .703624557 126 1070916432 .902303156 127
42
1070916433 .703624557 126 1070916432 .902303156 127
(-)tools/debugscripts/dot.gdbinit (-7 / +7 lines)
Lines 36-51 Link Here
36
end
36
end
37
37
38
document tr
38
document tr
39
Debug a remote system via serial or firewire interface.  For example, specify 'tr /dev/cuad0' to use first serial port, or 'tr localhost:5556' for default firewire port.  See also tr0, tr1 and trf commands.
39
Debug a remote system via serial or firewire interface.  For example, specify 'tr /dev/cuau0' to use first serial port, or 'tr localhost:5556' for default firewire port.  See also tr0, tr1 and trf commands.
40
end
40
end
41
41
42
# Convenience functions.  These call tr.
42
# Convenience functions.  These call tr.
43
# debug via cuad0
43
# debug via cuau0
44
define tr0
44
define tr0
45
tr /dev/cuad0
45
tr /dev/cuau0
46
end
46
end
47
define tr1
47
define tr1
48
tr /dev/cuad1
48
tr /dev/cuau1
49
end
49
end
50
# Firewire
50
# Firewire
51
define trf
51
define trf
Lines 53-62 Link Here
53
end
53
end
54
54
55
document tr0
55
document tr0
56
Debug a remote system via serial interface /dev/cuad0.  See also tr, tr1 and trf commands.
56
Debug a remote system via serial interface /dev/cuau0.  See also tr, tr1 and trf commands.
57
end
57
end
58
document tr1
58
document tr1
59
Debug a remote system via serial interface /dev/cuad1.  See also tr, tr0 and trf commands.
59
Debug a remote system via serial interface /dev/cuau1.  See also tr, tr0 and trf commands.
60
end
60
end
61
document trf
61
document trf
62
Debug a remote system via firewire interface at default port 5556.  See also tr, tr0 and tr1 commands.
62
Debug a remote system via firewire interface at default port 5556.  See also tr, tr0 and tr1 commands.
Lines 107-113 Link Here
107
source gdbinit.machine
107
source gdbinit.machine
108
108
109
echo Ready to go.  Enter 'tr' to connect to the remote target\n
109
echo Ready to go.  Enter 'tr' to connect to the remote target\n
110
echo with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port\n
110
echo with /dev/cuau0, 'tr /dev/cuau1' to connect to a different port\n
111
echo or 'trf portno' to connect to the remote target with the firewire\n
111
echo or 'trf portno' to connect to the remote target with the firewire\n
112
echo interface.  portno defaults to 5556.\n
112
echo interface.  portno defaults to 5556.\n
113
echo \n
113
echo \n
(-)release/picobsd/mfs_tree/etc/remote (-4 / +4 lines)
Lines 41-50 Link Here
41
# Rackmount:	U U D U D U D D U D
41
# Rackmount:	U U D U D U D D U D
42
#
42
#
43
dial2400|2400 Baud Hayes attributes:\
43
dial2400|2400 Baud Hayes attributes:\
44
	:dv=/dev/cuad0:br#2400:cu=/dev/cuad0:at=hayes:du:
44
	:dv=/dev/cuau0:br#2400:cu=/dev/cuau0:at=hayes:du:
45
dial1200|1200 Baud Hayes attributes:\
45
dial1200|1200 Baud Hayes attributes:\
46
	:dv=/dev/cuad0:br#1200:cu=/dev/cuad0:at=hayes:du:
46
	:dv=/dev/cuau0:br#1200:cu=/dev/cuau0:at=hayes:du:
47
47
48
# Hardwired line
48
# Hardwired line
49
cuad0b|cua0b:dv=/dev/cuad0:br#2400
49
cuau0b|cua0b:dv=/dev/cuau0:br#2400
50
cuad0c|cua0c:dv=/dev/cuad0:br#9600
50
cuau0c|cua0c:dv=/dev/cuau0:br#9600
(-)release/picobsd/floppy.tree/etc/ppp/ppp.conf (-1 / +1 lines)
Lines 2-8 Link Here
2
#  	PPP  Sample Configuration File
2
#  	PPP  Sample Configuration File
3
#	  Written by Toshiharu OHNO
3
#	  Written by Toshiharu OHNO
4
default:
4
default:
5
 set device /dev/cuad1
5
 set device /dev/cuau1
6
 set speed 38400
6
 set speed 38400
7
 disable lqr
7
 disable lqr
8
 deny lqr
8
 deny lqr
(-)share/examples/ppp/ppp.conf.span-isp (-1 / +1 lines)
Lines 104-110 Link Here
104
104
105
default:
105
default:
106
  set speed 115200
106
  set speed 115200
107
  set device /dev/cuad0 /dev/cuad1 /dev/cuad2 /dev/cuad3
107
  set device /dev/cuau0 /dev/cuau1 /dev/cuau2 /dev/cuau3
108
  set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIAL\\sTONE TIMEOUT 4 \
108
  set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIAL\\sTONE TIMEOUT 4 \
109
            \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"
109
            \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"
110
  set login
110
  set login
(-)share/examples/ppp/ppp.conf.sample (-6 / +6 lines)
Lines 29-35 Link Here
29
#
29
#
30
default:
30
default:
31
 set log Phase Chat LCP IPCP CCP tun command
31
 set log Phase Chat LCP IPCP CCP tun command
32
 set device /dev/cuad1
32
 set device /dev/cuau1
33
 set speed 115200
33
 set speed 115200
34
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
34
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
35
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
35
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
Lines 145-151 Link Here
145
 set timeout 60 300	# The minimum charge period is 5 minutes, so don't
145
 set timeout 60 300	# The minimum charge period is 5 minutes, so don't
146
			# hangup before then
146
			# hangup before then
147
147
148
 set device /dev/cuad0	# Or whatever
148
 set device /dev/cuau0	# Or whatever
149
 set speed 115200	# Use as high a speed as possible
149
 set speed 115200	# Use as high a speed as possible
150
150
151
 enable dns		# Ask the peer what to put in resolv.conf
151
 enable dns		# Ask the peer what to put in resolv.conf
Lines 315-321 Link Here
315
dodgynet:
315
dodgynet:
316
    set log Phase                               # Log link uptime
316
    set log Phase                               # Log link uptime
317
    allow mode auto                             # For autoconnect only
317
    allow mode auto                             # For autoconnect only
318
    set device /dev/cuad1                       # Define modem device and speed
318
    set device /dev/cuau1                       # Define modem device and speed
319
    set speed 115200
319
    set speed 115200
320
    deny lqr                                    # Don't support LQR
320
    deny lqr                                    # Don't support LQR
321
    set phone 0W1194                            # Remote system phone number,
321
    set phone 0W1194                            # Remote system phone number,
Lines 472-478 Link Here
472
#
472
#
473
direct-client:
473
direct-client:
474
 set dial
474
 set dial
475
 set device /dev/cuad0
475
 set device /dev/cuau0
476
 set sp 115200
476
 set sp 115200
477
 set timeout 900
477
 set timeout 900
478
 set lqrperiod 10
478
 set lqrperiod 10
Lines 651-657 Link Here
651
 set cbcp
651
 set cbcp
652
 set log +cbcp
652
 set log +cbcp
653
 set redial 3 1
653
 set redial 3 1
654
 set device /dev/cuad0
654
 set device /dev/cuau0
655
 set speed 115200
655
 set speed 115200
656
 set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT"
656
 set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT"
657
657
Lines 678-684 Link Here
678
#
678
#
679
mloop:
679
mloop:
680
 load loop
680
 load loop
681
 set device /dev/cuad0 /dev/cuad1 /dev/cuad2   # Use any of these devices
681
 set device /dev/cuau0 /dev/cuau1 /dev/cuau2   # Use any of these devices
682
 set mode interactive
682
 set mode interactive
683
 set mrru 1500
683
 set mrru 1500
684
 set mru 1504                                  # Room for the MP header
684
 set mru 1504                                  # Room for the MP header
(-)share/man/man5/remote.5 (-1 / +1 lines)
Lines 194-200 Link Here
194
is retrieved from the environment).
194
is retrieved from the environment).
195
.Bd -literal
195
.Bd -literal
196
UNIX-57600:\e
196
UNIX-57600:\e
197
:dv=/dev/cuad0:el=^D^U^C^S^Q^O@:oe=^D:du:at=hayes:br#115200:pa=none:
197
:dv=/dev/cuau0:el=^D^U^C^S^Q^O@:oe=^D:du:at=hayes:br#115200:pa=none:
198
arpavax|ax:\e
198
arpavax|ax:\e
199
:pn=\e@:tc=UNIX-57600
199
:pn=\e@:tc=UNIX-57600
200
.Ed
200
.Ed
(-)share/man/man4/gdb.4 (-3 / +3 lines)
Lines 252-258 Link Here
252
GNU gdb 5.2.1 (FreeBSD)
252
GNU gdb 5.2.1 (FreeBSD)
253
.Em "(political statements omitted)"
253
.Em "(political statements omitted)"
254
Ready to go.  Enter 'tr' to connect to the remote target
254
Ready to go.  Enter 'tr' to connect to the remote target
255
with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port
255
with /dev/cuau0, 'tr /dev/cuau1' to connect to a different port
256
or 'trf portno' to connect to the remote target with the firewire
256
or 'trf portno' to connect to the remote target with the firewire
257
interface.  portno defaults to 5556.
257
interface.  portno defaults to 5556.
258
258
Lines 370-379 Link Here
370
Debug a remote system via the specified serial or firewire interface.
370
Debug a remote system via the specified serial or firewire interface.
371
.It Ic tr0
371
.It Ic tr0
372
Debug a remote system via serial interface
372
Debug a remote system via serial interface
373
.Pa /dev/cuad0 .
373
.Pa /dev/cuau0 .
374
.It Ic tr1
374
.It Ic tr1
375
Debug a remote system via serial interface
375
Debug a remote system via serial interface
376
.Pa /dev/cuad1 .
376
.Pa /dev/cuau1 .
377
.It Ic trf
377
.It Ic trf
378
Debug a remote system via firewire interface at default port 5556.
378
Debug a remote system via firewire interface at default port 5556.
379
.El
379
.El
(-)share/man/man4/mouse.4 (-1 / +1 lines)
Lines 379-385 Link Here
379
.El
379
.El
380
.Sh FILES
380
.Sh FILES
381
.Bl -tag -width /dev/sysmouseXX -compact
381
.Bl -tag -width /dev/sysmouseXX -compact
382
.It Pa /dev/cuad%d
382
.It Pa /dev/cuau%d
383
serial ports
383
serial ports
384
.It Pa /dev/mse%d
384
.It Pa /dev/mse%d
385
bus and InPort mouse device
385
bus and InPort mouse device
(-)share/man/man5/rc.conf.5 (-1 / +1 lines)
Lines 3280-3286 Link Here
3280
.Dq Li YES ,
3280
.Dq Li YES ,
3281
this is the actual port the mouse is on.
3281
this is the actual port the mouse is on.
3282
It might be
3282
It might be
3283
.Pa /dev/cuad0
3283
.Pa /dev/cuau0
3284
for a COM1 serial mouse,
3284
for a COM1 serial mouse,
3285
.Pa /dev/psm0
3285
.Pa /dev/psm0
3286
for a PS/2 mouse or
3286
for a PS/2 mouse or
(-)tools/test/ppsapi/Makefile (-1 / +1 lines)
Lines 8-11 Link Here
8
.include <bsd.prog.mk>
8
.include <bsd.prog.mk>
9
9
10
test:	${PROG}
10
test:	${PROG}
11
	./${PROG} /dev/cuad0
11
	./${PROG} /dev/cuau0
(-)sbin/comcontrol/comcontrol.8 (-1 / +1 lines)
Lines 49-55 Link Here
49
.Bl -tag -width /dev/ttyd? -compact
49
.Bl -tag -width /dev/ttyd? -compact
50
.It Pa /dev/ttyd?
50
.It Pa /dev/ttyd?
51
dialin devices, hardwired terminals
51
dialin devices, hardwired terminals
52
.It Pa /dev/cuad?
52
.It Pa /dev/cuau?
53
dialout devices
53
dialout devices
54
.El
54
.El
55
.Sh SEE ALSO
55
.Sh SEE ALSO
(-)usr.sbin/moused/moused.8 (-5 / +5 lines)
Lines 296-302 Link Here
296
.Bl -tag -compact -width modelxxx
296
.Bl -tag -compact -width modelxxx
297
.It Ar port
297
.It Ar port
298
Port (device file) name, i.e.\&
298
Port (device file) name, i.e.\&
299
.Pa /dev/cuad0 ,
299
.Pa /dev/cuau0 ,
300
.Pa /dev/mse0
300
.Pa /dev/mse0
301
and
301
and
302
.Pa /dev/psm0 .
302
.Pa /dev/psm0 .
Lines 564-570 Link Here
564
mouse can be attached.
564
mouse can be attached.
565
Many people often assign the first, built-in
565
Many people often assign the first, built-in
566
serial port
566
serial port
567
.Pa /dev/cuad0
567
.Pa /dev/cuau0
568
to the mouse.
568
to the mouse.
569
You can attach multiple USB mice to your system or to your USB hub.
569
You can attach multiple USB mice to your system or to your USB hub.
570
They are accessible as
570
They are accessible as
Lines 731-746 Link Here
731
UNIX-domain stream socket for X10 MouseRemote events
731
UNIX-domain stream socket for X10 MouseRemote events
732
.El
732
.El
733
.Sh EXAMPLES
733
.Sh EXAMPLES
734
.Dl "moused -p /dev/cuad0 -i type"
734
.Dl "moused -p /dev/cuau0 -i type"
735
.Pp
735
.Pp
736
Let the
736
Let the
737
.Nm
737
.Nm
738
utility determine the protocol type of the mouse at the serial port
738
utility determine the protocol type of the mouse at the serial port
739
.Pa /dev/cuad0 .
739
.Pa /dev/cuau0 .
740
If successful, the command will print the type, otherwise it will say
740
If successful, the command will print the type, otherwise it will say
741
.Dq Li unknown .
741
.Dq Li unknown .
742
.Bd -literal -offset indent
742
.Bd -literal -offset indent
743
moused -p /dev/cuad0
743
moused -p /dev/cuau0
744
vidcontrol -m on
744
vidcontrol -m on
745
.Ed
745
.Ed
746
.Pp
746
.Pp
(-)usr.sbin/ppp/ppp.8.m4 (-10 / +10 lines)
Lines 551-557 Link Here
551
.Pp
551
.Pp
552
You can start by specifying the device name and speed:
552
You can start by specifying the device name and speed:
553
.Bd -literal -offset indent
553
.Bd -literal -offset indent
554
ppp ON awfulhak> set device /dev/cuad0
554
ppp ON awfulhak> set device /dev/cuau0
555
ppp ON awfulhak> set speed 38400
555
ppp ON awfulhak> set speed 38400
556
.Ed
556
.Ed
557
.Pp
557
.Pp
Lines 610-616 Link Here
610
 Phone Number:    N/A
610
 Phone Number:    N/A
611
611
612
Defaults:
612
Defaults:
613
 Device List:     /dev/cuad0
613
 Device List:     /dev/cuau0
614
 Characteristics: 38400bps, cs8, even parity, CTS/RTS on
614
 Characteristics: 38400bps, cs8, even parity, CTS/RTS on
615
615
616
Connect time: 0 secs
616
Connect time: 0 secs
Lines 1218-1227 Link Here
1218
as the getty:
1218
as the getty:
1219
.Bd -literal -offset indent
1219
.Bd -literal -offset indent
1220
# ppp
1220
# ppp
1221
ppp ON awfulhak> set device /dev/cuad1
1221
ppp ON awfulhak> set device /dev/cuau1
1222
ppp ON awfulhak> set speed 38400
1222
ppp ON awfulhak> set speed 38400
1223
ppp ON awfulhak> term
1223
ppp ON awfulhak> term
1224
deflink: Entering terminal mode on /dev/cuad1
1224
deflink: Entering terminal mode on /dev/cuau1
1225
Type `~?' for help
1225
Type `~?' for help
1226
at
1226
at
1227
OK
1227
OK
Lines 2169-2175 Link Here
2169
.Dq set speed
2169
.Dq set speed
2170
to specify your serial line and speed, for example:
2170
to specify your serial line and speed, for example:
2171
.Bd -literal -offset indent
2171
.Bd -literal -offset indent
2172
set device /dev/cuad0
2172
set device /dev/cuau0
2173
set speed 115200
2173
set speed 115200
2174
.Ed
2174
.Ed
2175
.Pp
2175
.Pp
Lines 2535-2541 Link Here
2535
mp:
2535
mp:
2536
 set timeout 0
2536
 set timeout 0
2537
 set log phase chat
2537
 set log phase chat
2538
 set device /dev/cuad0 /dev/cuad1 /dev/cuad2
2538
 set device /dev/cuau0 /dev/cuau1 /dev/cuau2
2539
 set phone "123456789"
2539
 set phone "123456789"
2540
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\"\\" ATZ \e
2540
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\"\\" ATZ \e
2541
           OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT"
2541
           OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT"
Lines 2572-2580 Link Here
2572
command:
2572
command:
2573
.Pp
2573
.Pp
2574
.Bd -literal -offset indent
2574
.Bd -literal -offset indent
2575
 link 1 set device /dev/cuad0
2575
 link 1 set device /dev/cuau0
2576
 link 2 set device /dev/cuad1
2576
 link 2 set device /dev/cuau1
2577
 link 3 set device /dev/cuad2
2577
 link 3 set device /dev/cuau2
2578
.Ed
2578
.Ed
2579
.Pp
2579
.Pp
2580
Use the
2580
Use the
Lines 4085-4091 Link Here
4085
.Sq deflink .
4085
.Sq deflink .
4086
Renaming it to
4086
Renaming it to
4087
.Sq modem ,
4087
.Sq modem ,
4088
.Sq cuad0
4088
.Sq cuau0
4089
or
4089
or
4090
.Sq USR
4090
.Sq USR
4091
may make the log file more readable.
4091
may make the log file more readable.
(-)usr.sbin/ppp/defs.h (-1 / +1 lines)
Lines 30-36 Link Here
30
30
31
/* Check the following definitions for your machine environment */
31
/* Check the following definitions for your machine environment */
32
#ifdef __FreeBSD__
32
#ifdef __FreeBSD__
33
# define  MODEM_LIST	"/dev/cuad1\0/dev/cuad0"	/* name of tty device */
33
# define  MODEM_LIST	"/dev/cuau1\0/dev/cuau0"	/* name of tty device */
34
#else
34
#else
35
# ifdef __OpenBSD__
35
# ifdef __OpenBSD__
36
#  define MODEM_LIST	"/dev/cua01\0/dev/cua00"	/* name of tty device */
36
#  define MODEM_LIST	"/dev/cua01\0/dev/cua00"	/* name of tty device */
(-)usr.sbin/bluetooth/hcseriald/hcseriald.8 (-1 / +1 lines)
Lines 54-60 Link Here
54
.It Fl f Ar device
54
.It Fl f Ar device
55
Callout device name.
55
Callout device name.
56
Example:
56
Example:
57
.Fl f Pa /dev/cuad0 .
57
.Fl f Pa /dev/cuau0 .
58
.It Fl h
58
.It Fl h
59
Display usage message and exit.
59
Display usage message and exit.
60
.It Fl n Ar node_name
60
.It Fl n Ar node_name
(-)usr.sbin/bluetooth/hcseriald/hcseriald.c (-1 / +1 lines)
Lines 257-263 Link Here
257
{
257
{
258
	fprintf(stderr, "Usage: %s -f device -n node_name [-s speed -d -h]\n" \
258
	fprintf(stderr, "Usage: %s -f device -n node_name [-s speed -d -h]\n" \
259
			"Where:\n" \
259
			"Where:\n" \
260
			"\t-f device    tty device name, ex. /dev/cuad1\n" \
260
			"\t-f device    tty device name, ex. /dev/cuau1\n" \
261
			"\t-n node_name set Netgraph node name to node_name\n" \
261
			"\t-n node_name set Netgraph node name to node_name\n" \
262
			"\t-s speed     set tty speed, ex. 115200\n" \
262
			"\t-s speed     set tty speed, ex. 115200\n" \
263
			"\t-d           run in foreground\n" \
263
			"\t-d           run in foreground\n" \

Return to bug 171533