View previous topic :: View next topic |
Author |
Message |
matez n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2008 Posts: 17
|
Posted: Mon Oct 27, 2008 10:20 am Post subject: lirc, bttv problem |
|
|
After upgrading from 2.6.24 to 2.6.25 kernel my PV951 tvtuner-ir_remote card doesnt work correctly.
The IR part handled by lirc doesnt work,
tvtime works, but xawtv freezes the X.
dmesg:
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
ata1: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
input: PC Speaker as /devices/platform/pcspkr/input/input4
ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
bttv: Bt8xx card found (0).
PCI: Enabling device 0000:00:0e.0 (0004 -> 0006)
ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 17 (level, low) -> IRQ 17
bttv0: Bt878 (rev 17) at 0000:00:0e.0, irq: 17, latency: 32, mmio: 0xdf000000
bttv0: using: ProVideo PV951 [card=42,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: tuner type=1
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio' 4-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
All bytes are equal. It is not a TEA5767
tuner' 4-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner-simple 4-0060: type set to 1 (Philips PAL_I (FI1246 and compatibles))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:11.5 to 64
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 23
eth0: VIA Rhine II at 0xdd000000, 00:0e:a6:18:d0:c1, IRQ 23.
eth0: MII PHY found at address 1, status 0x7849 advertising 01e1 Link 0000.
EXT3 FS on hda2, internal journal
lirc_dev: IR Remote Control driver registered, major 61
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip 0x10005 found @ 0x4b (PV951 IR)
sysfs: duplicate filename '4-004b' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one+0x31/0x7a()
Modules linked in: cx8800 cx88xx lirc_i2c(+) lirc_dev snd_pcm_oss snd_mixer_oss
tuner tea5767 tda8290 tuner_xc2028 tda9887 tuner_simple mt20xx tea5761 snd_via82
xx tvaudio snd_ac97_codec ac97_bus snd_pcm snd_timer pcspkr snd_page_alloc snd_m
pu401_uart snd_rawmidi snd_seq_device snd via_rhine mii i2c_viapro bttv ir_commo
n sata_via videobuf_dma_sg videobuf_core libata btcx_risc tveeprom dock via_agp
Pid: 3459, comm: modprobe Not tainted 2.6.25-gentoo-r8 #1
[<c011de87>] warn_on_slowpath+0x40/0x4f
[<c0132484>] clocksource_get_next+0x39/0x3f
[<c0131597>] update_wall_time+0x552/0x6bb
[<c01cd09b>] vsnprintf+0x28a/0x435
[<c011e50c>] release_console_sem+0x180/0x199
[<c0328485>] schedule+0x588/0x5ba
[<c016caad>] find_inode+0x1b/0x56
[<c018dc5f>] sysfs_ilookup_test+0x0/0xd
[<c016cb90>] ifind+0x22/0x71
[<c011ea6d>] printk+0x14/0x18
[<c018deb0>] sysfs_add_one+0x31/0x7a
[<c018e317>] create_dir+0x3c/0x6c
[<c018e370>] sysfs_create_dir+0x29/0x3b
[<c01c9da9>] kobject_get+0xf/0x13
[<c01c9e9a>] kobject_add_internal+0xa5/0x13e
[<c01c9fca>] kobject_add_varg+0x39/0x42
[<c01ca22a>] kobject_add+0x4a/0x4e
[<c0239aed>] device_add+0x62/0x3d5
[<c01c9c82>] kobject_init+0x32/0x53
[<c029c2e8>] i2c_attach_client+0x81/0xf4
[<d08452e4>] cleanup_module+0x2e1/0x525 [lirc_i2c]
[<d08455ff>] init_module+0xd7/0x7e4 [lirc_i2c]
[<c029c522>] i2c_register_driver+0x8a/0xcc
[<d084555f>] init_module+0x37/0x7e4 [lirc_i2c]
[<c0139eee>] sys_init_module+0x169d/0x1819
[<c015d8e4>] do_sync_read+0xbf/0xfe
[<d1948c96>] lirc_register_plugin+0x0/0x3e6 [lirc_dev]
[<c015e3a4>] sys_read+0x3c/0x63
[<c010472a>] sysenter_past_esp+0x5f/0x85
=======================
---[ end trace e7c8374b3fdacc62 ]---
kobject_add_internal failed for 4-004b with -EEXIST, don't try to register thing
s with the same name in the same directory.
Pid: 3459, comm: modprobe Not tainted 2.6.25-gentoo-r8 #1
[<c01c9efd>] kobject_add_internal+0x108/0x13e
[<c01c9fca>] kobject_add_varg+0x39/0x42
[<c01ca22a>] kobject_add+0x4a/0x4e
[<c0239aed>] device_add+0x62/0x3d5
[<c01c9c82>] kobject_init+0x32/0x53
[<c029c2e8>] i2c_attach_client+0x81/0xf4
[<d08452e4>] cleanup_module+0x2e1/0x525 [lirc_i2c]
[<d08455ff>] init_module+0xd7/0x7e4 [lirc_i2c]
[<c029c522>] i2c_register_driver+0x8a/0xcc
[<d084555f>] init_module+0x37/0x7e4 [lirc_i2c]
[<c0139eee>] sys_init_module+0x169d/0x1819
[<c015d8e4>] do_sync_read+0xbf/0xfe
[<d1948c96>] lirc_register_plugin+0x0/0x3e6 [lirc_dev]
[<c015e3a4>] sys_read+0x3c/0x63
[<c010472a>] sysenter_past_esp+0x5f/0x85
=======================
i2c-adapter i2c-4: Failed to attach i2c client PV951 IR at 0x4b (-17)
![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
matez n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2008 Posts: 17
|
Posted: Wed Dec 03, 2008 8:14 am Post subject: |
|
|
After trying a lot, I noticed that with a module option:
Code: | options tvaudio ignore="4,0x004b" |
or disabling the multimedia helper modules autoloading option at kernel confuguration and adding:
Code: | options tuner ignore="4,0x004b" |
lirc_i2c will work, but the sound wont be switched off leaving the tv application or in the secon case the tv wont give any sound.
It is interesting that the X freeze (shutdown -r +2 should be run before modprobe -r) unloading the tvaudio module in the 1st case.
So, how can be reached that both the lirc_i2c and tvaudio modules could use the resource at the same time? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|