Skip to contentSkip to conversation

i2c-parport boot time parameters

DISCUSSION Karel Kulhavy 2 participants 3 messages Dec 27, 2004

lore
Share & tools
lore
#0 lore raw

Hello

Is it possible to configure i2c-parport driver using boot time commandline parameters? If so, where are these parameters described? I found just description of module parameters using modinfo i2c-parport.

Cl<

#1 lore raw
Quoted 5 lines · Karel Kulhavy

Hello

Is it possible to configure i2c-parport driver using boot time commandline parameters? If so, where are these parameters described? I found just description of module parameters using modinfo i2c-parport.

Yes, for modules that use module_param (i2c-parport does), you can use module.parameter=blah in boot line.

This is described in Documentation/kernel-parameters.txt

Domen

#2 lore raw
Quoted 9 lines · Domen Puncer
Quoted 5 lines · Karel Kulhavy

Hello

Is it possible to configure i2c-parport driver using boot time commandline parameters? If so, where are these parameters described? I found just description of module parameters using modinfo i2c-parport.

Yes, for modules that use module_param (i2c-parport does), you can use module.parameter=blah in boot line.

How do I determine whether module uses module_param without examining the code? Does running modinfo suffice?

Quoted 2 lines

This is described in Documentation/kernel-parameters.txt

Thanks. I have updated the information on I2C2P homepage.

Cl<

Quoted 3 lines

Domen