|
From: giopas <li...@gi...> - 2007-06-14 22:02:16
|
Hi to everyone! it's my first message here, and I want at first to thank everybody is working on such a project! I introduce my problem, hoping that you can help me to solve it, or at least to better understand how to manage it. I would like to use my "Terratec Cinergy T USB XS" usb key on my Debian Sid/experimental, but I'm not able to succesfully compile and load lirc module from debian repository or from cvs _in order to use the remote control. I've read lirc FAQs, but I'm not sure if I really have to recompile the whole kernel just for lirc (I successfully loads madwifi and uvc modules). Anyway, in the first case (installing lirc module from debian repository) there is a configuration problem, in the second case (cvs), I don't know which driver I have to load. :D Here some information: > uname -r > 2.6.21-1-k7 here you can find the whole: > lsusb -v: > >> Bus 001 Device 002: ID 0419:0001 Samsung Info. Systems America, Inc. >> IrDA Remote Controller >> Device Descriptor: >> bLength 18 >> bDescriptorType 1 >> bcdUSB 1.00 >> bDeviceClass 0 (Defined at Interface level) >> bDeviceSubClass 0 >> bDeviceProtocol 0 >> bMaxPacketSize0 8 >> idVendor 0x0419 Samsung Info. Systems America, Inc. >> idProduct 0x0001 IrDA Remote Controller >> bcdDevice 0.00 >> iManufacturer 1 Cypress Sem >> iProduct 2 Cypress USB Mouse >> iSerial 0 >> bNumConfigurations 1 >> Configuration Descriptor: >> bLength 9 >> bDescriptorType 2 >> wTotalLength 34 >> bNumInterfaces 1 >> bConfigurationValue 1 >> iConfiguration 4 HID Mouse >> bmAttributes 0xa0 >> (Bus Powered) >> Remote Wakeup >> MaxPower 100mA >> Interface Descriptor: >> bLength 9 >> bDescriptorType 4 >> bInterfaceNumber 0 >> bAlternateSetting 0 >> bNumEndpoints 1 >> bInterfaceClass 3 Human Interface Devices >> bInterfaceSubClass 1 Boot Interface Subclass >> bInterfaceProtocol 1 Keyboard >> iInterface 5 EndPoint1 Interrupt Pipe >> HID Device Descriptor: >> bLength 9 >> bDescriptorType 33 >> bcdHID 1.00 >> bCountryCode 0 Not supported >> bNumDescriptors 1 >> bDescriptorType 34 Report >> wDescriptorLength 184 >> Report Descriptor: (length is 184) >> Item(Global): Usage Page, data= [ 0x01 ] 1 >> Generic Desktop Controls >> Item(Local ): Usage, data= [ 0x06 ] 6 >> Keyboard >> Item(Main ): Collection, data= [ 0x01 ] 1 >> Application >> Item(Global): Report ID, data= [ 0x01 ] 1 >> Item(Global): Usage Page, data= [ 0x07 ] 7 >> Keyboard >> Item(Local ): Usage Minimum, data= [ 0xe0 ] 224 >> Control Left >> Item(Local ): Usage Maximum, data= [ 0xe7 ] 231 >> GUI Right >> Item(Global): Logical Minimum, data= [ 0x00 ] 0 >> Item(Global): Logical Maximum, data= [ 0x01 ] 1 >> Item(Global): Report Count, data= [ 0x08 ] 8 >> Item(Global): Report Size, data= [ 0x01 ] 1 >> Item(Main ): Input, data= [ 0x02 ] 2 >> Data Variable Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Report Count, data= [ 0x01 ] 1 >> Item(Global): Report Size, data= [ 0x08 ] 8 >> Item(Main ): Input, data= [ 0x01 ] 1 >> Constant Array Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Report Count, data= [ 0x05 ] 5 >> Item(Global): Report Size, data= [ 0x01 ] 1 >> Item(Global): Usage Page, data= [ 0x08 ] 8 >> LEDs >> Item(Local ): Usage Minimum, data= [ 0x01 ] 1 >> NumLock >> Item(Local ): Usage Maximum, data= [ 0x05 ] 5 >> Kana >> Item(Main ): Output, data= [ 0x02 ] 2 >> Data Variable Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Report Count, data= [ 0x01 ] 1 >> Item(Global): Report Size, data= [ 0x03 ] 3 >> Item(Main ): Output, data= [ 0x01 ] 1 >> Constant Array Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Report Count, data= [ 0x05 ] 5 >> Item(Global): Report Size, data= [ 0x08 ] 8 >> Item(Global): Logical Minimum, data= [ 0x00 ] 0 >> Item(Global): Logical Maximum, data= [ 0x65 ] 101 >> Item(Global): Usage Page, data= [ 0x07 ] 7 >> Keyboard >> Item(Local ): Usage Minimum, data= [ 0x00 ] 0 >> No Event >> Item(Local ): Usage Maximum, data= [ 0x65 ] 101 >> Keyboard Application (Windows Key for >> Win95 or Compose) >> Item(Main ): Input, data= [ 0x00 ] 0 >> Data Array Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Main ): End Collection, data=none >> Item(Global): Usage Page, data= [ 0x01 ] 1 >> Generic Desktop Controls >> Item(Local ): Usage, data= [ 0x02 ] 2 >> Mouse >> Item(Main ): Collection, data= [ 0x01 ] 1 >> Application >> Item(Global): Report ID, data= [ 0x02 ] 2 >> Item(Local ): Usage, data= [ 0x01 ] 1 >> Pointer >> Item(Main ): Collection, data= [ 0x00 ] 0 >> Physical >> Item(Global): Usage Page, data= [ 0x09 ] 9 >> Buttons >> Item(Local ): Usage Minimum, data= [ 0x01 ] 1 >> Button 1 (Primary) >> Item(Local ): Usage Maximum, data= [ 0x03 ] 3 >> Button 3 (Tertiary) >> Item(Global): Logical Minimum, data= [ 0x00 ] 0 >> Item(Global): Logical Maximum, data= [ 0x01 ] 1 >> Item(Global): Report Count, data= [ 0x03 ] 3 >> Item(Global): Report Size, data= [ 0x01 ] 1 >> Item(Main ): Input, data= [ 0x02 ] 2 >> Data Variable Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Report Count, data= [ 0x01 ] 1 >> Item(Global): Report Size, data= [ 0x05 ] 5 >> Item(Main ): Input, data= [ 0x01 ] 1 >> Constant Array Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Global): Usage Page, data= [ 0x01 ] 1 >> Generic Desktop Controls >> Item(Local ): Usage, data= [ 0x30 ] 48 >> Direction-X >> Item(Local ): Usage, data= [ 0x31 ] 49 >> Direction-Y >> Item(Local ): Usage, data= [ 0x38 ] 56 >> Wheel >> Item(Global): Logical Minimum, data= [ 0x81 ] 129 >> Item(Global): Logical Maximum, data= [ 0x7f ] 127 >> Item(Global): Report Size, data= [ 0x08 ] 8 >> Item(Global): Report Count, data= [ 0x03 ] 3 >> Item(Main ): Input, data= [ 0x06 ] 6 >> Data Variable Relative No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Main ): End Collection, data=none >> Item(Main ): End Collection, data=none >> Item(Global): Usage Page, data= [ 0x01 ] 1 >> Generic Desktop Controls >> Item(Local ): Usage, data= [ 0x80 ] 128 >> System Control >> Item(Main ): Collection, data= [ 0x01 ] 1 >> Application >> Item(Global): Report ID, data= [ 0x03 ] 3 >> Item(Global): Usage Page, data= [ 0x01 ] 1 >> Generic Desktop Controls >> Item(Local ): Usage Minimum, data= [ 0x81 ] 129 >> System Power Down >> Item(Local ): Usage Maximum, data= [ 0x88 ] 136 >> System Menu Exit >> Item(Global): Logical Minimum, data= [ 0x00 ] 0 >> Item(Global): Logical Maximum, data= [ 0x01 ] 1 >> Item(Global): Report Count, data= [ 0x08 ] 8 >> Item(Global): Report Size, data= [ 0x01 ] 1 >> Item(Main ): Input, data= [ 0x02 ] 2 >> Data Variable Absolute No_Wrap Linear >> Preferred_State No_Null_Position >> Non_Volatile Bitfield >> Item(Main ): End Collection, data=none >> Item(Global): Usage Page, data= [ 0xcc 0xff ] 65484 >> (null) >> Item(Local ): Usage, data= [ 0x88 ] 136 >> (null) >> Item(Main ): Collection, data= [ 0x01 ] 1 >> Application >> Item(Global): Report ID, data= [ 0x04 ] 4 >> Item(Local ): Usage, data= [ 0x01 ] 1 >> (null) >> Item(Local ): Usage, data= [ 0x02 ] 2 >> (null) >> Item(Local ): Usage, data= [ 0x03 ] 3 >> (null) >> Item(Local ): Usage, data= [ 0x04 ] 4 >> (null) >> Item(Local ): Usage, data= [ 0x05 ] 5 >> (null) >> Item(Local ): Usage, data= [ 0x06 ] 6 >> (null) >> Item(Local ): Usage, data= [ 0x07 ] 7 >> (null) >> Item(Local ): Usage, data= [ 0x08 ] 8 >> (null) >> Item(Local ): Usage, data= [ 0x09 ] 9 >> (null) >> Item(Local ): Usage, data= [ 0x0a ] 10 >> (null) >> Item(Global): Logical Minimum, data= [ 0x00 ] 0 >> Item(Global): Logical Maximum, data= [ 0x40 ] 64 >> Item(Global): Report Size, data= [ 0x30 ] 48 >> Item(Global): Report Count, data= [ 0x01 ] 1 >> Item(Main ): Input, data= [ 0x40 ] 64 >> Data Array Absolute No_Wrap Linear >> Preferred_State Null_State Non_Volatile >> Bitfield >> Item(Main ): End Collection, data=none >> Endpoint Descriptor: >> bLength 7 >> bDescriptorType 5 >> bEndpointAddress 0x81 EP 1 IN >> bmAttributes 3 >> Transfer Type Interrupt >> Synch Type None >> Usage Type Data >> wMaxPacketSize 0x0008 1x 8 bytes >> bInterval 10 >> Device Status: 0x0000 >> (Bus Powered) What do you suggest to do? which driver have I to use? Thank you a lot! giopas -- "The paradigm of competition is a race: by rewarding the winner, we encourage everyone to run faster. When capitalism really works this way, it does a good job; but its defenders are wrong in assuming it always works this way. If the runners forget why the reward is offered and become intent on winning, no matter how, they may find other strategies--such as, attacking other runners. If the runners get into a fist fight, they will all finish late." (GNU manifesto/R. Stallman) |