the FAQ page has an outdated tutorial on how to detect serial devices. Built-in serial buses enumerate differently in dmesg now and they start with uart, not sio.
Details
Diff Detail
- Repository
- rD FreeBSD doc repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
book.xml | ||
---|---|---|
6323 | Although we need to change this text too - has a 16550 compatible UART chip probably |
book.xml | ||
---|---|---|
6330–6331 | We should keep these for a separate commit - i.e., address all of the sio cases first, then add this change in a separate review. (I did not realize there were so many other instances of sio in this file.) |
A few comments. Don't be discouraged, you're on the right track.
One more thing though: next time when you create the diff, do it from the top level of your doc directory. That will include the full path to the file in the diff/review header and not just book.xml. We have many book.xml files, so having the path in there helps determining what file the patch is for.
Thanks!
book.xml | ||
---|---|---|
6331 | A few comments in addition to what Ed said here (having separate commits).
| |
6351 | I would rephrase this to not have the comma (which usually produces a mental pause when reading) to make the sentence more readable: "The first &man.dmesg.8; output above is before the device was connected."
Then the USB device is connected and the second &man.dmesg.8; shows the device is detected.
Also, I would abbreviate the sentence to: |
This whole paragraph talks about the third serial port, sio2 or COM3, which is supposed to be on /dev/cuad2 for dial-out devices and /dev/ttyd2 for dial-in devices. when I do ls /dev/cua* I get these files:
/dev/cuaU0 /dev/cuaU0.init /dev/cuaU0.lock /dev/cuau0 /dev/cuau0.init /dev/cuau0.lock /dev/cuau2 /dev/cuau2.init /dev/cuau2.lock
also when I do ls dev/tty* I get this:
/dev/ttyU0 /dev/ttyU0.init /dev/ttyU0.lock /dev/ttyu0 /dev/ttyu0.init /dev/ttyu0.lock /dev/ttyu2 /dev/ttyu2.init /dev/ttyu2.lock /dev/ttyv0 /dev/ttyv1 /dev/ttyv2 /dev/ttyv3 /dev/ttyv4 /dev/ttyv5 /dev/ttyv6 /dev/ttyv7 /dev/ttyv8 /dev/ttyv9 /dev/ttyva /dev/ttyvb
book.xml | ||
---|---|---|
6351 | Thank you for all these tips, will take note of them in the next review. | |
6353 | This whole paragraph talks about the third serial port, sio2 or COM3, which is supposed to be on /dev/cuad2 for dial-out devices and /dev/ttyd2 for dial-in devices. I see these in my terminal instead: $ ls /dev/cua* /dev/cuaU0 /dev/cuaU0.init /dev/cuaU0.lock /dev/cuau0 /dev/cuau0.init /dev/cuau0.lock /dev/cuau2 /dev/cuau2.init /dev/cuau2.lock so I'm guessing cuad2 is cuau2 , and ttyd2 is ttyv2 now? | |
6370 | could it be possible that cuad has changed to cuau, and ttyd has changed to ttyv? In that case I guess we can keep the text and change all the cuadX to cuauX and also all the ttyd to ttyv. |
book.xml | ||
---|---|---|
6323 | I think we should say "16550 or 16550-compatible" UART chip:
so I think here, what the output of dmesg suggests is that it's either 16550 or an 16550-compatible chip. |
updated the dial-in and dial-out serial enumerations on dev:
ttyd to ttyv
cuad to cuau
The indentation seems a bit off, so I refer you to Dr. igor. ;-)
book.xml.moresio | ||
---|---|---|
6321 ↗ | (On Diff #38173) | The indentation in this paragprah seems wrong. If you install textproc/igor from ports/packages and run it on the xml file that this patch is based on, it will tell you where the errors are. |
corrected whitespaces
book.xml.moresio | ||
---|---|---|
6321 ↗ | (On Diff #38173) | I think I already had Dr Igor installed :P, |
Just one more fix to the indentation level...
book.xml | ||
---|---|---|
6323–6328 | The indentation here is still off by one level. It should all align below the first "a" of the <para> (like the other lines above). |