Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: PWC (Logitech WebCam) Support, Write up and publish a myDSL Extension< Next Oldest | Next Newest >
latta46 Offline





Group: Members
Posts: 8
Joined: Nov. 2006
Posted: Nov. 30 2006,19:45 QUOTE

Howdy;

I loaded all of the recommended files, and after some debugging of my *.c module source, the thing compiled, and I am able to insert it without complaint!! All of the files that it is supposed to create and install are there, with the correct permissions!!

The next thing that I need to accomplish is to finish the hardware prototype that I had to quit work on last April (the real world was knocking), so that I can test it's operation with the hardware.

I was aware that /home/dsl could be backed up automatically (which I do), but was unaware that the whole /home subdirectory was automatically saved, or of /opt being saved by default.

As to creating the *.dsl or *.unc, I will have to check the WIKI, as earlier last month, I did review the information there, and found two articles; "How To Create A Simple MyDSL Application," and "Creating A Make MyDSL CD". Are these the subject that you have recommended?

Thanks again for all of your help

Mitch
:)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 30 2006,23:06 QUOTE

All of /home and all of /opt are not automatically included in the backup. See the contents of .filetool.lst for that which is in the backup and .xfiletool.lst for the exculsions.

Some user use a hybrid install where /home/dsl and /opt are mounted on actual physcial devices. See the boot codes for this type of install.

I have also created a modules directory system much like the mydsl directory so that if you only have modules that need to be loaded at boot time you can do this without having to create a formal extension.
Just place the modules directory at level 1 for any persistent store and use the boot code modules or specify it with modules=hdxy
The modules boot option does insmods so if order/dependenacy is important you may need to prefix them so they load in the proper order.

Alternately, again, if you are only need modules loaded, and you are using a newer DSL with unionfs then the use ot /opt/bootlocal.sh could copy the modules to the proper /lib/modules directory followed by depmod -a, followed by a more normal modprobe. In fact this is how I test new modules for frugal live CD.

Much flexibility with regard to loading additional modules.
Back to top
Profile PM WEB 
latta46 Offline





Group: Members
Posts: 8
Joined: Nov. 2006
Posted: Dec. 02 2006,20:33 QUOTE

Howdy;

After reading the Kernel Module HowTo, and the recommendations on the DSL Wiki, I think that the best method is to KISS it (Keep It Simple Stupid) and utilize the bootlocal.sh and .xinirtrc methods therein outlined for my application. I should also be able to place additional wrapper files in the /mydsl subdirectory, to get things fired up.

Since DSL is intrisicly small, and therefore suitable for dedicated application usage (my intent), some compromises are in order. System adminitration should be kept as simple and as straightforward as possible, as the user will be the person doing the maintenance.

For my application, I only have two or three *.o device drivers to load, that I could put in subdirectories off of /myfiles (which is located on hda2 (my persistent storage)), along with their docs, sources, etc. I do not plan to be unmounting the modules once installed, as I have half a gig of ram on the target system. Once I have the application fully functional, this might be downsized. It will depend on the size of the database files generated by the application.

Most of the application frontend is planned to be Dillo, Monkey, PHP, SQLite, some bash files, and possibly some perl or TCL/TK. I intend to issue the application with a book and accompanying CD-ROM.

The only real question that I now have is, how to package up the *.o, *.c, and the usage docs (txt or PDF), including schematics for the IO module hardware (where required), for each of the new device drivers, that I wish to share on the DSL repository. As you can see, some tailoring of a standard *.dsl, (etc.) install is required.

Mitch
:)
Back to top
Profile PM 
latta46 Offline





Group: Members
Posts: 8
Joined: Nov. 2006
Posted: Dec. 09 2006,20:27 QUOTE

Howdy;

I have my paraport_IO hardware up and running, and have tested it against the device driver. It all works as planned.

Mitch :-)
Back to top
Profile PM 
latta46 Offline





Group: Members
Posts: 8
Joined: Nov. 2006
Posted: Jan. 24 2007,18:02 QUOTE

I now have the parallel port and IRQ7 drivers and hardware prototyped and tested. I went with the plan to keep it simple and just added a couple of lines to the bootlocal.sh file, and this worked "right out of the box".

I will be putting together the documentation package this spring, then on to the Phillips 4000 webcam.

I am also trying to get my Fuji Finepix 1300 working with DSL 30. Both USBview and lsusb find the thing, but I cannot get it to create a mount point. Ths is not unique to DSL, as I need to manually make an entry in the fstab for it as well as a mount point. It is recognized as a usb 1.0 mass stroage device at /dev/sda1 and mounted as mnt/flash.

The problem is, that in order to get it to work on DSL, I would need a peresistent fstab and a persistent mount point for it, as the device only works on the other system that I have tried it on (Debian Sarge), if you boot the system with the camera powered up and plugged into the usb port, with the appropriate entries in fstab and an existing mount point.

I am toying with the idea of editing the fstab, and mnt subdirectory, and then saving these with lines added to the filetool.lst file.

Any suggestions would be appreciated.

Mitch :-)
Back to top
Profile PM 
12 replies since Nov. 22 2006,19:09 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: PWC (Logitech WebCam) Support

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code