Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc with flyvideo 98 - can't change lirc_gpio options
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
santiago
n00b
n00b


Joined: 08 Oct 2006
Posts: 35
Location: Argentina

PostPosted: Fri Nov 10, 2006 2:57 am    Post subject: lirc with flyvideo 98 - can't change lirc_gpio options Reply with quote

Hi, I've been trying to make my tv card remote control work and I'm almost there. I'm not sure what the problem is.

My tv card is a Flyvideo '98
I was using bttv card=30, but there are also other bttv id's for flyvideo 98. I could watch tv with that config, but after loading the modules for lirc, I tried the program "mode2" that receives signals and displays it on screen and it doesnt get anything. I tried other cards with the same chip and found that with card=35 I can still watch tv and the module works, so that must be the card. But mode2 shows 16 repeated events every time i hit a button.
I don't know what is the problem, I tried modprobe lirc_gpio soft_gap=something sample_rate=somevalue, to play with those values, but dmesg shows that it is always loading with sample_rate=20.

So this is one of the questions. Why does modprobe ignore my parameters? I also tried changing lirc_gpio options in the modules configuration.
I read somewhere that lirc_gpio get its value from bttv module, but doesn't says that they can't be specified anymore with those parameters.

I could create a config file for my remote with irrecord, and got lircd working, even the kde lirc server works, but when I press next song for example it passes 16 songs.

For example if i hit one button just once in mode2 I get:
Code:
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09
code: 0x09


and with the button, after starting lircd, in irw:
Code:
0000000000000009 00 chup flyvideo98
0000000000000009 01 chup flyvideo98
0000000000000009 02 chup flyvideo98
0000000000000009 03 chup flyvideo98
0000000000000009 04 chup flyvideo98
0000000000000009 05 chup flyvideo98
0000000000000009 06 chup flyvideo98
0000000000000009 07 chup flyvideo98
0000000000000009 08 chup flyvideo98
0000000000000009 09 chup flyvideo98
0000000000000009 0a chup flyvideo98
0000000000000009 0b chup flyvideo98
0000000000000009 0c chup flyvideo98
0000000000000009 0d chup flyvideo98
0000000000000009 0e chup flyvideo98
0000000000000009 0f chup flyvideo98


So the config file is ok, the signal is bound to the key name, and lircd is working

This is dmesg just after loading bttv and lirc_gpio modules

Code:
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 10, latency: 32, mmio: 0xdddfe000
bttv0: subsystem: 1851:ff50 (UNKNOWN)
please mail id, board name and the correct card= insmod option to video4linux-list@redhat.com
bttv0: using: Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II [card=35,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=0080ff00 [init]
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
bttv0: FlyVideo Radio=no  RemoteControl=yes Tuner=2 gpio=0x80ff00
bttv0: FlyVideo  LR90=no  tda9821/tda9820=no  capture_only=no
bttv0: using tuner=2
tuner 0-0061: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 . ok
lirc_dev: IR Remote Control driver registered, at major 61
The bttv_* interface is obsolete and will go away,
please use the new, sysfs based interface instead.
lirc_gpio (-1): card type 0x23, id 0xff501851
lirc_dev: lirc_register_plugin: sample_rate: 20
lirc_gpio (0): driver registered


lirc version is 0.8.0-r5

This is a very specific problem, sorry if this is not the correct place to post it.
Can someone using lirc with this or a similar card give me some help?

I would really appreciate it.
Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum