John, Thanks, that got it. Does a different parser get called for the hal file? Something other than bash? Because that exact syntax does work when run from the hal file.
Regards, Eric The kernel module is expecting a single string parameter called "config", and you are trying to set its value to "firmware=hm2/5i20/SVST8_4.BIT num_pwmgens=1" But the shell is interpreting the space in that string as a separator. What is actually getting sent to the module is two parameters: 1) a string called "config" containing "firmware=hm2/5i20/SVST8_4.BIT" 2) an integer (probably) called "num_pwmgens", with the value 1 Since the module doesn't want a parameter called "num_pwmgens", it causes an error. IMO this isn't a great way to handle configs, but for the short term, try quoting the entire thing with single quotes, like so: loadrt hm2_5i20 'config="firmware=hm2/5i20/SVST8_4.BIT num_pwmgens=1"' You might also try entering the command in an interactive halcmd session, or using a .hal file - that will probably avoid bash parsing, which _might_ be where things are being split apart. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers