Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: q7x on October 18, 2009, 03:34:26 PM
-
I am using some software (3rd party usb/parallel port driver for use with Xilinx s/w) which requires a 'ppdev' module in the kernel. Modules 'parport' & 'parport_pc' are already installed, but ppdev is not installed
-
i install one software in tiny core but this software need ppdev
i am in emergency . please help me
-
You could check the tc .config file to see if this module was enabled?
If not, you'll need to recompile the kernel to get this module and make an extension out of it.
-
i've created ppdev.ko using a kernel compile via 2.6.29.1
how should i use ppdev.ko in my running kernel ?
i've read ur article and compiled a new kernel , but i don't know how to boot from it!
it has only created a vmlinux not a bzImage or vmlinux.gz!
how can i use a compiled kernel in this linux ?
would u please explain it step by step ?
-
If you've compiled ppdev using the tc .config file and changing just the line to produce ppdev, then "make modules_install" will place ppdev.ko somewhere under /lib.
Once you've found where ppdev is, you can make an extension out of it by doing something like:$ sudo tar -czvf ppdev.tcem --numeric-owner /path-to-file/ppdev.ko
You can then reboot with the standard tc kernel, load the new extension and be good to go.
-
after compile
tar -czvf ppdev.tcem /lib/modules/2.6.29.1-tinycore/kernel/drivers/char/ppdev.ko
restart
tce-load -i ppdev.tcem
modprobe --force ppdev
FATAL: Error inserting ppdev (/lib/modules/2.6.29.1-tinycore/kernel/drivers/char/ppdev.ko): Invalid module format
:-[
-
Was the ppdev module compiled on tinycore using the patched kernel source and the tinycore .config?
What does "modinfo ppdev" show?
-
i've download .config from http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/src/config-2.6.29.1-tinycore
and change this line "# CONFIG_PPDEV is not set" to "CONFIG_PPDEV=m"
modinfo ppdev
filename: /lib/modules/2.6.29.1-tinycore/kernel/drivers/char/ppdev.ko
alias : char-major-99-*
license: GPL
depends: parport
vermagic: 2.6.29-rc1-tinycore SMP mod_unload 486
-
Was the ppdev module compiled on tinycore using the patched kernel source and the tinycore .config?
What does "modinfo ppdev" show?
mr Juanito can you make ppdev.tcem ?
-
I'll try to have a look in the next couple of days
-
thanks . so i will be waiting for your great response
-
I don't have a parallel port to test this with, but "sudo modprobe ppdev" loaded the parport and ppdev modules from the ppdev.tczm extension I made without errors.
Could you test ppdev.tczm in http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tce/src/ppdev/ (http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tce/src/ppdev/) and see if it works for you?
-
thanks Juanito .solved
[^thehatsrule^: multiple (bad) attachments removed]