paralle port dongle
-
- Level 1
- Posts: 5
- Joined: Thu Jul 17, 2008 11:56 am
paralle port dongle
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@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
i have managed to do the following but the dongle is still recognised.
i [user@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
Re: paralle port dongle
Make sure you have read/write access to the above device.archimedes1981 wrote:lrwxrwxrwx 1 root root 8 2009-05-29 07:42 lpt1 -> /dev/lp0
paralle port dongle
vitamin wrote:
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
Clarification: Make sure that you have read/write access to /dev/lp0.archimedes1981 wrote:
Make sure you have read/write access to the above device.lrwxrwxrwx 1 root root 8 2009-05-29 07:42 lpt1 -> /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
paralle port dongle
On Fri, 2009-05-29 at 20:42 -0700, James McKenzie wrote:
joysticks. The same choices and ways of setting the permissions will
work for parallel ports.
Search for discussions about handling events from multi-functionClarification: 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.
joysticks. The same choices and ways of setting the permissions will
work for parallel ports.
-
- Level 1
- Posts: 5
- Joined: Thu Jul 17, 2008 11:56 am
Then it most likely won't work on Wine.archimedes1981 wrote: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
Some dongles use "extra layer" of protection in form of kernel driver. Those have only highly limited functionality on Wine and can not access any hardware.
-
- Level 1
- Posts: 5
- Joined: Thu Jul 17, 2008 11:56 am
I still didn't get it to work...
Do you mean this? :
3.3.1. Serial and Parallel Ports
Serial and parallel port configuration is very similar to drive configuration - simply create a symbolic link in ~/.wine/dosdevices with the name of the device. Windows serial ports follow a naming convention of the word "com" followed by a number, such as com1, com2, etc. Similarly, parallel ports use "lpt" followed by a number, such as lpt1. You should link these directly to the corresponding Unix devices, such as /dev/ttyS0 and /dev/lp0. For example, to configure one serial port and one parallel port, run the following commands:
ln -s /dev/ttyS0 com1
ln -s /dev/lp0 lpt1
should there be lp0: using parport0 in the following ????
[root@localhost dev]# dmesg | grep parport
parport_pc 00:05: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[root@localhost dev]#
Do you mean this? :
3.3.1. Serial and Parallel Ports
Serial and parallel port configuration is very similar to drive configuration - simply create a symbolic link in ~/.wine/dosdevices with the name of the device. Windows serial ports follow a naming convention of the word "com" followed by a number, such as com1, com2, etc. Similarly, parallel ports use "lpt" followed by a number, such as lpt1. You should link these directly to the corresponding Unix devices, such as /dev/ttyS0 and /dev/lp0. For example, to configure one serial port and one parallel port, run the following commands:
ln -s /dev/ttyS0 com1
ln -s /dev/lp0 lpt1
should there be lp0: using parport0 in the following ????
[root@localhost dev]# dmesg | grep parport
parport_pc 00:05: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[root@localhost dev]#
-
- Level 1
- Posts: 5
- Joined: Thu Jul 17, 2008 11:56 am