Category Archives: Computers

Dell Optiplex 760 Internal Speaker and Ubuntu 10.04 LTS (Lucid Lynx)

Due to overwhelming demand (OK, one person), I’ve decided to post something.

I’ve been using a version of Linux as my main desktop OS for maybe five or ten years now. Although Linux, speaking generically about the various distributions, has made progress on many fronts, it can still be a pain when it comes to peripherals (e.g., audio, video, cameras, iphones, scanners, etc.).

Today, I am (again, long story) creating a tutorial on getting the internal speaker working on my Dell OptiPlex 760. I need to create this so I can remind myself what I’ve already learned a couple of times now.

I’m using Ubuntu 10.04 LTS, also known as Lucid Lynx. These instructions probably won’t work if you are using another version of Ubuntu (Editorial comment: because of how they, seemingly, randomly change applications and configurations).

In any case, the Dell PC has an internal speaker that no version of Ubuntu I’ve tried defaults to using. I can plug in external speakers or a headphones and hear the sound fine. But the internal speaker is not enabled, and as far as I can see, unless you add some software or find the right configuration file/command line instructions, you can’t enable it.

So, this tutorial is to remind myself how to do so. Before I go farther, please insert the standard disclaimer here. This entire site is provided “as is”, without any warranty whatsoever. Following these instructions may cause high fever, dandruff, and/or the complete loss of all data on your device – not to mention Thermal Nuclear War.

1. System –> Administration –> Synaptic Package Manager
2. Type in your password then use the “Quick search” box to find gnome-alsamixer.
3. Mark it for installation and Apply the change.
4. Applications –> Sound & Video –> GNOME ALSA mixer
5. Check if “Beep”, “IEC958″, or “Mono” are “Muted” (i.e., the little box at the bottom of the columns for each of the categories is checked). If any are muted, unmute each one and test your sound. How you test your sound is a task left to you, dear reader. If all else fails, unmute all sources on the mixer. If that fails, check the Master level to ensure it’s not set to zero (i.e., at the bottom of its slider). Done. At least, it works for me.

Ubuntu 9.04 Dell Optiplex 760 Internal Speaker

Insert disclaimer here. Even if you follow these instructions exactly, it may not work for you. In fact, it may make things worse. If you proceed, you do so at your own risk. I don’t have the time to try to make it work for you so you are on your own. YMMV.

We just got some Dell Optiplex 760 PCs. They came with XP Pro but I also wanted to install Ubuntu 9.04. After installing Ubuntu most things worked, with the notable exception of the PC’s internal speaker.

If I plugged in a headphone, I could hear sounds being correctly played. But nothing was coming out of the PC’s internal speaker.

Step 1. is to open the Gnome volume control by starting the Gnome “Run Application” dialogue box via Alt+F2 (that is, hold the Alt key while also pressing and holding the F2 function key).

Gnome Run Application

Gnome Run Application

Step 2. This should open the dialogue box (shown above) into which you type:

gnome-volume-control

And then click the “Run” button on the dialouge box (see image below).

Dialogue box filled in.

Dialogue box filled in.

Step 3.If you see a slider marked “Beep” (if you don’t, skip down below) make sure there isn’t a red line through a circle below the slider or that the slider isn’t at the bottom most position. If you see the red line and circle, click on it and that should un-mute that device. You may still need to move the sliders if they are at or near the bottom (I used my mouse to move the sliders to the top most position). Done.

Volume Control

Beep control showing muted, and at minimum.

Step 4.If you don’t see a slider marked “Beep”, you need to click on the “Preference” button and then scroll through the devices until to see “Beep” and check mark that device.

Volume Control Preferences

Volume Control Preferences

Step 5. You should now see a new slider marked “Beep” and you can see if it is muted (slash through red circle) and or the sliders are at the lowest setting. If either or both is true, do as above and click on the circle to un-mute the device and move the sliders to the topmost position.

Volume Control

Beep control showing muted, and at minimum.

After un-muting and moving the sliders to maximum, it should look like this image below:

Beep un-muted and sliders at maximum.

Beep un-muted and sliders at maximum.

If the above does not get your internal speaker working, you could try the Ubuntu troubleshooting guide located here:

https://help.ubuntu.com/community/SoundTroubleshooting?action=show&redirect=DebuggingSoundProblems

iTunes Plus Fail

Well, that was interesting. I have an iPhone. In order to use some of its features, I have to go through iTunes.

One of these features is the iPod part of the iPhone. I like to listen to music that I enjoy and I like all kinds of music. Since most radio stations play only a very narrow range of music, having my personal selection with me in my iPhone works well for me.

Recently, Apple announced a program to upgrade its DRM low-fi tracks to no-DRM higher fidelity versions for the low, low price of 30 cents per track. Not only would I be getting better sounding music but they would no longer be locked into an Apple silo. So, this past weekend I agreed to pay Apple about $50 to upgrade the tracks that were available.

Unfortunately, for some reason two problems occurred. First, although I paid for a certain number of songs, when it came time to download, not all songs came through. That is, I paid for songs that were not upgraded.

Secondly, once I synced iTunes with my iPhone, ALL the music on the iPhone was converted to “Other” and became unplayable. Let me repeat that last part. All the music, whether purchased from Apple or ripped from my own CDs, were no longer considered to be music by my iPhone and was therefore unplayable.

Even though I tried to re-sync, iTunes refused to do so because it said there was insufficient room on my iPhone. Although this was true, it was true only because iTunes had converted all my music into whatever “Other” is.

Now, what I’m going to describe to solve this problem worked for me. However, that does not mean and I do not recommend you follow. In fact, if you run into the same problem, I recommend you contact Apple support. YMMV. Insert disclaimer here.

What I did was to use iTunes to restore my iPhone. Part of the process is that iTunes resets your iPhone back to its factory defaults. Hence, when it asked if I wanted to pack-up my iPhone I clicked yes. Once it began, it took some time while iTunes did whatever it did but when done, all the former songs identified as “Other” were gone. Hence, I was now able to re-sync my music, all of which successfully transferred from iTunes to the iPhone! In addition, all contacts and calendar events came in OK.

Now, as to the first problem, I’ll have to follow-up with Apple on that. In Googling on this problem, I found that I wasn’t the only one so you need to be careful that if Apple charges you for 50 songs, that you actually find 50 songs downloaded when you are done.

Aloha!

Free at Last, Almost

This past weekend, I deleted the last Windows desktop partition at home. Now I have desktops running only Linux (Ubuntu desktop, Ubuntu server, and Mint, respectively), but no Windows. On the other hand, both laptops still have Windows (one has XP and the other has Vista). I have to keep Windows on the laptops because of problems with Linux drivers (either non-existent, alpha-level, or just don’t work). Some day, I hope to be Windows free, but that may not be for awhile.

In deleting the partitions on the last Windows desktop, I had an interesting experience. Prior to removing Windows, I was dual booting Xandros and Windows. But in addition to Xandros, I had at one time tried installing an earlier version of Ubuntu. Unfortunately, the install failed and no matter what I tried, within reason since I did not want to loose my Windows partition, I could not delete Ubuntu. But at this point, since I would be reformatting the drive anyway, I decided to experiment and see what I could do. To make a long story short, after using PartionMagic I ended-up with a non-bootable disk. Sigh. Fortunately, I had Mint on a disk and was able to boot using the disk and then access the Windows partition and copy off my data. I then nuked the disk and started with a fresh install. Oh well, that was interesting. Not.

Aloha!

Twitter Topples Due to Over Capacity?

I’ve been using Twitter for only a few days and have already found that things are not all light and joy in Twitterland.

Before I say more, I should note we are evaluating Twitter as one of many ways of getting employee notifications out during an emergency. The idea came from an article in Government Technology.

This morning, however, I got the display below saying that “Twitter is over capacity. Too many tweets! Please wait a moment and try again.” The problem is the longer I waited the slower the system became until as of earlier this morning (HST), it simply doesn’t respond, at all.

Although Twitter wouldn’t be the only way we would be getting our messages out, this lack of capacity is a concern and something we will need to monitor.

Aloha!

Twitter over capacity error page.

Twitter over capacity error page.

Afternoon Update from Twitter

Site outage 4 hours ago

We’re experiencing a site outage and are working to recover.

Update (1:32p): And we’re back – this was a DNS configuration error that impacted the entire site.

We apologize for the unscheduled downtime. We’ve not had an outage of this length since mid-July and will be carefully reviewing what went wrong.

Alert 1! Alert 1! Action Message Follows

This article from PCWorld reports that the WPA encryption standard used by advanced WiFi users has been cracked. In fact, not only has it been cracked but it can be done in no more than 12 to 15 minutes. If true, and the article says at least some of the hack is already in the wild, you should immediately switch to WPA2.

Some older routers (and PCs) can be updated to run WPA2 but if yours can’t, I would recommend buying one that can. YMMV. Insert disclaimer here.

Aloha!

Ubuntu 8.04 LTS to 8.10 Problem

Usually, when a major update to an operating system occurs, I backup my data, reformat the partition, and install the operating system on a clean disk. Yesterday, I lost my mind and did an in place update of Ubuntu 8.04 LTS to version 8.1

Although this may not meet the true definition of a major update, this resulted in at least one problem. The login screen is now set for 640X480. I don’t know how to change that so I’ve left it as is. Indeed, the desktop was also reset to 640X480, but I was able to change that via System/Preferences/Screen Resolution. While there, I decided to check if the dual headed ATI 7000/VE video card in my Dell OptiPlex GX260 is now supported. It is, somewhat. I can now enable the second Dell E171FP monitor that I’ve been using under Windows and create a desktop that spans the two monitors (each of which is set at 1280 width, for a total of 2,560 pixels wide. Yowsah!).

Still not working are desktop effects. Sigh. I guess some of the ATI video card is supported but not all of it. Oh well, baby steps.

Otherwise, everything else that I’ve tried seems to be working so maybe I didn’t entirely loose my mind :)

Aloha!

Rain Clouds

Much has been made about “cloud” computing. I mean, as if this is something new (like Web 2.0). Cloud computing is not dissimilar from the old days of time sharing, big iron, and dumb terminals. And as this guy found out, having all your business in the clouds can sometimes lead to rain.

That said, I realize this webpage is cloud based, which is why I am working to bring things back under my control. It may take awhile more before I get that done, but Real Soon Now.

Aloha!

New Apple Store in Waikiki Opens September 27th

Well, the Apple store in Waikiki has been hiring for some time but the official opening has now been set for September 27th at 10:00 am. As usual, the first 1,000 people will get special Apple t-shirts. If similar to past openings, the t-shirts will have the name of the store on them and quickly become collector’s items.

Unfortunately, I won’t be able to make the opening but I’m sure local guys like Ryan Ozawa will be there!

Aloha!

Xerox 4110 Printer Driver Under Ubuntu 8.04 LTS

Insert disclaimer here. YMMV. These instructions are provided “as is” without any warranty whatsoever. Proceed at your own risk. You have been warned.

Configuring devices in Linux is, many times, not as easy as it is in Windows because device manufacturers tend to create the drivers Windows needs, but do not do so for other operating systems.

I came across this, in kind of a reverse sort of way, when I recently replaced the hard drive in my PC at work because it was running out of space. Rather than try to clone the Windows and Xandros partitions, which I think I could of done with PartitionMagic, I decided to install everything from scratch (replacing Xandros with Ubuntu). I won’t go into detail why I decided to do things that way but, essentially, Windows seems to run faster when you do a clean install.

In any case, as part of re-doing things, I needed to install the printer driver for our Xerox 4110. This is a network connected copier/scanner. I couldn’t remember for sure how I installed the Windows software but I thought I just used the “Add Printer” wizard, chose a network connected install, typed in the IP address, and pointed Windows at the drivers. But, I guess not because that didn’t work this time. I tried various variations but just could not get connected to the Xerox machine. I could ping it, but the Wizard could not connect to it. I even tried adding the default port (9100) to the IP address but that didn’t work. As a last resort, I tried shutting down the Windows firewall but that didn’t make a difference. So I gave up and decided to try to connect via Ubuntu Linux.

Once booted in Ubuntu, I clicked on System/Administration/Printing and then clicked on the “New Printer” button. Up popped a dialog box that required two actions: choose the connection type and enter the IP address. The selections for connection type included: LPT #1, AppSocket/HP JetDirect, Internet Printing Protocol (ipp), LPD/LPR Host or Printer, Windows Printer via SAMBA, and Other. What you see and which you need to choose is dependent on how your system is set-up. For me, I chose “LPD/LPR Host or Printer” because this is the default set-up for the 4110. I then typed in the IP address and clicked on the “Probe” button. I have no idea what the Probe button is supposed to do and as far as I could see, it didn’t do anything. I then clicked on the “Forward” button.

Select Connection and Location.

Select Connection and Location

At this point, I should note that if you don’t already have the PostScript driver for the 4110, you will need to download that from Xerox here. I chose the Windows XP version, saved the zipped file to a directory, and extracted the files. The specific file you will need is the one with the .ppd extension located in /your directory/4110_WHQL_PS_Eng_Driver/PrinterDriver/Win2K_XP.

To continue with the installation, after you click on the “Forward” button, Ubuntu will search for a default driver. It will, of course, fail as the driver you need is not part of the default database. A new dialogue box will then pop up asking you to either choose a driver from the database or provide a PPD file. I chose the PPD file option and pointed Ubuntu to the file by navigating to where I had downloaded and unzipped the file.

Provide PPD file

Provide PPD file

Once I had selected the file and clicked on the forward button, I came to a new screen that asks if there are any of several options that may be installed on the 4110. I left the defaults but you may need to change some things.

Installed Options

Installed Options

Click on “Forward” and the next screen asks you fill in a printer name (I used Xerox 4110), description (Xerox 4110), and Location (copier room).

Printer Name, Description, and Location

Printer Name, Description, and Location

Clicking on “Forward” should bring you to the last screen where you can print a test page and, if you wish, make this your default printer (mine is an HP LaserJet 2200D so I didn’t choose the Xerox as the default). If all went well, a test page should be waiting for you at the Xerox machine. If not, I guess you’ll have to try some troubleshooting.

Aloha!

Final screen

Final screen

UPDATE

If, like me, you weren’t able to get printing working under Windows, you may wish to try the procedure below. As before, YMMV, insert disclaimer here, if you don’t know what you are doing, don’t
do this.

In Windows, start the printer wizard and click the “Next” button.

Add printer wizard.

Add printer wizard.

At this screen, keep the default “Local printer attached to this computer.” Yes, I know, the Xerox 4110 is not connected to your PC through a regular port but this is the way to get to configure a new port. So, ensure local printer is chosen and click the “Next” button.

Local printer attached to this computer.

Local printer attached to this computer.

The next screen will show Windows searching for a new Plug and Play printer. Since the 4110 is not a Plug and Play printer, Windows won’t find it. Click “Next”

Install printer manually.

Install printer manually.

Here you choose “Create a new port:” with the type of port being “Standard TCP/IP Port”.

Click “Next”

Standard TCP/IP Port.

Create a new port: Standard TCP/IP Port.


Add port welcome screen.

Add port welcome screen.

At the Add Port screen you will need to enter the “Printer Name or IP Address” of the 4110. As you fill in the address, Windows will automatically create a Port Name, which I left as is.

Printer IP Address.

Printer IP Address.

Windows does not have the driver for a 4110, so you will need to click on the “Have Disk…” button.

Have Disk button.

Have Disk button.

Now you navigate to where you have the 4110 printer driver stored. I will assume you’ve already downloaded the driver from Xerox and unzipped it into a directory. Where ever that directory is, is where you “Browse…” to and select the applicable .inf file.

Install from disk.

Install from disk.

The rest of the screen captures are self explanatory.

Click \"Next\"

Do not make this your default printer unless it is your default.

Do not make this your default printer unless it is your default.


Print test page.

Print test page.


Done.

Done.