I have a printer device that is not listed in usb database:

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 18 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10ce ProdID=000e Rev= 0.01
S:  Manufacturer=SHINKO
S:  Product=CHC-S2145
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

It's a Dye Sublimation printer. I build a driver using libusb but it conflicts 
with usblp. Now I'm using guten-print to build a driver for cups, but cups 
usb backend not find the device ID, and when I plug the printer /dev/usb/lp0 
device is correctly created.
cups code fails when it calls to: 
ioctl(fd, LPIOC_GET_DEVICE_ID(device_id_size), device_id)
causing : Input/output error

  I'm not shure if it's a cups problem or a kernel problem.

With my libusb code the printer works fine, so the problem is not on the 
hardware...

Can you help please ?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to