Prevent USB (Belkin Mini Bluetooth Adapter) from waking computer
A Belkin Mini Bluetooth Adapter adapter was waking a Windows 7 machine. This stops it:
Control panel > Power options > Edit power plan > Change advanced power settings > Sleep > Allow wake timers > Disable
As long as the USB device is disconnected before you send the machine to sleep. As it is an IPhone that is waking the machine, it is necessary to turn off bluetooth on the phone to sever the connection, it can be turned on again immediately. Then the machine can be put to sleep.
It would be better if the entire bluetooth device would have a setting to prevent it waking the computer, but I could not find one. The only solution here seemed to be to turn off the USB controllers ability to wake the computer, and that seems like overkill as I may one day plug another USB device (mouse, keyboard etc.) into that port which I would want to wake the machine.
25.08.2012 09:24 - Posted by doahh - Comments: 0 - Computing
Debian WPA wireless configuration
Wireless in Linux has always been a pain if you don't have a GUI such as Gnome or KDE. In Debisn 6.03 (Squeeze) add the following to /etc/networking/interfaces:
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid YOUR_SSID_HERE
wpa-proto WPA
wpa-group TKIP
wpa-pairwise TKIP
wpa-key-mgmt WPA-PSK
wpa-psk YOUR_KEY_HERE
replace wlan0 with your wireless interface name, which you can get by typing 'ifconfig -a' into a konsole. You will need root (or sudo) access to get the 'ifconfig -a' command to output anything.
19.11.2011 12:33 - Posted by doahh - Comments: 0 - Computing
Firefox looks awful in Kubuntu
While re-configuring KDE (yet again) after deleting ~/.kde in order to get a new configuration, I found that firefox looked terrible. I eventually found this post that suggested installing lxappearance, and as I was desperate I gave it a go. I clicked on my theme 'QtCurve' in the widget panel and changed the font from sans to sherif, and then clicked Apply. Amazingly, Firefox looked a lot better.
I am not sure why this seemed to work, but I will mention that I also uninstalled qtcurve and then reinstalled it - so maybe that was it.
07.06.2011 04:00 - Posted by doahh - Comments: 0 - Computing
Linux: wake up from sleep from keyboard
Resume From Suspend With Keyboard/Mouse is a post by Bobby Baker that shows how to get a Linux machine to resume from a sleep state by pressing the keyboard. At the end of his post he mentions that some people can't keep the fix after a reboot. I had the problem due to having two USB devices in /proc/acpi/wakeup and echo'ing them both to activate them. When I removed one of the echos, everything worked fine.
10.05.2011 04:46 - Posted by doahh - Comments: 2 - Computing
Amarok preventing hibernate (Kubuntu 10.10) with remote samba share.
My machines hibernate feature was failing due to Amarok's 'Watch folders for changes' option. This is probably caused as the music partition is mounted from a remote share using Gigalo (but the problem also occurs using Samba/CIFS). Disabling it re-enables hibernate again.06.05.2011 01:38 - Posted by doahh - Comments: 0 - Computing
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure and Database connection failed. Error received from database was #2013: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
For me, deny-hosts caused this error by adding ALL: 127.0.0.1 to the /etc/hosts.deny file.04.03.2011 04:41 - Posted by doahh - Comments: 0 - Computing
| « May 2013 | ||||||
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | ||
| Today | ||||||
Search:
Categories:
- All
- General
- Java
- Computing
- Economics & politics
Feeds:
Rate this blog