Add to /etc/modprobe.d/alsa-base the following line
options snd-hda-intel model=lenovo-ms7195-dig
From:
http://ubuntuforums.org/showthread.php?t=995940
Alternatives found in:
http://ubuntuforums.org/showthread.php?t=798945
Wednesday, 17 June 2009
Getting started with hi-tide under ubuntu 8.04
Check the following pages:
- http://www.ece101.com/2008/07/getting-started-with-hi-tech-c-i/
- http://www.ece101.com/2008/07/getting-started-with-hi-tech-c-ii/
- http://www.ece101.com/2008/07/getting-started-with-hi-tech-c-iii/
- http://www.ece101.com/2008/08/using-the-pickit-2/
- http://www.ece101.com/2008/08/configuration-words-for-the-pic16f690/
Get free Ubuntu stickers
Show your Ubuntu pride !!
FREE strip of four 'powered by Ubuntu' stickers
Send a self addressed stamped envelope to:
United Kingdom
The Linux Emporium
Bridge House
17a Maybrook Road
Sutton Coldfield
Birmingham
B76 1AL UK
FREE strip of four 'powered by Ubuntu' stickers
Send a self addressed stamped envelope to:
United Kingdom
The Linux Emporium
Bridge House
17a Maybrook Road
Sutton Coldfield
Birmingham
B76 1AL UK
pickit2 setup with pk2cmd under ubuntu 8.04
1. Download pk2cmd and unzip the files in a suitable directory (If link is broken search for the main web page of the pickit2 in the microchip website)
2. Read the readme file. Basically:
$ sudo cp pk2cmd /usr/local/bin
$ sudo chmod 755 /usr/local/bin/pk2cmd
$ sudo mkdir /usr/share/pk2
$ sudo cp PK2DeviceFile.dat /usr/share/pk2
$ sudo chmod 755 /usr/share/pk2/PK2DeviceFile.dat
Add to your .bashrc the two directories. usr/local/bin:usr/share/pk2 and source if necessary
Follow the these instructions
Sort story:
For distributions using "udev" (Debian Sid, Ubuntu 6,7,8,...)
The following procedure may be used to be able to connect to the ICD2/Pickit programmers
as a regular user on distributions using udev [thanks to David Williams]:
3. Reboot
4. Test by
$ sudo pk2cmd -P
If root is fine then
$ pk2cmd -P
5. The following websites are also useful:
http://mcuee.blogspot.com/2008/04/pk2cmd-linux-port-under-ubuntu.html
http://home.pacbell.net/theposts/picmicro/
2. Read the readme file. Basically:
$ sudo cp pk2cmd /usr/local/bin
$ sudo chmod 755 /usr/local/bin/pk2cmd
$ sudo mkdir /usr/share/pk2
$ sudo cp PK2DeviceFile.dat /usr/share/pk2
$ sudo chmod 755 /usr/share/pk2/PK2DeviceFile.dat
Add to your .bashrc the two directories. usr/local/bin:usr/share/pk2 and source if necessary
Follow the these instructions
Sort story:
For distributions using "udev" (Debian Sid, Ubuntu 6,7,8,...)
The following procedure may be used to be able to connect to the ICD2/Pickit programmers
as a regular user on distributions using udev [thanks to David Williams]:
- Create file /etc/udev/rules.d/026_microchip.rules:
#PICKit
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0032", MODE="0660", GROUP="microchip"
#PICKit2
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="0033", MODE="0660", GROUP="microchip"
#ICD2
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8000", MODE="0660", GROUP="microchip"
#ICD21
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8001", MODE="0660", GROUP="microchip"
- Create a group named "microchip" and add your username to this group:
sudo addgroup microchip
(Note: for Arch Linux, it is "groupadd".)
sudo gpasswd -a your_user_name microchip
4. Test by
$ sudo pk2cmd -P
If root is fine then
$ pk2cmd -P
5. The following websites are also useful:
http://mcuee.blogspot.com/2008/04/pk2cmd-linux-port-under-ubuntu.html
http://home.pacbell.net/theposts/picmicro/
emacs (< 22) & python
Download python-mode.el from http://sourceforge.net/projects/python-mode/
Add the following to the .emacs file:
Add the following to the .emacs file:
(autoload 'python-mode "$PATH-TO-EMACS-SCRIPTS/python-mode" "Python Mode." t)
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
limit download/upload speed using trickle
trickle -s -u 10 -d 30 btdownloadheadless --minport 9211 --maxport 9214 --random_port 0 "filename"
Subscribe to:
Posts (Atom)