As others have suggested, please take out the unnecssary CGI stuff. I looked at
Device-ParallelPort-1.00 . It says (Driver) "Modules are available for linux (both directly and via parport), win32 and a simple script version.". It does not say anything about Ubuntu.
I don't know how different Ubuntu and Linux are. This is low level device driver stuff and the "flavor" of Unix can make a considerable difference. What happened when you installed the Linux driver on Ubuntu? Device::ParallelPort::drv::linux or Device::ParallelPort::drv::parport ? I don't know for sure, but suspect that there was some problem with that.
Device::ParallelPort is a front end to the appropriate driver (the ...drv::xxxx module) and won't work without a driver. There are a couple of "dummy drivers", drv::dummy_byte and drv::dummy_bit. Did you make any tests with one of those?
I tried to figure out what "parport" is but didn't find much in a quick look. Sounds like it is something different than a regular device driver. I'd be curious to the C code/driver that you used, there may be a useful clue there. You can put it inbetween <readmore></readmore> tags so it doesn't clutter up things.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.