The device specification says its a HID class device.
It's working in Windows.
But the descriptor structure in linux has 0xFF for DeviceClass,
DeviceSubClass & DeviceProtocol ( Vendor specific ? ).
That's why i started writing a seperate driver.
I am supposed to use set_report for sending data thro'
ctrl endpoint & get_report for getting data from the device.
But I am stuck with -EPIPE in set_interface & status error in
interrupt handler.
I am getting the following output for set_interface:
kernel: usb-uhci.c: interrupt, status 3, frame# 885
kernel: set_interface returns -32
any ideas?
thanks
Hari
--
On Thu, 15 Mar 2001 13:16:03
Matthew Dharm wrote:
>Are you sure it's an HID class device? Most of these devices are Storage
>Class or Vendor Specific.
>
>Matt
>
>On Thu, Mar 15, 2001 at 10:35:04PM +0530, hariharan swaminathan wrote:
>> Hi,
>>
>> I am new to usb-driver programming.
>> I am trying to write a usb driver for a smartcard reader
>> The device is supposed to fall under HID class.
>> How to configure the hid driver to recognize this device ?
>> This device has 1 intr endpoint & data is to be transfered thro' cntrl endpoint.
>> My irq handler is not getting called at all.
>> I tried sending set_interface , set_report command.
>> But I am getting -EPIPE error for these commands.
>> any help will be great. Is there a sample driver code which i can refer ?
>>
>> Thanks in advance.
>>
>> Hari
>>
>>
>>
>>
>> Get 250 color business cards for FREE! at Lycos Mail
>> http://mail.lycos.com/freemail/vistaprint_index.html
>>
>> _______________________________________________
>> [EMAIL PROTECTED]
>> To unsubscribe, use the last form field at:
>> http://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>
>--
>Matthew Dharm Home: [EMAIL PROTECTED]
>Maintainer, Linux USB Mass Storage Driver
>
>C: They kicked your ass, didn't they?
>S: They were cheating!
> -- The Chief and Stef
>User Friendly, 11/19/1997
>
Get 250 color business cards for FREE! at Lycos Mail
http://mail.lycos.com/freemail/vistaprint_index.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel