[pvrusb2] suspend and pvrusb2.
Mike Isely
isely at isely.net
Sun Jun 11 18:34:48 CDT 2006
I haven't done anything in the pvrusb2 driver to help or hinder the
operation of suspend. If you have it working, then that's great :-)
-Mike
On Mon, 12 Jun 2006, Helmut Toplitzer wrote:
> On Sunday 11 June 2006 21:35, xavier.gnata at free.fr wrote:
>> I'm using a 2.6.19.20 kernel with the suspend feeature enable.
>> I don't use the suspend2 patch but the suspend code of vanilla kenel.
>>
>> Typing hibernate to suspend to disk with xawtv/pvrusb2 running, I get a
>> warning during suspend time.
>> Something like "pvrusb2 : no suspend capablity?" (sorry but the exact
>> message is not logged..)
>>
>> At resume time, my computer is fully frozzen :(
>>
>
> I'm using suspend from vanilla too. Works great. Only thing you've got to
> do is to unload the lirc and so on .... before suspend.
> (Doesn't work while playing. You might already experienced this ;-)
>
> Under Debian you can get this by adopting the following file:
>
> /etc/acpi/powerbtn.sh:
> ----------------
> #!/bin/sh
> # /etc/acpi/powerbtn.sh
> # Initiates a shutdown when the power putton has been
> # pressed.
>
> PIDFILE=/var/run/suspend
>
> /usr/bin/test -f "$PIDFILE" && exit 1
> /usr/bin/touch "$PIDFILE"
>
> /etc/init.d/lirc stop
> /sbin/rmmod lirc_i2c lirc_dev pvrusb2
>
> ...
>
>
> /bin/sleep 4
>
> echo platform > /sys/power/disk; echo disk > /sys/power/state
>
> ...
>
>
> /bin/sleep 10
> /sbin/modprobe lirc_i2c
> /sbin/modprobe pvrusb2
> /etc/init.d/lirc start
>
>
> /bin/rm "$PIDFILE"
> ---------------
>
> Hope that helps.
>
>
> Cheers.
> Helmut
>
>
--
| Mike Isely | PGP fingerprint
Spammers Die!! | | 03 54 43 4D 75 E5 CC 92
| isely @ pobox (dot) com | 71 16 01 E2 B5 F5 C1 E8
| |
More information about the pvrusb2
mailing list