public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: spam@streefland.xs4all.nl (Dick Streefland)
To: linux-kernel@vger.kernel.org
Subject: ppdev interface for USB to parallel port adapter?
Date: Sun, 27 Nov 2005 15:56:48 -0000	[thread overview]
Message-ID: <254.4389d740.5e12d@altium.nl> (raw)

I have an AVR microcontroller programmer that connects to the parallel
port. It is controlled by a programm called avrdude that uses the
ppdev programming interface on /dev/parport* to manipulate the
parallel port I/O signals.

On my legacy-free laptop, I use an external USB-BAY that provides a
serial and parallel port. However, this parallel port is controlled by
the usblp driver, and cannot be accesed via ppdev. I checked the usblp
driver to see if parport support could be added, but I'm not sure.
It isn't clear to me whether the USB protocol provides enough
functionality to implement the ppdev ioctl's. Can anyone shed some
light on this?

BTW, lsusb reports for this device:

Bus 001 Device 005: ID 0711:0300 Magic Control Technology Corp. BAY-3U1S1P Parallel Port

and the kernel reports:

Nov 27 16:48:24 zaphod kernel: usb 1-1.5: new full speed USB device using uhci_hcd and address 9
Nov 27 16:48:25 zaphod kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 9 if 0 alt 1 proto 2 vid 0x0711 pid 0x0300

-- 
Dick Streefland                    ////               De Bilt
dick.streefland@xs4all.nl         (@ @)       The Netherlands
------------------------------oOO--(_)--OOo------------------


                 reply	other threads:[~2005-11-27 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=254.4389d740.5e12d@altium.nl \
    --to=spam@streefland.xs4all.nl \
    --cc=dick.streefland@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox