Paul Check | 2 Apr 2012 02:05
Picon

Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

Hi: I am having difficulty getting my pvr-350 to work, but I *am* getting
some results.  Much appreciated if someone can help me across the line :).

Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.

I have followed the howto at the LIRC wiki here:

http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350

When I run irw I am not getting any results, but when I run evtest I am
seeing the button presses.  Any ideas on what could be broken?  The fact
that evtest is running means that I do have devinput working properly with
lirc, right?  I just don't know what else is missing to connect to irw
(and also mythtv).

Regards, Paul

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

Matthias Meyer | 3 Apr 2012 21:57
Picon

Re: Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

Am Montag 02 April 2012 schrieb Paul Check:
> Hi: I am having difficulty getting my pvr-350 to work, but I *am* getting
> some results.  Much appreciated if someone can help me across the line :).
> 
> Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.
> 
> I have followed the howto at the LIRC wiki here:
> 
> http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350
> 
> When I run irw I am not getting any results, but when I run evtest I am
> seeing the button presses.  Any ideas on what could be broken?  The fact
> that evtest is running means that I do have devinput working properly with
> lirc, right?  I just don't know what else is missing to connect to irw
> (and also mythtv).
> 
> Regards, Paul
> 
> 
> 
> 
------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> 
I'm running Wheezy with kernel 3.2.0 and lirc 0.9.0-0ubuntu1 ;-)

Your /etc/lirc/hardware.conf should contain a line:
REMOTE_MODULES="ir-kbd-i2c lirc_dev"
(Continue reading)

Mad-Halfling | 4 Apr 2012 00:36
Picon
Favicon

Quick (Stupid) Remote Question

Hi folks, very quick question - this is one of the Windows Media Centre remotes that's compatible with LIRC
on Linux (it'll be on a Raspberry Pi), isn't it?

http://www.amazon.co.uk/Windows-Control-Infrared-Receiver-Ultimate/dp/B003ZV3J72/ref=pd_bxgy_ce_img_b

I'm 99% sure it's the one mentioned at the bottom of http://www.lirc.org/html/table.html# <at> hw-usb but
when I checked for a config file at the link on the LIRC homepage, under the MS section, it only seems to list
the XBOX remote http://lirc.sourceforge.net/remotes/microsoft/ so I thought I'd just check as I'm
sure it's a two-second answer for you good folks.

Thanks
MH

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

Paul Check | 4 Apr 2012 00:52
Picon

Re: Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

> Am Montag 02 April 2012 schrieb Paul Check:
>> Hi: I am having difficulty getting my pvr-350 to work, but I *am*
>> getting
>> some results.  Much appreciated if someone can help me across the line
>> :).
>>
>> Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.
>>
>> I have followed the howto at the LIRC wiki here:
>>
>> http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350
>>
>> When I run irw I am not getting any results, but when I run evtest I am
>> seeing the button presses.  Any ideas on what could be broken?  The fact
>> that evtest is running means that I do have devinput working properly
>> with
>> lirc, right?  I just don't know what else is missing to connect to irw
>> (and also mythtv).
>>
>> Regards, Paul
>>
>>
>>
>>
> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>>
> I'm running Wheezy with kernel 3.2.0 and lirc 0.9.0-0ubuntu1 ;-)
(Continue reading)

Rainer Hochecker | 3 Apr 2012 12:32
Favicon

Support for Zotac remote

Hi,

I have just added support for Zotac remote control which is delivered with ZBox. I used hiddev in order to make all buttons work. I am wondering if there should be a more generic approach for all HID devices. See the changes here:
https://github.com/FernetMenta/lirc/commit/c336b0000918d539f82c2501fd8938462a682c8c

Sorry, not familiar with Sourceforge.

Cheers,
Rainer

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Matthias Meyer | 4 Apr 2012 20:01
Picon

Re: Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

Am Mittwoch 04 April 2012 schrieb Paul Check:
> > Am Montag 02 April 2012 schrieb Paul Check:
> >> Hi: I am having difficulty getting my pvr-350 to work, but I *am*
> >> getting
> >> some results.  Much appreciated if someone can help me across the line
> >> :).
> >>
> >> Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.
> >>
> >> I have followed the howto at the LIRC wiki here:
> >>
> >> http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350
> >>
> >> When I run irw I am not getting any results, but when I run evtest I am
> >> seeing the button presses.  Any ideas on what could be broken?  The 
fact
> >> that evtest is running means that I do have devinput working properly
> >> with
> >> lirc, right?  I just don't know what else is missing to connect to irw
> >> (and also mythtv).
> >>
> >> Regards, Paul
> >>
> >>
> >>
> >>
> > 
------------------------------------------------------------------------------
> >> This SF email is sponsosred by:
> >> Try Windows Azure free for 90 days Click Here
> >> http://p.sf.net/sfu/sfd2d-msazure
> >>
> > I'm running Wheezy with kernel 3.2.0 and lirc 0.9.0-0ubuntu1 ;-)
> >
> > Your /etc/lirc/hardware.conf should contain a line:
> > REMOTE_MODULES="ir-kbd-i2c lirc_dev"
> 
> Are those kernel modules? I was under the impression that 3.1.4 didn't
> have those modules any more.
Yes, kernel modules and I would believe that you need drivers :-)
> 
> Also, I'm not using the "REMOTE" prefix.  I've attached my hardware.conf.
> 
> So, given that evtest is working but irw is not, is that indicating some
> type of problem with "ir-kbd"?
> 
> If anyone else is running Debian unstable against a 3.1 kernel and has a
> pvr-350 working, I'd really love to see the various conf files, key
> mappings, etc.  I'm still stuck.
> 
> Regards, Paul

I will attach my config files:
/etc/lirc/hardware.conf
/etc/udev/rules.d/10-local.rules
/var/lib/mythtv/.mythtv/lircrc
/etc/lirc/lircd.conf is a copy from 
/usr/share/lirc/remotes/devinput/lircd.conf.devinput

br
Matthias

PS: please do not send mails to me but only to lirc-
list@...
-- 
Don't Panic
#KERNEL=="event*",ATTRS{phys}=="i2c-1/1-0018/ir0",SYMLINK+="input/ir"
KERNEL=="event*",ATTRS{name}=="i2c IR (Hauppauge WinTV PVR-350",SYMLINK+="input/ir"

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
#REMOTE_MODULES="lirc_dev lirc_i2c"
REMOTE_MODULES="ir-kbd-i2c lirc_dev"
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/ir"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
#"hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
# lircrc.example.HauppaugeGrey-nativelirc
# 2003-09-17, Robert Kulagowski
# mailto:rkulagow@...
# Save this file in ~/.mythtv/lircrc

begin
# power
    prog = mythtv
    button = KEY_POWER2
#MMT - use for resume
    config = X
end

begin
# Sleep on Medion
    prog = irexec
    button = KEY_SLEEP
    config = sudo /usr/sbin/pm-suspend &
end

begin
#between Mute and Full
    prog = mythtv
    button = KEY_RADIO
#MMT
    config = X
end

begin
# go
    prog = mythtv
    button = KEY_SELECT
# Swap the PiP windows
    config = N  
end

begin
    prog = mythtv
    button = KEY_0
    config = 0  
end

begin
    prog = mythtv
    button = KEY_1
    config = 1  
end

begin
    prog = mythtv
    button = KEY_2
    config = 2  
end

begin
    prog = mythtv
    button = KEY_3
    config = 3  
end

begin
    prog = mythtv
    button = KEY_4
    config = 4  
end

begin
    prog = mythtv
    button = KEY_5
    config = 5  
end

begin
    prog = mythtv
    button = KEY_6
    config = 6  
end

begin
    prog = mythtv
    button = KEY_7
    config = 7  
end

begin
    prog = mythtv
    button = KEY_8
    config = 8  
end

begin
    prog = mythtv
    button = KEY_9
    config = 9  
end

begin
#Back/Exit
    prog = mythtv
    button = KEY_EXIT
    config = Esc
end

begin
# Menu
    prog = mythtv
    button = KEY_MENU
    config = M  
end

begin
   prog = mythtv
# This is the Red key
# We'll use it for "Delete"
   button = KEY_RED
   config = D  
end

begin
   prog = mythtv
# This is the Green key
# We'll use it for "Information"
   button = KEY_GREEN
   config = I  
end

# Note the "repeat =" strings in the volume and channel.
# This means that if you hold down the key, every nth instance will be
# passed.  This depends on your system, so you may want to increase or
# decrease this and see what happens.  repeat = 1 is probably too
# fast.

begin
  prog = mythtv
# This is the Yellow key
# Use it as a volume key
  button = KEY_YELLOW
  repeat = 1
  config = F10  
end

begin
  prog = mythtv
# This is the Blue key
# Use it as a volume key
  button = KEY_BLUE
  repeat = 1
  config = F11  
end

begin
    prog = mythtv
    button = KEY_CHANNELUP
# This is the "up" on the central diamond 
#    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = KEY_CHANNELDOWN
# This is the "down" on the central diamond 
#    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = KEY_VOLUMEDOWN
# This is the "left" on the central diamond 
    config = Left
end

begin
    prog = mythtv
    button = KEY_VOLUMEUP
# This is the "right" on the central diamond 
    config = Right
end

begin
# Middle button on the diamond
    prog = mythtv
    button = KEY_ENTER
    config = Return
end

begin
    prog = mythtv
    button = KEY_MUTE
    config = F9  
end

begin
   prog = mythtv
#MMT - welche Taste?
# Change focus for PiP (to change channel in the other window)
   button = Blank
   config = B  
end

begin
#Full (links unten auf der Medion)
   prog = mythtv
# Toggle PiP on/off
   button = KEY_ZOOM
   config = V  
end

begin
    prog = mythtv
    button = KEY_REWIND
    config = Left  
end

begin
    prog = mythtv
    button = KEY_PLAY
    config = P  
end

begin
    prog = mythtv
    button = KEY_FASTFORWARD
    config = Right  
end

begin
  prog = mythtv
  button = KEY_RECORD
  config = R  
end

begin
   prog = mythtv
# Teletext
   button = KEY_STOP
   config = T  
end

begin
    prog = mythtv
    button = KEY_PAUSE
    config = P  
end

begin
   prog = mythtv
   button = KEY_PREVIOUSSONG
# Use for backwards commercial skip
    config = Q  
end

begin
   prog = mythtv
   button = KEY_NEXTSONG
# Use for forward commercial skip
    config = Z  
end
# generated by devinput.sh
begin remote
        name            devinput
        bits            16
        eps             30
        aeps            100
        pre_data_bits   16
        pre_data        0x0001
        post_data_bits  32
        post_data       0x00000001
        gap             132799
        toggle_bit      0

	begin codes
		KEY_0			11
		KEY_102ND		86
		KEY_1			2
		KEY_2			3
		KEY_3			4
		KEY_4			5
		KEY_5			6
		KEY_6			7
		KEY_7			8
		KEY_8			9
		KEY_9			10
		KEY_A			30
		KEY_AB			0x196
		KEY_ADDRESSBOOK		0x1ad
		KEY_AGAIN		129
		KEY_ALTERASE		222
		KEY_ANGLE		0x173
		KEY_APOSTROPHE		40
		KEY_ARCHIVE		0x169
		KEY_AUDIO		0x188
		KEY_AUX			0x186
		KEY_B			48
		KEY_BACK		158
		KEY_BACKSLASH		43
		KEY_BACKSPACE		14
		KEY_BASSBOOST		209
		KEY_BATTERY		236
		KEY_BLUE		0x191
		KEY_BLUETOOTH		237
		KEY_BOOKMARKS		156
		KEY_BREAK		0x19b
		KEY_BRIGHTNESS_CYCLE	243
		KEY_BRIGHTNESSDOWN	224
		KEY_BRIGHTNESSUP	225
		KEY_BRIGHTNESS_ZERO	244
		KEY_BRL_DOT10		0x1fa
		KEY_BRL_DOT1		0x1f1
		KEY_BRL_DOT2		0x1f2
		KEY_BRL_DOT3		0x1f3
		KEY_BRL_DOT4		0x1f4
		KEY_BRL_DOT5		0x1f5
		KEY_BRL_DOT6		0x1f6
		KEY_BRL_DOT7		0x1f7
		KEY_BRL_DOT8		0x1f8
		KEY_BRL_DOT9		0x1f9
		KEY_C			46
		KEY_CALC		140
		KEY_CALENDAR		0x18d
		KEY_CAMERA		212
		KEY_CAMERA_FOCUS	0x210
		KEY_CANCEL		223
		KEY_CAPSLOCK		58
		KEY_CD			0x17f
		KEY_CHANNEL		0x16b
		KEY_CHANNELDOWN		0x193
		KEY_CHANNELUP		0x192
		KEY_CHAT		216
		KEY_CLEAR		0x163
		KEY_CLOSE		206
		KEY_CLOSECD		160
		KEY_COFFEE		152
		KEY_COMMA		51
		KEY_COMPOSE		127
		KEY_COMPUTER		157
		KEY_CONFIG		171
		KEY_CONNECT		218
		KEY_CONTEXT_MENU	0x1b6
		KEY_COPY		133
		KEY_CUT			137
		KEY_CYCLEWINDOWS	154
		KEY_D			32
		KEY_DASHBOARD		204
		KEY_DATABASE		0x1aa
		KEY_DEL_EOL		0x1c0
		KEY_DEL_EOS		0x1c1
		KEY_DELETE		111
		KEY_DELETEFILE		146
		KEY_DEL_LINE		0x1c3
		KEY_DIGITS		0x19d
		KEY_DIRECTION		153
		KEY_DIRECTORY		0x18a
		KEY_DISPLAY_OFF		245
		KEY_DISPLAYTOGGLE	0x1af
		KEY_DOCUMENTS		235
		KEY_DOLLAR		0x1b2
		KEY_DOT			52
		KEY_DOWN		108
		KEY_DVD			0x185
		KEY_E			18
		KEY_EDIT		176
		KEY_EDITOR		0x1a6
		KEY_EJECTCD		161
		KEY_EJECTCLOSECD	162
		KEY_EMAIL		215
		KEY_END			107
		KEY_ENTER		28
		KEY_EPG			0x16d
		KEY_EQUAL		13
		KEY_ESC			1
		KEY_EURO		0x1b3
		KEY_EXIT		174
		KEY_F10			68
		KEY_F11			87
		KEY_F12			88
		KEY_F13			183
		KEY_F14			184
		KEY_F15			185
		KEY_F1			59
		KEY_F16			186
		KEY_F17			187
		KEY_F18			188
		KEY_F19			189
		KEY_F20			190
		KEY_F21			191
		KEY_F22			192
		KEY_F23			193
		KEY_F24			194
		KEY_F2			60
		KEY_F			33
		KEY_F3			61
		KEY_F4			62
		KEY_F5			63
		KEY_F6			64
		KEY_F7			65
		KEY_F8			66
		KEY_F9			67
		KEY_FASTFORWARD		208
		KEY_FAVORITES		0x16c
		KEY_FILE		144
		KEY_FINANCE		219
		KEY_FIND		136
		KEY_FIRST		0x194
		KEY_FN			0x1d0
		KEY_FN_1		0x1de
		KEY_FN_2		0x1df
		KEY_FN_B		0x1e4
		KEY_FN_D		0x1e0
		KEY_FN_E		0x1e1
		KEY_FN_ESC		0x1d1
		KEY_FN_F		0x1e2
		KEY_FN_F10		0x1db
		KEY_FN_F1		0x1d2
		KEY_FN_F11		0x1dc
		KEY_FN_F12		0x1dd
		KEY_FN_F2		0x1d3
		KEY_FN_F3		0x1d4
		KEY_FN_F4		0x1d5
		KEY_FN_F5		0x1d6
		KEY_FN_F6		0x1d7
		KEY_FN_F7		0x1d8
		KEY_FN_F8		0x1d9
		KEY_FN_F9		0x1da
		KEY_FN_S		0x1e3
		KEY_FORWARD		159
		KEY_FORWARDMAIL		233
		KEY_FRAMEBACK		0x1b4
		KEY_FRAMEFORWARD	0x1b5
		KEY_FRONT		132
		KEY_G			34
		KEY_GAMES		0x1a1
		KEY_GOTO		0x162
		KEY_GRAPHICSEDITOR	0x1a8
		KEY_GRAVE		41
		KEY_GREEN		0x18f
		KEY_H			35
		KEY_HANGEUL		122
		KEY_HANJA		123
		KEY_HELP		138
		KEY_HENKAN		92
		KEY_HIRAGANA		91
		KEY_HOME		102
		KEY_HOMEPAGE		172
		KEY_HP			211
		KEY_I			23
		KEY_INFO		0x166
		KEY_INSERT		110
		KEY_INS_LINE		0x1c2
		KEY_ISO			170
		KEY_J			36
		KEY_K			37
		KEY_KATAKANA		90
		KEY_KATAKANAHIRAGANA	93
		KEY_KBDILLUMDOWN	229
		KEY_KBDILLUMTOGGLE	228
		KEY_KBDILLUMUP		230
		KEY_KEYBOARD		0x176
		KEY_KP0			82
		KEY_KP1			79
		KEY_KP2			80
		KEY_KP3			81
		KEY_KP4			75
		KEY_KP5			76
		KEY_KP6			77
		KEY_KP7			71
		KEY_KP8			72
		KEY_KP9			73
		KEY_KPASTERISK		55
		KEY_KPCOMMA		121
		KEY_KPDOT		83
		KEY_KPENTER		96
		KEY_KPEQUAL		117
		KEY_KPJPCOMMA		95
		KEY_KPLEFTPAREN		179
		KEY_KPMINUS		74
		KEY_KPPLUS		78
		KEY_KPPLUSMINUS		118
		KEY_KPRIGHTPAREN	180
		KEY_KPSLASH		98
		KEY_L			38
		KEY_LANGUAGE		0x170
		KEY_LAST		0x195
		KEY_LEFT		105
		KEY_LEFTALT		56
		KEY_LEFTBRACE		26
		KEY_LEFTCTRL		29
		KEY_LEFTMETA		125
		KEY_LEFTSHIFT		42
		KEY_LINEFEED		101
		KEY_LIST		0x18b
		KEY_LOGOFF		0x1b1
		KEY_M			50
		KEY_MACRO		112
		KEY_MAIL		155
		KEY_MAX			0x2ff
		KEY_MEDIA		226
		KEY_MEDIA_REPEAT	0x1b7
		KEY_MEMO		0x18c
		KEY_MENU		139
		KEY_MESSENGER		0x1ae
		KEY_MHP			0x16f
		KEY_MINUS		12
		KEY_MODE		0x175
		KEY_MOVE		175
		KEY_MP3			0x187
		KEY_MSDOS		151
		KEY_MUHENKAN		94
		KEY_MUTE		113
		KEY_N			49
		KEY_NEW			181
		KEY_NEWS		0x1ab
		KEY_NEXT		0x197
		KEY_NEXTSONG		163
		KEY_NUMERIC_0		0x200
		KEY_NUMERIC_1		0x201
		KEY_NUMERIC_2		0x202
		KEY_NUMERIC_3		0x203
		KEY_NUMERIC_4		0x204
		KEY_NUMERIC_5		0x205
		KEY_NUMERIC_6		0x206
		KEY_NUMERIC_7		0x207
		KEY_NUMERIC_8		0x208
		KEY_NUMERIC_9		0x209
		KEY_NUMERIC_POUND	0x20b
		KEY_NUMERIC_STAR	0x20a
		KEY_NUMLOCK		69
		KEY_O			24
		KEY_OK			0x160
		KEY_OPEN		134
		KEY_OPTION		0x165
		KEY_P			25
		KEY_PAGEDOWN		109
		KEY_PAGEUP		104
		KEY_PASTE		135
		KEY_PAUSE		119
		KEY_PAUSECD		201
		KEY_PC			0x178
		KEY_PHONE		169
		KEY_PLAY		207
		KEY_PLAYCD		200
		KEY_PLAYER		0x183
		KEY_PLAYPAUSE		164
		KEY_POWER		116
		KEY_POWER2		0x164
		KEY_PRESENTATION	0x1a9
		KEY_PREVIOUS		0x19c
		KEY_PREVIOUSSONG	165
		KEY_PRINT		210
		KEY_PROG1		148
		KEY_PROG2		149
		KEY_PROG3		202
		KEY_PROG4		203
		KEY_PROGRAM		0x16a
		KEY_PROPS		130
		KEY_PVR			0x16e
		KEY_Q			16
		KEY_QUESTION		214
		KEY_R			19
		KEY_RADIO		0x181
		KEY_RECORD		167
		KEY_RED			0x18e
		KEY_REDO		182
		KEY_REFRESH		173
		KEY_REPLY		232
		KEY_RESERVED		0
		KEY_RESTART		0x198
		KEY_REWIND		168
		KEY_RFKILL		247
		KEY_RIGHT		106
		KEY_RIGHTALT		100
		KEY_RIGHTBRACE		27
		KEY_RIGHTCTRL		97
		KEY_RIGHTMETA		126
		KEY_RIGHTSHIFT		54
		KEY_RO			89
		KEY_S			31
		KEY_SAT			0x17d
		KEY_SAT2		0x17e
		KEY_SAVE		234
		KEY_SCALE		120
		KEY_SCREEN		0x177
		KEY_SCROLLDOWN		178
		KEY_SCROLLLOCK		70
		KEY_SCROLLUP		177
		KEY_SEARCH		217
		KEY_SELECT		0x161
		KEY_SEMICOLON		39
		KEY_SEND		231
		KEY_SENDFILE		145
		KEY_SETUP		141
		KEY_SHOP		221
		KEY_SHUFFLE		0x19a
		KEY_SLASH		53
		KEY_SLEEP		142
		KEY_SLOW		0x199
		KEY_SOUND		213
		KEY_SPACE		57
		KEY_SPELLCHECK		0x1b0
		KEY_SPORT		220
		KEY_SPREADSHEET		0x1a7
		KEY_STOP		128
		KEY_STOPCD		166
		KEY_SUBTITLE		0x172
		KEY_SUSPEND		205
		KEY_SWITCHVIDEOMODE	227
		KEY_SYSRQ		99
		KEY_T			20
		KEY_TAB			15
		KEY_TAPE		0x180
		KEY_TEEN		0x19e
		KEY_TEXT		0x184
		KEY_TIME		0x167
		KEY_TITLE		0x171
		KEY_TUNER		0x182
		KEY_TV			0x179
		KEY_TV2			0x17a
		KEY_TWEN		0x19f
		KEY_U			22
		KEY_UNDO		131
		KEY_UNKNOWN		240
		KEY_UP			103
		KEY_UWB			239
		KEY_V			47
		KEY_VCR			0x17b
		KEY_VCR2		0x17c
		KEY_VENDOR		0x168
		KEY_VIDEO		0x189
		KEY_VIDEO_NEXT		241
		KEY_VIDEOPHONE		0x1a0
		KEY_VIDEO_PREV		242
		KEY_VOICEMAIL		0x1ac
		KEY_VOLUMEDOWN		114
		KEY_VOLUMEUP		115
		KEY_W			17
		KEY_WAKEUP		143
		KEY_WIMAX		246
		KEY_WLAN		238
		KEY_WORDPROCESSOR	0x1a5
		KEY_WWW			150
		KEY_X			45
		KEY_XFER		147
		KEY_Y			21
		KEY_YELLOW		0x190
		KEY_YEN			124
		KEY_Z			44
		KEY_ZENKAKUHANKAKU	85
		KEY_ZOOM		0x174
		KEY_ZOOMIN		0x1a2
		KEY_ZOOMOUT		0x1a3
		KEY_ZOOMRESET		0x1a4
		BTN_0			0x100
		BTN_1			0x101
		BTN_2			0x102
		BTN_3			0x103
		BTN_4			0x104
		BTN_5			0x105
		BTN_6			0x106
		BTN_7			0x107
		BTN_8			0x108
		BTN_9			0x109
		BTN_A			0x130
		BTN_B			0x131
		BTN_BACK		0x116
		BTN_BASE		0x126
		BTN_BASE2		0x127
		BTN_BASE3		0x128
		BTN_BASE4		0x129
		BTN_BASE5		0x12a
		BTN_BASE6		0x12b
		BTN_C			0x132
		BTN_DEAD		0x12f
		BTN_DIGI		0x140
		BTN_EXTRA		0x114
		BTN_FORWARD		0x115
		BTN_GAMEPAD		0x130
		BTN_GEAR_DOWN		0x150
		BTN_GEAR_UP		0x151
		BTN_JOYSTICK		0x120
		BTN_LEFT		0x110
		BTN_MIDDLE		0x112
		BTN_MISC		0x100
		BTN_MODE		0x13c
		BTN_MOUSE		0x110
		BTN_PINKIE		0x125
		BTN_RIGHT		0x111
		BTN_SELECT		0x13a
		BTN_SIDE		0x113
		BTN_START		0x13b
		BTN_STYLUS		0x14b
		BTN_STYLUS2		0x14c
		BTN_TASK		0x117
		BTN_THUMB		0x121
		BTN_THUMB2		0x122
		BTN_THUMBL		0x13d
		BTN_THUMBR		0x13e
		BTN_TL			0x136
		BTN_TL2			0x138
		BTN_TOOL_AIRBRUSH	0x144
		BTN_TOOL_BRUSH		0x142
		BTN_TOOL_DOUBLETAP	0x14d
		BTN_TOOL_FINGER		0x145
		BTN_TOOL_LENS		0x147
		BTN_TOOL_MOUSE		0x146
		BTN_TOOL_PEN		0x140
		BTN_TOOL_PENCIL		0x143
		BTN_TOOL_QUADTAP	0x14f
		BTN_TOOL_RUBBER		0x141
		BTN_TOOL_TRIPLETAP	0x14e
		BTN_TOP			0x123
		BTN_TOP2		0x124
		BTN_TOUCH		0x14a
		BTN_TR			0x137
		BTN_TR2			0x139
		BTN_TRIGGER		0x120
		BTN_WHEEL		0x150
		BTN_X			0x133
		BTN_Y			0x134
		BTN_Z			0x135
	end codes
end remote

# generated by devinput.sh (obsolete 32 bit version)
begin remote
        name            devinput
        bits            16
        eps             30
        aeps            100
        pre_data_bits   16
        pre_data        0x8001
        gap             132799
        toggle_bit      0

	begin codes
		KEY_0			11
		KEY_102ND		86
		KEY_1			2
		KEY_2			3
		KEY_3			4
		KEY_4			5
		KEY_5			6
		KEY_6			7
		KEY_7			8
		KEY_8			9
		KEY_9			10
		KEY_A			30
		KEY_AB			0x196
		KEY_ADDRESSBOOK		0x1ad
		KEY_AGAIN		129
		KEY_ALTERASE		222
		KEY_ANGLE		0x173
		KEY_APOSTROPHE		40
		KEY_ARCHIVE		0x169
		KEY_AUDIO		0x188
		KEY_AUX			0x186
		KEY_B			48
		KEY_BACK		158
		KEY_BACKSLASH		43
		KEY_BACKSPACE		14
		KEY_BASSBOOST		209
		KEY_BATTERY		236
		KEY_BLUE		0x191
		KEY_BLUETOOTH		237
		KEY_BOOKMARKS		156
		KEY_BREAK		0x19b
		KEY_BRIGHTNESS_CYCLE	243
		KEY_BRIGHTNESSDOWN	224
		KEY_BRIGHTNESSUP	225
		KEY_BRIGHTNESS_ZERO	244
		KEY_BRL_DOT10		0x1fa
		KEY_BRL_DOT1		0x1f1
		KEY_BRL_DOT2		0x1f2
		KEY_BRL_DOT3		0x1f3
		KEY_BRL_DOT4		0x1f4
		KEY_BRL_DOT5		0x1f5
		KEY_BRL_DOT6		0x1f6
		KEY_BRL_DOT7		0x1f7
		KEY_BRL_DOT8		0x1f8
		KEY_BRL_DOT9		0x1f9
		KEY_C			46
		KEY_CALC		140
		KEY_CALENDAR		0x18d
		KEY_CAMERA		212
		KEY_CAMERA_FOCUS	0x210
		KEY_CANCEL		223
		KEY_CAPSLOCK		58
		KEY_CD			0x17f
		KEY_CHANNEL		0x16b
		KEY_CHANNELDOWN		0x193
		KEY_CHANNELUP		0x192
		KEY_CHAT		216
		KEY_CLEAR		0x163
		KEY_CLOSE		206
		KEY_CLOSECD		160
		KEY_COFFEE		152
		KEY_COMMA		51
		KEY_COMPOSE		127
		KEY_COMPUTER		157
		KEY_CONFIG		171
		KEY_CONNECT		218
		KEY_CONTEXT_MENU	0x1b6
		KEY_COPY		133
		KEY_CUT			137
		KEY_CYCLEWINDOWS	154
		KEY_D			32
		KEY_DASHBOARD		204
		KEY_DATABASE		0x1aa
		KEY_DEL_EOL		0x1c0
		KEY_DEL_EOS		0x1c1
		KEY_DELETE		111
		KEY_DELETEFILE		146
		KEY_DEL_LINE		0x1c3
		KEY_DIGITS		0x19d
		KEY_DIRECTION		153
		KEY_DIRECTORY		0x18a
		KEY_DISPLAY_OFF		245
		KEY_DISPLAYTOGGLE	0x1af
		KEY_DOCUMENTS		235
		KEY_DOLLAR		0x1b2
		KEY_DOT			52
		KEY_DOWN		108
		KEY_DVD			0x185
		KEY_E			18
		KEY_EDIT		176
		KEY_EDITOR		0x1a6
		KEY_EJECTCD		161
		KEY_EJECTCLOSECD	162
		KEY_EMAIL		215
		KEY_END			107
		KEY_ENTER		28
		KEY_EPG			0x16d
		KEY_EQUAL		13
		KEY_ESC			1
		KEY_EURO		0x1b3
		KEY_EXIT		174
		KEY_F10			68
		KEY_F11			87
		KEY_F12			88
		KEY_F13			183
		KEY_F14			184
		KEY_F15			185
		KEY_F1			59
		KEY_F16			186
		KEY_F17			187
		KEY_F18			188
		KEY_F19			189
		KEY_F20			190
		KEY_F21			191
		KEY_F22			192
		KEY_F23			193
		KEY_F24			194
		KEY_F2			60
		KEY_F			33
		KEY_F3			61
		KEY_F4			62
		KEY_F5			63
		KEY_F6			64
		KEY_F7			65
		KEY_F8			66
		KEY_F9			67
		KEY_FASTFORWARD		208
		KEY_FAVORITES		0x16c
		KEY_FILE		144
		KEY_FINANCE		219
		KEY_FIND		136
		KEY_FIRST		0x194
		KEY_FN			0x1d0
		KEY_FN_1		0x1de
		KEY_FN_2		0x1df
		KEY_FN_B		0x1e4
		KEY_FN_D		0x1e0
		KEY_FN_E		0x1e1
		KEY_FN_ESC		0x1d1
		KEY_FN_F		0x1e2
		KEY_FN_F10		0x1db
		KEY_FN_F1		0x1d2
		KEY_FN_F11		0x1dc
		KEY_FN_F12		0x1dd
		KEY_FN_F2		0x1d3
		KEY_FN_F3		0x1d4
		KEY_FN_F4		0x1d5
		KEY_FN_F5		0x1d6
		KEY_FN_F6		0x1d7
		KEY_FN_F7		0x1d8
		KEY_FN_F8		0x1d9
		KEY_FN_F9		0x1da
		KEY_FN_S		0x1e3
		KEY_FORWARD		159
		KEY_FORWARDMAIL		233
		KEY_FRAMEBACK		0x1b4
		KEY_FRAMEFORWARD	0x1b5
		KEY_FRONT		132
		KEY_G			34
		KEY_GAMES		0x1a1
		KEY_GOTO		0x162
		KEY_GRAPHICSEDITOR	0x1a8
		KEY_GRAVE		41
		KEY_GREEN		0x18f
		KEY_H			35
		KEY_HANGEUL		122
		KEY_HANJA		123
		KEY_HELP		138
		KEY_HENKAN		92
		KEY_HIRAGANA		91
		KEY_HOME		102
		KEY_HOMEPAGE		172
		KEY_HP			211
		KEY_I			23
		KEY_INFO		0x166
		KEY_INSERT		110
		KEY_INS_LINE		0x1c2
		KEY_ISO			170
		KEY_J			36
		KEY_K			37
		KEY_KATAKANA		90
		KEY_KATAKANAHIRAGANA	93
		KEY_KBDILLUMDOWN	229
		KEY_KBDILLUMTOGGLE	228
		KEY_KBDILLUMUP		230
		KEY_KEYBOARD		0x176
		KEY_KP0			82
		KEY_KP1			79
		KEY_KP2			80
		KEY_KP3			81
		KEY_KP4			75
		KEY_KP5			76
		KEY_KP6			77
		KEY_KP7			71
		KEY_KP8			72
		KEY_KP9			73
		KEY_KPASTERISK		55
		KEY_KPCOMMA		121
		KEY_KPDOT		83
		KEY_KPENTER		96
		KEY_KPEQUAL		117
		KEY_KPJPCOMMA		95
		KEY_KPLEFTPAREN		179
		KEY_KPMINUS		74
		KEY_KPPLUS		78
		KEY_KPPLUSMINUS		118
		KEY_KPRIGHTPAREN	180
		KEY_KPSLASH		98
		KEY_L			38
		KEY_LANGUAGE		0x170
		KEY_LAST		0x195
		KEY_LEFT		105
		KEY_LEFTALT		56
		KEY_LEFTBRACE		26
		KEY_LEFTCTRL		29
		KEY_LEFTMETA		125
		KEY_LEFTSHIFT		42
		KEY_LINEFEED		101
		KEY_LIST		0x18b
		KEY_LOGOFF		0x1b1
		KEY_M			50
		KEY_MACRO		112
		KEY_MAIL		155
		KEY_MAX			0x2ff
		KEY_MEDIA		226
		KEY_MEDIA_REPEAT	0x1b7
		KEY_MEMO		0x18c
		KEY_MENU		139
		KEY_MESSENGER		0x1ae
		KEY_MHP			0x16f
		KEY_MINUS		12
		KEY_MODE		0x175
		KEY_MOVE		175
		KEY_MP3			0x187
		KEY_MSDOS		151
		KEY_MUHENKAN		94
		KEY_MUTE		113
		KEY_N			49
		KEY_NEW			181
		KEY_NEWS		0x1ab
		KEY_NEXT		0x197
		KEY_NEXTSONG		163
		KEY_NUMERIC_0		0x200
		KEY_NUMERIC_1		0x201
		KEY_NUMERIC_2		0x202
		KEY_NUMERIC_3		0x203
		KEY_NUMERIC_4		0x204
		KEY_NUMERIC_5		0x205
		KEY_NUMERIC_6		0x206
		KEY_NUMERIC_7		0x207
		KEY_NUMERIC_8		0x208
		KEY_NUMERIC_9		0x209
		KEY_NUMERIC_POUND	0x20b
		KEY_NUMERIC_STAR	0x20a
		KEY_NUMLOCK		69
		KEY_O			24
		KEY_OK			0x160
		KEY_OPEN		134
		KEY_OPTION		0x165
		KEY_P			25
		KEY_PAGEDOWN		109
		KEY_PAGEUP		104
		KEY_PASTE		135
		KEY_PAUSE		119
		KEY_PAUSECD		201
		KEY_PC			0x178
		KEY_PHONE		169
		KEY_PLAY		207
		KEY_PLAYCD		200
		KEY_PLAYER		0x183
		KEY_PLAYPAUSE		164
		KEY_POWER		116
		KEY_POWER2		0x164
		KEY_PRESENTATION	0x1a9
		KEY_PREVIOUS		0x19c
		KEY_PREVIOUSSONG	165
		KEY_PRINT		210
		KEY_PROG1		148
		KEY_PROG2		149
		KEY_PROG3		202
		KEY_PROG4		203
		KEY_PROGRAM		0x16a
		KEY_PROPS		130
		KEY_PVR			0x16e
		KEY_Q			16
		KEY_QUESTION		214
		KEY_R			19
		KEY_RADIO		0x181
		KEY_RECORD		167
		KEY_RED			0x18e
		KEY_REDO		182
		KEY_REFRESH		173
		KEY_REPLY		232
		KEY_RESERVED		0
		KEY_RESTART		0x198
		KEY_REWIND		168
		KEY_RFKILL		247
		KEY_RIGHT		106
		KEY_RIGHTALT		100
		KEY_RIGHTBRACE		27
		KEY_RIGHTCTRL		97
		KEY_RIGHTMETA		126
		KEY_RIGHTSHIFT		54
		KEY_RO			89
		KEY_S			31
		KEY_SAT			0x17d
		KEY_SAT2		0x17e
		KEY_SAVE		234
		KEY_SCALE		120
		KEY_SCREEN		0x177
		KEY_SCROLLDOWN		178
		KEY_SCROLLLOCK		70
		KEY_SCROLLUP		177
		KEY_SEARCH		217
		KEY_SELECT		0x161
		KEY_SEMICOLON		39
		KEY_SEND		231
		KEY_SENDFILE		145
		KEY_SETUP		141
		KEY_SHOP		221
		KEY_SHUFFLE		0x19a
		KEY_SLASH		53
		KEY_SLEEP		142
		KEY_SLOW		0x199
		KEY_SOUND		213
		KEY_SPACE		57
		KEY_SPELLCHECK		0x1b0
		KEY_SPORT		220
		KEY_SPREADSHEET		0x1a7
		KEY_STOP		128
		KEY_STOPCD		166
		KEY_SUBTITLE		0x172
		KEY_SUSPEND		205
		KEY_SWITCHVIDEOMODE	227
		KEY_SYSRQ		99
		KEY_T			20
		KEY_TAB			15
		KEY_TAPE		0x180
		KEY_TEEN		0x19e
		KEY_TEXT		0x184
		KEY_TIME		0x167
		KEY_TITLE		0x171
		KEY_TUNER		0x182
		KEY_TV			0x179
		KEY_TV2			0x17a
		KEY_TWEN		0x19f
		KEY_U			22
		KEY_UNDO		131
		KEY_UNKNOWN		240
		KEY_UP			103
		KEY_UWB			239
		KEY_V			47
		KEY_VCR			0x17b
		KEY_VCR2		0x17c
		KEY_VENDOR		0x168
		KEY_VIDEO		0x189
		KEY_VIDEO_NEXT		241
		KEY_VIDEOPHONE		0x1a0
		KEY_VIDEO_PREV		242
		KEY_VOICEMAIL		0x1ac
		KEY_VOLUMEDOWN		114
		KEY_VOLUMEUP		115
		KEY_W			17
		KEY_WAKEUP		143
		KEY_WIMAX		246
		KEY_WLAN		238
		KEY_WORDPROCESSOR	0x1a5
		KEY_WWW			150
		KEY_X			45
		KEY_XFER		147
		KEY_Y			21
		KEY_YELLOW		0x190
		KEY_YEN			124
		KEY_Z			44
		KEY_ZENKAKUHANKAKU	85
		KEY_ZOOM		0x174
		KEY_ZOOMIN		0x1a2
		KEY_ZOOMOUT		0x1a3
		KEY_ZOOMRESET		0x1a4
		BTN_0			0x100
		BTN_1			0x101
		BTN_2			0x102
		BTN_3			0x103
		BTN_4			0x104
		BTN_5			0x105
		BTN_6			0x106
		BTN_7			0x107
		BTN_8			0x108
		BTN_9			0x109
		BTN_A			0x130
		BTN_B			0x131
		BTN_BACK		0x116
		BTN_BASE		0x126
		BTN_BASE2		0x127
		BTN_BASE3		0x128
		BTN_BASE4		0x129
		BTN_BASE5		0x12a
		BTN_BASE6		0x12b
		BTN_C			0x132
		BTN_DEAD		0x12f
		BTN_DIGI		0x140
		BTN_EXTRA		0x114
		BTN_FORWARD		0x115
		BTN_GAMEPAD		0x130
		BTN_GEAR_DOWN		0x150
		BTN_GEAR_UP		0x151
		BTN_JOYSTICK		0x120
		BTN_LEFT		0x110
		BTN_MIDDLE		0x112
		BTN_MISC		0x100
		BTN_MODE		0x13c
		BTN_MOUSE		0x110
		BTN_PINKIE		0x125
		BTN_RIGHT		0x111
		BTN_SELECT		0x13a
		BTN_SIDE		0x113
		BTN_START		0x13b
		BTN_STYLUS		0x14b
		BTN_STYLUS2		0x14c
		BTN_TASK		0x117
		BTN_THUMB		0x121
		BTN_THUMB2		0x122
		BTN_THUMBL		0x13d
		BTN_THUMBR		0x13e
		BTN_TL			0x136
		BTN_TL2			0x138
		BTN_TOOL_AIRBRUSH	0x144
		BTN_TOOL_BRUSH		0x142
		BTN_TOOL_DOUBLETAP	0x14d
		BTN_TOOL_FINGER		0x145
		BTN_TOOL_LENS		0x147
		BTN_TOOL_MOUSE		0x146
		BTN_TOOL_PEN		0x140
		BTN_TOOL_PENCIL		0x143
		BTN_TOOL_QUADTAP	0x14f
		BTN_TOOL_RUBBER		0x141
		BTN_TOOL_TRIPLETAP	0x14e
		BTN_TOP			0x123
		BTN_TOP2		0x124
		BTN_TOUCH		0x14a
		BTN_TR			0x137
		BTN_TR2			0x139
		BTN_TRIGGER		0x120
		BTN_WHEEL		0x150
		BTN_X			0x133
		BTN_Y			0x134
		BTN_Z			0x135
	end codes
end remote

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Paul Check | 6 Apr 2012 11:21
Picon

Re: Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

> Am Mittwoch 04 April 2012 schrieb Paul Check:
>> > Am Montag 02 April 2012 schrieb Paul Check:
>> >> Hi: I am having difficulty getting my pvr-350 to work, but I *am*
>> >> getting
>> >> some results.  Much appreciated if someone can help me across the
>> line
>> >> :).
>> >>
>> >> Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.
>> >>
>> >> I have followed the howto at the LIRC wiki here:
>> >>
>> >> http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350
>> >>
>> >> When I run irw I am not getting any results, but when I run evtest I
>> am
>> >> seeing the button presses.  Any ideas on what could be broken?  The
> fact
>> >> that evtest is running means that I do have devinput working properly
>> >> with
>> >> lirc, right?  I just don't know what else is missing to connect to
>> irw
>> >> (and also mythtv).
>> >>
>> >> Regards, Paul
>> >>
>> >>
>> >>
>> >>
>> >
> ------------------------------------------------------------------------------
>> >> This SF email is sponsosred by:
>> >> Try Windows Azure free for 90 days Click Here
>> >> http://p.sf.net/sfu/sfd2d-msazure
>> >>
>> > I'm running Wheezy with kernel 3.2.0 and lirc 0.9.0-0ubuntu1 ;-)
>> >
>> > Your /etc/lirc/hardware.conf should contain a line:
>> > REMOTE_MODULES="ir-kbd-i2c lirc_dev"
>>
>> Are those kernel modules? I was under the impression that 3.1.4 didn't
>> have those modules any more.
> Yes, kernel modules and I would believe that you need drivers :-)

I don't see those modules in 3.1.4.  Do you know what section they are in?

>> Also, I'm not using the "REMOTE" prefix.  I've attached my
>> hardware.conf.
>>
>> So, given that evtest is working but irw is not, is that indicating some
>> type of problem with "ir-kbd"?
>>
>> If anyone else is running Debian unstable against a 3.1 kernel and has a
>> pvr-350 working, I'd really love to see the various conf files, key
>> mappings, etc.  I'm still stuck.
>>
>> Regards, Paul
>
> I will attach my config files:
> /etc/lirc/hardware.conf
> /etc/udev/rules.d/10-local.rules
> /var/lib/mythtv/.mythtv/lircrc
> /etc/lirc/lircd.conf is a copy from
> /usr/share/lirc/remotes/devinput/lircd.conf.devinput

Thx. Again, I can see that the remote is being picked up by evtest.  I
believe I solved at least a bit of the problem, in that the keymap table
was empty, so I was just getting SCAN codes when I ran evtest. After
inserting a keymap table I'm able to get KEY codes on evtest, but still
nothing with irw.  I'm assuming this must be because I'm missing the
ir-kbd module...but I just don't see it.

I'd be happy to contribute a detailed write-up if I could get this working
:).  -P

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2

Matthias Meyer | 6 Apr 2012 14:39
Picon

Re: Help Needed: PVR-350: Kernel 3.1.4: lircd 0.9.0-pre1: Debian unstable

Am Freitag 06 April 2012 schrieb Paul Check:
> > Am Mittwoch 04 April 2012 schrieb Paul Check:
> >> > Am Montag 02 April 2012 schrieb Paul Check:
> >> >> Hi: I am having difficulty getting my pvr-350 to work, but I *am*
> >> >> getting
> >> >> some results.  Much appreciated if someone can help me across the
> >> line
> >> >> :).
> >> >>
> >> >> Debian unstable, kernel is 3.1.4, lircd is 0.9.0-pre1.
> >> >>
> >> >> I have followed the howto at the LIRC wiki here:
> >> >>
> >> >> 
http://www.mythtv.org/wiki/LIRC#Debian_Wheezy_amd64_Hauppauge_PVR_350
> >> >>
> >> >> When I run irw I am not getting any results, but when I run evtest I
> >> am
> >> >> seeing the button presses.  Any ideas on what could be broken?  The
> > fact
> >> >> that evtest is running means that I do have devinput working 
properly
> >> >> with
> >> >> lirc, right?  I just don't know what else is missing to connect to
> >> irw
> >> >> (and also mythtv).
> >> >>
> >> >> Regards, Paul
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> > 
------------------------------------------------------------------------------
> >> >> This SF email is sponsosred by:
> >> >> Try Windows Azure free for 90 days Click Here
> >> >> http://p.sf.net/sfu/sfd2d-msazure
> >> >>
> >> > I'm running Wheezy with kernel 3.2.0 and lirc 0.9.0-0ubuntu1 ;-)
> >> >
> >> > Your /etc/lirc/hardware.conf should contain a line:
> >> > REMOTE_MODULES="ir-kbd-i2c lirc_dev"
> >>
> >> Are those kernel modules? I was under the impression that 3.1.4 didn't
> >> have those modules any more.
> > Yes, kernel modules and I would believe that you need drivers :-)
> 
> I don't see those modules in 3.1.4.  Do you know what section they are in?
try modinfo ir-kbd-i2c lirc_dev
I'm using Kernel 3.2:
/lib/modules/3.2.0-2-686-pae/kernel/drivers/media/video/ir-kbd-i2c.ko
/lib/modules/3.2.0-2-686-pae/kernel/drivers/media/rc/lirc_dev.ko
> 
> >> Also, I'm not using the "REMOTE" prefix.  I've attached my
> >> hardware.conf.
> >>
> >> So, given that evtest is working but irw is not, is that indicating 
some
> >> type of problem with "ir-kbd"?
> >>
> >> If anyone else is running Debian unstable against a 3.1 kernel and has 
a
> >> pvr-350 working, I'd really love to see the various conf files, key
> >> mappings, etc.  I'm still stuck.
> >>
> >> Regards, Paul
> >
> > I will attach my config files:
> > /etc/lirc/hardware.conf
> > /etc/udev/rules.d/10-local.rules
> > /var/lib/mythtv/.mythtv/lircrc
> > /etc/lirc/lircd.conf is a copy from
> > /usr/share/lirc/remotes/devinput/lircd.conf.devinput
> 
> Thx. Again, I can see that the remote is being picked up by evtest.  I
> believe I solved at least a bit of the problem, in that the keymap table
> was empty, so I was just getting SCAN codes when I ran evtest. After
> inserting a keymap table I'm able to get KEY codes on evtest, but still
> nothing with irw.  I'm assuming this must be because I'm missing the
> ir-kbd module...but I just don't see it.
> 
> I'd be happy to contribute a detailed write-up if I could get this working
> :).  -P
> 
> 
PLEASE: Don't send emails to me personaly but only to the mail-group. THANKS

--

-- 
Don't Panic

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2

jgmtfia | 7 Apr 2012 19:45
Picon

Seeking advice for running Lirc within Virtual Machines

I am trying to get Lirc (0.9.0) to run on a Ubuntu 11.10 server VM running under ESXi 5 Update 1.  I have tried both the Hauppauge HDPVR zilog and MCEUSB blasters and am getting strange behavior from both.  The USB interfaces are setup for pass-through from the host to the VM.  On the VM they appear like this:

Bus 001 Device 003: ID 2040:4902 Hauppauge HD PVR
Bus 002 Device 002: ID 0609:031d SMK Manufacturing, Inc. eHome Infrared Receiver


For the Hauppauge everything seems fine from a configuration perspective:

Mar 28 22:28:22 pvr kernel: [    3.919235] lirc_dev: IR Remote Control driver registered, major 250
Mar 28 22:28:22 pvr kernel: [    3.920763] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
Mar 28 22:28:22 pvr kernel: [    3.921001] lirc_zilog: Zilog/Hauppauge IR driver initializing
Mar 28 22:28:22 pvr kernel: [    3.922374] lirc_zilog: probing IR Rx on Hauppage HD PVR I2C (i2c-0)
Mar 28 22:28:22 pvr kernel: [    3.922407] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-0) done. Waiting on IR Tx.
Mar 28 22:28:22 pvr kernel: [    3.922409] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-0) done
Mar 28 22:28:22 pvr kernel: [    3.922414] lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-0)
Mar 28 22:28:22 pvr kernel: [    3.923363] init: apport post-stop process (806) terminated with status 1
Mar 28 22:28:22 pvr kernel: [    3.923834] i2c i2c-0: lirc_dev: driver lirc_zilog registered at minor = 0
Mar 28 22:28:22 pvr kernel: [    3.923836] lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-0) registered as lirc0 and ready
Mar 28 22:28:22 pvr kernel: [    3.923837] lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-0) done
Mar 28 22:28:22 pvr kernel: [    3.923846] lirc_zilog: initialization complete
Mar 28 22:28:22 pvr lircd-0.9.0[860]: lircd(default) ready, using /var/run/lirc/lircd

but when I change channels, I get random variations of the same theme:

Apr  6 23:33:37 pvr lircd-0.9.0[875]: accepted new client on /var/run/lirc/lircd
Apr  6 23:33:37 pvr kernel: [ 1137.812351] lirc_zilog: i2c_master_send failed with -5
Apr  6 23:33:37 pvr kernel: [ 1137.812409] lirc_zilog: sending to the IR transmitter chip failed, trying reset
Apr  6 23:33:37 pvr kernel: [ 1137.981302] lirc_zilog: i2c_master_send failed with -5
Apr  6 23:33:37 pvr kernel: [ 1137.981397] lirc_zilog: sending to the IR transmitter chip failed, trying reset
Apr  6 23:33:38 pvr kernel: [ 1138.325592] lirc_zilog: Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded
Apr  6 23:33:38 pvr lircd-0.9.0[875]: removed client
Apr  6 23:33:38 pvr kernel: [ 1138.590482] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
Apr  6 23:33:38 pvr kernel: [ 1138.603331] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
Apr  6 23:33:38 pvr lircd-0.9.0[875]: accepted new client on /var/run/lirc/lircd
Apr  6 23:33:39 pvr lircd-0.9.0[875]: removed client
Apr  6 23:33:39 pvr kernel: [ 1139.508257] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
Apr  6 23:33:39 pvr kernel: [ 1139.521092] lirc_zilog: i2c_master_recv failed with -5 -- keeping last read buffer
Apr  6 23:33:39 pvr lircd-0.9.0[875]: accepted new client on /var/run/lirc/lircd
Apr  6 23:33:40 pvr kernel: [ 1140.259766] lirc_zilog: i2c_master_send failed with -5
Apr  6 23:33:40 pvr kernel: [ 1140.259862] lirc_zilog: sending to the IR transmitter chip failed, trying reset
Apr  6 23:33:40 pvr kernel: [ 1140.603172] lirc_zilog: Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded
Apr  6 23:33:40 pvr kernel: [ 1140.648052] lirc_zilog: i2c_master_send failed with -5
Apr  6 23:33:40 pvr kernel: [ 1140.648148] lirc_zilog: sending to the IR transmitter chip failed, trying reset
Apr  6 23:33:40 pvr kernel: [ 1140.807998] lirc_zilog: i2c_master_send failed with -5
Apr  6 23:33:40 pvr kernel: [ 1140.808094] lirc_zilog: sending to the IR transmitter chip failed, trying reset
Apr  6 23:33:41 pvr kernel: [ 1141.150442] lirc_zilog: Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded
Apr  6 23:33:41 pvr lircd-0.9.0[875]: write failed
Apr  6 23:33:41 pvr lircd-0.9.0[875]: Input/output error
Apr  6 23:33:41 pvr lircd-0.9.0[875]: error processing command: SEND_ONCE blaster 1_138_KEY_9
Apr  6 23:33:41 pvr lircd-0.9.0[875]: transmission failed
Apr  6 23:33:41 pvr lircd-0.9.0[875]: removed client

So I figured the HDPVR setup was not going to be stable, so I switched over to the trusted MCEUSB I've used for years and irsend hangs.

When the system is booted, the first command sent is:
   /usr/bin/irsend SEND_ONCE 3100 out_9
which irsend responds: "irsend: timeout" and any subsequent commands hang indefinitely without indication of what the problem is.

if I restart lirc, the problem goes away and lirc appears to operate correctly with the mceusb, for example:

root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
irsend: timeout
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
^C
root <at> pvr:~# /etc/init.d/lirc restart
 * Stopping remote control daemon(s): LIRC                                  [ OK ]
 * Loading LIRC modules                                                     [ OK ]
 * Starting remote control daemon(s) : LIRC                                 [ OK ]
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2
root <at> pvr:~# /usr/bin/irsend SEND_ONCE 3100 out_select out_cancel2

Oddly enough, if I restart lirc before sending the first command after a reboot the system operates normally for the MCEUSB, but not for the hdpvr

Pointers and suggestions would be appreciated.



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Tom Metro | 7 Apr 2012 21:58
Picon

conventions for key codes

The lirc.conf I'm using:
http://lirc.sourceforge.net/remotes/motorola/DTA100

defines the numeric keys like:

      begin codes
          KEY_1                       0x1E0001
          KEY_2                       0x1D0002
          KEY_3                       0x1C0003
          KEY_4                       0x1B0004
          KEY_5                       0x1A0005
      [...]

which does not seem to adhere to conventions.

All the other files in:
http://lirc.sourceforge.net/remotes/motorola/

that were submitted in 2010 use simple key names without a prefix, like:

      begin codes
          Power                    0x5006
          0                        0x0000
          1                        0x800F
          2                        0x4007
          3                        0xC00B
          4                        0x2003
          5                        0xA00D
      [...]

(Are key codes case sensitive? There wasn't a lot of consistency between
 all caps and mixed case.)

Should DTA100 be updated to conform? (The non-standard format
necessitates a customized MythTV channel changer script.)

 -Tom

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2


Gmane