Terratec RC with Samsung IR remote dysfunctional (0419:0001)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Robert,

it looks, like you're the master of the Samsung IR driver, that I try to get 
to work here. I kindly ask you to look into this issue, if you find time, 
since all other resources, that I could get hold of dried up without 
resolving it...

Let's start at the beginning: I try to get a RC labeled Terratec to work 
with the accompanied usb IR receiver, that introduced itself as:
Bus 002 Device 002: ID 0419:0001 Samsung Info. Systems America, Inc. IrDA 
Remote Controller. The product is a Terratec Cinergy S2 PCI HD, but I plan 
to use the RC/IR adaptor independently in a small Intel Atom based system 
from Shuttle as a simple remote vdr device (that even doesn't have any PCI 
slots itself..) The distro is openSUSE 11.2, that I made running diskless 
with the i586/default kernel from:
http://download.opensuse.org/repositories/home:/frispete:/kernel-2.6.31/openSUSE_11.2/
That build contains your samsung203b-2.6.29 and samsung171b-2.6.31 patches, 
even if they seem not to be necessary, since I have one with a 
wDescriptorLength of 184, that .31 should support out of the box - thanks 
to your previous work.

Obviously, it does not, at least not in the setup over here: I have 
lirc-0.8.6 installed, that is using these options:
/usr/sbin/lircd -H samsung -d /dev/hidraw2

Further I copied /usr/share/lirc/remotes/samsung/lircd.conf.samsung 
to /etc/lirc/lircd.conf. Now a simple irw should reveal some keys pushed, 
doesn't it? Well, it doesn't. 

After building the kernel with CONFIG_HID_DEBUG=y, and loading hid with 
debug=1, a lot of stuff is written into the log. Between 21:53:46 and 
21:56:47, I pushed all keys on the RC (some more then once), but starting 
the daemon resulted in "Failed to initialize hardware" as soon as I start 
irw, similar to running irrecord (after stopping lircd):

~# irrecord -H samsung -d /dev/hidraw2 xyz

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@xxxxxxxxxxxx)

irrecord: initializing '/dev/hidraw2'
irrecord: could not init hardware (lircd running ? --> close it, check 
permissions)

OTOH, I'm able to catch them with:

~# cat /dev/hidraw2 | hexdump -C
00000000  00 04 04 00 00 00 00 00  00 00 04 00 00 00 00 
00  |................|
00000010  00 00 00 04 08 00 00 00  00 00 00 00 04 00 00 
00  |................|
00000020  00 00 00 00 00 04 10 00  00 00 00 00 00 00 04 
00  |................|
00000030  00 00 00 00 00 00 00 04  01 00 00 00 00 00 00 
00  |................|
00000040  04 00 00 00 00 00 00 00  00 03 82 00 00 00 00 
00  |................|
00000050  00 00 03 00 00 00 00 00  00 00 00 04 04 00 00 
00  |................|
00000060  00 00 00 00 04 00 00 00  00 00 00 00 00 04 01 
00  |................|
00000070  00 00 00 00 00 00 04 00  00 00 00 00 00 00 00 
04  |................|
00000080  02 00 00 00 00 00 00 00  04 00 00 00 00 00 00 
00  |................|
00000090  00 04 02 00 00 00 00 00  00 00 04 00 00 00 00 
00  |................|
000000a0  00 00 00 04 02 00 00 00  00 00 00 00 04 00 00 
00  |................|
000000b0  00 00 00 00 00 04 02 00  00 00 00 00 00 00 04 
00  |................|

Each key dumps 16 bytes. Apart from that, the repetition doesn't work 
either, although the LED in the receiver is flashing continuesly. 

Do you have any idea, what's going wrong here?

Thanks in advance,
Pete

Attachment: pico-samsung-ir-issue.log.gz
Description: GNU Zip compressed data

Bus 002 Device 003: 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 Device
      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 Descriptors: 
           ** UNAVAILABLE **
      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)


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux