[clug] /dev/port

Martijn van Oosterhout kleptog at svana.org
Mon May 30 09:39:54 GMT 2005

On Mon, May 30, 2005 at 06:38:08PM +1000, Paul TBBle Hampson wrote:
> On Mon, May 30, 2005 at 06:03:48PM +1000, Adrian Blake wrote:
> > I am having trouble opening /dev/port . I want to be able to read and write
> > to io addresses that make up the printer port. I can open files but not
> > /dev/port.  Any suggestions
> Amongst the things I don't suggest you do to solve this is 'man /dev/port'.
> Hoping for a manpage about /dev/port, instead my laptop locked hard. >_<
> That's my "dumb things to do to my laptop" for the evening.

Don't run man as root :)

Back to the original question, you need to be root to access /dev/port.
Did you actually look at the error message you got when you tried to
open the file?

Have a nice day,
Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20050530/838b9578/attachment.bin

More information about the linux mailing list