You are not logged in.
Hi all,
I have just compiled the zc030x kernel module for my Creative Webcam NX Pro from http://zc0302.sourceforge.net/zc0302.php and it works. /dev/video0 is created and all I need to do is to get it work with applications such as gtkam.
But the problem lies with this: to get the webcam working i need to use an option whilst loading the zc030x module. I can do it manually with this command:
insmod zc030x.ko sensor=HV7131B
Basically the extra option specifies the sensor for my webcam. How can I specify this option at boot-time though? Am I forced to always manually run this command?
Also, does the command insmod do exactly the same as modprobe?
Thanks
There is no spoon in Arch...
Offline
If you load the module using modprobe, you can specify options on a seperate line.
options snd-via82xx index=0 dxs_support=3
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
sorry cactus but I'm confused... what do you mean by that code line? That goes in rc.conf?
sorry but I'm really new to adding options to modules...
There is no spoon in Arch...
Offline
hang on! I'm such an idiot... you meant to put that line in /etc/modprobe.conf right?
if thats it, I should've known... :oops:
There is no spoon in Arch...
Offline
Yes he does.
Offline
just tested it out and all works great. Cheers cactus!
There is no spoon in Arch...
Offline
As an aside, I had the same problem a while ago but found another solution...
The acerhk module needs two parameters to have it work with my notebook. I found that just enclosing the entire module + parameters in ' marks works just fine in my rc.conf. Here's my MODULES line from rc.conf:
MODULES=(agpgart b44 !usbserial !ide-scsi fglrx evdev 'acerhk poll=1 autowlan=1' ipw2200)
now if only I'd take the time to work phrakture's wireless scripts into my system, I could actually get wireless itself working.
Offline
nice DarkPath. That looks like a great way, especially if you want to test certain options for modules
Cheers
There is no spoon in Arch...
Offline