deprecated has asked for the wisdom of the Perl Monks concerning the following question:
Before I can ask for help with this, I need to give a brief explanation and perhaps some background.
Im using SunOS 5.8 ("Solaris 8") on a Sony VAIO subnote. It has a USB floppy drive which isnt quite supported by solaris, and a PCMCIA CD-ROM drive which is also not quite supported by solaris. Its onboard networking is fried, as the previous owner plugged a digital (high current) line into it and literally zapped the circuit traces on the board. So, while this is a great little critter for developing, it is 100% impossible to get data off of it (and I'm trying to use it to write a server in perl).
So the start of the solution here is a 3Com 'Megahertz' 10/100 network card, which is PCMCIA. Sun has excellent manpages and stuff, so writing the driver will be a bitch, but its not going to be fun because its C. I got to thinking last night that it might be possible to write a driver in perl, but it would have to call the C functions somewhere. Would this process be similar to the process people use to write C code for perl modules? It would be possible to extrapolate simple driver modules for perl using the manpages and whatnot. Has anyone done anything like this?
thanks
brother dep.
--
transcending "coolness" is what makes us cool.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Device Drivers in perl?
by Jouke (Curate) on Mar 05, 2001 at 18:11 UTC | |
|
Re: Device Drivers in perl?
by Malkavian (Friar) on Mar 05, 2001 at 18:17 UTC | |
|
Re (tilly) 1: Device Drivers in perl?
by tilly (Archbishop) on Mar 05, 2001 at 20:04 UTC | |
|
Re: Device Drivers in perl?
by deprecated (Priest) on Mar 05, 2001 at 21:29 UTC | |
|
Re: Device Drivers in perl?
by strredwolf (Chaplain) on Mar 06, 2001 at 03:25 UTC |