LinHES Forums http://forum.linhes.org/ |
|
R6 ... how do i setup my irblaster ? http://forum.linhes.org/viewtopic.php?f=11&t=19772 |
Page 1 of 2 |
Author: | bzImage [ Sun Apr 05, 2009 3:44 pm ] |
Post subject: | R6 ... how do i setup my irblaster ? |
there is no irblaster daemon on R6.. what is the proper way to setup my serial ir blaster on R6 ? |
Author: | tjc [ Sun Apr 05, 2009 8:09 pm ] |
Post subject: | |
#1 Please do not repeat the same question under multiple sub-topics. http://knoppmyth.net/phpBB2/viewtopic.php?t=19771 #2 Please see the Flyspray task list to check the current status or report missing features. My recollection is that there was a ticket for this but it was still unresolved, but I've been otherwise preoccupied for the past couple weeks, so checking is highly recommended. |
Author: | bzImage [ Sun Apr 12, 2009 12:36 am ] |
Post subject: | |
Just updated R6 and the R6 linhes-scripts.. now on: Service Menu->linHES configuration->Remotes i can setup my blaster configuration: Blaster: Serial Serial Port: ttyS0 Transmitter: dsh301_311 And rebooted the system. All fine and good.. but.. what is the name of the shell script to change the channels ? Tried using the lirc devices and all i got is (running as root): # irsend --device=/dev/lirc1 SEND_ONCE 301 3 irsend: could not connect to socket irsend: Connection refused # irsend --device=/dev/lirc0 SEND_ONCE 301 3 irsend: could not connect to socket irsend: Connection refused # irsend SEND_ONCE 301 3 irsend: command failed: SEND_ONCE 301 3 irsend: hardware does not support sending Thanks for your help.. |
Author: | mihanson [ Mon Apr 13, 2009 2:25 pm ] |
Post subject: | |
bzImage wrote: All fine and good.. but.. what is the name of the shell script to change the channels ?
Try Code: /usr/bin/change_chan.sh
Open it first with vi or nano and insure the REMOTE= line is set to what you need. |
Author: | bzImage [ Tue Apr 14, 2009 3:02 pm ] |
Post subject: | |
Still no joy.. here is the irsection on the /etc/systemconfig file Code: #IR settings Remotetype="hauppauge-grey-g3" ReceiverType="Hauppauge" HostLircWait="" ReceiverSerialport="ttyS0" HostTransmitproto_1="dish301_311" HostTransmitproto_2="none" HostTransmitproto_3="none" HostTransmitproto_4="none" HostBlasterType="Serial" HostSerialPort_blasterlirc="ttyS0" Hostnumblaster="1" rootSSH="" The output of lsmod Code: Module Size Used by ipv6 260212 10 lirc_serial 14740 0 ndiswrapper 189340 0 vfat 12928 0 fat 50720 1 vfat pl2303 19076 0 usbserial 31976 1 pl2303 ath5k 100864 0 mac80211 161184 1 ath5k led_class 5508 1 ath5k cfg80211 31760 2 ath5k,mac80211 wlan_scan_sta 15104 1 ath_rate_sample 15872 1 snd_seq_oss 31872 0 snd_seq_midi_event 8192 1 snd_seq_oss snd_seq 49968 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 8332 2 snd_seq_oss,snd_seq ohci_hcd 25360 0 snd_pcm_oss 40320 0 snd_mixer_oss 16512 1 snd_pcm_oss serio_raw 7172 0 snd_intel8x0 30876 0 ath_pci 245944 0 nvidia 4710548 32 snd_pcsp 11048 0 ehci_hcd 36876 0 snd_ac97_codec 102436 1 snd_intel8x0 psmouse 55828 0 wlan 222448 4 wlan_scan_sta,ath_rate_sample,ath_pci ath_hal 250976 3 ath_rate_sample,ath_pci ac97_bus 3584 1 snd_ac97_codec sis900 22016 0 mii 6528 1 sis900 snd_pcm 70020 4 snd_pcm_oss,snd_intel8x0,snd_pcsp,snd_ac97_codec usbcore 136976 6 ndiswrapper,pl2303,usbserial,ohci_hcd,ehci_hcd snd_timer 21384 2 snd_seq,snd_pcm snd 50852 10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_pcsp,snd_ac97_codec,snd_pcm,snd_timer soundcore 8160 1 snd snd_page_alloc 10120 2 snd_intel8x0,snd_pcm sis_agp 9088 1 agpgart 31572 2 nvidia,sis_agp shpchp 34068 0 pci_hotplug 28064 1 shpchp sg 26804 0 evdev 11296 2 cx8800 31236 0 msp3400 32332 0 saa7127 11384 0 saa7115 18224 0 tuner 26692 0 tea5767 8580 1 tuner tda8290 14468 1 tuner tda18271 36232 1 tda8290 tda827x 11652 1 tda8290 mt20xx 14088 1 tuner tea5761 6660 1 tuner ivtv 142788 0 cx2341x 14340 1 ivtv bttv 165460 0 compat_ioctl32 3072 3 cx8800,ivtv,bttv v4l2_common 13184 8 cx8800,msp3400,saa7127,saa7115,tuner,ivtv,cx2341x,bttv lirc_i2c 10756 1 lirc_dev 13492 2 lirc_serial,lirc_i2c cx88_vp3054_i2c 4352 0 mt352 8196 0 cx8802 16900 0 cx88xx 69800 2 cx8800,cx8802 videodev 34176 6 cx8800,msp3400,tuner,ivtv,bttv,cx88xx v4l1_compat 15364 1 videodev ir_common 40452 2 bttv,cx88xx i2c_algo_bit 7556 4 ivtv,bttv,cx88_vp3054_i2c,cx88xx tveeprom 13956 3 ivtv,bttv,cx88xx btcx_risc 6408 4 cx8800,bttv,cx8802,cx88xx tuner_xc2028 23600 1 tuner s5h1409 10500 0 xc5000 13192 1 tuner dvb_pll 10632 0 s5h1411 11396 0 or51132 9988 0 cx24116 16904 0 videobuf_dvb 8324 2 cx8802,cx88xx videobuf_dma_sg 12932 4 cx8800,bttv,cx8802,cx88xx videobuf_core 17668 6 cx8800,bttv,cx8802,cx88xx,videobuf_dvb,videobuf_dma_sg nxt200x 14980 0 isl6421 3840 0 stb6000 5380 0 tda9887 12164 1 tuner tuner_simple 16144 1 tuner tuner_types 16000 1 tuner_simple zl10353 9352 0 cx24123 15368 0 lgdt330x 10244 0 stv0299 11656 0 dvb_core 81024 4 or51132,videobuf_dvb,lgdt330x,stv0299 stv0288 9352 0 cx22702 7556 0 i2c_core 22804 38 nvidia,msp3400,saa7127,saa7115,tuner,tea5767,tda8290,tda18271,tda827x,mt20xx,tea5761,ivtv,bttv,v4l2_common,lirc_i2c,cx88_vp3054_i2c,mt352,cx88xx,i2c_algo_bit,tveeprom,tuner_xc2028,s5h1409,xc5000,dvb_pll,s5h1411,or51132,cx24116,nxt200x,isl6421,stb6000,tda9887,tuner_simple,zl10353,cx24123,lgdt330x,stv0299,stv0288,cx22702 rtc_cmos 12332 0 rtc_core 17564 1 rtc_cmos rtc_lib 4480 1 rtc_core ext4 216476 2 mbcache 8708 1 ext4 jbd2 54808 1 ext4 crc16 3712 1 ext4 sr_mod 16708 1 sd_mod 26904 4 cdrom 35360 1 sr_mod pata_sis 12164 4 pata_acpi 6016 0 libata 158240 2 pata_sis,pata_acpi scsi_mod 102036 4 sg,sr_mod,sd_mod,libata the /dev/*lirc* output Code: # ls /dev/*lirc* /dev/lirc /dev/lirc0 /dev/lirc1 /dev/lircd here is my /etc/lircd.conf Code: include "/usr/MythVantage/templates/remotes/hauppauge-grey-g3/lircd-haupgrey-g3. conf" include "/usr/MythVantage/templates/transmit/dish301_311/lircd.conf" running /usr/bin/change_chan.sh (with the line REMOTE_NAME=301 ) i got this: Code: # sh /usr/bin/change_chan.sh 32
irsend: command failed: SEND_ONCE 301 3 irsend: hardware does not support sending irsend: command failed: SEND_ONCE 301 2 irsend: hardware does not support sending Help please.. this is not documented anywhere .. |
Author: | mihanson [ Tue Apr 14, 2009 3:32 pm ] |
Post subject: | |
Code: # nano /etc/lircd.conf Ensure your remote name is called "301" (no quotes) i.e. you should see: Code: begin remote at the top of your remote control codes for the 301.name 301 Also, what's the output of: Code: # ls -l /dev/*lirc* I have the following: Code: lrwxrwxrwx 1 root root 5 2009-04-08 09:35 /dev/lirc -> lirc0 crw-rw---- 1 root root 61, 0 2009-04-08 09:35 /dev/lirc0 srw-rw-rw- 1 root root 0 2009-04-08 09:35 /dev/lircd Also the output of: Code: # ps ax | grep lirc I have: Code: 3236 ? Ss 0:00 runsv lircd 3260 ? S 0:03 /usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd 10581 pts/1 R+ 0:00 grep lirc and lastly, the output of: Code: # ls -l /var/service | grep lircd You should have: Code: lrwxrwxrwx 1 root root 13 2009-03-16 20:17 lircd -> /etc/sv/lircd
|
Author: | bzImage [ Tue Apr 14, 2009 3:42 pm ] |
Post subject: | |
/etc/lircd.conf contains: Code: # cat /etc/lircd.conf include "/usr/MythVantage/templates/remotes/hauppauge-grey-g3/lircd-haupgrey-g3.conf" include "/usr/MythVantage/templates/transmit/dish301_311/lircd.conf" /usr/MythVantage/templates/transmit/dish301_311/lircd.conf contains the name 301 Code: begin remote name 301 bits 16 flags SPACE_ENC eps 30 aeps 100 < more stuff deleted> /usr/bin/change_channel.sh contains: Code: #!/bin/sh REMOTE_NAME=301 cmd="$1" case $cmd in [0-9]*) for digit in $(echo $1 | sed -e 's/./& /g'); do irsend SEND_ONCE $REMOTE_NAME $digit sleep 0.3 # If things work OK with sleep 1, try this for faster channel changes: # sleep 0.3 done ;; *) irsend SEND_ONCE $REMOTE_NAME $cmd ;; esac # /usr/bin/fix_audio.sh & Output of ls -l /dev/lirc* Code: # ls -l /dev/lirc* lrwxrwxrwx 1 root root 5 2009-04-12 17:42 /dev/lirc -> lirc0 crw-rw---- 1 root root 61, 0 2009-04-12 17:42 /dev/lirc0 crw-rw---- 1 root root 61, 1 2009-04-12 17:42 /dev/lirc1 srw-rw-rw- 1 root root 0 2009-04-12 17:42 /dev/lircd output of ps-efa | grep lirc Code: # ps -efa | grep lirc root 510 2 0 Apr12 ? 00:00:22 [lirc_dev] root 2350 2335 0 Apr12 ? 00:00:00 runsv lircd root 2373 2350 0 Apr12 ? 00:00:00 /usr/sbin/lircd -n -d /dev/lirc0 --output /dev/lircd output of ls -l /var/service | grep lirc Code: # ls -l /var/service | grep lircd lrwxrwxrwx 1 root root 13 2009-04-11 14:09 lircd -> /etc/sv/lircd running change_chan.sh i get: Code: # change_chan.sh 200
irsend: command failed: SEND_ONCE 301 2 irsend: hardware does not support sending irsend: command failed: SEND_ONCE 301 0 irsend: hardware does not support sending irsend: command failed: SEND_ONCE 301 0 irsend: hardware does not support sending |
Author: | mihanson [ Tue Apr 14, 2009 3:53 pm ] |
Post subject: | |
Code: mythtv$ irw
Press a few buttons on your remote. What does that output give? [edit]Also try to execute /usr/bin/chan_change.sh as a regular user, not root[/edit] |
Author: | jbolan [ Thu Apr 16, 2009 7:07 pm ] |
Post subject: | same problem 'hwardware does not support sending' |
apologies for barging in, but I'm getting the same problem with my irblaster in R6. It's a serial port blaster, worked fine under R5.5, on the same comm port, seemed to configure normally through the LinHes service menu but when I try to run /usr/bin/change_chan.sh I get "hardware does not support sending" & this happens no matter what user I run the command as. my /etc/lircd.conf contains include statements for a hauppage remote (which works fine) and the reciever (pansat) that I'm trying to control via the irblaster. The reciever name specified in /usr/bin/change.chan.sh is the same as in the Mythvantage lircd.conf. any suggestions on where I should start looking? |
Author: | mihanson [ Thu Apr 16, 2009 8:25 pm ] |
Post subject: | |
jbloan & bzImage: Try upgrading as there was recently a lot of work done on IRBlasting that's not on the CD. Do this as user mythtv: Code: $ sudo pacman -Syyu
and then try to use the Service Menu > LinHES Configuration to set your blaster settings. |
Author: | jbolan [ Fri Apr 17, 2009 8:05 am ] |
Post subject: | irblaster |
Hi Mihanson, I tried upgrading this morning, but when I try /usr/bin/change_chan.sh I'm still getting : Quote: irsend: command failed: SEND_ONCE Pansat2700a 1
irsend: hardware does not support sending irsend: command failed: SEND_ONCE Pansat2700a 1 irsend: hardware does not support sending irsend: command failed: SEND_ONCE Pansat2700a 5 irsend: hardware does not support sending |
Author: | bzImage [ Fri Apr 17, 2009 10:56 am ] |
Post subject: | |
Same thing after upgrading.... hardware does not support sending in fact i opened a flyspry case about this issue on April 12 but it was closed ... http://linhes.org/flyspray/index.php?do ... ask_id=322 |
Author: | mihanson [ Fri Apr 17, 2009 3:29 pm ] |
Post subject: | |
Just want to double check that you both went into the Service Menu > LinHES Configuration > Remotes after upgrading and tried setting up your remotes/blasters there. Neither of you confirmed that. [EDIT] Other than that, I'm currently out of ideas. I suggest asking for help on IRC. irc.freenode.net on channel #linhes Maybe a developer has more ideas. [/EDIT] |
Author: | jbolan [ Fri Apr 17, 2009 4:30 pm ] |
Post subject: | irblaster |
Yup, I did - even changed it from serial, then changed it back, rebooted to ensure lirc restarted, no change. OK, when I get home I'll try IRC, thanks Mihanson |
Author: | bzImage [ Fri Apr 17, 2009 5:28 pm ] |
Post subject: | |
mihanson wrote: Just want to double check that you both went into the Service Menu > LinHES Configuration > Remotes after upgrading and tried setting up your remotes/blasters there. Neither of you confirmed that.
Confirmed.. after the update, rebooted, got into the Service Menu > LinHES Configuration > Remotes also change the serial port, rebooted, nothing.. still the same problem. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |