FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-07-2007, 03:20 AM
Albert Graham
 
Default lirc_gpio not in FC8 kernel ?

Hi

I'm trying to get my remote control working in FC8 on a laptop (CLEVO D900T) which has a AverMedia card,

lspci shows:

0a:04.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)

The boot log in message file lists:

Dec 7 01:59:27 laptop kernel: saa7133[0]: subsystem: 1461:f31e, board: Avermedia M102 [card=110,autodetected]

(but does not seem to list an entry for the IR device).

The lirc website (http://www.lirc.org/html/table.html) says it supports my IR control (AverMedia) which all seem use the
lirc_gpio kernel module which does not seem to be part of FC8 kernel ?, because this modules does not load/exist, the
/dev/lirc device does not exist ? and hence the remote control does not work.


Is there a reason this module is not in the kernel or is there some other solution ?


Additional info:
=================

Picture of remote:
http://lirc.sourceforge.net/remotes/avermedia/tvphone98_0x00031461.jpg

The remote control is tested and does work because it's power button can turn on/off the laptop (by magic I assume),
however all other buttons are ignore because of the above mentioned issue I assume.


Any help would be very much appreciated.

TIA.

Albert.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-07-2007, 03:44 AM
Albert Graham
 
Default lirc_gpio not in FC8 kernel ?

Ah, just found the reason it's not in the kernel and a possible solution.

for anyone else having this problem look at this page:

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/125384


Albert.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-08-2007, 05:01 AM
Albert Graham
 
Default lirc_gpio not in FC8 kernel ?

It seems that link did not provide a solution as its based around the
old lirc_gpio driver (no longer supported in Fedora), however, after
digging a bit deeper I found that the undetected IR remote control is
the same as an already supported one, but you will need to apply the
following patch



diff -uNrp a/drivers/media/video/saa7134/saa7134-cards.c
b/drivers/media/video/saa7134/saa7134-cards.c
--- a/drivers/media/video/saa7134/saa7134-cards.c 2007-10-09
21:31:38.000000000 +0100
+++ b/drivers/media/video/saa7134/saa7134-cards.c 2007-12-08
05:38:17.000000000 +0000

@@ -4440,6 +4440,7 @@ int saa7134_board_init1(struct saa7134_d
break;
case SAA7134_BOARD_AVERMEDIA_M102:
/* enable tuner */
+ dev->has_remote = SAA7134_REMOTE_GPIO;
saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007,
0x8c040007);
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd,
0x0c0007cd);

break;
diff -uNrp a/drivers/media/video/saa7134/saa7134-input.c
b/drivers/media/video/saa7134/saa7134-input.c
--- a/drivers/media/video/saa7134/saa7134-input.c 2007-10-09
21:31:38.000000000 +0100
+++ b/drivers/media/video/saa7134/saa7134-input.c 2007-12-08
05:38:17.000000000 +0000

@@ -246,6 +246,7 @@ int saa7134_input_init1(struct saa7134_d
case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
+ case SAA7134_BOARD_AVERMEDIA_M102:
ir_codes = ir_codes_avermedia;
mask_keycode = 0x0007C8;
mask_keydown = 0x000010;

dmesg output:

saa7133[0]: found at 0000:0a:04.0, rev: 209, irq: 23, latency: 64, mmio:
0xb3006000
saa7133[0]: subsystem: 1461:f31e, board: Avermedia M102
[card=110,autodetected]

saa7133[0]: board init: gpio is 7f0

---> input: saa7134 IR (Avermedia M102) as /class/input/input8 <-----

saa7133[0]: i2c eeprom 00: 61 14 1e f3 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff d1 fe ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 1-004b: chip found @ 0x96 (saa7133[0])
tuner 1-004b: setting tuner address to 61
tuner 1-004b: type set to tda8290+75
firewire_core: created new fw device fw0 (0 config rom retries, S400)
tuner 1-004b: setting tuner address to 61
tuner 1-004b: type set to tda8290+75

lspci -v:

0a:04.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135
Video Broadcast Decoder (rev d1)

Subsystem: Avermedia Technologies Inc Unknown device f31e
Flags: bus master, medium devsel, latency 64, IRQ 23
Memory at b3006000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

uname -r:
2.6.23.8-63.local.fc8

I've submitted the above patch to the vidio4linux list so hopefully
someone will pick it up and add it to the kernel soon.


Hope this is useful to someone

Albert.



Albert Graham wrote:

Ah, just found the reason it's not in the kernel and a possible solution.

for anyone else having this problem look at this page:

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/125384




Albert.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 05:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org