Plop/USB 2.0 Host HELP

Started by fritual, August 13, 2013, 00:40:00 AM

Previous topic - Next topic

fritual

Re: Plop; VT6202 4 port PCI host controller, hp Pavilion 6465 Desktop & win98se OS

Hi,

Plop freezes while attempting to boot thumb drive w/referenced setup.

Windows 98se has NO problem accessing the thumb drive attached to one of the four USB 2.0 ports.

http://www.via.com.tw/en/products/peripherals/usb/vt6202/

Q: Is there a way to get Plop functional, instead of freezing, trying to boot the USB device?

Kind Regards,
fritual


fritual

Hi,

VT6202 driver references for windows 98se:

http://www.viaarena.com/forums/showthread.php?t=10776&highlight=vt6202+windows+98se

Is Plop Boot Manager compatible with this VT6202 USB 2.0 PCI host device on any operating system?

fritual

fritual

Hi,

Both EHCI and UHCI USB Controllers were found on my hp Pavilion 6465 Desktop, using the diagnostic tools found in this book:

USB: The Universal Serial Bus USB: The Universal Serial Bus by Benjamin David Lunt (ISBN-13: 978-1468151985 ISBN:10 1-468151-98-3) (2012)
"Programming the USB hardware with the UHCI, OHCI, EHCI, and the new xHCI"


http://www.fysnet.net/aboutme.htm

******** Copy starting here *******************************************
EHCI:
  * Bus = 0, device = 0, function = 0, type = 0x060000
  * Vendor = 0x8086  Device = 0x7190  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 1, function = 0, type = 0x060400
  * Vendor = 0x8086  Device = 0x7191  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 7, function = 0, type = 0x060100
  * Vendor = 0x8086  Device = 0x7110  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 7, function = 1, type = 0x010180
  * Vendor = 0x8086  Device = 0x7111  rev = 0x01  leg = 0x0000
  * Bus = 0, device = 7, function = 2, type = 0x0C0300
  * Vendor = 0x8086  Device = 0x7112  rev = 0x01  leg = 0x2000
  * Bus = 0, device = 7, function = 3, type = 0x068000
  * Vendor = 0x8086  Device = 0x7113  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 10, function = 0, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 1, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 2, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 3, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 4, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 5, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 6, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 7, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 11, function = 0, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
  * Bus = 0, device = 11, function = 1, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
  * Bus = 0, device = 11, function = 2, type = 0x0C0320
  * Vendor = 0x1106  Device = 0x3104  rev = 0x51  leg = 0x0000
Found a EHCI compatible device. (0x0)
Bus = 0, device = 11, function = 2 IO Base: 0xF4000400
Vendor = 0x1106  Device = 0x3104  rev = 0x51
Capability Registers:
      0x00:        0x10   (CAPLENGTH)
      0x01:        0x00   (reserved)
      0x02:      0x0095   (HCIVERSION)
      0x04:  0x00002204   (HCSPARAMS)
      0x08:  0x00000002   (HCCPARAMS)
      0x0C:  0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0

The Light Host Controller Reset is *not* implemented for this controller
Controller took 0 uS to reset.

Register contents after reset:
      10:  0x00080000   (USBCMD)
      14:  0x00001000   (USBSTS)
      18:  0x00000000   (USBINTR)
      1C:  0x00000000   (FRINDEX)
      20:  0x00000000   (CTRLDSSEGMENT)
      24:  0x00000000   (PERIODICLISTBASE)
      28:  0x00000000   (ASYNCLISTADDR)
      2C:  0x00000000   (Reserved)
      30:  0x00000000   (Reserved)
      34:  0x00000000   (Reserved)
      38:  0x00000000   (Reserved)
      3C:  0x00000000   (Reserved)
      40:  0x00000000   (Reserved)
      44:  0x00000000   (Reserved)
      48:  0x00000000   (Reserved)
      4C:  0x00000000   (Reserved)
      50:  0x00000000   (CONFIGFLAG)
  Port 0:  0x00001000
  Port 1:  0x00001000
  Port 2:  0x00001803   (0x00001005)
  Port 3:  0x00001803   (0x00001005)

  * Bus = 1, device = 0, function = 0, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 1, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 2, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 3, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 4, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 5, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 6, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 7, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
********* Copy ends here ************************************

******** Copy starting here *******************************************
OHCI:

  * Bus = 0, device = 0, function = 0, type = 0x060000
  * Vendor = 0x8086  Device = 0x7190  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 1, function = 0, type = 0x060400
  * Vendor = 0x8086  Device = 0x7191  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 7, function = 0, type = 0x060100
  * Vendor = 0x8086  Device = 0x7110  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 7, function = 1, type = 0x010180
  * Vendor = 0x8086  Device = 0x7111  rev = 0x01  leg = 0x0000
  * Bus = 0, device = 7, function = 2, type = 0x0C0300
  * Vendor = 0x8086  Device = 0x7112  rev = 0x01  leg = 0x2000
  * Bus = 0, device = 7, function = 3, type = 0x068000
  * Vendor = 0x8086  Device = 0x7113  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 10, function = 0, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 1, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 2, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 3, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 4, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 5, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 6, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 7, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 11, function = 0, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
  * Bus = 0, device = 11, function = 1, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
  * Bus = 0, device = 11, function = 2, type = 0x0C0320
  * Vendor = 0x1106  Device = 0x3104  rev = 0x51  leg = 0x0000
  * Bus = 1, device = 0, function = 0, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 1, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 2, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 3, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 4, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 5, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 6, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 7, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
Did not find any OHCI controllers...
********* Copy ends here **********************************************

******** Copy starting here *******************************************
UHCI:
  * Bus = 0, device = 0, function = 0, type = 0x060000
  * Vendor = 0x8086  Device = 0x7190  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 1, function = 0, type = 0x060400
  * Vendor = 0x8086  Device = 0x7191  rev = 0x03  leg = 0x0000
  * Bus = 0, device = 7, function = 0, type = 0x060100
  * Vendor = 0x8086  Device = 0x7110  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 7, function = 1, type = 0x010180
  * Vendor = 0x8086  Device = 0x7111  rev = 0x01  leg = 0x0000
  * Bus = 0, device = 7, function = 2, type = 0x0C0300
  * Vendor = 0x8086  Device = 0x7112  rev = 0x01  leg = 0x2000
Found a UHCI compatible device. (0x1)
Bus = 0, device = 7, function = 2 IO Base: 0x00001060
Vendor = 0x8086  Device = 0x7112  rev = 0x01
Register contents after reset:
      00:      0x0000   USBCMD (USB Command)
      02:      0x0020   USBSTS (USB Status)
      04:      0x0000   USBINTR (USB Interrupt)
      06:      0x0000   FRNUM  (Frame Number)
      08:  0xBFFFF000   FRBASEADD (Frame Base Address)
      0C:        0x40   SOFMOD (Start of Frame Modify)
      0D:        0x00   Unknown
      0E:        0x00   Unknown
      0F:        0x00   Unknown
      10:      0x0080   PORT0  (0x0080)
      12:      0x0080   PORT1  (0x0080)
      14:      0x0000   PORT2 not present
HCRESET took 0 uS to clear after reset

  * Bus = 0, device = 7, function = 3, type = 0x068000
  * Vendor = 0x8086  Device = 0x7113  rev = 0x02  leg = 0x0000
  * Bus = 0, device = 10, function = 0, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 1, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 2, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 3, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 4, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 5, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 6, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 10, function = 7, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20  leg = 0x0000
  * Bus = 0, device = 11, function = 0, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
Found a UHCI compatible device. (0x1)
Bus = 0, device = 11, function = 0 IO Base: 0x00001080
Vendor = 0x1106  Device = 0x3038  rev = 0x50
Register contents after reset:
      00:      0x0000   USBCMD (USB Command)
      02:      0x0020   USBSTS (USB Status)
      04:      0x0000   USBINTR (USB Interrupt)
      06:      0x0000   FRNUM  (Frame Number)
      08:  0x00000000   FRBASEADD (Frame Base Address)
      0C:        0x40   SOFMOD (Start of Frame Modify)
      0D:        0x00   Unknown
      0E:        0x00   Unknown
      0F:        0x00   Unknown
      10:      0x0480   PORT0  (0x0480)
      12:      0x0480   PORT1  (0x0480)
      14:      0x0000   PORT2 not present
HCRESET took 0 uS to clear after reset

  * Bus = 0, device = 11, function = 1, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50  leg = 0x2000
Found a UHCI compatible device. (0x1)
Bus = 0, device = 11, function = 1 IO Base: 0x000010A0
Vendor = 0x1106  Device = 0x3038  rev = 0x50
Register contents after reset:
      00:      0x0000   USBCMD (USB Command)
      02:      0x0020   USBSTS (USB Status)
      04:      0x0000   USBINTR (USB Interrupt)
      06:      0x0000   FRNUM  (Frame Number)
      08:  0x00000000   FRBASEADD (Frame Base Address)
      0C:        0x40   SOFMOD (Start of Frame Modify)
      0D:        0x00   Unknown
      0E:        0x00   Unknown
      0F:        0x00   Unknown
      10:      0x0480   PORT0  (0x0480)
      12:      0x0480   PORT1  (0x0480)
      14:      0x0000   PORT2 not present
HCRESET took 0 uS to clear after reset

  * Bus = 0, device = 11, function = 2, type = 0x0C0320
  * Vendor = 0x1106  Device = 0x3104  rev = 0x51  leg = 0x0000
  * Bus = 1, device = 0, function = 0, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 1, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 2, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 3, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 4, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 5, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 6, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
  * Bus = 1, device = 0, function = 7, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C  leg = 0x0000
********* Copy ends here ************************************

******** Copy starting here *******************************************
XHCI:
  * Bus = 0, device = 0, function = 0, type = 0x060000
  * Vendor = 0x8086  Device = 0x7190  rev = 0x03
  * Bus = 0, device = 1, function = 0, type = 0x060400
  * Vendor = 0x8086  Device = 0x7191  rev = 0x03
  * Bus = 0, device = 7, function = 0, type = 0x060100
  * Vendor = 0x8086  Device = 0x7110  rev = 0x02
  * Bus = 0, device = 7, function = 1, type = 0x010180
  * Vendor = 0x8086  Device = 0x7111  rev = 0x01
  * Bus = 0, device = 7, function = 2, type = 0x0C0300
  * Vendor = 0x8086  Device = 0x7112  rev = 0x01
  * Bus = 0, device = 7, function = 3, type = 0x068000
  * Vendor = 0x8086  Device = 0x7113  rev = 0x02
  * Bus = 0, device = 10, function = 0, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 1, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 2, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 3, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 4, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 5, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 6, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 10, function = 7, type = 0x020000
  * Vendor = 0x10EC  Device = 0x8185  rev = 0x20
  * Bus = 0, device = 11, function = 0, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50
  * Bus = 0, device = 11, function = 1, type = 0x0C0300
  * Vendor = 0x1106  Device = 0x3038  rev = 0x50
  * Bus = 0, device = 11, function = 2, type = 0x0C0320
  * Vendor = 0x1106  Device = 0x3104  rev = 0x51
  * Bus = 1, device = 0, function = 0, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 1, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 2, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 3, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 4, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 5, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 6, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
  * Bus = 1, device = 0, function = 7, type = 0x030000
  * Vendor = 0x1002  Device = 0x4742  rev = 0x5C
Did not find any XHCI controllers...
********* Copy ends here ****************************

Question:  Any clues in this post why Plop Boot Manager freezes instantly after selecting its USB boot menu, requiring a complete power-down to recover?

Regards,
fritual

Elmar

hello,

when the boot manager freezes, then you can try to force to boot in usb 1.1 mode.

use shift-u in the main menu to force usb 1.1 and see setup/bootmanager for 2 usb 1.1 modes.

when you want to boot linux from usb then use plopkexec.

best regards
elmar

fritual

Quote from: Elmar on August 19, 2013, 09:57:10 AM
hello,

when the boot manager freezes, then you can try to force to boot in usb 1.1 mode.

use shift-u in the main menu to force usb 1.1 and see setup/bootmanager for 2 usb 1.1 modes.

when you want to boot linux from usb then use plopkexec.

best regards
elmar

Re: Plpbt-5.0.15-test.zip
Dear elmar:

VT602 is USB 2.0 compatible, which has 1 internal and 4 external USB 2.0 ports.

Q: Why force USB 1.1 on the VT6202 PCI card?
A 500 MHz Celeron processor should handle USB 2.0
thru-put with ease.

I can see this arrangement, you suggest, only on the 2 USB 1.1 on-board OEM ports.

My goal is to boot a LiveUSB distro, that's written on an 8 GB thumb drive, which the BIOS doesn't support.  Therefore, I gather from your post that 'plopkexec' must be used, which I'm not familiar with.

Q: Is 'plopkexec' on your Plop Linux distro?

All I have used is 'plpbt.img', booting Plop Boot Manager from floppy.

Thanks for replying!
fritual
* Linux newbie *

Elmar

Quote from: fritual on August 20, 2013, 01:23:13 AM
Q: Why force USB 1.1 on the VT6202 PCI card?

usb 1.1 is just an alternative when my driver hangs with usb 2.0. but usb 1.1 doesn't mean that booting works. as i said in other posts, my driver is because of the small size not perfect. it works mostly but not everywhere.

Quote from: fritual on August 20, 2013, 01:23:13 AM
My goal is to boot a LiveUSB distro, that's written on an 8 GB thumb drive, which the BIOS doesn't support.  Therefore, I gather from your post that 'plopkexec' must be used, which I'm not familiar with.

see here http://www.plop.at/en/plopkexec.html
use the floppy image plopkexec.img


regards
elmar

fritual

Dear elmar:

The problem dissappeared, once the usb 1.1 tip of yours was implemented on the VT6202, THX!

Your clever, VERY conservative approach to Plop Boot Manager is appreciated.

Best Wishes,
fritual