Re: IR Receiver on an Tevii S470

2009-12-06 Thread Matthias Fechner

Hi Andy,

Andy Walls wrote:


1. Does the remote for the TeVii S470 use the same codes as

linux/drivers/media/common/ir-keymaps.c : ir_codes_tevii_nec[]

or some other remote code table we have in the kernel?
  


I don't know how it should work with the kernel but I use the remote 
together with lirc with the attached config files.

Maybe that helps you a little bit.

Bye,
Matthias

--
Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to produce bigger and better idiots. 
So far, the universe is winning. -- Rich Cook

#
# this config file was automatically generated
# using lirc-0.8.4(default) on Sun Jul 12 12:05:06 2009
#
# contributed by
#
# brand:  TeVii
# model no. of remote control:
# devices being controlled by this remote: TeVii S650 DVB-S2 USB
#

begin remote

  name  TeVii_S470
  bits   16
  flags SPACE_ENC|CONST_LENGTH
  eps30
  aeps  100

  header   9032  4440
  one   594  1651
  zero  594   527
  ptrail592
  repeat90322212
  pre_data_bits   16
  pre_data   0xFF
  gap  107715
  toggle_bit_mask 0x8000

 begin codes
  Power0x50AF
  Mute 0x30CF
  10x8877
  20x48B7
  30xC837
  40x28D7
  50xA857
  60x6897
  70xE817
  80x18E7
  90x9867
  00x08F7
  recall   0x58A7
  fav  0xD827
  Vol+ 0x906F
  Vol- 0xF00F
  Chan+0x10EF
  Chan-0x609F
  ModeLive 0xA05F
  ModePlay 0xE01F
  Up   0x00FF
  Down 0x807F
  Left 0xC03F
  Right0x40BF
  Ok   0xF807
  Menu 0x38C7
  Back 0xB847
  Play 0x02FD
  FastRew  0x7887
  FastFwd  0xB24D
  EPG  0x22DD
  Rec  0x20DF
  Timer0xD02F
  Open 0x708F
  Info 0x32CD
  a/b   0x827D
  Audio0xC23D
  subs 0xA25D
  List 0x52AD
  F1   0x629D
  F2   0xE21D
  F3   0x7A85
  F4   0x3AC5
  F5   0x4AB5
  F6   0x5AA5
  mom  0x6A95
  fs   0x1AE5
  end codes

end remote



Re: IR Receiver on an Tevii S470

2009-11-26 Thread Matthias Fechner

Hi Andy,

Andy Walls wrote:

I will inspect and test these with my HVR-1850 (CX23888) loaner board
this weekend (hopefully).
  


if you want me to test something on the Tevii S470 card, please let me know.

Bye,
Matthias

--
Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to produce bigger and better idiots. 
So far, the universe is winning. -- Rich Cook

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: IR Receiver on an Tevii S470

2009-11-22 Thread Matthias Fechner

Hi Andy,

Andy Walls wrote:


# modprobe cx23885
# modprobe i2c-dev
# i2c-detect -l
(to list all the i2c buses, including cx23885 mastered i2c buses)
  

i2c-0smbus SMBus nForce2 adapter at 4d00   SMBus adapter
i2c-1i2c   cx23885[0]  I2C adapter
i2c-2i2c   cx23885[0]  I2C adapter
i2c-3i2c   cx23885[0]  I2C adapter
i2c-4i2c   NVIDIA i2c adapter  I2C adapter
i2c-5i2c   NVIDIA i2c adapter  I2C adapter
i2c-6i2c   NVIDIA i2c adapter  I2C adapter


# i2c-detect -y N
(to show the addresses in use on bus # N: only query the cx23885 buses)

  

vdrhd1 ~ # i2cdetect -y 1
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:  -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 31 32 33 34 35 36 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
vdrhd1 ~ # i2cdetect -y 2

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:  -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 31 32 33 34 35 36 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
vdrhd1 ~ # i2cdetect -y 3

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:  -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 31 32 33 34 35 36 37 -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- 4c -- -- --
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


i2c-detect was in the lm-sensors package last I checked.  (Jean can
correct me if I'm wrong.)

  
ok, it seems that the name of tool is different here, but I think it has 
the same output.



Then we can work out how to read and decode it's data and add it to
ir-kbd-i2c at least.  Depending on how your kernel and LIRC versions
LIRC might still work with I2C IR chips too.

  

I will do my best to help you here.

Bye,
Matthias

--
Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to produce bigger and better idiots. 
So far, the universe is winning. -- Rich Cook

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: IR Receiver on an Tevii S470

2009-11-21 Thread Matthias Fechner

Hi,

Matthias Fechner schrieb:
I bought some days ago a Tevii S470 DVB-S2 (PCI-E) card and got it 
running with the driver from:

http://mercurial.intuxication.org/hg/s2-liplianin

But I was not successfull in got the IR receiver working.
It seems that it is not supported yet by the driver.

Is there maybe some code available to get the IR receiver with evdev 
running?


it seems to be not the correct mailing list, could some please suggest 
where I can ask that question?


Bye
Matthias

--

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


IR Receiver on an Tevii S470

2009-11-18 Thread Matthias Fechner

Hi,

I bought some days ago a Tevii S470 DVB-S2 (PCI-E) card and got it 
running with the driver from:

http://mercurial.intuxication.org/hg/s2-liplianin

But I was not successfull in got the IR receiver working.
It seems that it is not supported yet by the driver.

Is there maybe some code available to get the IR receiver with evdev 
running?


Thanks a lot,
Matthias
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html