From: <ric...@ai...> - 2007-01-05 06:54:17
|
I have been trying to get my iMon RSC remote working.... It is the type with the joy stick mouse that came with my Accent Home Theatre PC case (has Parallel port VFD with USB iMon IR receiver). I can get output from mode2 for both the buttons and the stick, however irw only gives output for stick movement (i.e. buttons do not work). I have tried creating my own lircd.conf with irrecord, but this gives errors and using force will create a conf file but all the entries are similar and it will not work. Another problem I have is that compiling or loading lirc with debug enabled does not work. I think this may be a bug but without debug working there is not much I can report... :-( Details: [root@mythtv lirc-0.8.1pre5]# uname -a Linux mythtv 2.6.18-1.2868.fc6 #1 SMP Fri Dec 15 17:32:54 EST 2006 i686 athlon i386 GNU/Linux [root@mythtv lirc-0.8.1pre5]# lircd -v lircd 0.8.1pre5 [root@mythtv lirc-0.8.1pre5]# [root@mythtv lirc-0.8.1pre5]# lsmod Module Size Used by lirc_imon 16772 1 lirc_dev 17172 1 lirc_imon nfsd 220913 17 exportfs 10049 1 nfsd lockd 66249 2 nfsd nfs_acl 7873 1 nfsd autofs4 25413 2 hidp 24129 2 rfcomm 46041 0 l2cap 31681 10 hidp,rfcomm bluetooth 58917 5 hidp,rfcomm,l2cap sunrpc 158333 12 nfsd,lockd,nfs_acl jfs 177501 4 dm_multipath 22601 0 video 21061 0 sbs 20225 0 i2c_ec 9281 1 sbs button 10961 0 battery 14405 0 asus_acpi 20697 0 ac 9541 0 ipv6 267489 30 parport_pc 31205 1 lp 17033 0 parport 40841 2 parport_pc,lp snd_intel8x0 33820 0 snd_ac97_codec 98212 1 snd_intel8x0 snd_ac97_bus 6272 1 snd_ac97_codec snd_seq_dummy 7428 0 snd_seq_oss 36736 0 snd_seq_midi_event 11136 1 snd_seq_oss snd_seq 54128 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 11788 3 snd_seq_dummy,snd_seq_oss,snd_seq cx88_dvb 19813 24 cx88_vp3054_i2c 8769 1 cx88_dvb mt352 10821 1 cx88_dvb dvb_pll 18757 1 cx88_dvb or51132 14149 1 cx88_dvb video_buf_dvb 10949 1 cx88_dvb dvb_core 83433 1 video_buf_dvb nxt200x 17605 1 cx88_dvb isl6421 6593 1 cx88_dvb snd_pcm_oss 44416 0 snd_mixer_oss 19840 1 snd_pcm_oss zl10353 9669 1 cx88_dvb cx24123 16201 1 cx88_dvb lgdt330x 12381 1 cx88_dvb cx22702 10309 1 cx88_dvb cx88_blackbird 22725 0 cx8802 17093 2 cx88_dvb,cx88_blackbird cx2341x 15173 1 cx88_blackbird pcspkr 7361 0 snd_pcm 77956 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss nvidia 4537364 28 cx8800 38221 1 cx88_blackbird forcedeth 47173 0 i2c_nforce2 11457 0 cx88xx 65381 4 cx88_dvb,cx88_blackbird,cx8802,cx8800 ir_common 32197 1 cx88xx i2c_algo_bit 12873 2 cx88_vp3054_i2c,cx88xx video_buf 28997 6 cx88_dvb,video_buf_dvb,cx88_blackbird,cx8802,cx8800,cx88xx tveeprom 18513 1 cx88xx i2c_core 25537 16 i2c_ec,cx88_dvb,mt352,dvb_pll,or51132,nxt200x,isl6421,zl10353,cx24123,lgd t330x,cx22702,nvidia,i2c_nforce2,cx88xx,i2c_algo_bit,tveeprom compat_ioctl32 5569 1 cx8800 btcx_risc 9161 3 cx8802,cx8800,cx88xx videodev 27073 3 cx88_blackbird,cx8800,cx88xx v4l1_compat 16453 2 cx8800,videodev snd_timer 23684 2 snd_seq,snd_pcm v4l2_common 26305 4 cx88_blackbird,cx2341x,cx8800,videodev snd 53380 10 snd_intel8x0,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_dev ice,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer skge 42321 0 soundcore 14113 1 snd snd_page_alloc 12168 2 snd_intel8x0,snd_pcm ide_cd 42337 2 cdrom 38625 1 ide_cd serio_raw 11205 0 dm_snapshot 21357 0 dm_zero 6337 0 dm_mirror 32913 0 dm_mod 61273 23 dm_multipath,dm_snapshot,dm_zero,dm_mirror sata_nv 15685 0 libata 102745 1 sata_nv sd_mod 24897 0 scsi_mod 138601 2 libata,sd_mod ext3 135497 3 jbd 63209 1 ext3 ehci_hcd 35533 0 ohci_hcd 25181 0 uhci_hcd 27725 0 [root@mythtv ~]# lsusb -vvs 1:3 Bus 001 Device 003: ID 0aa8:8001 TriGem Computer, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0aa8 TriGem Computer, Inc. idProduct 0x8001 bcdDevice 2.02 iManufacturer 0 iProduct 0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 0 (Defined at Interface level) bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 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 [root@mythtv lirc-0.8.1pre5]# modprobe -v lirc_dev debug=1 insmod /lib/modules/2.6.18-1.2868.fc6/updates/drivers/lirc/lirc_dev.ko debug=1 [root@mythtv lirc-0.8.1pre5]# modprobe -v lirc_imon debug=1 insmod /lib/modules/2.6.18-1.2868.fc6/updates/drivers/lirc/lirc_imon.ko debug=1 [root@mythtv lirc-0.8.1pre5]# tail -f /var/log/lircd & [1] 31846 [root@mythtv lirc-0.8.1pre5]# Jan 5 00:47:17 mythtv lircd: accepted new client on /dev/lircd Jan 5 00:47:39 mythtv lircd: removed client Jan 5 00:47:45 mythtv lircd: removed client Jan 5 00:47:45 mythtv lircd: caught signal Jan 5 01:33:21 mythtv lircd: lircd(imon_rsc) ready Jan 5 01:33:21 mythtv lircd: accepted new client on /dev/lircd Jan 5 01:33:24 mythtv lircd: accepted new client on /dev/lircd Jan 5 01:33:38 mythtv lircd: removed client Jan 5 01:34:12 mythtv lircd: removed client Jan 5 01:34:13 mythtv lircd: caught signal (reverse-i-search)`': [root@mythtv lirc-0.8.1pre5]# /sbin/service lirc start Starting Infrared Remote Control: [ OK ] [root@mythtv lirc-0.8.1pre5]# Jan 5 01:37:26 mythtv lircd: lircd(imon_rsc) ready Jan 5 01:37:26 mythtv lircd: accepted new client on /dev/lircd irw Jan 5 01:37:36 mythtv lircd: accepted new client on /dev/lircd 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK [root@mythtv lirc-0.8.1pre5]# Jan 5 01:38:09 mythtv lircd: removed client [root@mythtv lirc-0.8.1pre5]# ps -ef|grep lircd root 31846 21344 0 01:37 pts/2 00:00:00 tail -f /var/log/lircd root 31861 1 0 01:37 ? 00:00:00 lircd root 31873 21344 0 01:38 pts/2 00:00:00 grep lircd [root@mythtv lirc-0.8.1pre5]# [root@mythtv lirc-0.8.1pre5]# irw Jan 5 01:40:05 mythtv lircd: accepted new client on /dev/lircd 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000001 00 STICK_S IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000002 00 STICK_E IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000003 00 STICK_W IMON_RSC_STICK 0000000000000000 00 STICK_N IMON_RSC_STICK 0000000000000008 00 STICK_NNE IMON_RSC_STICK <<No output for buttons>> [root@mythtv lirc-0.8.1pre5]# Jan 5 01:40:16 mythtv lircd: removed client [root@mythtv lirc-0.8.1pre5]# /sbin/service lirc stop Shutting down Infrared Remote Control: [ OK ] [root@mythtv lirc-0.8.1pre5]# mode2 -m 1000 2000 2000 500 500 750 500 500 500 500 750 500 17000 2000 2000 500 500 750 500 500 500 500 500 750 17000 2000 2000 500 500 500 750 500 500 500 500 500 17250 2000 2000 500 500 500 500 500 750 500 500 500 13250 2000 2000 500 500 750 500 500 500 500 500 750 17000 2000 2000 500 500 500 500 750 500 500 500 500 65250 8750 4500 500 500 500 750 500 500 500 500 750 500 500 500 500 500 750 1500 500 750 500 500 500 500 500 750 500 1500 500 750 500 500 500 500 500 750 500 500 500 1750 500 500 500 1750 500 500 500 1750 500 500 750 1500 500 1750 500 500 500 1750 500 750 500 1500 750 500 500 1750 500 40250 8750 2250 500 88500 8750 2250 500 88500 [root@mythtv lirc-0.8.1pre5]# Errors from irrecord: Something went wrong. irrecord: driver supports receiving Please try again. (3 retries left) irrecord: c1000 irrecord: pending pulse: 0 irrecord: pending space: 0 irrecord: decoding failed for all remotes irrecord: pending pulse: 0 irrecord: pending space: 0 irrecord: <s1000 irrecord: sync irrecord: expecting space: 437 irrecord: +p9000 irrecord: space expected irrecord: unget: 1 irrecord: expecting pulse: 250 irrecord: <p9000 irrecord: unget: 1 irrecord: failed on bit 1 irrecord: failed on code irrecord: pending pulse: 0 irrecord: pending space: 0 irrecord: decoding failed for all remotes ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. |