annotate dmx_usb_module/README @ 2112:0b80bcc82cb1

reformat
author drewp@bigasterisk.com
date Thu, 02 Jun 2022 18:52:24 +0000
parents 4e60444605f6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
355
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
1 The DMX USB driver is a Linux 2.6 kernel driver for the Enttec
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
2 DMX USB dongle ( http://www.enttec.com/dmxusb.php )
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
3
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
4 Building the driver
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
5
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
6 Before the driver can be build, the kernel sourcecode needs to be
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
7 installed. To build the driver just call make, this should build a
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
8 dmx_usb.ko (the kernel module) and a dmx_usb_test(a small test
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
9 program).
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
10
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
11 Loading the right driver.
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
12
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
13 A "small" problem to solve was to make the kernel clear that it should
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
14 use my driver for the dongle and not the standard usbserial driver.
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
15 Since I don't have any other USBserial devices with the samechip type I
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
16 just removed the ftdi_sio.ko module, and changed the /etc/hotplug/usb.distmap
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
17 to point to my module. To support both the ftdi_sio.o module and the
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
18 dmx_usb.o module the ftdi_sio.o module should be patched and the Product ID
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
19 for the FT232BM should be removed from it, this will mean all other
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
20 serial-usb devices are still supported just not the one with FT232BM chips,
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
21 since it isn't possible to differentiate DMX-USB and normal-serial versions.
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
22