View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 23, 2005 4:17 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Hi

I am very confused I have a remote that almost works although i dont know why??

When I installed R5A26 my remote started working to a fasion, all the numbers worked as arrows ie 8 is up 4 left 6 right 2 down enter works as select. In an atempt to fix this i looked at the lirc files I found the lircd.conf file which i placed in /etc/. but it didnt seem to make any difference.




Code:

#
# this config file was automatically generated
# using lirc-0.6.6(sa1100) on Sun Feb 23 17:02:27 2003
#
# contributed by Denes Balatoni <pnis at coder.hu>
#   Modified by Daniel Foote <freefoote at dview dot net> to
#     work with remote that came with DVB-T card.
#
# brand: kworld
# model no. of remote control: ?
# devices being controlled by this remote: tv878r tuner card
#

begin remote

  name  KWorld_DVB-T
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       8853  4526
  one           533  1713
  zero          533   589
  ptrail        531
  repeat       8853  2281
  pre_data_bits   16
  pre_data       0x61D6
  gap          107839
  toggle_bit      0


      begin codes
          ch-                      0x0000000000007887
          7                        0x000000000000E01F
          preview                  0x00000000000038C7
          zoom                     0x00000000000018E7
          3                        0x000000000000C03F
          1                        0x000000000000807F
          epg                      0x000000000000D02F
          vol+                     0x000000000000D827
          vol-                     0x000000000000F807
          5                        0x000000000000A05F
          9                        0x000000000000906F
          reset                    0x000000000000A857
          turnleft                 0x000000000000E817
          6                        0x000000000000609F
          0                        0x00000000000050AF
          power                    0x00000000000048B7
          scan                     0x00000000000030CF
          2                        0x00000000000040BF
          mute                     0x00000000000008F7
          snap                     0x000000000000C837
          4                        0x00000000000020DF
          turnup                   0x00000000000000FF
          8                        0x00000000000010EF
          backward                 0x0000000000008877
          source                   0x000000000000F00F
          forward                  0x0000000000009867
          pip                      0x00000000000028D7
          ch-                      0x000000000000E817
          play                     0x0000000000006897
          ch+                      0x00000000000058A7
          stop                     0x000000000000B04F
          function-                0x00000000000020DF
          pause                    0x000000000000708F
          function+                0x00000000000030CF
          rec                      0x000000000000B847
      end codes

end remote



I then i had a look round at making my own file i tried to run irrecord to no avail

I then ran ps -e

Code:
> ps -e
  PID TTY          TIME CMD
    1 ?        00:00:01 init
    2 ?        00:00:00 migration/0
    3 ?        00:00:00 ksoftirqd/0
    4 ?        00:00:00 events/0
    5 ?        00:00:00 khelper
    6 ?        00:00:00 kthread
    8 ?        00:00:00 kacpid
  100 ?        00:00:00 kblockd/0
  140 ?        00:00:00 pdflush
  141 ?        00:00:05 pdflush
  143 ?        00:00:00 aio/0
  142 ?        00:00:23 kswapd0
  144 ?        00:00:00 jfsIO
  145 ?        00:00:00 jfsCommit
  146 ?        00:00:00 jfsSync
  147 ?        00:00:00 xfslogd/0
  148 ?        00:00:00 xfsdatad/0
  149 ?        00:00:00 xfsbufd
  737 ?        00:00:00 kseriod
  806 ?        00:00:00 ata/0
  812 ?        00:00:00 scsi_eh_0
  813 ?        00:00:00 scsi_eh_1
  825 ?        00:00:00 kcryptd/0
  826 ?        00:00:00 kmirrord
  830 ?        00:00:00 kjournald
 1180 ?        00:00:00 khubd
 1389 ?        00:00:00 khpsbpkt
 1960 ?        00:00:00 kgameportd
 2459 ?        00:00:05 kjournald
 2638 ?        00:00:00 portmap
 3052 ?        00:00:00 syslogd
 3083 ?        00:00:00 klogd
 3191 ?        00:00:00 apache
 3192 ?        00:00:03 apache
 3193 ?        00:00:02 apache
 3201 ?        00:00:03 apache
 3202 ?        00:00:02 apache
 3203 ?        00:00:02 apache
 3229 ?        00:00:00 inetd
 3857 ?        00:00:00 mysqld_safe
 3893 ?        00:01:37 mysqld
 3894 ?        00:00:00 logger
 3950 ?        00:00:00 sshd
 3983 ?        00:25:51 mythbackend
 4078 ?        00:37:26 kdvb-fe-0
 4381 ?        00:00:00 shpchpd_event
 5015 ?        00:00:00 automount
 5048 ?        00:00:00 ntpd
 5080 ?        00:00:00 atd
 5111 ?        00:00:00 cron
 5186 ?        00:00:00 gdm
 5210 ?        00:00:00 gdm
 5332 ?        00:02:56 XFree86
 5473 tty1     00:00:00 getty
 5475 tty3     00:00:00 getty
 5476 tty4     00:00:00 getty
 5477 tty5     00:00:00 getty
 5478 tty6     00:00:00 getty
 5530 ?        00:00:00 miniserv.pl
 5535 ?        00:00:00 x-window-manage
 5575 ?        00:00:00 ssh-agent
 5709 ?        00:00:03 apache
 7077 ?        00:00:00 nmbd
 7079 ?        00:00:00 smbd
 7080 ?        00:00:00 smbd
 7246 ?        00:00:02 apache
 9960 ?        00:00:00 xterm
 9961 ttyp0    00:00:00 sh
11230 tty2     00:00:00 bash
12466 ?        00:00:00 apache
12467 ?        00:00:00 apache
12468 ?        00:00:00 apache
15437 ttyp0    00:00:01 mythfrontend
15632 ?        00:00:49 cx88[0] dvb
15894 ?        00:00:01 smbd
15953 ?        00:00:00 smbd
15991 ?        00:00:00 miniserv.pl
16007 ?        00:00:00 miniserv.pl
16008 ?        00:00:00 miniserv.pl
16013 ?        00:00:00 sh
16014 ?        00:00:00 ps



No lirc seemes to be running but my remote still seemed to work to a fashion.


dosnt matter what i do to lirc my remote keeps partly working. so how do i get lirc going and using my lirc file.

any help would be apreciated

Simon

Ok I have a Jetway / Kworld Dvb-t Card with Remote as mensioned in my previous post I spent a couple of days trying to work out why Lirc was/wasn't working properly to no avail.

The remote seemed to partly work with no lirc running.

I read some posts and found that some remotes seemed to work as keyboards. so to that end i ran showkey from the console and have generated a file that contains the scancodes below


Code:
Power      : 0x74 0xf4
Source     : 0x00 0x83 0x8b 0x80 0x83 0x8b
Scan       : 0x00 0x81 0xd9 0x80 0x81 0xd9
EPG        : 0x00 0x83 0x82 0x80 0x83 0x82
Mute       : 0x71 0xf1
1          : 0x4f 0xcf
2          : 0x50 0xd0
3          : 0x51 0xd1
Zoom       : 0x00 0x82 0xf4 0x80 0x82 0xf4
4          : 0x4b 0xcb
5          : 0x4c 0xcc
6          : 0x4d 0xcd
Preview    : 0x00 0x82 0xe6 0x80 0x82 0xe6
7          : 0x47 0xc7
8          : 0x48 0xc8
9          : 0x49 0xc9
Snap       : 0x1f 0x9f
Escape     : 0x01 0x81
0          : 0x52 0xd2
Enter      : 0x1c 0x9c
Record     : 0x00 0x81 0xa7 0x80 0x81 0xa7
Stop       : 0x00 0x81 0x80 0x80 0x81 0x80
Pause      : 0x77 0xf7
Play       : 0x00 0x81 0xcf 0x80 0x81 0xcf
Backward   : 0x00 0x81 0xa8 0x80 0x81 0xa8
Ch Up      : 0x00 0x83 0x92 0x80 0x83 0x92
Forward    : 0x00 0x81 0xd0 0x80 0x81 0xd0
Left Vol-  : 0x72 0xf2
Pip        : 0x00 0x83 0x88 0x80 0x83 0x88
Ch Down    : 0x00 0x83 0x93 0x80 0x83 0x93
Reset      : 0x00 0x82 0xe3 0x80 0x82 0xe3
Right Vol+ : 0x73 0xf3


Right now i want to know where to go fron here. I thought of using somthing like loadkeys to remap these as the myth keys but i seem to remember reading someware that this dosnt work in X.

I think ill start there if anyone has any better ideas please post.

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 7:22 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
I suspect that your DVB card remote is recognised as an input event device thing (like a keyboard)

If you run the command: cat /proc/bus/input/devices

And look for a section like:

Code:
I: Bus=0001 Vendor=0070 Product=9002 Version=0001
N: Name="cx88 IR (Hauppauge Nova-T DVB-T"
P: Phys=pci-0000:01:06.2/ir0
H: Handlers=kbd event2
B: EV=100003
B: KEY=100fc312 214a802 0 0 0 0 18000 41a8 4801 9e1680 7bb80 0 10000000


The important bit is where it says event2. Paste the whole output as a reply.

you then need to edit /etc/lirc/hardware.conf

and change the "DEVICE=" line to:

DEVICE="/dev/input/event2"

where event2 is the bit you found out earlier

Reboot, then open an xterm, then run as root: irw
Press some buttons on the remote and it should print out the names of the buttons you pressed :D


Top
 Profile  
 
 Post subject: Thanks mad_paddler
PostPosted: Sat Dec 24, 2005 5:35 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Hi got this result


Code:
> cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0001 Vendor=17de Product=08a6 Version=0001
N: Name="cx88 IR (KWorld/VStream XPert D"
P: Phys=pci-0000:00:0c.2/ir0
H: Handlers=kbd event1
B: EV=100003
B: KEY=c0904 100048 0 0 0 0 2018000 180 1 9e0000 7bb80 0 90000002

I: Bus=0001 Vendor=17de Product=08a6 Version=0001
N: Name="cx88 IR (KWorld/VStream XPert D"
P: Phys=pci-0000:00:0d.2/ir0
H: Handlers=kbd event2
B: EV=100003
B: KEY=c0904 100048 0 0 0 0 2018000 180 1 9e0000 7bb80 0 90000002

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd event3
B: EV=40001
B: SND=6


will mod the device line when i can get acces to the machine

its attatched to family telly (42" plasma without its own tunner) so have limmited acces to it

i assume that once lirc has controle of it it wont act as a keyboard as well??

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 24, 2005 5:51 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
With mine, once lirc has it, it no longer works as a keyboard.

Have you got two cards there? looks like there are 2 IR things listed!

If not you may just have to try event1 & 2 seperately to find which is the right one :)

Let us know how it goes!


Top
 Profile  
 
 Post subject: Two Cards
PostPosted: Sat Dec 24, 2005 6:07 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Yes I have t cards,

so now i can watch and record at the same time.

i will try over the next few days and let you know at least i will be able to plug the reciever into the oter card and use the few limited keys i have if things go horribly wrong. i think i already have the lirc files for this remote so hopefully I should not be left with too much work to do.

Thanks 4 the help

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject: No luck !!
PostPosted: Fri Dec 30, 2005 5:46 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
mad_paddler wrote:
I suspect that your DVB card remote is recognised as an input event device thing (like a keyboard)

If you run the command: cat /proc/bus/input/devices

And look for a section like:

Code:
I: Bus=0001 Vendor=0070 Product=9002 Version=0001
N: Name="cx88 IR (Hauppauge Nova-T DVB-T"
P: Phys=pci-0000:01:06.2/ir0
H: Handlers=kbd event2
B: EV=100003
B: KEY=100fc312 214a802 0 0 0 0 18000 41a8 4801 9e1680 7bb80 0 10000000


The important bit is where it says event2. Paste the whole output as a reply.

you then need to edit /etc/lirc/hardware.conf

and change the "DEVICE=" line to:

DEVICE="/dev/input/event2"

where event2 is the bit you found out earlier

Reboot, then open an xterm, then run as root: irw
Press some buttons on the remote and it should print out the names of the buttons you pressed :D



Edited /etc/lirc/hardware.conf no joy though

irw returns cant attach to socket or somthing like that

tried irrecord with no luck either?

I have noticed when the system boots i get an error message about lirc not being able to load the modules

will try to find the error in the logs

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 31, 2005 9:13 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Ahhh, i think i missed out another change you need to do, also in hardware.conf, you need to change the DRIVER="... line to:

DRIVER="dev/input"

Just incase i've missed something else heres my complete hardware.conf file:

Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/event2"
MODULES="lirc_dev lirc_i2c"


Top
 Profile  
 
 Post subject: Still no joy
PostPosted: Sun Jan 01, 2006 1:37 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Ok tried that

now dont get an error message as it boots

think error was caused by lirc_gpio in the modules

when i run irw nothing happens :(

if i move the remote reciever into the other card it works slightly like it used to so lirc is grabbing event2

think there must be someting simple ime missing

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 01, 2006 2:09 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
lircd.conf is probably wrong now :S you could try making your own with irrecord?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 01, 2006 3:43 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
now pulling my hair out

already tried irrecord no joy

i have to stop lirc by killing the process (the keyboard thingy then grabs it)

when i do irrecord then with -d event2

the remote acts as a keyboard input again

and drops out with too long a gap or something dont think event2 is being captured by the keyboard handler

just thought do i need to use both switches

-d event2 -H dev/input

not sure that this requires lirc_gpio but dont know what the switches are for this card

have googled and searched but cant seem to find a solution

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 01, 2006 5:44 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Ok, to use irrecord, lirc needs to be running i think, so reboot, then run this command as root:

irrecord -H dev/input -d /dev/input/event1 lircd.conf

fingers crossed it should work :D


Top
 Profile  
 
 Post subject: still no joy
PostPosted: Mon Jan 02, 2006 10:22 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
still cant get it to go

always the same

cant detect gap

can't find anyone who has got this to go on the net yet there's lirc files available to download


think its time to buy a wirless keyboard instead

thanks for all your help

maybee ill try a mse20005 remote from work

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 06, 2006 9:09 am 
Offline
Joined: Tue Feb 28, 2006 2:34 am
Posts: 11
same problem - finally found this thread and thought i was onto something :-(

I: Bus=0001 Vendor=17de Product=08a6 Version=0001
N: Name="cx88 IR (KWorld/VStream XPert D"
P: Phys=pci-0000:01:06.2/ir0
H: Handlers=kbd event2
B: EV=100003
B: KEY=c0904 100048 0 0 0 0 2018000 180 1 9e0000 7bb80 0 90000002

irrecord: gap not found, can't continue
irrecord: closing '/dev/input/event2'

any ideas?


Top
 Profile  
 
 Post subject: sorry no help
PostPosted: Mon Mar 06, 2006 1:28 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
I had a few goes at this and finaly gave up, the cards work wonderfully I have two working great.

The remote is a no go though

it works as some sort of keyboard interface but couldnt get it to go..

I just got myself a mce remote instead

incidently I dont think its got enough buttons on the origonal remote anyhow

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 26 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu