Comment 3 for bug 1814513

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Dibyendu,

I had asked four questions, but you gave only one answer, so I'm ot sure which question you were answering?

Anyway...

Kernel Modules
--------------

When you run a chroot (as in Cubic) the kernel used by the chroot is the same kernel as on your host machine.

When you install drivers/kernel modules, they are installed for the currently running kernel (in /lib/modules).

Even if you update your kernel using dist update, the currently running kernel will not change in the chroot environment. Therefore, any drivers you install will still install only for the currently running kernel, not the newly updated kernel. (Take a look at /lib/modules).

Eventually, when you install your customized OS onto a computer, it will use the ~new~ kernel (installed using dist update), but any drivers you had installed may not be available in that kernel (in /lib/modules).

CUPS
----

Cups is usually installed under /usr/share/cups.
There are also drivers under /usr/lib/cups.

Make sure you have the driver for your printer included on the customized version of Ubuntu. Compare the contents of /usr/lib/cups of your customized system with the contents of /usr/lib/cups on your system where your printer works. You may need to compare file contents as well. (I don't know where -or- how the drivers for various printers are listed). However you should look for differences between the directory that works, and the directory that doesn't work. The driver for your printer may have been accidentally or intentionally excluded from the package in the repositories, so you might have to file a bug with cups or your printer vendor, if they produce a cups file for their product.