Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-05 | readme.rst: Update title | norly | |
2022-02-05 | readme.rst: Remove empty To-Do list | norly | |
2022-02-05 | Add BSD-3-Clause licence | norly | |
2022-02-05 | Convert RX path to NAPI via can_rx_offload_* | norly | |
2022-01-16 | Clarify some error texts and return values | norly | |
2021-12-29 | readme.rst: Clarify DKMS install command | norly | |
The backticks around `pwd` weren't rendered in GitHub's view of the readme, and eventually led to a misunderstanding. See issue #6. | |||
2021-10-22 | Remove TTY_LDISC_MAGIC | norly | |
This is in sync with upstream 981b22b8777df7de070be1803f6d7ed4f634a43c which removed .magic from struct tty_ldisc_ops in Linux 5.13. | |||
2021-05-17 | Merge pull request #4 from tomaszduda23/master | norly | |
Adds dkms.conf to sign kernel module | |||
2021-05-17 | Adds dkms.conf to sign kernel module | Tomasz | |
2019-06-10 | Add thanks | norly | |
2019-06-10 | Style: According to linux-5.2-rc4 checkpatch.pl | norly | |
2019-06-10 | Flush worker earlier, resolving the last to-do item. | norly | |
2019-06-01 | Undo buffer rework for TTY RX | norly | |
Actually, we fully control the RX buffer, so DMA shouldn't be a concern. Fixes: 40ac32acdae89383ae44f32e612bf37fa0493631 | |||
2019-06-01 | Style: Fix one more block comment | norly | |
2019-05-31 | Separate buffers from struct elm | norly | |
This avoids trouble with CPU caches racing DMA accesses on ARM. | |||
2019-05-30 | Style: Fix big comments | norly | |
2019-03-27 | readme.rst: Clarifications | norly | |
2019-02-28 | Document dependency on can-dev | norly | |
2019-02-28 | Silence unused parameter in elmcan_do_set_bittiming() | norly | |
2019-02-25 | Extract RX sanity checker into separate function | norly | |
2019-02-25 | Comments | norly | |
2019-02-25 | Avoid return in function bodies | norly | |
2019-02-25 | Use can_change_mtu() instead of hand-made function | norly | |
2019-02-22 | readme.rst: Document minimum Linux version | norly | |
2019-02-22 | readme.rst: Add note on termination, minor fixes | norly | |
2019-02-19 | Comments and minor style | norly | |
2019-02-19 | Turn BUG_ON() into WARN_ON() | norly | |
2019-02-19 | Style: Move elm327_is_ready_char() further down to where it is used | norly | |
2019-02-19 | Simplify init script sending | norly | |
My problems with initializing the chip should now be solved by the 'accept_flaky_uart' module parameter. | |||
2019-02-19 | ioctl(SIOCGIFNAME): Copy at most IFNAMSIZ bytes, but less if possible | norly | |
Thus, we don't leak any trailing bytes that may be in the name buffer. | |||
2019-02-19 | Always copy IFNAMSIZ bytes on ioctl(SIOCGIFNAME) | norly | |
Just in case dev->name is ever not NUL terminated | |||
2019-02-19 | Remove stray spin_lock_bh() | norly | |
2019-02-19 | Style fixes | norly | |
2019-02-19 | Synchronize email addresses | norly | |
2019-02-19 | Fix up stray comments now that we have elm327_is_ready_char() | norly | |
2019-02-19 | Sanity check TTY input and bail on problems | norly | |
Also, introduce module parameter 'accept_flaky_uart'. If your adapter or its connection is unreliable, set this option to true to try and make the best of a bad situation, but undefined behavior is prone to occur. | |||
2019-02-19 | Ignore tty RX after HW failure, locking fix | norly | |
2019-02-18 | readme.rst: Add rationale behind the chosen configuration | norly | |
Plus minor fixes. | |||
2019-02-18 | README.txt: Add limitations for 'v1.5' clones | norly | |
2019-02-18 | README.rst: We actually use can_bus_off() now | norly | |
2019-02-18 | README.rst: Forgot to bump the ldisc number | norly | |
2019-02-18 | Work around hardware bug when waiting for '>' prompt | norly | |
Sometimes the ELM327 sets 0x80 and/or 0x40 when sending '>' to indicate that it is ready to receive the next command. Masking these two bits out seems to take care of most or all hangs during initialization. | |||
2019-02-18 | Shut down ELM327's 'protocol' before reconfiguring CAN | norly | |
According to ELM327's manual, AT PC should be sent before issuing AT PB. | |||
2019-02-18 | Drop fake bittimings in favor of bitrate table | norly | |
The fake bittiming table produces wrong results in Linux 4.19's bitrate based parameter calculation. SocketCAN support for fixed bitrates was introduced in 431af779256c in Jan 2017, and as of Linux 4.18 the only driver using it is mcba_usb. Bitrates are also fixed in ELM327, and none of the other parameters can be tuned, so using this API makes sense here as well. | |||
2019-02-18 | Improve readability of elm327_handle_prompt() | norly | |
2019-02-18 | Null stack variables before use | norly | |
2019-02-18 | Don't try to send garbage after each init script entry | norly | |
Previously, we'd try to send the local txbuf even though it had not been written to. Thus strlen() would overrun the buffer, which recent Linux versions catch in a BUG_ON(). | |||
2019-01-31 | Use more netdev_err() instead of pr_err() | norly | |
...and remove a stray comment | |||
2019-01-31 | Return cleanly in functions calling elm327_hw_failure() | norly | |
2019-01-31 | Don't reset on HW fault, but take the interface down. | norly | |
There is currently no interface to try again, other than detaching and re-attaching the line discipline. It wouldn't make much sense either, unless we've run into an unexpected state in the ELM327's firmware. |