Re: opening device in tux module
Roy Sigurd Karlsbakk <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Organization | ProntoTV AS |
| Message-ID | <[email protected]> |
On Wednesday 23 October 2002 16:03, syun wrote: > Hello > > I want to open a character device and read it so that > my TUX module may serve data from the device in TUX modules. > But "open()" always fails. > > In the case of a file, open() fails (No such file or directory) > but tux(TUX_ACTION_READ_OBJECT, req) can read file into memory. > > I want to know how to read data from the device. > I want to know better way about file. Why don't you just mkfifo asdf cat /dev/xxx | asdf& then run tux to read asdf -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.