[mythtv-users] IVTV and hibernate
Ma Begaj
derliebegott at gmail.com
Sun Jul 22 16:45:02 UTC 2007
I am removing ivtv and all depending modules I have before suspend to
memory (Slackware), but it is similar to hibernate (suspend to disk).
I am using my own script, but s2disk should have some similar
"features":
-------------------------------------
## stop lirc
/etc/rc.d/rc.lircd stop ## this script does this: killall lircd &&
rmmod lirc_dev lirc_i2c
## stop ivtv
/sbin/rmmod cx8800 cx88xx ir_common video_buf btcx_risc wm8775 cx25840
tuner ivtv cx2341x tveeprom >/dev/null 2>&1
/sbin/rmmod cx8800 cx88xx ir_common video_buf btcx_risc wm8775 cx25840
tuner ivtv cx2341x tveeprom >/dev/null 2>&1
## write the wake up time in BIOS alarm
/etc/rc.d/wakeuptime --set
## sync the disks
sync
## standby mode: S3 -- You need to replace "mem" with "disk"
echo mem >/sys/power/state
sleep 2
modprobe ivtv
modprobe tuner ## if ivtv forget to load it
/etrc/rc./rc.lircd start
---------------------------------------------------
M.
2007/7/22, Steve Smith <st3v3.sm1th at gmail.com>:
>
> Hi,
>
> I'm having a bit of a problem with "hibernate". Basically ivtv won't come
> back from hibernate.
>
> It produces all sorts of "Could not get the result of" errors:
>
> Jul 22 12:20:31 eddie kernel: [ 487.343775] ivtv0 warning: Could not get
> result (CX2341X_ENC_SET_VBI_LINE)
> Jul 22 12:20:32 eddie kernel: [ 488.350956] ivtv0 warning: Could not get
> result (CX2341X_ENC_SET_VBI_LINE)
> Jul 22 12:20:33 eddie kernel: [ 489.358405] ivtv0 warning: Could not get
> result (CX2341X_ENC_SET_VBI_LINE)
> Jul 22 12:20:34 eddie kernel: [ 490.365806] ivtv0 warning: Could not get
> result (CX2341X_ENC_SET_VBI_LINE)
> Jul 22 12:20:34 eddie kernel: [ 490.469926] ivtv0 warning: Could not get
> result (CX2341X_ENC_SET_PGM_INDEX_INFO)
> Jul 22 12:20:35 eddie kernel: [ 491.269255] ivtv0 warning: No free mailbox
> found (CX2341X_ENC_SET_STREAM_TYPE)
> Jul 22 12:20:35 eddie kernel: [ 491.269271] ivtv0 warning: Clearing
> mailbox 0: cmd 0xffbb63fd flags 0x00000000
> Jul 22 12:20:35 eddie kernel: [ 491.269281] ivtv0 warning: Clearing
> mailbox 1: cmd 0x0000008f flags 0x00000003
> Jul 22 12:20:35 eddie kernel: [ 491.269291] ivtv0 warning: Clearing
> mailbox 2: cmd 0x00000091 flags 0x00000003
> Jul 22 12:20:35 eddie kernel: [ 492.068793] ivtv0 warning: No free mailbox
> found (CX2341X_ENC_SET_GOP_PROPERTIES)
> Jul 22 12:20:35 eddie kernel: [ 492.068808] ivtv0 warning: Clearing
> mailbox 0: cmd 0xffbb63fd flags 0x00000000
> @
>
> The details:
>
> Using Ubuntu Feisty: Kernel = 2.6.20-16-generic
> [ 46.560997] ivtv: ==================== START INIT IVTV
> ====================
> [ 46.561053] ivtv: version 0.10.1 (tagged release) loading
> [ 46.561097] ivtv: Linux version: 2.6.20-16-generic SMP mod_unload 586
> [ 46.561143] ivtv: In case of problems please include the debug info
> between
> [ 46.561189] ivtv: the START INIT IVTV and END INIT IVTV lines, along
> with
> [ 46.561245] ivtv: any module options, when mailing the ivtv-users
> mailinglis
> t.
> [ 46.561542] ivtv0: Autodetected Hauppauge card (cx23416 based)
> [ 46.561839] ivtv0: Unreasonably low latency timer, setting to 64 (was
> 32)
> [ 49.142017] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> [ 49.444010] ivtv0: Encoder revision: 0x02050032
> [ 49.444071] ivtv0: Recommended firmware version is 0x02060039.
> [ 49.521161] ivtv0: Autodetected Hauppauge WinTV PVR-150
> [ 49.521215] ivtv0: reopen i2c bus for IR-blaster support
> [ 49.566681] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> [ 49.596808] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> [ 49.787312] cx25840 0-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
> [ 53.225017] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> [ 53.269986] ivtv0: Registered device video0 for encoder MPEG (4 MB)
> [ 53.270775] ivtv0: Registered device video32 for encoder YUV (2 MB)
> [ 53.271546] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
> [ 53.272017] ivtv0: Registered device video24 for encoder PCM audio (1
> MB)
> [ 53.600473] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
> [ 53.600729] ivtv: ==================== END INIT IVTV
> ====================
>
>
> I'm suspending with "s2disk".
>
> Is there anyway to remove IVTV before the hibernate?
> Is there any way to restart IVTV after the hibernate?
>
> Cheers
>
> Steve
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
--
Glauben heißt nicht wissen wollen, was wahr ist ... Nietzsche
More information about the mythtv-users
mailing list