From 2b80e7e349eeb6b5839577946cff962470d57c21 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2026 03:08:03 +0100 Subject: change default major number to 63 --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3