Custom Search

Monthly Archives: November 2010

Ubuntu 10.04, 10.10, 11.04 The bane of my existence!!

6
Filed under Linux, OS, programing, software
Tagged as , , , , , , , ,

I have been an avid fan of ubuntu and I still am, but for newer hardware only. Recently I had to upgrade to 9.10 and then to 10.x. let start with my first issue in 9.10  and we will go from there. In 9.10 my sound and video would not play. this was caused by pulse audio and also not working together or something like that, personally i could not find the exact issue or cause, which made this issue very hard to fix…. but a fix was found….i will go over that in a min or two lol.

Next issue was the keyboard and mouse locking up on ubuntu 10.04 and higher, this is a big pain, because once they lock up, both the PS2 keyboard and mouse freeze, and so do the usb keyboard and mouse. This makes is very hard to find a fix since i may have 2 secs of the mouse moving or i might get 5 mins, either way it locks and i have to reboot, and thats not a guaranteed fix.

So lets start on how i fixed the 9.10, 10.04, 10.11 with an audio issue. The symptoms are choppy music play and then it cuts out, log file filled with “karmic pulseaudio [1653]: ratelimit.c: 2 events supressed” also video usually stops or wont play as well…… to Help most of you out, i have tried everything from recompiling the kernel, to installing from source, compiling pulse from source, changing alsa drivers, changing the scheduling, using every google fix there is……not even launchpad couldnt give me any info. There are bugs listed but no real fixes or workarounds…until now lol.  if you have applications that use pulseaudio ( im not sure what depends on it) this may not be a good workaround.

Fix:

Unistall Pulse Audio!!! (Thanks Kevix from the 43oh IRC room/forums!!) He stated that most programs still use alsa and dont need pulseaudio.

as soon as i did that, my sound worked as well as my video, even the system alerts could be heard!!

this worked for me, on my audiology and on board sound card…..I do not know the extent of pulse integration with ubuntu desktop so try at your own risk and feel free to let me know how it worked out for you. :)

on to my next issue Ubuntu 10.4-11.04 Keyboard and mouse do not work/ freeze after a few min.

This issue has been going on since i had tried 10.04 a little after the initial release, I haven’t tried nearly as much as i had worked on the other issue, but this one is inherently very hard to pinpoint for me. no log messages or errors, even on verbose…….tried combination of ps2 and usb with no luck at all.  I even tried reinstalling Dbus and Hal with no luck ….. and this is where i am stuck.

My choices are continue on working on the issue and be down a PC (this is my main PC used for everything) or find a distro that works with my older PC, both require a decent amount of work to get it all going, including all the programs i have compiled from source.

So any ideas ? any thoughts? another distro i could try? im willing to try almost anything to get my PC up and running so i can watch youtube on my tv!!

PC specs

P4 2 x cores with asus motherboard

ATI 9600/128mb

ram 1.2Gb

nothing too special lol

Leave some comments :)

-justin

Your Comments are welcome!!

0
Filed under Uncategorized

I wanted to get some opinions on my site, I want to know what I can change or  improve.

I know my writing isn’t always the best but I try. If you have any suggestions to improve my writing, or technical abilities or you just don’t like me. please speak up!!  ……Trolls welcome! lol

The 3rd annual Midwestern Experimental Electronics Conference and Showcase

2
Filed under electronics, Hardware

Some pics from the conference 1pm-4ish pm

http://www.rubbermonkey.org/meecas/index.php

descriptions and links to come

Marsynth

http://www.youtube.com/user/marsynth

http://www.flickr.com/photos/marsynth/

RothMobot well known name in chicago circuit bending

http://www.rothmobot.com/

more samples from TI :)

3
Filed under electronics, General, Hardware, MSP430

MSP430F2013 – 16-bit Ultra-Low-Power Microcontroller, 2kB Flash, 128B RAM, 16-Bit Sigma-Delta A/D, USI for SPI/I2C
MSP430F2013IN 2 of 2 part(s) Shipped 11 Nov 2010

MSP430F2011 – 16-bit Ultra-Low-Power Microcontroller, 2kB Flash, 128B RAM, Comparator
MSP430F2011IN 2 of 2 part(s) Shipped 11 Nov 2010

MSP430F2012 – 16-bit Ultra-Low-Power Microcontroller, 2kB Flash, 128B RAM, 10-Bit SAR A/D, USI for SPI/I2C
MSP430F2012IN 2 of 2 part(s) Shipped 11 Nov 2010

MSP430G2221 – MSP430G2x21, MSP430G2x31 Mixed Signal Microcontroller
MSP430G2221IN14 2 of 2 part(s) Shipped 11 Nov 2010

MSP430G2231 – MSP430G2x21, MSP430G2x31 Mixed Signal Microcontroller
MSP430G2231IN14 2 of 2 part(s) Shipped 11 Nov 2010

TTL/MOS timer experiments

0
Filed under electronics, General, Hardware
Tagged as , ,

I have this dual 556 timer that i have wanted to use, just because it can take 15V and work with out an issue and as low as 3V. (thanks TI) So i was thinking that this had some potential to be used for RF or a fixed PWM signal. (personally i would like to pick up a few digital POTs and a digital cap to to create a DCO of some sort)
So far i have played with it and found some interesting things out.

TLC556 Dual Cmos Timer Data Sheet

My first goal was to get a 50% duty cycle from the chip, this was pretty easy just choosing the correct values for Ra and Rb, but you will have to do some math and you should use the equation out of the data sheet for your chip. My equati0n Period = tH + tL ~= CT (RA + 2RB) In 2, but if you need values closer to what is measured, you will have to break out the TI 8x and plug in tH = Ct (Ra + Rb) ln [ 3 - exp(-t PHL / Ct (Rb + Ron) ) ] + t PHL and Tl = Ct (Rb + Ron) ln [ 3 - exp(- t PHL/ CT(Ra + Rb)) ] + tPLH.  I know these equations look difficult but as long as you plug in your values you will get close to what you measure on your oscilloscope. but i did this the fun way, use the first equation to get close to what you need then tweak the rest of the values until you get something close to what you want.

The values that i chose first were the Ra and Rb, I chose Ra =  220 ohms and Rb =  100 ohms and Ct = .0047 uF.  Rl and Cl i did not choose a value nor did i hook up those components, i will have to look into the reason they are there, but i’m sure they are there for good reason. This first Test was just to make sure i can get a good square wave and be able to shape it.

the new values that i used are – will update later, but frequency is near 1 Mhz

My second goal was to try and make a sine wave or shape the square wave to be better for RF transmission. I added a Pi Network to the out put to shape the wave and below is what i got for half of the pi network, i will have better pics of the final wave form once my circuit is a little more complete.

another pic

and another

If all goes well and i can create a pretty stable transmitter i will be hooking up a small modem chip to the circuit and create a cheap digital modem . Another thing that would be nice would be a pair or transmitters and receivers so i can send and receive at the same time.

update-

R1 100 ohms

R2 220 ohms

C1 .0047uF