View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 49 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Mon May 30, 2005 11:52 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
tjc

I had done that but I removed and remade it incase I had made a typo.

in addition after the origional error if I run irsend again I get

could not connect to socket
connection refused

if I reboot I get the origional error once and if I try again I get the could not connect error.

very frustrating i have everything else working but if i can't get this to work then the box will get relegated to the bedroom.

Thanks for all the help any suggestions are appreciated

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 7:20 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
OMFG finally a step closer.

Kebe you got me on the right track thank you very much.

It was not working because setserial had to be run from /bin not /sbin

Not sure why but I changed that in my bootmisc.sh file and irsend now changes my box's channels.

Now to get myth doing it.

Thanks for all the help


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 4:19 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Ok one more problem

if I use the ch+ button on my remote the irsend goes crazy and keeps sending input all other buttons seem to work any suggestions

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 12, 2005 8:35 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
ok fixed that problem I had to remove

irsend --device=/dev/lircd1 SEND_ONCE $STB_NAME SELECT

and set autotune in my DCT2000 all is good now.

so how would I go about getting my other remote the newer hauppauge silver remote to work. I want it to work in addition to the grey one. So following the logic could I somehow set it up to work on node 61 1?

any ideas


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 4:05 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Hi,
I have executed the steps 1 to 10 and when I
run /etc/init.d/bootmisc.sh, I receive this system error :

root@mythtv:~# /etc/init.d/bootmisc.sh
Cleaning: /tmp /var/lock /var/run.
/etc/init.d/bootmisc.sh: line 119: /sbin/setserial: No such file or directory
FATAL: Error inserting lirc_serial (/lib/modules/2.6.11.7-chw-3/misc/lirc_serial.ko): Device or resource busy


root@mythtv:~# tail /var/log/syslog -f &
Jun 24 05:47:12 mythtv kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Jun 24 05:47:12 mythtv kernel: ivtv: i2c attach [client=Hauppauge IR,ok]
Jun 24 05:47:12 mythtv kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Jun 24 05:47:12 mythtv lircd 0.7.1pre2[4674]: lircd(any) ready
Jun 24 05:47:12 mythtv kernel: lirc_serial: port 03f8 already in use
Jun 24 05:47:12 mythtv kernel: lirc_serial: use 'setserial /dev/ttySX uart none'
Jun 24 05:47:12 mythtv kernel: lirc_serial: or compile the serial port driver as module and
Jun 24 05:47:12 mythtv kernel: lirc_serial: make sure this module is loaded first
Jun 24 05:47:12 mythtv lircd 0.7.1pre2[4687]: lircd(any) ready
Jun 24 06:04:08 mythtv -- MARK --
[1] 4716




anyone know what is the problem ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 8:25 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
If you have a look at my previous post I had the same problem.

the setserial command is actually in /bin not /sbin

Change that line in bootmisc and see what happens

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 9:51 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Sorry, thanks for your help

Now, I can change channel with my remote. :)

but I always have snow on each channel

Here is my configuration :

mythtv-setup
4. Input connections
(tuner 0)
Input preference : 0
Esternal channel change command : /usr/local/bin/change_channel.sh
Preset tuner to channel : 03
Starting channel : 10

Do I have to set something else ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 10:56 am 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
Sounds like it is changing the channel on the tuner card still and sending the signal out the serial port. When you use your remote to change the channel and you get snow, try changing it back to channel 3 and see if you get a picture.
Also try running change_channel.csh from the command line with a channel# after it to verify it even works by itself.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 12:44 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Try starting channel as 3 also.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 3:42 pm 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Thanks elgordo123, iscraigh for this quick support :D
The problem was the starting channel. Must be 3 for me


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 6:41 pm 
Offline
Joined: Sun Jul 10, 2005 1:08 pm
Posts: 8
I tried this HOWTO "How-to get an IR-Blaster working with KnoppMyth and other Debian-based Mythtv systems using Kernel 2.6" with both a Actisys 200L and a homebrew transmitter. I tried each one on com1 (3f8,4) and com2 (2f8,3). Every msg seems to indicate this is working, with the exception of

"BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2485"

but using a digital camera, there is no IR being sent. It seems like there is no serial communications at all. Is there a known problem with R5A16?

mythtv@mythtv:~$ lsmod | grep lirc
lirc_serial 14080 0
lirc_i2c 9348 0
lirc_dev 14212 2 lirc_serial,lirc_i2c
i2c_core 20224 9 cx88xx,saa7115,msp3400,tuner,bttv,i2c_algo_bit,tveeprom,lirc_i2c,i2c_i801


mythtv@mythtv:~$ ps -A | grep lirc
2469 ? 00:00:00 lirc_dev
2471 ? 00:00:00 lircd
2485 ? 00:00:00 lircd


mythtv@mythtv:~$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin:sample_rate: 10
caller is init_port+0xb1/0x290 [lirc_serial]
[<d1090a11>] init_port+0xb1/0x290 [lirc_serial]
[<d109135a>] init_module+0x3a/0xa0 [lirc_serial]
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_plugin:sample_rate: 0
BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2485
caller is lirc_ioctl+0x85/0x350 [lirc_serial]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 14, 2005 7:53 pm 
Offline
Joined: Wed Aug 03, 2005 8:43 am
Posts: 66
jsg4z wrote:
I tried this HOWTO "How-to get an IR-Blaster working with KnoppMyth and other Debian-based Mythtv systems using Kernel 2.6" with both a Actisys 200L and a homebrew transmitter. I tried each one on com1 (3f8,4) and com2 (2f8,3). Every msg seems to indicate this is working, with the exception of

"BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2485"

but using a digital camera, there is no IR being sent. It seems like there is no serial communications at all. Is there a known problem with R5A16?

mythtv@mythtv:~$ lsmod | grep lirc
lirc_serial 14080 0
lirc_i2c 9348 0
lirc_dev 14212 2 lirc_serial,lirc_i2c
i2c_core 20224 9 cx88xx,saa7115,msp3400,tuner,bttv,i2c_algo_bit,tveeprom,lirc_i2c,i2c_i801


mythtv@mythtv:~$ ps -A | grep lirc
2469 ? 00:00:00 lirc_dev
2471 ? 00:00:00 lircd
2485 ? 00:00:00 lircd


mythtv@mythtv:~$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin:sample_rate: 10
caller is init_port+0xb1/0x290 [lirc_serial]
[<d1090a11>] init_port+0xb1/0x290 [lirc_serial]
[<d109135a>] init_module+0x3a/0xa0 [lirc_serial]
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_plugin:sample_rate: 0
BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2485
caller is lirc_ioctl+0x85/0x350 [lirc_serial]


I have the same problem. Did you find a solution?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 23, 2005 12:54 pm 
Offline
Joined: Tue Aug 23, 2005 12:40 pm
Posts: 1
Location: Philadelphia
"BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2485
caller is lirc_ioctl+0x85/0x350 [lirc_serial]"

I too was able to get this in my dmesg output using 5A16. Thinking it was something I did, I ended up just rebuilding the box and starting from scratch.

I have not yet re-attempted my home brew IR Blaster.

So close .....

_________________
Got Tux?
http://supertux.berlios.de/


Top
 Profile  
 
PostPosted: Wed Aug 24, 2005 7:51 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
kebe wrote:
9. Make a "/etc/lirc/lircd.conf" file that includes configurations for both devices (remote and set-top box) by concatenating the two configuration files together. For example, if your set-top box file is "stb.conf" and the file for your remote is "remote.conf", then:

Code:
cat remote.conf stb.conf > /etc/lirc/lircd.conf

(save your old lircd.conf first)



Ouch, that was unfortunate! I stepped along too quickly and executed the "cat" before reading the "save your old.." .. ended up with 0 byte file.. hahahaha. no problem.. my lircd.conf file was the config file for my remote.. and that wasn't truely configured yet.. (maybe it should be done first.) I'll do some "regrouping" and get back to this spot.

Thus far, this script has been working smoothly.. I'm on R5A16, so much of this is "in there" already. some of the steps could be simplified specific to R5A16 by simply stating "verify that such-and-such is installed or working by executing .. ".

Regards!

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 13, 2005 6:20 pm 
Offline
Joined: Fri Jul 22, 2005 1:17 am
Posts: 7
Okay, pretty much followed all these directions, and can't seem to find where my issue lies.

If I do a clean reboot, and run
Code:
irsend --device=/dev/lircd1 SEND_ONCE GUIDE 3

I get:
Code:

irsend: command failed: SEND_ONCE GUIDE 3
irsend: hardware does not support sending

<br>
So according to the previous posts I should rerun:
Code:
dpkg-reconfigure lirc-modules-source
<br>

Which I do and get:
Code:
root@mythtv:~# irsend --device=/dev/lircd1 SEND_ONCE GUIDE 3
irsend: timeout
root@mythtv:~#


I think the issue may be in my lincd.conf
Code:
root@mythtv:/etc# cat lircd.conf
#
# this config file was automatically generated
# using lirc-0.6.4(serial) on Mon Nov 19 00:50:17 2001
#
# contributed by
#
# brand:                       Cable
# model no. of remote control:
# supported devices: Motorola Digital Cable Box
#

begin remote

  name  Cable
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9085  4383
  one           602  4383
  zero          602  2140
  ptrail        581
  repeat       9071  2184
  gap          100072
  toggle_bit      0


      begin codes
          POWER                    0x0000000000005006
          1                        0x000000000000800F
          2                        0x0000000000004007
          3                        0x000000000000C00B
          4                        0x0000000000002003
          5                        0x000000000000A00D
          6                        0x0000000000006005
          7                        0x000000000000E009
          8                        0x0000000000001001
          9                        0x000000000000900E
          MUTE                     0x000000000000F008
          0                        0x0000000000000000
          MUSIC                    0x000000000000080F
          VOLUP                    0x000000000000B00C
          LAST                     0x000000000000C803
          CHNUP                    0x000000000000D00A
          VOLDN                    0x0000000000007004
          FAV                      0x000000000000A805
          CHNDN                    0x0000000000003002
          PPV                      0x0000000000006809
          GUIDE                    0x0000000000000C0B
          EXIT                     0x000000000000480B
          INFO                     0x000000000000CC05
          MENU                     0x0000000000009806
          UP                       0x0000000000002C09
          DOWN                     0x000000000000AC01
          LEFT                     0x0000000000006C0E
          RIGHT                    0x000000000000EC06
          PGUP                     0x0000000000005C0C
          PGDN                     0x000000000000DC04
          THEME                    0x000000000000E801
          CANCEL                   0x0000000000001406
          DAY-                     0x0000000000009C02
          DAY+                     0x0000000000001C0A
          BYPASS                   0x000000000000280D
          LIST                     0x000000000000E40E
      end codes

end remote




# /etc/lircd.conf
# this config file was automatically generated
# using lirc-0.7.0(hauppauge) on Tue Nov 30 00:38:32 2004
#
# contributed by
#
# brand:                       lirc.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  grayHauppauge
  bits           13
  flags RC5
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          200966
  repeat_bit    2

      begin codes
          Power                    0x00000000000017BD
          Go                       0x0000000000001FBB
          TV                       0x000000000000179C
          Videos                   0x0000000000001F98
          Music                    0x0000000000001799
          Pictures                 0x0000000000001F9A
          Guide                    0x000000000000179B
          Radio                    0x0000000000001F8C
          UP                       0x0000000000001794
          LEFT                     0x0000000000001F96
          RIGHT                    0x0000000000001797
          DOWN                     0x0000000000001F95
          OK                       0x00000000000017A5
          Back-Exit                0x0000000000001F9F
          Menu                     0x000000000000178D
          Prev-Channel             0x0000000000001F92
          Mute                     0x000000000000178F
          Volume-UP                0x0000000000001F90
          Volume-DOWN              0x0000000000001791
          Channel-UP               0x0000000000001FA0
          Channel-DOWN             0x00000000000017A1
          Record                   0x0000000000001FB7
          Stop                     0x00000000000017B6
          Rewind                   0x0000000000001FB2
          Forward                  0x00000000000017B4
          Play                     0x0000000000001FB5
          Previous                 0x00000000000017A4
          Next                     0x0000000000001F9E
          Pause                    0x00000000000017B0
          1                        0x0000000000001F81
          2                        0x0000000000001782
          3                        0x0000000000001F83
          4                        0x0000000000001784
          5                        0x0000000000001F85
          6                        0x0000000000001786
          7                        0x0000000000001F87
          8                        0x0000000000001788
          9                        0x0000000000001F89
          0                        0x0000000000001780
          star                     0x0000000000001F8A
          hash                     0x000000000000178E
          red                      0x0000000000001F8B
          green                    0x00000000000017AE
          yellow                   0x0000000000001FB8
          blue                     0x00000000000017A9
      end codes

end remote
#
# this config file was automatically generated
# using lirc-0.6.4(serial) on Mon Nov 19 00:50:17 2001
#
# contributed by
#
# brand:                       Cable
# model no. of remote control:
# supported devices: Motorola Digital Cable Box
#

begin remote

  name DigitalCable
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9085  4383
  one           602  4383
  zero          602  2140
  ptrail        581
  repeat       9071  2184
  gap          100072
  toggle_bit      0


      begin codes
          POWER                    0x0000000000005006
          1                        0x000000000000800F
          2                        0x0000000000004007
          3                        0x000000000000C00B
          4                        0x0000000000002003
          5                        0x000000000000A00D
          6                        0x0000000000006005
          7                        0x000000000000E009
          8                        0x0000000000001001
          9                        0x000000000000900E
          MUTE                     0x000000000000F008
          0                        0x0000000000000000
          MUSIC                    0x000000000000080F
          VOLUP                    0x000000000000B00C
          LAST                     0x000000000000C803
          CHNUP                    0x000000000000D00A
          VOLDN                    0x0000000000007004
          FAV                      0x000000000000A805
          CHNDN                    0x0000000000003002
          PPV                      0x0000000000006809
          GUIDE                    0x0000000000000C0B
          EXIT                     0x000000000000480B
          INFO                     0x000000000000CC05
          MENU                     0x0000000000009806
          UP                       0x0000000000002C09
          DOWN                     0x000000000000AC01
          LEFT                     0x0000000000006C0E
          RIGHT                    0x000000000000EC06
          PGUP                     0x0000000000005C0C
          PGDN                     0x000000000000DC04
          THEME                    0x000000000000E801
          CANCEL                   0x0000000000001406
          DAY-                     0x0000000000009C02
          DAY+                     0x0000000000001C0A
          BYPASS                   0x000000000000280D
          LIST                     0x000000000000E40E
      end codes

end remote








I used http://lirc.sourceforge.net/remotes/mot ... gitalCable for my cable box.


Anyone have any clue what I might be missing?

I have my remote working previouslly, and now I can't even get irw to show me anything when the remote buttons are pressed. I manage to break other items while trying to get IR blaster to work.

I am not so Linux savy so commands would help me greatly. =)

-Nick


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ] 
Go to page Previous  1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu