Tiny Core Base > TCB Q&A Forum

Loading PCI device when booting

(1/4) > >>

development:
Dear TinyCore ers,

I make a multi serial port PCI driver in tcem module and place in tce directory.
After booting, I can find my new file in modules directory and the device found with lspci, but I can't find the module with lsmod.
When manually insmod, the device appear in /proc/tty/driver, but can't find multi serial port in /dev/ttyXX.
How to load the PCI modules and create /dev/ttyXX automatically when booting ?
Thanks in advanced for your response.

Regards.
   

^thehatsrule^:
You'll need to modprobe it (or insmod).

You can add the command to system startup (ie in /opt/bootlocal.sh)
or if you prefer that the extension to handle it, add an executable post-loading script (in /usr/local/tce.installed/pkgname)

development:
Thanks I will try it.

development:
I just wondering, How usbserial-2.6.26.tcem can work nicely without scripting ?
Can It working also in multiport serial PCi also ?

^thehatsrule^:
depmod is executed when it's done.

Where did you place your module(s)?  Afaik somewhere like /lib/modules/`uname -r`/kernel.tclocal is ideal

Navigation

[0] Message Index

[#] Next page

Go to full version