OpenQNX :: The QNX Community Portal

Jul 25, 2008 - 04:34 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 29 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
profibus
Post subject: USB printer with enhanced controller problem. QNX 6.3.2  PostPosted: Apr 16, 2008 - 04:34 PM
New Member


Joined: Aug 03, 2007
Posts: 6

I experience “missing (corrupted) data” when printing to the USB printers with enhanced host controllers. The printed out data is missing or corrupted . There is no issue when universal host controller server is started only.

io-usb -duhci


There is also a USB memory disk stick attached to the system which I want to be controlled by enhanced driver.


What would be a solution to my printer problem? Is it a way to force devu-prn driver to talk to enhanced host controller with lower speed or talk to universal host controller even the attached printer has enhanced controller?
I am using QNX 6.3 SP 2

Janusz


The pci –v report of USB interface:

Class = Serial Bus (Universal Serial Bus)
Vendor ID = 8086h, Intel Corporation
Device ID = 24c2h, Unknown Unknown
PCI index = 0h
Class Codes = 0c0300h
Revision ID = 3h
Bus number = 0
Device number = 29
Function num = 0
Status Reg = 280h
Command Reg = 5h
Header type = 0h Multi-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI IO Address = e800h length 32 enabled
Subsystem Vendor ID = 8086h
Subsystem ID = 24c0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 10

Class = Serial Bus (Universal Serial Bus)
Vendor ID = 8086h, Intel Corporation
Device ID = 24c4h, Unknown Unknown
PCI index = 0h
Class Codes = 0c0300h
Revision ID = 3h
Bus number = 0
Device number = 29
Function num = 1
Status Reg = 280h
Command Reg = 5h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI IO Address = e400h length 32 enabled
Subsystem Vendor ID = 8086h
Subsystem ID = 24c0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT B
Interrupt line = 11

Class = Serial Bus (Universal Serial Bus)
Vendor ID = 8086h, Intel Corporation
Device ID = 24cdh, Unknown Unknown
PCI index = 0h
Class Codes = 0c0320h
Revision ID = 3h
Bus number = 0
Device number = 29
Function num = 7
Status Reg = 290h
Command Reg = 106h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI Mem Address = feaffc00h 32bit length 1024 enabled
Subsystem Vendor ID = 8086h
Subsystem ID = 24c0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT D
Interrupt line = 5
Capabilities Pointer = 50h
Capability ID = 1h
Capabilities = c9c2h - 0h
Capability ID = ah
Capabilities = 2080h - 0h
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
Dirk100
Post subject: RE: USB printer with enhanced controller problem. QNX 6.3.2  PostPosted: May 26, 2008 - 06:10 AM
New Member


Joined: May 26, 2008
Posts: 1

Hi,

I've also experienced a similar problem with the USB printer connected to a Enhanced USB Controller. The printer would print the first page ok, and thereafter would print the page at incorrect scale or just hold up the printer completely i.e. continuously send data to the printer stopping the spooler from printing any further jobs.

The only way I got around this was for my Photon Momentics application, to "slay deuv-prn", and immediately reactive the "devu-prn" driver therafter. This was done before its print operation was executed. This resulted in my application printing pages with mininal problems. I still get the odd case where the USB printer or its spooler "hangs", and I have to recycle power to the USB printer.
I have reported this particular problem to the technical support and this was the response:

Add in the rc.local file:
devu-prn &
waitfor /dev/usbpar0 10
spooler -d /dev/usbpar0

I wonder if it not a problem with the "devu-prn" comamnd itself?

I trust this may offer some light for your problem.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.