[pyddr-discuss] ddrmat patches

Ed Anderson nilbus at nilbus.com
Tue May 25 17:39:24 EDT 2004


It seems you must have write access to the kernel tree to compile the 
module.  ie most users must compile as root.  This should probably be 
mentioned in the readme for the new release too.

Ed

On Tue, 25 May 2004, Ed Anderson wrote:

> Hello,
> 
> I fixed the problems with ddrmat not compiling on 2.6 after 
> parport_enumerate was removed from the kernel.  ddrmat-0.10 would not 
> compile on 2.4 kernels because of differences in the input_dev struct.
> 
> Now, ddrmat should compile on both 2.4 and 2.6 kernels by simply typing 
> make.  By default, it compiles for the kernel you are running, but this 
> can be overridden by specifying KERNEL_SOURCE and KERNEL_VERSION_NUMBER 
> on the command line when running make.  Note that to build kernel modules 
> under 2.6, the kernel source must be fully configured and compiled.
> 
> Dance pads must be plugged in at the time the module is loaded but 
> afterward can be unplugged and plugged in freely.
> If you have more than one parallel port, load the module with the 
> following options:
>  modprobe ddrmat gc=0,7 gc_2=1,7
> Some of this information might be added to the README.
> 
> This module seems to work fine with devfs on 2.6 as long as the joydev 
> module is loaded/built into the kernel (which is required anyway).
> Why does the README say not to use DevFS, especially in 2.6?  Has it been 
> a source of problems in the past?
> 
> Enjoy the patches :)
> 
> Ed Anderson
> Nilbus



More information about the pyddr-discuss mailing list