Author Topic: TiLP and parallel cable on Ubuntu?  (Read 3591 times)

0 Members and 2 Guests are viewing this topic.

Offline imPersonator

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +0/-0
    • View Profile
TiLP and parallel cable on Ubuntu?
« 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?

Online willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: TiLP and parallel cable on Ubuntu?
« Reply #1 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.

Offline imPersonator

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +0/-0
    • View Profile
Re: TiLP and parallel cable on Ubuntu?
« Reply #2 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.

Online willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: TiLP and parallel cable on Ubuntu?
« Reply #3 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.

Offline imPersonator

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +0/-0
    • View Profile
Re: TiLP and parallel cable on Ubuntu?
« Reply #4 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.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: TiLP and parallel cable on Ubuntu?
« Reply #5 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.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner