Omnimaga

Calculator Community => Other Calculators => Topic started by: imPersonator on June 10, 2010, 01:51:09 pm

Title: TiLP and parallel cable on Ubuntu?
Post by: imPersonator on June 10, 2010, 01:51:09 pm
I recently made a parallel cable, but TiLP won't connect to it.  Whenever I run TiLP set to connect to a parallel cable on Ubuntu (a distribution of Linux) it gives this error:

Msg: unable to issue a specific command on parallel device.
Cause: check that you have permissions on /dev/parportX device. Check that device is not locked.
System: No such file or directory (errno = 2)


Anyone know how to get this working?
Title: Re: TiLP and parallel cable on Ubuntu?
Post by: willrandship on June 10, 2010, 03:03:32 pm
Are you using the sudo command to run TiLP? I know that's often an issue.

If you don't want to run the terminal every time, you can make a launcher and use gksu tilp as the command.
Title: Re: TiLP and parallel cable on Ubuntu?
Post by: imPersonator on June 10, 2010, 03:19:49 pm
When I use sudo, it gives the same message.  I added my username to the lp group, so I don't think that makes a difference anymore, but thanks anyway.
Title: Re: TiLP and parallel cable on Ubuntu?
Post by: willrandship on June 10, 2010, 04:02:34 pm
Hmm, I know that I had this problem once. Did you solder your parallel cable plug backwards? Pinouts online usually show it from the back of the plug, not the front. If you used a new plug, it should have the numbers on the back, not the front.

I hope that helps. Other than that. I don't know what to suggest except maybe buying a cable.
Title: Re: TiLP and parallel cable on Ubuntu?
Post by: imPersonator on June 10, 2010, 04:21:33 pm
It's not a problem with the cable because I can get it to work in Windows, but it's annoying to restart the computer just to write a file to my calculator.
Title: Re: TiLP and parallel cable on Ubuntu?
Post by: JonimusPrime on June 11, 2010, 01:17:39 am
It sounds like something else is trying to use your parallel port, perhaps cupsd or somesuch, maybe a lsof /dev/parport# to see if some app is using it. If not I will fire up X on my server and test out my Parallel cable once more.