with ubuntu 10.10 64bits : for the webcam create the file /etc/profile.local then add this line export LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
with ubuntu 10.04 : to flip the webcam correctly, append the following line to /etc/environment : LIBV4LCONTROL_FLAGS=3
To enable Suspend to Disk and Suspend to RAM, you'll have to do the following steps (tested with Kubuntu 10.10 and Ubuntu 11.04):
1. Install uswsusp
2. Open /etc/uswsusp.conf. If it contains the line “shutdown method = platform”, change it to “shutdown method = shutdown”
3. Create a file with the following content, save it as /etc/pm/config.d/unload-modules and make it executable (pay attention to the quotation marks when you copy this code!):
SUSPEND_MODULES=“$SUSPEND_MODULES usb_storage mac80211 cfg80211 btusb bluetooth ahci libahci sdhci_pci sdhci led_class ath9k ath9k_common ath rfcomm sco bnep l2cap asus_laptop”
4. Create a file with the following content, save it as /etc/pm/sleep.d/10_unbindusb and make it executable (pay attention to the quotation marks when you copy this code!):
#!/bin/bash
function unbind_usb { for driver in ehci ohci uhci; do cd ”/sys/bus/pci/drivers/${driver}_hcd”; ids=$(ls | grep :); echo $ids > /tmp/DISABLED_$driver; for id in $ids; do echo “Unbinding $id”; echo -n “$id” > unbind; disabled=“$disabled $id”; done; done; }
function bind_usb { for driver in ehci ohci uhci; do cd ”/sys/bus/pci/drivers/${driver}_hcd”; for id in $(cat /tmp/DISABLED_$driver); do echo “Binding $id”; echo -n “$id” > bind; done; rm /tmp/DISABLED_$driver; done; }
case “$1” in hibernate|suspend) unbind_usb; ;; thaw|resume) bind_usb; # Uncomment the following two lines if USB devices stutter after resume # unbind_usb; # bind_usb; ;; *) exit 1; ;; esac; exit 0;
Kubuntu 10.10 works perfectly out of the box on P52F-SO121X except: - Suspend doesn't actually shut down the laptop after saving to disk or RAM (see above for solution) - Webcam picture is upside down (see above for solutions) - Headphone jack doesn't work
Ubuntu 12.04 works perfectly out of the box on P52F-SO041 except for suspend. The above solution works perfectly (REMEMBER TO REPLACE “ AND ” WITH NORMAL INVERTED COMMAS when copying the content of the files!).
Both webcam (except for Skype, see here) and headphone work out of the box.
ad, Wednesday 08 of February, 2012 [09:45:19]
Touchpad aint working with ubuntu 11
Alessandro, Saturday 25 of June, 2011 [13:09:18]
Ubuntu 11.04 works perfectly out of the box on P52F-SO041 except for suspend. The above solution works perfectly (remember to replace “ and ” with ”).
Both webcam and headphone works out of the box.
Search
Sister Sites Lination - Blogging site for Linux users LinWik - Linux guides in wiki format
Discussion
Ubuntu 12.04 works perfectly out of the box on P52F-SO041 except for suspend. The above solution works perfectly (REMEMBER TO REPLACE “ AND ” WITH NORMAL INVERTED COMMAS when copying the content of the files!).
Both webcam (except for Skype, see here) and headphone work out of the box.
Touchpad aint working with ubuntu 11
Ubuntu 11.04 works perfectly out of the box on P52F-SO041 except for suspend. The above solution works perfectly (remember to replace “ and ” with ”).
Both webcam and headphone works out of the box.