[ivtv-users] ivtv and s2ram/s2disk (suspend/hibernate) (Hans Verkuil)
Ingo Steiner
ingo.steiner at gmx.net
Sun Aug 24 17:03:40 CEST 2008
Hi Hans,
On 24.08.2008 12:20, Hans Verkuil wrote:
> On Friday 22 August 2008 20:53:08 Ingo Steiner wrote:
>> On 22.08.2008 20:17, Andy Walls wrote:
>>> On Thu, 2008-08-21 at 15:12 +0200, Ingo Steiner wrote:
>>>> Hans,
>>>>
>>>> thank you very much for your offer to build an ivtv version which
>>>> probably supports s2ram!
>
> Hi Ingo,
>
> Bad news, I'm afraid. I think I was too hasty in offering to help out. I
> did not have time this weekend, I know I'll have no time next weekend
> and very likely the weekend after that, and then I'll go on vacation
> for almost three weeks. And the two weekends after that it's also
> unlikely that I will have time. So basically I don't see this happening
> until mid-October. If it was just a small thing, then I could squeeze
> it in, but I need to do research on how to properly implement something
> like this and I suspect that the driver might need quite a bit of work.
>
> In addition, the fact that it apparently doesn't work after modprobing
> ivtv after wake-up makes me very suspicious. That should just work
> fine. Is the card seen at all after the modprobe? What does the kernel
> log show?
I now performed following Steps:
at 16:46 unloaded ivtv:
'rmmod ivtv'
and entered s2ram (on Ubuntui Hardy = Bereitschaft)
at 16:48
wake-up again by pressing space bar
load module ivtv 'modprobe ivtv'
and here you receive the /var/log/kern.log:
(hope you are not worried because I paste it here):
+++++++++++++++++++++++++++++++++++++++
Aug 24 16:45:57 pp kernel: [10876.355628] ACPI: PCI interrupt for device
0000:01:07.0 disabled
Aug 24 16:45:57 pp kernel: [10876.355638] ivtv0: Removed Hauppauge WinTV
PVR-150, card #0
Aug 24 16:47:08 pp kernel: [10909.620231] br0: port 1(eth0) entering
disabled state
Aug 24 16:47:08 pp kernel: [10909.636786] device eth0 left promiscuous mode
Aug 24 16:47:08 pp kernel: [10909.636799] audit(1219589228.305:7):
dev=eth0 prom=0 old_prom=256 auid=4294967295
Aug 24 16:47:08 pp kernel: [10909.636803] br0: port 1(eth0) entering
disabled state
Aug 24 16:47:08 pp kernel: [10909.657727] ACPI: PCI interrupt for device
0000:00:08.0 disabled
Aug 24 16:47:47 pp kernel: [10910.909689] Syncing filesystems ... done.
Aug 24 16:47:47 pp kernel: [10910.909719] PM: Preparing system for mem sleep
Aug 24 16:47:47 pp kernel: [10910.909723] Freezing user space processes
... (elapsed 0.00 seconds) done.
Aug 24 16:47:47 pp kernel: [10910.910729] Freezing remaining freezable
tasks ... (elapsed 0.09 seconds) done.
Aug 24 16:47:47 pp kernel: [10911.008960] PM: Entering mem sleep
Aug 24 16:47:47 pp kernel: [10911.008962] Suspending console(s)
Aug 24 16:47:47 pp kernel: [10911.023699] sd 3:0:0:0: [sdb] Stopping disk
Aug 24 16:47:47 pp kernel: [10911.023809] sd 2:0:0:0: [sda]
Synchronizing SCSI cache
Aug 24 16:47:47 pp kernel: [10911.049598] sd 2:0:0:0: [sda] Stopping disk
Aug 24 16:47:47 pp kernel: [10911.715437] ACPI handle has no context!
Aug 24 16:47:47 pp kernel: [10911.715802] serial 00:09: disabled
Aug 24 16:47:47 pp kernel: [10911.715817] ACPI handle has no context!
Aug 24 16:47:47 pp kernel: [10911.715853] NVRM: RmPowerManagement: 4
Aug 24 16:47:47 pp kernel: [10911.939056] ACPI: PCI interrupt for device
0000:00:06.1 disabled
Aug 24 16:47:47 pp kernel: [10911.955096] ACPI: PCI interrupt for device
0000:00:05.2 disabled
Aug 24 16:47:47 pp kernel: [10911.987019] ACPI: PCI interrupt for device
0000:00:05.1 disabled
Aug 24 16:47:47 pp kernel: [10912.003019] ACPI: PCI interrupt for device
0000:00:05.0 disabled
Aug 24 16:47:47 pp kernel: [10912.034967] ACPI: PCI interrupt for device
0000:00:02.1 disabled
Aug 24 16:47:47 pp kernel: [10912.050962] ACPI: PCI interrupt for device
0000:00:02.0 disabled
Aug 24 16:47:47 pp kernel: [10912.173075] Disabling non-boot CPUs ...
Aug 24 16:47:47 pp kernel: [10912.173104] CPU0 attaching NULL sched-domain.
Aug 24 16:47:47 pp kernel: [10912.173105] CPU1 attaching NULL sched-domain.
Aug 24 16:47:47 pp kernel: [10912.288032] CPU 1 is now offline
Aug 24 16:47:47 pp kernel: [10912.288037] SMP alternatives: switching to
UP code
Aug 24 16:47:47 pp kernel: [10912.290057] CPU0 attaching sched-domain:
Aug 24 16:47:47 pp kernel: [10912.290062] domain 0: span 01
Aug 24 16:47:47 pp kernel: [10912.290063] groups: 01
Aug 24 16:47:47 pp kernel: [10912.290393] CPU1 is down
Aug 24 16:47:47 pp kernel: [10912.290573] Extended CMOS year: 2000
Aug 24 16:47:47 pp kernel: [ 0.338835] Back to C!
Aug 24 16:47:47 pp kernel: [ 0.339165] Extended CMOS year: 2000
Aug 24 16:47:47 pp kernel: [ 0.342282] Enabling non-boot CPUs ...
Aug 24 16:47:47 pp kernel: [ 0.342352] CPU0 attaching NULL sched-domain.
Aug 24 16:47:47 pp kernel: [ 0.352667] SMP alternatives: switching to
SMP code
Aug 24 16:47:47 pp kernel: [ 0.353374] Booting processor 1/2 APIC 0x1
Aug 24 16:47:47 pp kernel: [ 0.363435] Initializing CPU#1
Aug 24 16:47:47 pp kernel: [ 0.440538] Calibrating delay using timer
specific routine.. 4420.17 BogoMIPS (lpj=8840353)
Aug 24 16:47:47 pp kernel: [ 0.440543] CPU: L1 I Cache: 64K (64
bytes/line), D cache 64K (64 bytes/line)
Aug 24 16:47:47 pp kernel: [ 0.440545] CPU: L2 Cache: 512K (64
bytes/line)
Aug 24 16:47:47 pp kernel: [ 0.440547] CPU 1/1 -> Node 0
Aug 24 16:47:47 pp kernel: [ 0.440549] CPU: Physical Processor ID: 0
Aug 24 16:47:47 pp kernel: [ 0.440550] CPU: Processor Core ID: 1
Aug 24 16:47:47 pp kernel: [ 0.440620] AMD Athlon(tm) 64 X2 Dual Core
Processor 4200+ stepping 02
Aug 24 16:47:47 pp kernel: [ 0.440761] CPU0 attaching sched-domain:
Aug 24 16:47:47 pp kernel: [ 0.440763] domain 0: span 03
Aug 24 16:47:47 pp kernel: [ 0.440765] groups: 01 02
Aug 24 16:47:47 pp kernel: [ 0.440767] domain 1: span 03
Aug 24 16:47:47 pp kernel: [ 0.440768] groups: 03
Aug 24 16:47:47 pp kernel: [ 0.440770] CPU1 attaching sched-domain:
Aug 24 16:47:47 pp kernel: [ 0.440771] domain 0: span 03
Aug 24 16:47:47 pp kernel: [ 0.440772] groups: 02 01
Aug 24 16:47:47 pp kernel: [ 0.440774] domain 1: span 03
Aug 24 16:47:47 pp kernel: [ 0.440775] groups: 03
Aug 24 16:47:47 pp kernel: [ 0.441088] CPU1 is up
Aug 24 16:47:47 pp kernel: [ 0.441591] ACPI: Unable to turn cooling
device [ffff8101b7776700] 'off'
Aug 24 16:47:47 pp kernel: [ 0.441610] PM: Writing back config space
on device 0000:00:00.0 at offset f (was 0, writing ff)
Aug 24 16:47:47 pp kernel: [ 0.444646] Switched to high resolution
mode on CPU 1
Aug 24 16:47:47 pp kernel: [ 0.456539] ACPI: PCI Interrupt
0000:00:02.0[A] -> Link [APCF] -> GSI 23 (level, low) -> IRQ 23
Aug 24 16:47:47 pp kernel: [ 0.456544] PCI: Setting latency timer of
device 0000:00:02.0 to 64
Aug 24 16:47:47 pp kernel: [ 0.496505] ACPI: PCI Interrupt
0000:00:02.1[B] -> Link [APCL] -> GSI 23 (level, low) -> IRQ 23
Aug 24 16:47:47 pp kernel: [ 0.496508] PCI: Setting latency timer of
device 0000:00:02.1 to 64
Aug 24 16:47:47 pp kernel: [ 0.512503] PCI: Setting latency timer of
device 0000:00:04.0 to 64
Aug 24 16:47:47 pp kernel: [ 0.513645] ata2: port disabled. ignoring.
Aug 24 16:47:47 pp kernel: [ 0.528489] PM: Writing back config space
on device 0000:00:05.0 at offset 1 (was b00000, writing b00007)
Aug 24 16:47:47 pp kernel: [ 0.528497] ACPI: PCI Interrupt
0000:00:05.0[A] -> Link [APSI] -> GSI 22 (level, low) -> IRQ 22
Aug 24 16:47:47 pp kernel: [ 0.528500] PCI: Setting latency timer of
device 0000:00:05.0 to 64
Aug 24 16:47:47 pp kernel: [ 0.544478] PM: Writing back config space
on device 0000:00:05.1 at offset 1 (was b00000, writing b00007)
Aug 24 16:47:47 pp kernel: [ 0.544485] ACPI: PCI Interrupt
0000:00:05.1[B] -> Link [APSJ] -> GSI 21 (level, low) -> IRQ 21
Aug 24 16:47:47 pp kernel: [ 0.544489] PCI: Setting latency timer of
device 0000:00:05.1 to 64
Aug 24 16:47:47 pp kernel: [ 0.560465] PM: Writing back config space
on device 0000:00:05.2 at offset 1 (was b00000, writing b00007)
Aug 24 16:47:47 pp kernel: [ 0.560473] ACPI: PCI Interrupt
0000:00:05.2[C] -> Link [ASA2] -> GSI 20 (level, low) -> IRQ 20
Aug 24 16:47:47 pp kernel: [ 0.560476] PCI: Setting latency timer of
device 0000:00:05.2 to 64
Aug 24 16:47:47 pp kernel: [ 0.560493] PCI: Setting latency timer of
device 0000:00:06.0 to 64
Aug 24 16:47:47 pp kernel: [ 0.576455] PM: Writing back config space
on device 0000:00:06.1 at offset 1 (was b00006, writing b00002)
Aug 24 16:47:47 pp kernel: [ 0.576463] ACPI: PCI Interrupt
0000:00:06.1[B] -> Link [AAZA] -> GSI 21 (level, low) -> IRQ 21
Aug 24 16:47:47 pp kernel: [ 0.576467] PCI: Setting latency timer of
device 0000:00:06.1 to 64
Aug 24 16:47:47 pp kernel: [ 0.872234] ata8: SATA link down (SStatus
0 SControl 300)
Aug 24 16:47:47 pp kernel: [ 0.882515] ata7: SATA link down (SStatus
0 SControl 300)
Aug 24 16:47:47 pp kernel: [ 0.996159] ata4: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Aug 24 16:47:47 pp kernel: [ 1.004238] ata4.00: ACPI cmd
ef/03:46:00:00:00:a0 filtered out
Aug 24 16:47:47 pp kernel: [ 1.012142] ata6: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Aug 24 16:47:47 pp kernel: [ 1.012309] PM: Writing back config space
on device 0000:00:0a.0 at offset 1 (was 100000, writing 100404)
Aug 24 16:47:47 pp kernel: [ 1.012321] PCI: Setting latency timer of
device 0000:00:0a.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012332] PM: Writing back config space
on device 0000:00:0b.0 at offset 1 (was 100000, writing 100404)
Aug 24 16:47:47 pp kernel: [ 1.012342] PCI: Setting latency timer of
device 0000:00:0b.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012346] ata4.00: configured for MWDMA2
Aug 24 16:47:47 pp kernel: [ 1.012352] PM: Writing back config space
on device 0000:00:0c.0 at offset 1 (was 100000, writing 100404)
Aug 24 16:47:47 pp kernel: [ 1.012362] PCI: Setting latency timer of
device 0000:00:0c.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012371] PM: Writing back config space
on device 0000:00:0d.0 at offset 1 (was 100000, writing 100404)
Aug 24 16:47:47 pp kernel: [ 1.012381] sd 3:0:0:0: [sdb] 8027712
512-byte hardware sectors (4110 MB)
Aug 24 16:47:47 pp kernel: [ 1.012385] PCI: Setting latency timer of
device 0000:00:0d.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012392] sd 3:0:0:0: [sdb] Write
Protect is off
Aug 24 16:47:47 pp kernel: [ 1.012394] sd 3:0:0:0: [sdb] Mode Sense:
00 3a 00 00
Aug 24 16:47:47 pp kernel: [ 1.012397] PM: Writing back config space
on device 0000:00:0e.0 at offset 1 (was 100000, writing 100404)
Aug 24 16:47:47 pp kernel: [ 1.012408] PCI: Setting latency timer of
device 0000:00:0e.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012411] sd 3:0:0:0: [sdb] Write cache:
disabled, read cache: enabled, doesn't support DPO or FUA
Aug 24 16:47:47 pp kernel: [ 1.012416] PM: Writing back config space
on device 0000:00:0f.0 at offset 7 (was 1f1, writing 200001f1)
Aug 24 16:47:47 pp kernel: [ 1.012421] PM: Writing back config space
on device 0000:00:0f.0 at offset 1 (was 100007, writing 100407)
Aug 24 16:47:47 pp kernel: [ 1.012430] PCI: Setting latency timer of
device 0000:00:0f.0 to 64
Aug 24 16:47:47 pp kernel: [ 1.012462] PM: Writing back config space
on device 0000:01:07.0 at offset 3 (was 2008, writing 4008)
Aug 24 16:47:47 pp kernel: [ 1.012466] PM: Writing back config space
on device 0000:01:07.0 at offset 1 (was 2100006, writing 2100002)
Aug 24 16:47:47 pp kernel: [ 1.012516] NVRM: RmPowerManagement: 5
Aug 24 16:47:47 pp kernel: [ 1.192350] ata6.00: ACPI cmd
ef/03:46:00:00:00:a0 filtered out
Aug 24 16:47:47 pp kernel: [ 1.235977] ata5: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Aug 24 16:47:47 pp kernel: [ 1.380043] ata6.00: configured for UDMA/33
Aug 24 16:47:47 pp kernel: [ 1.389663] serial 00:09: activated
Aug 24 16:47:47 pp kernel: [ 1.389677] i8042 kbd 00:0a: activation failed
Aug 24 16:47:47 pp kernel: [ 1.399960] ata5.00: ACPI cmd
ef/03:46:00:00:00:a0 filtered out
Aug 24 16:47:47 pp kernel: [ 1.571834] ata5.00: configured for UDMA/100
Aug 24 16:47:47 pp kernel: [ 1.608727] sd 2:0:0:0: [sda] Starting disk
Aug 24 16:47:47 pp kernel: [ 5.472907] ata3: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Aug 24 16:47:47 pp kernel: [ 5.480992] ata3.00: ACPI cmd
ef/03:46:00:00:00:a0 filtered out
Aug 24 16:47:47 pp kernel: [ 5.480994] ata3.00: ACPI cmd
f5/00:00:00:00:00:a0 filtered out
Aug 24 16:47:47 pp kernel: [ 5.591808] ata3.00: configured for UDMA/133
Aug 24 16:47:47 pp kernel: [ 5.631393] sd 2:0:0:0: [sda] 625142448
512-byte hardware sectors (320073 MB)
Aug 24 16:47:47 pp kernel: [ 5.631404] sd 2:0:0:0: [sda] Write
Protect is off
Aug 24 16:47:47 pp kernel: [ 5.631406] sd 2:0:0:0: [sda] Mode Sense:
00 3a 00 00
Aug 24 16:47:47 pp kernel: [ 5.631419] sd 2:0:0:0: [sda] Write cache:
enabled, read cache: enabled, doesn't support DPO or FUA
Aug 24 16:47:47 pp kernel: [ 5.631426] sd 3:0:0:0: [sdb] Starting disk
Aug 24 16:47:47 pp kernel: [ 5.681124] PM: Finishing wakeup.
Aug 24 16:47:47 pp kernel: [ 5.681126] Restarting tasks ... done.
Aug 24 16:47:47 pp kernel: [ 6.311287] forcedeth: Reverse Engineered
nForce ethernet driver. Version 0.61.
Aug 24 16:47:47 pp kernel: [ 6.311424] ACPI: PCI Interrupt
0000:00:08.0[A] -> Link [APCH] -> GSI 22 (level, low) -> IRQ 22
Aug 24 16:47:47 pp kernel: [ 6.311431] PCI: Setting latency timer of
device 0000:00:08.0 to 64
Aug 24 16:47:47 pp kernel: [ 6.828660] forcedeth 0000:00:08.0: ifname
eth0, PHY OUI 0x5043 @ 1, addr 00:18:f3:d1:1a:e5
Aug 24 16:47:47 pp kernel: [ 6.828665] forcedeth 0000:00:08.0:
highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
Aug 24 16:47:47 pp kernel: [ 6.890435] br0: port 2(tap0) entering
disabled state
Aug 24 16:47:47 pp kernel: [ 7.025809] device tap0 left promiscuous mode
Aug 24 16:47:47 pp kernel: [ 7.025822] audit(1219589267.744:8):
dev=tap0 prom=0 old_prom=256 auid=4294967295
Aug 24 16:47:47 pp kernel: [ 7.025827] br0: port 2(tap0) entering
disabled state
Aug 24 16:47:47 pp kernel: [ 7.132008] br0: Dropping NETIF_F_UFO
since no NETIF_F_HW_CSUM feature.
Aug 24 16:47:47 pp kernel: [ 7.134907] device eth0 entered
promiscuous mode
Aug 24 16:47:47 pp kernel: [ 7.134916] audit(1219589267.852:9):
dev=eth0 prom=256 old_prom=0 auid=4294967295
Aug 24 16:47:47 pp kernel: [ 7.136424] eth0: no link during
initialization.
Aug 24 16:47:47 pp kernel: [ 7.143538] ADDRCONF(NETDEV_UP): eth0:
link is not ready
Aug 24 16:47:47 pp kernel: [ 7.145643] device tap0 entered
promiscuous mode
Aug 24 16:47:47 pp kernel: [ 7.145657] audit(1219589267.864:10):
dev=tap0 prom=256 old_prom=0 auid=4294967295
Aug 24 16:47:47 pp kernel: [ 7.149373] br0: port 2(tap0) entering
learning state
Aug 24 16:47:49 pp kernel: [ 8.430399] eth0: link up.
Aug 24 16:47:49 pp kernel: [ 8.437035] br0: port 1(eth0) entering
learning state
Aug 24 16:47:49 pp kernel: [ 8.437048] ADDRCONF(NETDEV_CHANGE): eth0:
link becomes ready
Aug 24 16:47:52 pp kernel: [ 10.211701] br0: topology change detected,
propagating
Aug 24 16:47:52 pp kernel: [ 10.211706] br0: port 2(tap0) entering
forwarding state
Aug 24 16:47:54 pp kernel: [ 10.847579] br0: topology change detected,
propagating
Aug 24 16:47:54 pp kernel: [ 10.847586] br0: port 1(eth0) entering
forwarding state
Aug 24 16:47:55 pp kernel: [ 13.292709] br0: no IPv6 routers present
Aug 24 16:47:55 pp kernel: [ 13.445332] tap0: no IPv6 routers present
Aug 24 16:47:56 pp kernel: [ 13.792323] eth0: no IPv6 routers present
Aug 24 16:48:13 pp kernel: [ 21.632147] ivtv: Start initialization,
version 1.1.0
Aug 24 16:48:13 pp kernel: [ 21.632218] ivtv0: Initializing card #0
Aug 24 16:48:13 pp kernel: [ 21.632222] ivtv0: Autodetected Hauppauge
card (cx23416 based)
Aug 24 16:48:13 pp kernel: [ 21.632258] ACPI: PCI Interrupt
0000:01:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
Aug 24 16:48:13 pp kernel: [ 21.635847] tuner 2-0061: chip found @
0xc2 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.643254] cx25840 2-0044: cx25842-24
found @ 0x88 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.643374] wm8775 2-001b: chip found @
0x36 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.675672] tveeprom 2-0050: Hauppauge
model 26134, rev F1B3, serial# 10232753
Aug 24 16:48:14 pp kernel: [ 21.675676] tveeprom 2-0050: tuner model
is TCL M2523_3DB_E (idx 113, type 55)
Aug 24 16:48:14 pp kernel: [ 21.675680] tveeprom 2-0050: TV standards
PAL(B/G) PAL(D/D1/K) (eeprom 0x44)
Aug 24 16:48:14 pp kernel: [ 21.675683] tveeprom 2-0050: audio
processor is CX25842 (idx 36)
Aug 24 16:48:14 pp kernel: [ 21.675685] tveeprom 2-0050: decoder
processor is CX25842 (idx 29)
Aug 24 16:48:14 pp kernel: [ 21.675687] tveeprom 2-0050: has no radio,
has IR receiver, has IR transmitter
Aug 24 16:48:14 pp kernel: [ 21.675691] ivtv0: Autodetected Hauppauge
WinTV PVR-150
Aug 24 16:48:14 pp kernel: [ 21.675694] ivtv0: Reopen i2c bus for
IR-blaster support
Aug 24 16:48:14 pp kernel: [ 21.701303] tuner 2-0061: chip found @
0xc2 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.761007] cx25840 2-0044: cx25842-24
found @ 0x88 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.761112] wm8775 2-001b: chip found @
0x36 (ivtv i2c driver #0)
Aug 24 16:48:14 pp kernel: [ 21.781046] tuner-simple 2-0061: type set
to 55 (TCL 2002MB)
Aug 24 16:48:14 pp kernel: [ 21.781051] tuner 2-0061: type set to TCL
2002MB
Aug 24 16:48:14 pp kernel: [ 21.781610] ivtv0: Registered device
video0 for encoder MPG (4096 kB)
Aug 24 16:48:14 pp kernel: [ 21.781627] ivtv0: Registered device
video32 for encoder YUV (2048 kB)
Aug 24 16:48:14 pp kernel: [ 21.781641] ivtv0: Registered device vbi0
for encoder VBI (1024 kB)
Aug 24 16:48:14 pp kernel: [ 21.781654] ivtv0: Registered device
video24 for encoder PCM (320 kB)
Aug 24 16:48:14 pp kernel: [ 21.781656] ivtv0: Initialized card #0:
Hauppauge WinTV PVR-150
Aug 24 16:48:14 pp kernel: [ 21.781671] ivtv: End initialization
Aug 24 16:48:14 pp kernel: [ 22.082846] ivtv0: Loaded
v4l-cx2341x-enc.fw firmware (376836 bytes)
Aug 24 16:48:15 pp kernel: [ 22.173591] ivtv0: Encoder revision:
0x02060039
Aug 24 16:48:18 pp kernel: [ 24.595787] cx25840 2-0044: loaded
v4l-cx25840.fw firmware (16382 bytes)
++++++++++++++++++++++++++++
I also do attach it here because you also get the mail personally.
Does it give you an indication, why things do not start-up completely?
I really do not want to push you with this matter, so if you do not have
the time, don't worry. I am using ivtv now since 2 years and on a
desktop-PC s2ram is not such essential (though I intentionally invested
in ECC-RAM to prevent from RAM-errors ;-)
If you need other info/log from my system, just let me know!
Best regards
Ingo
>
> Regards,
>
> Hans
>
>>>> Of course I am prepared to test here. I do think the environment
>>>> is quite suitable as my motherboard ASUS M2N-E and the other
>>>> components support s2ram.
>>>>
>>>> For your information:
>>>> I did try already to unload the module before calling s2ram and
>>>> re-load it after wake-up with no success. Here the modules loaded
>>>> on my system:
>>> Ingo,
>>>
>>> How did you try to do the module load and unload?
>> I did not try to perform this by modify the involved
>> scrips/configuration. I just manually did:
>>
>> rmmod ivtv (before s2ram)
>> modprobe ivtv (after wake-up).
>>
>> To me it seems that from the TV-Card's PCI-slot the power is removed
>> and the card therefor 'forgets' the loaded firmware. I do not know
>> whether just loading ivtv module also loads the firmware?
>> Maybe the card also needs initialisation to bring it up.
>> What I always observe:
>> after wake-up from s2ram the power consumption of the whole PC is
>> about 5 watts less than before. This only comes back to normal level
>> after reboot.
>>
>> With best regards,
>> Ingo
>>
>>> On my Fedora 7 system
>>> I had (s2disk?) working a while ago (I haven't tested recently). I
>>> did it so I could use the power button on my remote to turn off
>>> mythtv and put the machine into suspend. Here are some of the
>>> notes I have:
>>>
>>>
>>> Fix the pm-suspend config to unload and reload ivtv module:
>>>
>>>
>>> $ su - root
>>> # cp /usr/lib/pm-utils/defaults /etc/pm/config.d/unload_module
>>> # vim /etc/pm/config.d/unload_module
>>> # cat /etc/pm/config.d/unload_modules
>>> # pm-utils suspend/hibernate config file
>>> # system defaults are in /usr/lib/pm-utils/defaults
>>> # hal calls pm-utils to do suspend on Fedora 7
>>>
>>> #HIBERNATE_RESUME_POST_VIDEO="no"
>>>
>>> SUSPEND_MODULES="ivtv cx18 "
>>>
>>> #DISABLE_HIBERNATE="no"
>>> #DISABLE_SUSPEND="no"
>>> # chown root:root /etc/pm/config.d/unload_module
>>> # chmod 755 /etc/pm/config.d/unload_module
>>> # exit
>>>
>>>
>>>
>>> Fix udev rules so mythbackend can work after resume:
>>>
>>> $ su - root
>>> # cd /etc/udev/rules.d
>>> # vim 55-local.rules
>>> # cat 55-local.rules
>>> KERNEL=="video*", GROUP="mythtv"
>>> KERNEL=="radio*", GROUP="mythtv"
>>> KERNEL=="vbi*", GROUP="mythtv"
>>> SUBSYSTEM=="dvb", GROUP="mythtv"
>>> # udevcontrol reload_rules
>>> # exit
>>>
>>>
>>> I did the stuff below as well for the sake of mythtv running as
>>> non-root user, but it didn't matter/or didn't work. This stuff
>>> only probably gets checked on an event that doesn't happen on
>>> resume (hal database updated with *new* ivtv device, pam console
>>> transfer/revert))
>>>
>>>
>>> Add /etc/security/console.perms.d/60-local.perms to give dvb & v4l
>>> access to mythtv group:
>>>
>>> # permission definitions for mythbackend
>>> #<console> 0660 <sound> 0660 root.mythtv
>>> <console> 0660 <v4l> 0660 root.mythtv
>>> <console> 0660 <dvb> 0660 root.mythtv
>>>
>>>
>>>
>>>
>>> On resume have HAL give mythtv permissions to /dev/video again:
>>>
>>> $ su - root
>>> # vim
>>> /usr/share/hal/fdi/policy/20thirdparty/90-grant-v4l-devices-to-myth
>>> tv-group.fdi # cat
>>> /usr/share/hal/fdi/policy/20thirdparty/90-grant-v4l-devices-to-myth
>>> tv-group.fdi <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> <deviceinfo version="0.2">
>>> <device>
>>> <!-- grant access to v4l devices to mythtv group so
>>> mythbackend works --> <match key="info.capabilities"
>>> contains="access_control"> <match key="info.capabilities"
>>> contains="video4linux"> <append key="access_control.grant_group"
>>> type="strlist">mythtv</append> </match>
>>> <match key="info.capabilities" contains="dvb">
>>> <append key="access_control.grant_group"
>>> type="strlist">mythtv</append> </match>
>>> </match>
>>> </device>
>>> </deviceinfo>
>>> # /sbin/service haldaemon restart
>>> # exit
>>>
>>>
>>>
>>> Regards,
>>> Andy
>>>
>>>> lsmod |grep ivtv
>>>> ivtv 152512 0
>>>> i2c_algo_bit 8452 1 ivtv
>>>> cx2341x 14596 1 ivtv
>>>> tveeprom 20624 1 ivtv
>>>> videodev 30720 1 ivtv
>>>> v4l2_common 21888 6
>>>> wm8775,cx25840,tuner,ivtv,cx2341x,videodev v4l1_compat
>>>> 15492 2 ivtv,videodev
>>>> i2c_core 28544 13
>>>> wm8775,cx25840,tuner,tea5767,tda8290,tuner_simple,mt20xx,tea5761,i
>>>> vtv,i2c_algo_bit,tveeprom,nvidia,i2c_nforce2
>>>>
>>>> I am running here Ubuntu-Hardy amd64 with kernel:
>>>>
>>>> cat /proc/version
>>>> Linux version 2.6.24-19-generic (buildd at king) (gcc version 4.2.3
>>>> (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008
>>>>
>>>> If you need any more information, please let me know.
>>>>
>>>> Many thanks and regards,
>>>> Ingo
>
>
--
____________________________________________________________________
In a world without walls and fences we don't need windows and gates.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kern.log
Url: http://ivtvdriver.org/pipermail/ivtv-users/attachments/20080824/fc7a6244/attachment-0001.pl
More information about the ivtv-users
mailing list