Error: Unable to access /path/to/pipe

Hi!
I'm trying to send some text to the display. g15cat works, but a pipe would be better... But:

<br />
root@Megaleif:~# mknod lcdtest p<br />
root@Megaleif:~# g15composer lcdtest<br />
Error: Unable to access /home/emil/lcdtest, aborting.<br />
Segmentionfault<br />

How do i solve this?

First topic, Yeah! :D

Re: Error: Unable to access /path/to/pipe

Aneurysm9 wrote:
emil.s wrote:
Ok. But now nothing happen. No output from echo, and nothing other than "G15Composer" on the LCD.

Duh, I'm losing it in my old age. :) You need to specify a command for g15composer. Try this:

echo 'TL "Hello World!"' > new_nonexisting_pipe

Ah. :P Or maybe i didn't read the manual. ;)
However it works great! Thanks!

Re: Error: Unable to access /path/to/pipe

emil.s wrote:
Ok. But now nothing happen. No output from echo, and nothing other than "G15Composer" on the LCD.

Duh, I'm losing it in my old age. :) You need to specify a command for g15composer. Try this:

echo 'TL "Hello World!"' > new_nonexisting_pipe

Re: Error: Unable to access /path/to/pipe

Aneurysm9 wrote:
emil.s wrote:
Scoz wrote:
Try
echo appends a newline to the output. try echo -n 'Hello World!'

Ok. But now nothing happen. No output from echo, and nothing other than "G15Composer" on the LCD.

Re: Error: Unable to access /path/to/pipe

emil.s wrote:
Scoz wrote:
Try
g15composer -u root lcdtest

It sets it to use the root user I guess, I found I had to do that to get my composer to start up at all.

It worked, thanks! Now i see "G15Composer" on the screen, but... then?

root@Megaleif:~/src/G15# g15composer -u root new_nonexisting_pipe</p>
<p>[1]+  Stopped                 g15composer -u root new_nonexisting_pipe<br />
root@Megaleif:~/src/G15# bg<br />
[1]+ g15composer -u root new_nonexisting_pipe &<br />
root@Megaleif:~/src/G15# echo 'Hello World!' > new_nonexisting_pipe<br />
Error: syntax error, unexpected T_NEWLINE

"unexpected T_NEWLINE", what!?

echo appends a newline to the output. try echo -n 'Hello World!'

Re: Error: Unable to access /path/to/pipe

Scoz wrote:
Try
g15composer -u root lcdtest

It sets it to use the root user I guess, I found I had to do that to get my composer to start up at all.

It worked, thanks! Now i see "G15Composer" on the screen, but... then?

root@Megaleif:~/src/G15# g15composer -u root new_nonexisting_pipe</p>
<p>[1]+  Stopped                 g15composer -u root new_nonexisting_pipe<br />
root@Megaleif:~/src/G15# bg<br />
[1]+ g15composer -u root new_nonexisting_pipe &<br />
root@Megaleif:~/src/G15# echo 'Hello World!' > new_nonexisting_pipe<br />
Error: syntax error, unexpected T_NEWLINE

"unexpected T_NEWLINE", what!?

Re: Error: Unable to access /path/to/pipe

Try
g15composer -u root lcdtest

It sets it to use the root user I guess, I found I had to do that to get my composer to start up at all.

Re: Error: Unable to access /path/to/pipe

Interesting. Can you give me a backtrace from the segfault? You shouldn't need to create the pipe before running g15composer with recent versions.