Re: using usblp with ppdev?

From: Greg KH
Date: Mon Mar 06 2006 - 12:22:56 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/