2012/1/26 bibek chitrakar <bibek.chitra...@gmail.com>
>
>> I am not sure if the endpoint is of interrupt type.
>> running usbenum.py from 
>> 'http://wiki.erazor-zone.de/wiki:projects:python:pyusb:setup:examples:usbenum'
>> gave following output (I removed other listings)
>>
>> Device: 004
>>   Device class: 0
>>   Device sub class: 0
>>   Device protocol: 0
>>   Max packet size: 64
>>   idVendor: 3540
>>   idProduct: 424
>>   Device Version: 01.19
>>   Configuration: 1
>>     Total length: 32
>>     selfPowered: 1
>>     remoteWakeup: 0
>>     maxPower: 4
>>     Interface: 0
>>     Alternate Setting: 0
>>       Interface class: 7
>>       Interface sub class: 1
>>       Interface protocol: 2
>>       Endpoint: 0x81L
>>         Type: 2
>>         Max packet size: 64
>>         Interval: 0
>>       Endpoint: 0x2L
>>         Type: 2
>>         Max packet size: 64
>>         Interval: 0
>>
> I can track the device. Device is a thermal printer. And I need to send some 
> hex data to so that
> the printer will response accordingly and the current status of printer be 
> determined.
> Is there anything I am missing ?
> Robert von Burg ei...@eitchnet.ch told that I need to detach the module from 
> kernel.-
>

Endpoint types seem to be bulk, not interrupt. You might want to check
the USB Class Printer spec [1].

[1] http://www.usb.org/developers/devclass_docs/usbprint11a021811.pdf

--
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to