Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos. #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Build Driver and Util

Please install kernel development packages on your machine and simply
type 'make' command in root folder of this packge.
type 'make' command in root folder of this package.

There should be two output files:
- src/emuccan.ko : kernel driver of emuc socket can
- src/emucd : user-space tool for enable emuc socket can
- src/emucd : user-space tool for enabling emuc socket can

## Usage and Example

Here is a example to use emuccan socket CAN.
Here is an example to use emuccan socket CAN.
```
root@host# insmod emuccan.ko
root@host# emucd -s6 ttyACM0 can0 can1
Expand All @@ -21,10 +21,10 @@ root@host# cansend can0 5A1#11.22.33.44.55.66.77.88
root@host# candump can1
```

The detail usage of 'cansend' and 'candump', please refer the open source
The detail usage of 'cansend' and 'candump', please refer to the open source
project 'can-utils' (https://github.com/linux-can/can-utils).

You can specified the CAN speed for two channels when execute 'emucd'
You can specify the CAN speed for two channels when execute 'emucd'
daemon, type 'emucd -h' for help.

```
Expand All @@ -43,21 +43,21 @@ root@host# tail -n 100 /var/log/syslog (Ubuntu)
root@host# tail -n 100 /var/log/message (CentOS)
```

Or, you can try to run 'emucd' in foreground to see if there is any error
Or, you can try to run 'emucd' in the foreground to see if there is any error
reported.

```
root@host# emucd -F -s6 /dev/ttyACM0
```

There cannot be two EMUCD daemon running with same TTY device. You must
kill the previous one before running a new one on same device.
kill the previous one before running a new one on the same device.

## A note on /dev/tty devices

Unfortunately, emucd_64 is hardcoded(!) to use a /ttyACM[0-9] which is terrible,
so you must create a udev rule to put it at something hardcoded, in this case
we chose /dev/ttyACM9 interface. This is terrible, but works for now.
we chose /dev/ttyACM9 interface. This is terrible but works for now.

## Debian and System Install

Expand Down