USB-Install and adding a module for X11Forum: User Feedback Topic: USB-Install and adding a module for X11 started by: dev Posted by dev on Dec. 04 2004,21:16
Hi,I'm in the progress of building a html-driven frontend for a home-automation system. I've selected DSL as it fits perfect into my requirement for a small, yet extendable, USB bootable Linux. Respect, great work! So far I booted from CD (0.9) and installed it on an USB stick. Now I want to attach a touchscreen TFT and therefor I need to add this file: /usr/X11R6/lib/modules/input/elographics_drv.o At this point I get the error: mkdir: Cannot create directory `modules': Read-only file system Which is obvious, as
Am I right that a modification of /usr is only possible with a remastered DSL? Or is there some other solution? TIA! Ciao, dev Posted by ico2 on Dec. 04 2004,23:29
hmmmmmmm, you would need to make the section of the fs writeable, that would take some doing but not be impossible.
Posted by ico2 on Dec. 04 2004,23:30
welcome to the forums btw
Posted by cbagger01 on Dec. 05 2004,00:26
Do this:Install ANY myDSL extension file that ends with *.dsl Grab it from the myDSL repository. If you want a small one, try ace.dsl card games extension. When you install the extension and activate it, a script called "mkwritable" will run and create a new writable file system in the ramdisk and re-link /usr to this system. From then on out you should be able to install programs into the /usr directory. However, since it will be running from RAMDISK, you will need to save out your files or they will be lost at the next reboot. Try searching the forum for help on creating your own *.dsl extension It will help you do what you are looking for and if your program will be of help to other people you can donate the extension to be published in the library. Good Luck. Posted by dev on Dec. 06 2004,19:29
Thanks a million!Shame on me for not reading perhaps 50 lines further and understand the different myDSL options! I made a dsl file which "injects" the Xfree touchscreen modul and alters the XF86Config, so this part is working now. The touchscreen itself is currently not working properly, it is working fine with a Knoppix 3.6 though, but I will sort this out. When I'm ready, I'll post a HowTo. Ciao, dev Posted by SaidinUnleashed on Dec. 06 2004,21:55
remember that with knoppix, you are daeling with full Xfree86, but with DSL you are stuck with the Kdrive X servers.Might be the limitation there Posted by dev on Dec. 07 2004,08:56
yes, I'm aware of this. My first thought was, that I might be able to add the necessary xfree part as a dsl file too. If I can't proceed in this direction fast I will do a remaster as I need to continue with some of the initial projects work and try the mydsl extension in a second step. Ciao, dev |