Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 22:43:17 -0700 (PDT)
From:      "Thomas D. Dean" <tomdean@speakeasy.org>
To:        freebsd-questions@freebsd.org
Subject:   Prolific USB-Serial
Message-ID:  <200708280543.l7S5hHHP018902@asus.tddhome>

next in thread | raw e-mail | index | archive | help
I have a Prolific USB-Serial Controller which works on some USB ports
with tip, but, not others.

This is on a HP dv6000 laptop running up-to-date 6.2-stable with a
custom kernel.  This included all the devices found by GENERIC plus
ucom and uftpi.  I need to add uplcom, but, for now, I kldload it.

I have included the output from "usbdevs -v" and the usb part of
dmesg.

If I use a port on the expansion tray, usb4, I sometines get 
          uplcom_set_line_coding: IOERROR
But, if I use a port on the laptop, usb0 or usb1, it works.

I have a Prologix USB-GPIB adapter which works with 
        open("/dev/cuaUx",O_RDWR | O_NOCTTY | O_NONBLOCK))
on either set of ports.

If I connect the USB-Serial Controller to usb4, it does not work.  If
I connect it to usb0 or usb1 it works.  I can not identify usb2 and usb3.

The only differences I see is multiple translations to usb4.

Any ideas?

tomdean

#  usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \
        Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, power 98 mA, config 1, USB Receiver(0xc517), \
        Logitech(0x046d), rev 38.10
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \
        Intel(0x0000), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, \
        USB-Serial Controller(0x2008), Prolific Technology Inc.(0x0557), \
        rev 3.00
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \
        Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \
        Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), \
        Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 500 mA, config 1, \
        USB 2.0 Camera(0x62c0), Sonix Technology Co., Ltd.(0x0c45), rev 2.10
 port 5 addr 3: high speed, self powered, config 1, product 0x2507(0x2507), \
                vendor 0x0424(0x0424), rev 0.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 addr 4: full speed, power 100 mA, config 1, \
                 Prologix GPIB-USB Controller(0x6001), \
                 Prologix(0x0403), rev 6.00
  port 7 powered
 port 6 powered
 port 7 powered
 port 8 powered


===== From dmesg ======================================
uhci0: <UHCI (generic) USB controller> port 0x1820-0x183f \
       irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x1840-0x185f \
       irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x1860-0x187f \
       irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x1880-0x189f \
       irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xd8444000-0xd84443ff \
       irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ugen0: Sonix Technology Co., Ltd. USB 2.0 Camera, rev 2.00/2.10, addr 2
uhub5: vendor 0x0424 product 0x2507, class 9/0, rev 2.00/0.00, addr 3
uhub5: multiple transaction translators
uhub5: 7 ports with 7 removable, self powered
ucom0: Prologix Prologix GPIB-USB Controller, rev 2.00/6.00, addr 4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708280543.l7S5hHHP018902>