start-up creating of virtual LPT2: port from USB prn

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: sergeir (anonymous_at_discussions.microsoft.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 05:25:42 -0700

Hello experts,

here is the question on CE 4.1.

The scenarion in short is this. A customer has Windows CE
4.1 based device with USB port. The image we build for
them contains all drivers to support that port.
Customer conencts a USB printer to this USB port. Then
after a few seconds CE creates a virtual LPT2: port for
this USB printer. Customer then uses a control panel and
adds a new printer, as a parallel printer connected to
LTP2: port. And then saves settings into persistent
registry on flash disk. All works fine so far. Good !

Now customer turns the power off on the device. The USB
printer is still connected. Then next day customer turns
power on back on the devices and it boots up into CE.
However, it was found that LPT2: virtual port isn't
created !
Further, it was found that if a customer disconnects a USB
printer and then reconnects it back, then, after a few
seconds CE does create back again the virtual LPT2: port
for this printer.

My question is that : how do we ask CE to create virtual
LPT2: on startup, if a USB printer is detected connected
and up ? Is that possible at all or not - I cannot get
definite information from the documentation. We need to
know this to tell customer that, say, USB printers aren't
supported after reboot or so.

PS. Windows CE 4.1, enterprise web pad-like application,
has control panel. Device has built-in one parallel port
and one USB port.

Sincerely
Sergei



Relevant Pages

  • Re: start-up creating of virtual LPT2: port from USB prn
    ... enumerate this USB printer? ... A customer has Windows CE ... > them contains all drivers to support that port. ... > Customer conencts a USB printer to this USB port. ...
    (microsoft.public.windowsce.platbuilder)
  • usb_insert_transfer panic with if_zyd
    ... When I use my ZyXEL G-220 Wireless USB Stick with the if_zyd driver, ... <ACPI PCI bus> on pcib0 ... device problem, disabling port 1 ... <Ethernet over FireWire> on firewire0 ...
    (freebsd-current)
  • 2.6.10-rc1 & ahci & IHC6R & 925X & raid1
    ... usb modules for console, usb keyboard, network and starting a shell. ... ACPI: PM-Timer IO Port: 0x808 ... PCI: PCI BIOS revision 2.10 entry at 0xfb768, ... usbcore: registered new driver hub ...
    (Linux-Kernel)
  • usb does not work on vias smp mainboard
    ... I installed kernel 2.4.21 on an via's mainboard, it seems that the usb ... number of MP IRQ sources: ... PCI Interrupt Link ... Port indicators are not supported ...
    (Linux-Kernel)
  • Boot time Bluetooth BUG: warning: (value > m) at hid-core.c:793
    ... When the USB reciever is already plugged-in at boot-time and the ... hub 2-2:1.0: USB hub found ... Interface Descriptor: ... Hub Port Status: ...
    (Linux-Kernel)