Re: USB printer cable for data I/O



matteo.brusa@xxxxxxxxx writes:

Hi,
i'd like to use a USB printer cable to control some switches for home
automation.
How can i control the value of every data line of the parallel
interface?
Since i'm not on a PC architecture, direct output to the port is not
possible.
Any idea?

If it's a USB printer cable (like you say the first time), you've
effectively only got one output data line. And it's under low-level
enough hardware control that you won't be able to control it at will.

If it's a parallel printer cable, you do have complete control over
every wire. But you need to be able to have direct output to the port
to get it. Somehow, someway, every architecture does have direct
access to the port (that's how the OS gets to it, after all). So the
question is how to insert your own device driver.
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
.



Relevant Pages

  • Re: 9.1-RC3 IGB dropping connections.
    ... clock> port ... 0x70-0x71,0x74-0x77 irq 8 on acpi0 ... Thermal Control> on cpu0 ...
    (freebsd-net)
  • Re: Help to clear old audio card conflict please
    ... Which, of all things, in this case, is not controlled by the slider volume control on the PMMixer for CD-ROM. ... I've not tried the complete test run for the UNIMIX command line operation, nor have had the time yet after all this to test the port I/O and log it to a file with UNIMIX to see what the heck is going on for port mishmash yet. ... The wide audio output cable connection for the CD-ROM is plugged into the TAD pin socket on the SBLive 5.1 card! ...
    (comp.os.os2.multimedia)
  • Re: Parallel port hardware
    ... schematic of a printerport that had no inputs but the status lines. ... The control line outputs used to be SN7406 ... I think the control port was always able to do ... If I just connect a status line to the line then then control pin ...
    (sci.electronics.design)
  • Re: I am sick of windows firewall
    ... download anymore, I switch my modem off/ on to get a new IP ... Telnet servers are known to have no password, this open Telnet ... port will be attracting a LOT of the wrong kind of attention. ... If you really want to control where outbound connections can ...
    (comp.security.firewalls)
  • Re: 9.1-RC3 IGB dropping connections.
    ... 0x70-0x71,0x74-0x77 irq 8 on acpi0 ... Connection version - 2.3.4> port 0x3020-0x303f mem ... (no driver attached) ... Control> on cpu0 ...
    (freebsd-stable)