aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2026-10-26 03:08:03 +0100
committerJavier <dev.git@javispedro.com>2026-10-26 03:08:03 +0100
commit2b80e7e349eeb6b5839577946cff962470d57c21 (patch)
tree1f9a3d482f92faa64748cc9f5380ad5b1e44922d /README.md
parent21e31414334b494c4e3f2ebae5f3bfe6c5e00da3 (diff)
downloadchu-2b80e7e349eeb6b5839577946cff962470d57c21.tar.gz
chu-2b80e7e349eeb6b5839577946cff962470d57c21.zip
change default major number to 63
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index 29c3e28..8ee2b25 100644
--- a/README.md
+++ b/README.md
@@ -114,7 +114,7 @@ decide which drive letters you prefer for the partitions on your pendrive.
For that, go to Device Manager, Disk Drives, and select the CH375 USB Disk
as follows:
-![Assigning Disk Drive Leters](https://depot.javispedro.com/dos/chu/img/config1.png)
+![Assigning Disk Drive Letters](https://depot.javispedro.com/dos/chu/img/config1.png)
Partitions will be assigned to disk letters in order.
@@ -180,17 +180,22 @@ You can then use/mount the `/dev/chuda1`, `/dev/chuda2` devices as usual.
## Usage
+Load in the usual way, or put into `/etc/modules`. E.g.,
+
+````
+modprobe chudisk io=0x260
+````
+
The driver exposes the following parameters:
* `io` the io address for your CH375, defaults to 0x260.
-* `major` allows overriding the device's major number, in the rare case you
-have a conflict. If you do this, also update `mkdev.sh`.
+* `major` allows overriding the device's major number, in case you
+have a conflict with the default (63). If you do this, also update `mkdev.sh`.
* `force` will load the driver even if we can't find a CH375 at the specified
address.
* `softblk` allows setting the "block size" used for transfers.
-Linux defaults to 1024. Higher values provide higher speed at the cost
-of latency. Must be power of two.
-
+Linux defaults to 1024. Higher values provide higher throughput at the cost
+of latency. Must be power of two, max is 4K.
# Future work