From: Greg KH <greg@kroah.com>
To: wixor <wixorpeek@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: using usblp with ppdev?
Date: Mon, 6 Mar 2006 09:25:32 -0800 [thread overview]
Message-ID: <20060306172532.GB8697@kroah.com> (raw)
In-Reply-To: <c43b2e150603060631h494b920g84cf357f376d64bb@mail.gmail.com>
On Mon, Mar 06, 2006 at 03:31:32PM +0100, wixor wrote:
> >
> > What is the output of /proc/bus/usb/devices with your device plugged in?
> >
> T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MaxCh=0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=067b ProdID=2305 Rev= 2.02
> S: Manufacturer=Proliftic Technology Inc.
> D: Product=IEEE-1284 Controller
> C:* #Ifs=1 Cfg#= 1 Atr=a0 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> I: If#=0 Alt=1 #EPs=2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MaxPS=64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MaxPS=64 Ivl=0ms
> I: If#=0 Alt=2 #EPs=3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MaxPS=64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MaxPS=64 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MaxPS=4 Ivl=1ms
That device says it is the USB Printer class, so odds are, it might not
do what you are trying to do here.
But if you want to play around and verify this, try modifying the USB
device table in the drivers/usb/misc/uss720.c file (look for the
structure called "uss720_table" and add a new entry with the vendor and
product id of your device there.)
good luck,
greg k-h
next prev parent reply other threads:[~2006-03-06 17:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-02 15:32 using usblp with ppdev? wixor
2006-03-02 16:55 ` Greg KH
2006-03-02 17:46 ` Thomas Sailer
2006-03-03 13:12 ` wixor
2006-03-03 17:07 ` Greg KH
2006-03-06 14:31 ` wixor
2006-03-06 17:25 ` Greg KH [this message]
2006-03-07 17:02 ` wixor
2006-03-07 17:22 ` Greg KH
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=20060306172532.GB8697@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wixorpeek@gmail.com \
/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