i have a parallel port dongle which i need to run a specific software. i have managed to do the following but the dongle is still recognised. i [user at localhost ~]$ ls -al ~/.wine/dosdevices total 8 drwxrwxr-x 2 user guest 4096 2009-05-29 07:43 ./ drwxrwxr-x 4 user guest 4096 2009-05-29 08:08 ../ lrwxrwxrwx 1 user guest 10 2009-05-28 14:56 c: -> ../drive_c/ lrwxrwxrwx 1 root root 8 2009-05-29 07:42 lpt1 -> /dev/lp0 lrwxrwxrwx 1 user guest 1 2009-05-28 14:56 z: -> // thanks
archimedes1981 wrote:> lrwxrwxrwx 1 root root 8 2009-05-29 07:42 lpt1 -> /dev/lp0Make sure you have read/write access to the above device.
vitamin wrote:> archimedes1981 wrote: > >> lrwxrwxrwx 1 root root 8 2009-05-29 07:42 lpt1 -> /dev/lp0 >> > > Make sure you have read/write access to the above device. > >Clarification: Make sure that you have read/write access to /dev/lp0. lp0 probably is owned by lp or something like it. This device is usually set to: rw-rw---- which means that you have two choices: 1. Change the mode of the device by typing in chmod o+rw lp0 2. Adding your login to the lp group. How to do that is a linux forum question and has been discussed in other threads on this forum. James McKenzie
On Fri, 2009-05-29 at 20:42 -0700, James McKenzie wrote:> Clarification: Make sure that you have read/write access to /dev/lp0. > lp0 probably is owned by lp or something like it. This device is > usually set to: > > rw-rw---- which means that you have two choices: > > 1. Change the mode of the device by typing in > > chmod o+rw lp0 > > 2. Adding your login to the lp group. > > How to do that is a linux forum question and has been discussed in other > threads on this forum. >Search for discussions about handling events from multi-function joysticks. The same choices and ways of setting the permissions will work for parallel ports.
Hi, thanks for the reply. My /dev/lp0 was set to crw------- with chmod o+rw lp0 it didn't give any good results, so i tried chmod 777 lp0 and it is now crwxrwxrwx it still doesn't work, so i'll try looking for the "handling events from multi-function joysticks" thanks