Welcome, Guest. Please login or register.

Author Topic: Subway, Poseidon, Hubs, & USB Printers  (Read 2666 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RabbiTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2006
  • Posts: 269
    • Show only replies by Rabbi
Subway, Poseidon, Hubs, & USB Printers
« on: August 06, 2012, 09:32:55 PM »
I'm experiencing some garbage while printing to my HP Deskjet 648c with the latest version of TurboPrint v7.6(?) setting the device to USBParellel.device, and using the latest version of Poseidon, ver 4.4 (?), with my NTSC A1200, and Subway.  I finally debugged what the problem was - the printer was plugged into a self-powered hub (Belkin?).  I removed the printer's plug from the hub & plugged it into the direct output of the Subway itself and it worked without printing the garbage it had been printing when connected to the self-powered hub.

My question is this:  What do I need to modify in the Poseidon configuration to allow me to plug the printer's USB cable into the self-powered hub without it printing garbage again?  Do I need to do something in regards to timing or handshaking?

Also, not every program would print garbage, such as TurboPrint utilities wouldn't, but a print in iBrowse would.
« Last Edit: August 06, 2012, 09:35:27 PM by Rabbi »
--------------------------------------------------------
In a world without walls and fences, who needs Windows and Gates?
===================================================================
Computer used:     Amiga A1200 (NTSC version) with 128 MB ...
 

Offline Xanxi

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 900
    • Show only replies by Xanxi
Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #1 on: August 06, 2012, 09:44:40 PM »
What exactly do you call garbage?
Is this printer USB or Centronics with an adapter USB cable?
« Last Edit: August 06, 2012, 09:46:55 PM by Xanxi »
10 Classic Amiga Computers so far: I have too many computers!!
 

Offline RabbiTopic starter

  • Sr. Member
  • ****
  • Join Date: Aug 2006
  • Posts: 269
    • Show only replies by Rabbi
Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #2 on: August 06, 2012, 11:32:24 PM »
This printer has both a Centronics & a USB connector on the rear of it.  I'm using strictly a USB cable (is it a type "A" USB connector that's popular printers?).

Definition of "Garbage" would be a string of characters printing out not as shown in the screen.
--------------------------------------------------------
In a world without walls and fences, who needs Windows and Gates?
===================================================================
Computer used:     Amiga A1200 (NTSC version) with 128 MB ...
 

Offline danbeaver

Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #3 on: August 07, 2012, 02:07:33 AM »
1) Poseidon itself does not like cheap hubs and gives error messages or errors
2) I had to pay 30 US Salad leaves to get a hub it did not give warnings about
3) If you have a printer with a Centronics interface, it always works better going parallel-to-Centronics. I got so fed up I bought a "LPT2USB" device to handle those issues until I was able to put both my printers on my home network.
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show only replies by platon42
    • http://www.platon42.de/
Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #4 on: August 10, 2012, 02:49:17 PM »
Quote from: Rabbi;702544
I'm experiencing some garbage while printing to my HP Deskjet 648c with the latest version of TurboPrint v7.6(?) setting the device to USBParellel.device, and using the latest version of Poseidon, ver 4.4 (?), with my NTSC A1200, and Subway.  I finally debugged what the problem was - the printer was plugged into a self-powered hub (Belkin?).  I removed the printer's plug from the hub & plugged it into the direct output of the Subway itself and it worked without printing the garbage it had been printing when connected to the self-powered hub.

My question is this:  What do I need to modify in the Poseidon configuration to allow me to plug the printer's USB cable into the self-powered hub without it printing garbage again?  Do I need to do something in regards to timing or handshaking?

Also, not every program would print garbage, such as TurboPrint utilities wouldn't, but a print in iBrowse would.


That is a bit weird because once the data has been sent to the USB Host Controller chip it will send the data onto the bus with CRC protection -- if a packet gets garbled on the line, it will be resent up to three times by the controller (with the subway, this is software controlled, but I just had a look in the driver code and it looks okay to me). A USB 1.1 hub is just an electric switch and should not be touching the data on the bus. A USB 2.0 hub works slightly different as it will be buffering data temporarily for USB 1.1 devices, but the Subway is USB 1.1 Fullspeed only. So why it makes a difference is beyond me.

If it really happens that a USB packet is lost because of three consecutive CRC failures, the IO Request is retired with a write error. I am not sure if the printer driver on the TurboPrint side is prepared to handle that. If it will just ignore the error, it would explain the garbage line of text on your print. If that is the reason and the hub deteriorates the electric signal too much to let the packets go through without error, you have to use a different hub to fix the problem (also check your PSU -- USB doesn't like the voltage to drop too much below 4.8V).

There is certainly nothing you can (mis)configure in Poseidon for that.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline Xanxi

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 900
    • Show only replies by Xanxi
Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #5 on: August 10, 2012, 08:17:23 PM »
Actually, i also have problems on my A1200 Subway with anything plugged behind an externaly powered hub, with hard drives, floppy drives and even USB keys not working good and disappearing and powercycling. That's not a problem with the Deneb with the same hubs and USB devices on my A2000 and A4000. I don't blame Poseidon here, only the Subway.
10 Classic Amiga Computers so far: I have too many computers!!
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: Subway, Poseidon, Hubs, & USB Printers
« Reply #6 on: August 10, 2012, 11:09:46 PM »
If you could test it with Anaiis, it might let you know if it's software or hardware..
http://aminet.net/package/driver/other/anaiis

I don't have a Subway tho and don't know how easy or difficult that would be..

desiv
Amiga 1200 w/ ACA1230/28 - 4G CF, MAS Player, ext floppy, and 1084S.
Amiga 500 w/ 2M CHIP and 8M FAST RAM, DCTV, AEHD floppy, and 1084S.
Amiga 1000 w/ 4M FAST RAM, DUAL CF hard drives, external floppy.