Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jamesapp

macrumors 6502a
Original poster
Mar 7, 2008
544
0
Hello,
After googling for awhile I came across a unix command
serreset
It is supposed to communicate with the serial port driver and I would have been able to do like:
serreset 9600, n, 8, 1
Or something like that. But my mac os x 10.6 machine running snow leopard does not support this command I tried reading serreset's man page and my computer said that a man entry wasn't available. I was excited when I found the article on the mac website, the article was from 2007. I wonder when this command stopped being used? I have time machine on my computer, maybe I could look back and try to find it? But I don't know where to look? Also I wondered if there was a similar program I could use, or if there was a way to somehow get the source code and install it?
 

jamesapp

macrumors 6502a
Original poster
Mar 7, 2008
544
0
I was going to use serreset to configure my serial port to test an external speech synthesizer. Which I have plugged into an USB to serial adaptor which I have plugged into my computer. I have not been able to get audio output from the cat or echo command. And when I read an article on the apple website serreset seemed like it was just what I needed to test my synthesizer.
 

chown33

Moderator
Staff member
Aug 9, 2009
10,751
8,425
A sea of green
After googling for awhile I came across a unix command
serreset

What is the URL of the page describing this serreset command?

I googled the word and I mainly see two kinds of things:

1. SerReset, a function in the classic Mac OS programming API.
2. serreset, a command in the CCL language for writing modem-scripts.

Neither of those is a Unix command that you could type into Terminal.

Example of SerReset function reference:

http://developer.apple.com/documentation/mac/devices/Devices-318.html

Example of serreset CCL modem-script:

http://www.opensource.apple.com/source/modemccl/modemccl-7.1/Modems/I-O DATA PCMA-9664P(PDC)

Reference doc for CCL scripting language:

http://developer.apple.com/mac/library/documentation/HardwareDrivers/Reference/CCLScriptingRef/

Appendix A lists the builtin commands, one of which is serreset.

I also searched a PowerPC G4 that has multiple bootable partitions ranging from 10.1 to 10.4, and there isn't a serreset command anywhere.
 

jamesapp

macrumors 6502a
Original poster
Mar 7, 2008
544
0
You're right it was a modem script command, atleast the web page I had looked at was referring to a CCL modem script command, I assumed it was a unix command.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.