I bought an iPad 3 in April and started to sync it with my Windows 7 machine. It work well until November when I replaced my boot HD with an SSD disk. Suddenly I could not sync my iPad with my computer.
I searched on the web and found some articles describing the problem that I had. Here is one thread at the forum on Apple that describes my problem 2011 and it is still not solved. There is a service called AppleMobileDeviceService.exe that takes 100% CPU on one core. When a new iTunes were released last week I hoped this was solved. It was not.
This blog serves as a dumping ground for my own interests. On it you will find anything which I want to keep track of; links, articles, tips and tricks. Mostly it focuses on Android development, Linux home server stuff, Windows tips, iPad tips.
2012-12-07
2012-11-24
Install Tellstick on Fedora
Tellstick is a USB device that makes it possible for you to control different electrical devices in your house. It is very useful when you would like to control lamps wireless.
I did this to install Tellstick on my Fedora server:
UDEV configuration
Create the file /etc/udev/rules.d/99-tellstick.ruleswith the following content:
Install telldus software
Download source code by reading installation instructions. Patch it via the information found here.
Build and install the software according to instructions.
Create the file /etc/ld.so.conf.d/tellduscore.conf with the following content:
Install tellstickController
TellstickController is a simple and, in my opinion, useful tool which you can use to program your lamps relative sunrise and sunset.
Download src-rpm for perl-datetime-event-sunrise from RepoForge. Create an RPM for your Fedora version by reading instructions and install the RPM.
Download and install tellstickController by reading instructions.
Start tellstickd
To start the daemon, add the following rows in /etc/rc.d/rc.local:
I did this to install Tellstick on my Fedora server:
UDEV configuration
Create the file /etc/udev/rules.d/99-tellstick.ruleswith the following content:
"niklas" in the GROUP part shall of course be changed to something useful in your case. Specify a group where the user, who will use the tellstick, are included.
KERNEL=="ttyUSB*", BUS=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c30", NAME="tellstick", GROUP="niklas"
Install telldus software
Download source code by reading installation instructions. Patch it via the information found here.
Build and install the software according to instructions.
Create the file /etc/ld.so.conf.d/tellduscore.conf with the following content:
/usr/local/libIf the lib is installed somewhere else you have to change the row above.
Install tellstickController
TellstickController is a simple and, in my opinion, useful tool which you can use to program your lamps relative sunrise and sunset.
Download src-rpm for perl-datetime-event-sunrise from RepoForge. Create an RPM for your Fedora version by reading instructions and install the RPM.
Download and install tellstickController by reading instructions.
Start tellstickd
To start the daemon, add the following rows in /etc/rc.d/rc.local:
I found good info around adding things in rc.local here.
#!/bin/sh
# Start telldusd
telldusd
sleep 3
/home/niklas/SW/tellstick/tellstickControllerTdtool -d
Install OWFS on Fedora
I want to log the outdoor temperature in a database. When I heard about 1wire I thought this would be interesting to test.
On temperatur.nu I found the guide OWFS Howto very useful. There is one thing to update for me:
On temperatur.nu I found the guide OWFS Howto very useful. There is one thing to update for me:
- I had to start it with the following line:
/opt/owfs/bin/owfs --allow_other --passive=/dev/ttyS0 /mnt/1wire
#!/bin/bash
#
# OWFS
#
# Author: Niklas Lanzen
# chkconfig: 1000 50 50
# description: 1 wire
#
RETVAL=0;
prog="OWFS (One Wire File System)"
exec="/opt/owfs/bin/owfs --allow_other --passive=/dev/ttyS0 /mnt/1wire"
#lockfile=""
# Source function library.
. /etc/init.d/functions
start() {
echo -n $"Starting $prog: "
$exec
RETVAL=$?
[ $RETVAL -eq 0 ] && success || failure
echo
}
stop() {
[ $UID -eq 0 ] || exit 4
echo -n $"Stopping $prog: "
success
echo
}
restart() {
stop
sleep 1
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart}"
RETVAL=2
[ "$1" = 'usage' ] && RETVAL=0
esac
Install Logitech Media Server on Fedora
Found a great site helping you installing and configuring your Logitech Media Server. Look at http://wiki.slimdevices.com.
Installing server
Add the repository squeezecenter and install the software by looking at this page.
File permissions
Look at this page to get a hint about how to set the file permissions.
Firewall settings
You have to open the following ports to make the server work:
Browse http://your_server:9000 for configuration.
There is a lot of useful information on the http://wiki.slimdevices.com.
Installing server
Add the repository squeezecenter and install the software by looking at this page.
File permissions
Look at this page to get a hint about how to set the file permissions.
Firewall settings
You have to open the following ports to make the server work:
- 9000 tcp
- 3483 tcp
- 3483 udp
Browse http://your_server:9000 for configuration.
There is a lot of useful information on the http://wiki.slimdevices.com.
Subscribe to:
Posts (Atom)