× Forum Header

usb-par cable, how to get address?

More
27 Sep 2010 15:43 #4371 by psicko275
hello friends how are you?
I'm new to the forum and in the use of CncLinux and I could not find the address of a USB to parallel cable I bought, the cable is the Prolific Technology, Inc. PL2305 Parallel Port, the cable creates a virtual port but not in to address this. I have made a $ lsusb in the terminal of Ubuntu and this is what shows me:
imike @ imike-lp: ~ $ lsusb
Bus 008 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 062nd: 0000 Creative Labs Optical mouse
Bus 007 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 067b: 2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 006 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 08ff: 2810 AuthenTec, Inc.
Bus 005 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID form 413c: 8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card
Bus 003 Device 004: ID form 413c: 8158 Dell Computer Corp. Integrated Touchpad / Trackstick
Bus 003 Device 003: ID form 413c: 8157 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 002: ID 0a5c: 4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0781:7114 SanDisk Corp. Cruzer Mini
Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45: Microdia 63fa
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub

I have worked with parallel and serial ports but windows and both have an address where they are physical devices, eg in EMC2 estepconf wizard by default has the address 0x378 is the address of the parallel port of a PC but not how to get the same address PL2305 Parallel Port cable.
Could anyone help me?
Greetings.

Please Log in or Create an account to join the conversation.

More
27 Sep 2010 16:28 #4372 by PCW
Note: a USB-Parallel converter will not work with EMC for step generation (it is not real time)

Please Log in or Create an account to join the conversation.

More
27 Sep 2010 17:03 #4373 by BigJohnT
Just a guess but try lsusb -v

John

Please Log in or Create an account to join the conversation.

More
27 Sep 2010 18:13 - 27 Sep 2010 18:25 #4374 by psicko275
thanks John I did what you say, and the terminal shows this:

Bus 006 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x2305 PL2305 Parallel Port
bcdDevice 2.02
iManufacturer 1 Prolific Technology Inc.
iProduct 2 IEEE-1284 Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 1 Unidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 2 Bidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)

So what would be the base address for the cable?
Greetings and thanks for answering my question! : D
Last edit: 27 Sep 2010 18:25 by psicko275.

Please Log in or Create an account to join the conversation.

More
27 Sep 2010 21:27 #4376 by BigJohnT
I don't see one, but like I said it was a guess.

John

Please Log in or Create an account to join the conversation.

More
28 Sep 2010 17:40 #4396 by andypugh
psicko275 wrote:

d I could not find the address of a USB to parallel cable I bought.


I don't think it will work. My understanding is that these devices make a parallel printer into a USB device externally, rather than create an internal parallel port interface for the USB socket.

You ought to be able to get a PCI parallel card working, or certain PC-card ones.

Please Log in or Create an account to join the conversation.

More
29 Sep 2010 13:28 #4413 by psicko275
The problem of getting a PCI card I have no space on the PC as a PC architecture is very small in size and processing power.
Well I guess I better change my PC, one with the parallel port attached to the motherboard.
Thanks for your answers and greetings.

Please Log in or Create an account to join the conversation.

More
29 Sep 2010 13:48 #4415 by andypugh
psicko275 wrote:

The problem of getting a PCI card I have no space on the PC as a PC architecture is very small in size and processing power.
Well I guess I better change my PC, one with the parallel port attached to the motherboard.
Thanks for your answers and greetings.


Which motherbaord is it? Some of the Mini-ITX boards have a parallel port built-in, but on a pin-header on the main board rather than the back panel.

The Intel D510MO (which is an excellent board for use with EMC2, and is about $75) has this arrangement, and it is possible that yours might be the same.

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum