I purchased a Plugable UD-160-A USB 2.0 Universal Docking Station a couple of years ago. I use this with my Lenovo W520 laptop to avoid having to connect a keyboard, mouse, ethernet and external set of speakers.
This configuration worked fine when I ran Red Hat Enterprise Linux 6.5 on my Lenovo W520. I since switched to Fedora 20 on both my W520 and my W510 laptops. I heard that Fedora 20 worked better with Plugable but that was not my case.
My keyboard worked when I booted my laptop (I must use LUKs encrpytion so I must enter a password at each boot) but when I got my login screen (lightdm), the keyboard and mouse were not working and I tried searching and gave up on a solution until yesterday. The lspci command showed my keyboard, mouse, ethernet adapter and audio sound device built-in into the Plugable device.
I found this post in on the Plugable website that contained a simple udev rule that needed to be commented out and the computer rebooted. I applied the change and my keyboard, mouse and ethernet work. I am assuming the speaker also works.
The solution was to to edit /lib/udev/rules.d/71-seat.rules as root user and comment the following line (second line actually):
# 'Plugable' USB hub, sound, network, graphics adapter
SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1"
I am so happy that I don't have to plug so 6 cables into my Lenovo W520 laptop anymore when I am at home.
Wednesday, October 15, 2014
Wednesday, August 06, 2014
Custom wallpaper on Xubuntu 14.04
I am a big fan of XFCE. So much so, it is my desktop of choice on most Linux desktops (servers, if they are mine). I have two AcerOne laptops that have not the fastest hardware (one has 8GB memory but the poor AMD C70 dual core is not that fast) so I decided to update them to Xubuntu 14.04. One of the things I like to do is customize the wallpaper. I gave up on the AcerOne with the AMD C70 but the other one I finally made it a priority to figure out why I could not select my own wallpapper.
Here is what the desktop settings I get when I navigate to my wallpaper directory (~/Pictures/wallpaper):
Notice that all the jpeg files are greyed out and I cannot select one.
This post in the UbuntuForums had the solution but I did not understand the wording of the following solution at first:
The solution of course is navigate to the directory ABOVE the directory that contains the image files and select the directory.
Instead of double-clicking press the Open button. This will populate the thumbnails with the files.
This appears to be a usability feature that did not quite understand. Too bad the developers do not support selecting individual files. I have been using XFCE for quite some time and recall this working before. Oh well, lesson learned.
Here is what the desktop settings I get when I navigate to my wallpaper directory (~/Pictures/wallpaper):
Notice that all the jpeg files are greyed out and I cannot select one.
This post in the UbuntuForums had the solution but I did not understand the wording of the following solution at first:
It works here. Yes in Desktop settings the individual pictures are greyed out , but if you click "Open" all the pictures in the parent folder will be displayed in the desktop settings app's window, then just choose the wallpaper you want by clicking. So, you have to choose a folder instead of a picture in the dialogue, then choose the picture only after you have picked a folder.
Note the folder in the screenshot is "Pictures" rather than "Backdrops". I only have one picture so only one is displayed. I guess you should put all the wallpapers in one folder then.
Well I guess that is not very intuitive.
The solution of course is navigate to the directory ABOVE the directory that contains the image files and select the directory.
Instead of double-clicking press the Open button. This will populate the thumbnails with the files.
This appears to be a usability feature that did not quite understand. Too bad the developers do not support selecting individual files. I have been using XFCE for quite some time and recall this working before. Oh well, lesson learned.
Monday, July 21, 2014
Installing Xubuntu 14.02 on AcerOne model A0751H
I have a number of laptops. While the Dell Inspiron 1300 is my favorite, I just got back an AcerOne netbook (model A0751) from my daughter who had been running Windows XP on it. Of course, I did not want to keep using Windows XP so I decided it was time to wipe it clean and install Linux on it.
I chose Xubuntu 14.02 because it looked so nice on the Dell Inspiron 1300 laptop I thought it was worth a try. My only hesitation was the AcerOne has a strange Intel integrated graphics chip that goes by GMA500 or sometimes referred to as Poulsbo. I recall installing Ubuntu previously on this netbook and it was a pain. This time I did some research.
Booting the Xubuntu 14.02 Live DVD ends up in a funky graphics mode. The entire display is scrunched up into 1/2 the screen size and it is somewhat distorted. You can make out the desktop and the mouse is visible but installing from this is not good. The solution I found was very simple: at the boot screen for the Xubuntu 14.02 Live DVD, press the e key to add the following two additional boot parameters:
console=tty1 mem=986mb
I put these right after the boot parameters: quiet splash
The first screen will appear without any problems and all will be good. These additional parameters will be included in the installation so there is no need to fix them (I do not recall exactly but it would not be hard to boot from hard disk and enter the parameters).
The only other problem I had was when I was listening to internet radio via VLC. The audio was real choppy. The solution to this problem is to add the following two lines into the file /etc/modprobe.d/alsa-base.conf at the bottom:
options snd-hda-intel model=generic
options snd-hda-intel position_fix=1
A reboot is needed to make this fix work and VLC is no longer choppy.
I chose Xubuntu 14.02 because it looked so nice on the Dell Inspiron 1300 laptop I thought it was worth a try. My only hesitation was the AcerOne has a strange Intel integrated graphics chip that goes by GMA500 or sometimes referred to as Poulsbo. I recall installing Ubuntu previously on this netbook and it was a pain. This time I did some research.
Booting the Xubuntu 14.02 Live DVD ends up in a funky graphics mode. The entire display is scrunched up into 1/2 the screen size and it is somewhat distorted. You can make out the desktop and the mouse is visible but installing from this is not good. The solution I found was very simple: at the boot screen for the Xubuntu 14.02 Live DVD, press the e key to add the following two additional boot parameters:
console=tty1 mem=986mb
I put these right after the boot parameters: quiet splash
The first screen will appear without any problems and all will be good. These additional parameters will be included in the installation so there is no need to fix them (I do not recall exactly but it would not be hard to boot from hard disk and enter the parameters).
The only other problem I had was when I was listening to internet radio via VLC. The audio was real choppy. The solution to this problem is to add the following two lines into the file /etc/modprobe.d/alsa-base.conf at the bottom:
options snd-hda-intel model=generic
options snd-hda-intel position_fix=1
A reboot is needed to make this fix work and VLC is no longer choppy.
Saturday, July 19, 2014
Fixing bluetooth on Dell 1300 laptop running Xubuntu 14.01
Last week I got tired of running the XFCE spin of Fedora 20 on my Dell Inspiron 1300 laptop (Pentium M, 2GB memory). This is my favorite laptop because I like the solid keyboard. It runs Linux and it is real snappy.
The XFCE spin of Fedora 20 installed without any need for tweaking the OS. Unfortunately, Xubuntu 14.02 needed some help. The Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller was not recognized at first. The cause of this was it was blacklisted in the /etc/modprobe.d/blacklist.conf file. The following line was commented out and a reboot made the wireless work as expected.
# blacklist bcm43xx
The second problem that needed to be fixed was getting the USB bluetooth to connect to a paired device. This proved to be a bit more work to figure out but the combination of the following three items resulted in being able to connect to a paired device.
The XFCE spin of Fedora 20 installed without any need for tweaking the OS. Unfortunately, Xubuntu 14.02 needed some help. The Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller was not recognized at first. The cause of this was it was blacklisted in the /etc/modprobe.d/blacklist.conf file. The following line was commented out and a reboot made the wireless work as expected.
# blacklist bcm43xx
The second problem that needed to be fixed was getting the USB bluetooth to connect to a paired device. This proved to be a bit more work to figure out but the combination of the following three items resulted in being able to connect to a paired device.
- Install pulseaudio-module-bluetooth package.
- Replace the contents of /etc/bluetooth/audio.conf with:
[General]Enable=Source,Media
Disable=Socket
[Headset]
HFP=false
MaxConnected=1
FastConnectable=false
[A2DP]
SBCSources=1
MPEG12Sources=0 - Every boot I must run the following command:
sudo pactl load-module module-bluetooth-discover
Monday, June 30, 2014
Fedora 20 update broke BCM43227 wireless on Acer laptop
I have an Acer laptop with an AMD Quad-Core processor and a Broadcom Corporation BCM43227 802.11b/g/n wireless adapter. I had not performed updates for a while so tonight, I ran a manual update and a new kernel and lots of other packages got installed (over 100 for sure). A reboot of my laptop and subsequent login found me with no wireless.
To make a long story short, I did some Googling on my cell phone and noticed a number of posts about having to install package akmod-wl. The posts indicated that if rpmfusion was installed, this package should fix it. Installing and a reboot was all that I needed to get wireless back and running.
This is one of those cases where using additional repositories might get you into trouble. Hope this helps someone else and hope I don't need to use it again.
To make a long story short, I did some Googling on my cell phone and noticed a number of posts about having to install package akmod-wl. The posts indicated that if rpmfusion was installed, this package should fix it. Installing and a reboot was all that I needed to get wireless back and running.
This is one of those cases where using additional repositories might get you into trouble. Hope this helps someone else and hope I don't need to use it again.
Thursday, June 26, 2014
Configuring wake-up-on-lan on Red Hat
I have a T61 laptop in my office that I use for the following reasons:
- have access to remotely because it is running the IBM Open Client and in case my laptop running Fedora 20 dies, I still have another alternative.
- When people have questions about IBM Open Client I have an place to go.
- I know I can put IBM Open Client in a KVM but what if my laptop dies?
- Backup my IBM Notes mail via replication.
Having this computer running full time does not make sense. I have figured out how to set up the Wake-On-Lan feature on a Windows 7 server at home and it works very well. The remainder of this blog post describes how I configured the Lenovo T61 running IBM Open Client (RHEL 6.5) to support Wake-On-Lan, a CLI command to put the T61 into suspend state and how to wake up the T61 from a remote server.
Here is a web page that describes how to install and configure WOL for Red Hat.
The summary of steps (T61):
- Make sure ethtool is installed: sudo yum install ethtool
- Write down the interface hardware address (mac address): Here is a sample of the ifconfig command and associated output. The HW address is highlighted.
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1B:FC:80:27:17
inet addr:9.10.87.237 Bcast:9.10.87.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fe80:2717/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:110770824 errors:0 dropped:0 overruns:0 frame:0
TX packets:215059219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10476527981 (9.7 GiB) TX bytes:321033506529 (298.9 GiB)
Interrupt:16
- Verify wake-on-lan is enabled: sudo ethtool eth0. You should see a value of g in one of the fields from ethtool. If you do not, use the URL above to fix it.
- To force server to go into suspend mode: sudo pm-suspend
Note: pm-suspend will hang a terminal ssh session. I tried doing "pm-suspend;exit" but that still hung my ssh terminal session. Perhaps "pm-suspend &; exit" might work better. Not sure.
From a remote server (not the T61 silly, it should be suspended):
- The remote server must be on the same IP subnet.
- Make sure ether-wake command is insalled: sudo yum -y install net-tools
- Using the hardware address written down from step 2 in the previuos summary, send a wake-up message to the T61: ether-wake -i eth0 00:1B:FC:80:27:17
- Wait approximately a minute for the T61 RHEL server to complete resuming from suspend mode. Use ping to verify connection and if ping is successful, ssh or any other remote operation should be operational.
Wednesday, September 18, 2013
Some notes on KDE4 in Fedora 19
I finally found some time to play with installing KDE4 themes in Fedora 19. I was using my normal userid kurtis and was using the Login settings from the System Settings app. This Login settings app would let me view themes on a server but when I clicked the install button, no error message or sudo password prompt would appear but when I went back to enable the theme, it was not there. After doing some Google searching, I learned that in order to install themes, you must sign into KDE as root user. The themes will download and install plus you can then use them.
I also discovered where the themes are stored. The path is:
/usr/share/kde4/apps/kdm/themes
Thanks all for now. It's getting late and my eyes are getting very heavy...
I also discovered where the themes are stored. The path is:
/usr/share/kde4/apps/kdm/themes
Thanks all for now. It's getting late and my eyes are getting very heavy...
Saturday, July 06, 2013
How to: Flash player on google-chrome-stable and Fedora 19
I upgraded my old AMD single core system to Fedora 19 via fedup a couple of days ago. The AMD system was running a fresh install of Fedora 18 and I did not have the flash player working. Of course, the Fedora 19 upgrade did not give me a flash player either. I tried a couple of web sites and got the following to work:
- Installed autoten
- Ran autoten from the command line (prompts for root password, nice!) and uninstalled previously installed codedec's and anything else it said was installed. I noticed that Calligra and VLC got removed but that's OK for now.
- Rebooted system (probably not needed).
- Rand autoten again and installed codedecs and flash player (there were a lot of packages not found but it must have installed enough packages for VLC and flash player to work).
- Tried viewing video in google-chrome-stable and got the error about unable to load plugin.
- Did more Googling and tried a few things. The one that worked was to delete .config/google-chrome directory in my home directory.
- After running this, videos now worked from YouTube!
Tuesday, June 25, 2013
Using x86 Android VM instead of ADT emulator
I have been trying to learn how to develop Android applications in my free time. I have started the activity many times but never got very far each time. One of the reasons is how slow it is to load the Android Developer Toolkit device emulator. It seems to take forever to load and just as long to test the program.
July 8, 2013: Here is a where you can download Android 4.2:
https://code.google.com/p/android-x86/downloads/list
Here is a web site that has some directions on how to install under VirtualBox:
http://xmodulo.com/2013/05/how-to-install-and-run-android-x86-on-virtualbox.html
I recently ran into a project called AndroVM (I think it now is a commercial product so I don't know if you can still get it for free). This contains an Android x86 virtual machine that runs Android 4.1 (Jelly-Bean?). It runs real fast and nearly any application you can download from the Google Play Store works in this environment.
The AndroVM is to be used with Oracle's VirtualBox free software. There are instructions on how to install it and here they are <insert URL here>.
In order to use the AndroVM you must start it and the Eclipse ADT. The order is not important. What is important is determining the IP address of the Android VM and connecting it to the ADT. This is done by installing the Terminal Emulator from the Google Play Store. This gives you a command line interface to the Android OS. The command netcfg will show the IP address you need. Here is an example:
The IP address of eth1 (this is the ethernet port of the NAT'd address) and this is the one we need to run a command in a Linux terminal. I am not sure why a Bridged and a NAT'd ethernet devices are needed but both are for some reason otherwise the virtual machine is unable to connect to anything.
Open up a Linux terminal and switch to the sdk/platform-tools sub-directory of the location the ADT bundle file was uncompressed into. Run the following command to connect the Eclipse ADT to the AndroVM device:
Now all you need to do is run your Android application from the Eclipse ADT and it should load and run in the AndroVM instance. I am impressed on how fast apps load and run in the virtual machine. So much faster than the ADT emulator.
Here are some other adb commands that I need to investigate:
adb shell
adb kill-server
July 8, 2013: Here is a where you can download Android 4.2:
https://code.google.com/p/android-x86/downloads/list
Here is a web site that has some directions on how to install under VirtualBox:
http://xmodulo.com/2013/05/how-to-install-and-run-android-x86-on-virtualbox.html
Thursday, April 25, 2013
Workspace Switcher gone after upgrading to Ubuntu 13.04
I spent most of this evening (at least my Acer Aspire One did) upgrading my laptop from Ubuntu 12.10 to Ubuntu 13.04. I normally try to avoid doing an upgrade from one Linux version to another (this aversion goes back to my days running OS/2 Warp) but I decided I would give it a try since I did a complete re-install after a failed attempt at getting IBM Notes 9 installed.
After about 2 hours of downloading and installing updated packages (over 1300 of them), I was able to reboot and have Ubuntu 13.04 running. The system appears to be noticeably faster and the Unity desktop a bit cleaner and crisper. The only thing I noticed right away was the Workspace Switcher was gone from the left launcher. The rest are some notes on how I got it back.
1. Installed the unity-tweak-tool package which has the setting I need to restore the switcher.
sudo apt-get install unity-tweak-tool
2. Started the unity-tweak-tool by using the dasher search button.
After about 2 hours of downloading and installing updated packages (over 1300 of them), I was able to reboot and have Ubuntu 13.04 running. The system appears to be noticeably faster and the Unity desktop a bit cleaner and crisper. The only thing I noticed right away was the Workspace Switcher was gone from the left launcher. The rest are some notes on how I got it back.
sudo apt-get install unity-tweak-tool
2. Started the unity-tweak-tool by using the dasher search button.
3. From the Overview panel, I clicked on the Workspace Settings
4. Click on the Workspace Settings tab if not already there and be sure to set the Workspace switcher to ON.
Saturday, April 20, 2013
Solved: Belkin router getting WAN IP from Ubee Modem (Charter ISP)
Here is Rochester, Minnesota we have only one cable service provider and that is Charter Communications. I wish there was at least one other alternative available just to keep pricing in check but the service we have been getting the past 12 years has been excellent. Cable TV is good, clear and crisp with lots of HD channels and the internet service is almost always available and fast.
Tonight, after I tucked my lovely wife into bed at approximately 11pm, I decided to log onto my old Dell Inspiron 1300 (Pentium M w/ 2GB memory) running a 32 bit Fedora 18 LXDE desktop. I was doing some Googling as usual and all of a sudden I got a page error when I did a search from the top Google result page. I did not think nothing of it but I could not obtain an IP address from any of my 3 wireless routers (one is primary the other two are just glorified access points).
My first course of action was to go down and recycle the cable modem, primary wireless router and the 8 port Linksys switch. That took only about 10 minutes and when I got back up stairs I was connected to the primary router (a TP-Link TL-WR841N) that I purchased 2 of a couple of years ago at Amazon (the second one is out in my workshop as an access point). I was able to continue my Google searching and after about 30 minutes, my connection to the primary TP-Link router failed again. Another recycle fixed it but then after the third time, it was time to replace the router.
I had a cheapo Belkin wireless router that I purchased a couple of years ago and my daughter was not longer using. I thought I would replace the problematic T-Link router with the Belkin router and figure out if the TP-Link was dying or just needed a firmware update. I was not expecting problems but of course there was one pesky problem I had to overcome.
Here are the steps I followed thinking it would only take at most 20 minutes. It ended up being almost 2 hours.
Tonight, after I tucked my lovely wife into bed at approximately 11pm, I decided to log onto my old Dell Inspiron 1300 (Pentium M w/ 2GB memory) running a 32 bit Fedora 18 LXDE desktop. I was doing some Googling as usual and all of a sudden I got a page error when I did a search from the top Google result page. I did not think nothing of it but I could not obtain an IP address from any of my 3 wireless routers (one is primary the other two are just glorified access points).
My first course of action was to go down and recycle the cable modem, primary wireless router and the 8 port Linksys switch. That took only about 10 minutes and when I got back up stairs I was connected to the primary router (a TP-Link TL-WR841N) that I purchased 2 of a couple of years ago at Amazon (the second one is out in my workshop as an access point). I was able to continue my Google searching and after about 30 minutes, my connection to the primary TP-Link router failed again. Another recycle fixed it but then after the third time, it was time to replace the router.
I had a cheapo Belkin wireless router that I purchased a couple of years ago and my daughter was not longer using. I thought I would replace the problematic T-Link router with the Belkin router and figure out if the TP-Link was dying or just needed a firmware update. I was not expecting problems but of course there was one pesky problem I had to overcome.
Here are the steps I followed thinking it would only take at most 20 minutes. It ended up being almost 2 hours.
- Connected Belkin router to my Fedora 18 laptop with ethernet cable and no wireless.
- Changed the private subnet from 192.168.2 to 192.168.0 (there are other servers and wireless devices like our Tivo and Internet radio device just to name a few).
- Created a new SSID similar to the old one with a 2 at the end and gave it the same WPA/WPA2 passphrase.
- Tested the wireless connection and all worked.
- Unplugged the TP-Link router from power, cable modem and all 4 ethernet cables going to various other devices in our home (office, shop, third router, bedrooms).
- Plugged the cable modem into the proper RJ-45 port on the Belkin router (yellow female RJ-45 port vs 4 white colored ports).
- Unplugged the cable modem and Linksys 8 port switch and waited a couple of minutes then powered on cable modem and then the Belkin router and switch after the cable modem likes came on.
- Laptop could access the Belkin wireless and give me an IP address and I could ping the router and all the other devices on the home network.
- I could not access the internet.
- The Belkin router web gui showed a message at the top indicating Internet connection was not available.
- Checked the router settings and there was no WAN IP address, network mask or DNS servers listed. Everything was 0.
- Tried switching from Dynamic (DHCP connection to cable modem) to static IP but nothing seemed to return a WAN IP address and the rest.
- I checked the Router logs and I did find the following message many times:
DHCP Client: [WAN]Could not find DHCP daemon to get information - Looked like to me that the Ubee wireless modem that we rent from Charter Communications was not doling out DHCP addresses.
- I remembered something a Charter technical support person told me in order to get a more complete reset of the cable modem. The trick was to unscrew the coax cable from the Ubee machine and wait 5 minutes and recable and power on the cable modem and router. Of course, this did not solve the problem.
- Good my employer provides me a Verizon Android phone that has a built in Wifi hot spot. I used it to connect my laptop to the Internet so I could Google issues with the WAN and the DHCP message above.
- I found that one person thinks Charter is blocking certain routers and of course Belkin was one manufacturer that was supposedly being blocked. The solution was to use the Belkin web gui to clone the MAC address of my laptops ethernet port to the router. The MAC address/ID identifies the manufacturer so I thought this would be my solution.
- Cloned my laptop ethernet port to the Belkin router and rebooted the router. Still no WAN info in the Belkin web gui and I still could not access the internet from my laptop that was back connected to the Belkin router.
- Searching for the DHCP error message above and adding Belkin to the Google search argument, I came a cross this web page that said some cable modems only issue on DHCP address. I checked the Ubee cable modem and it had a reset switch so I gave it a try.
- I unplugged the ethernet cable to the Belkin router and pressed the reset button in for about 30 seconds. The Ubee cable modem shut off all but one light and then it took about 3-4 minutes before all 5 lights were one (one was orange instead of green but I think that is normal).
- Re-connected the wireless on my laptop to the Belkin wireless SSID.
- I opened the Belkin router web gui and low-and-behold I now had a WAN IP address, network mask and DNS servers.
- I could now ping www.google.com and all was good.
I am not certain if it was a combination of cloning the MAC address of my laptop ethernet port onto the Belkin router AND the Ubee modem reset button that got the DHCP address to be handed out from the Ubee router. I think I would have be OK if I would just had pressed the reset button on the Ubee cable modem.
It late so now that I got this information saved somewhere safe, I can now go to bed. Tomorrow, I will try to resurrect the TP-Link router.
Tuesday, March 26, 2013
Bluetooth headset stopped after Android upgrade
The other day Verizon released an OTA (over-the-air) update of Android for my work Motorola Droid 4 smartphone. I installed it when the noticed arrived and the reboot appeared to work just fine. I had a Plantronics Voyager HD headset that I purchased about a year ago on Amazon paired with the phone prior to installing the Android upgrade.
I connected the bluetooth headset and was able to listen to my favourite radio station via the TuneIn application I purchased some time ago. Sound was just fine and the headset connected right away. I received some phone call while the headset was connected and noticed I could hear the phone ring through the headset but I could not carry on a conversation using the headset. I had to switch back to the smartphone.
I used my wife's phone to make calls to my cell phone. After about a half a dozen attempts I decided to delete the headset bluetooth profile and re-discover and pair it again. Once I did that, the bluetooth headset could be used for both music and phone calls. Who would have known. I also am glad to report that my headset also connects more consistently with the new Android version.
I connected the bluetooth headset and was able to listen to my favourite radio station via the TuneIn application I purchased some time ago. Sound was just fine and the headset connected right away. I received some phone call while the headset was connected and noticed I could hear the phone ring through the headset but I could not carry on a conversation using the headset. I had to switch back to the smartphone.
I used my wife's phone to make calls to my cell phone. After about a half a dozen attempts I decided to delete the headset bluetooth profile and re-discover and pair it again. Once I did that, the bluetooth headset could be used for both music and phone calls. Who would have known. I also am glad to report that my headset also connects more consistently with the new Android version.
All contacts are missing on HTC EVO 4G phone
My wife has an HTC EVO 4G phone that all of a sudden appears to have lost all the contacts. Since this phone is running Android, I was pretty sure my wifes' contacts were safely stored in the Google cloud somewhere (I set up her phone and created her Google account and set it as the default for the phone).
I was leaving on a business trip later in the morning so I did some Googling and found a post where someone said to clear the Contacts application cache and restart the phone. I noticed right away when I looked at ALL applications from the system settings why her contacts were missing. There was a button at the top right that said Enable. After talking to my wife, I discovered that her son had tried to move apps to her SD card to free up space (the HTC EVO 4G has little internal storage). The Android Contacts app had the Move to SD card button disabled and I am almost certain that my step-son accidentally disabled the contacts when he meant to move the app to the SD card.
The moral of the story: if there are no contacts, make sure the Android/Google contacts app is enabled.
I was leaving on a business trip later in the morning so I did some Googling and found a post where someone said to clear the Contacts application cache and restart the phone. I noticed right away when I looked at ALL applications from the system settings why her contacts were missing. There was a button at the top right that said Enable. After talking to my wife, I discovered that her son had tried to move apps to her SD card to free up space (the HTC EVO 4G has little internal storage). The Android Contacts app had the Move to SD card button disabled and I am almost certain that my step-son accidentally disabled the contacts when he meant to move the app to the SD card.
The moral of the story: if there are no contacts, make sure the Android/Google contacts app is enabled.
Wednesday, February 06, 2013
Adding Brother HL-2270DW printer to Ubuntu 12.10 x86_64
I needed to print some tax forms on my Acer One 0725 the other day. I thought I would just use the same steps as I did for my other computers running Ubuntu 12.10, Red Hat Enterprise Linux 6.3 and Fedora 17 x86_64. That process was to go to the Brother web support site and download the lpr/;lpd drivers for the distribution and then use the OS printer setting utility to add the printer. I know the IP address of the Brother laser printer (HL-2270DW) so I thought this would be a simple task. That was far from the case.
The above page is displayed when the url http://localhost:631 is entered into your browser. The notebook tabs at the top of the page interface with the printer configuration on the Ubuntu machine. The links in the body of the Home tab is basically local documentation for this web site.
The problem I kept running into was the printer utility on Ubuntu 12.10 does not provide access to hardly any printer settings. The root cause was the IP address of the printer was not an IP address but something strange.
I finally gave up using the built-in utility in Ubuntu and tried the CUPS web interface. I searched Google and found out if I opened my browser to http://localhost:631 then I was able to configure a printer that would successfully print to my beloved Brother laser printer. The rest of this post describes how I was able configure a new printer using the CUPS web interface.
![]() |
| CUPS home page |
Start by clicking on the Adminstration tab. The following is a sample of the tab body that should appear:
Click on the Add Printer button on the above page. An authentication pop-up will most likely appear. The userid and password should be for the person that wants a printer defined.
On the next page select an LPD/LPR host or printer as shown.
On the next page, fill in the connection string shown below with a different IP address. The lp1 at the end of the uri is needed before pressing the Continue button. The value lp1 was just a guess and is probably not necessary.
The next page will need a printer name, a description and location.
Now the manufacturer of the printer needs to be specified.
Now the final piece of information is the specific model of the printer. The list shown below contains may printers. Installing the deb file from the Brother printer support web site did not add a driver for the HL-2270DW so I chose the one highlighted below.
Clicking the Add Printer button should result in the following page.
Not quite finished I guess. Clicking the Set Default Options button will now finish the configuration. Note that the setting on this print driver were not the same as the printer created. I think the driver is not correct for TEST1.
The page above does not stay very long. Here is what the page changes to after about 1 minute of idle time.
It is a good idea to print a test page. From the page above, click the Maintenance drop down and select Print Test Page
A page similar to the following will appear briefly.
When the above page goes away, notice the print job at the bottom of the next page.
The print job list will go away after a while. This concludes this step-by-step process. Now I can print from my Acer One 0725 running 64 bit Ubuntu 12.10. Hope this is of help to someone. If not, at least i have is documented.
Thursday, January 03, 2013
Sound on Aspire One 725 and Ubuntu 12.10
I tried running VLC to listen an internet radio station for the first time on my new Acer Aspire One 725 today. I plugged my headphones into the jack but I did not have any sound. My first debug tool is to run alsamixer from the command line. I was surprised to see the following output in alsamixer:
This did not look like it was going to work. Pressing F6 showed the following devices:
After doing some Googling, I found the aplay and lspci commands that would show the information below:
kurtis@acer725:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC271X Analog [ALC271X Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
kurtis@acer725:~$ lspci -vnn | grep -iA5 audio
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314]
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at 90244000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
--
00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] Hudson Azalia Controller [1022:780d] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Flags: bus master, slow devsel, latency 32, IRQ 47
Memory at 90240000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
This did not look like it was going to work. Pressing F6 showed the following devices:
After doing some Googling, I found the aplay and lspci commands that would show the information below:
kurtis@acer725:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC271X Analog [ALC271X Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
kurtis@acer725:~$ lspci -vnn | grep -iA5 audio
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314]
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at 90244000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
--
00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] Hudson Azalia Controller [1022:780d] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Flags: bus master, slow devsel, latency 32, IRQ 47
Memory at 90240000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
From this information I selected the second device from the F6 list in alsamixer. The reason I chose this device was because aplay had it listed as card 1 and it was an analog device. Here is what the initial settings in alsamixer showed for this device:
Notice that the Master and the Headphone properties have MM listed at the bottom of the volume indicators. The MM means the property has been muted. The tab key allows for movement between properties and pressing the M key unmutes a property and replaces with a number representing a volume level.
The following screenshot is the properties that now work on my laptop.
Notice that the Master and the Headphone properties have MM listed at the bottom of the volume indicators. The MM means the property has been muted. The tab key allows for movement between properties and pressing the M key unmutes a property and replaces with a number representing a volume level.
The following screenshot is the properties that now work on my laptop.
Wednesday, December 26, 2012
Acer Aspire One 725-0687 $160 at Walmart
I found a fantastic deal on an Acer netbook on December 23 while shopping at one of the local Walmart stores. The netbook has 2GB of memory, 4-cell li-ion battery, 32GB hard disk drive and an AMD dual-core C70 processor. It also has a VGA and HDMI port, 2 USB 2.0 ports and one USB 3.0 port and of course, an SD card reader. One of the surprising features was the system was preloaded with Windows 8.
The primary reason I wanted to purchase the laptop was actually the color but for $160 I could not resist. The cost of Windows 8 is about $80 so for the cost of 2 copies of Windows 8, I now have a brand new netbook laptop.
Stay turned for a review of the system, Windows 8 and installing Ubuntu 12.10 64 bit in dual boot configuration.
The primary reason I wanted to purchase the laptop was actually the color but for $160 I could not resist. The cost of Windows 8 is about $80 so for the cost of 2 copies of Windows 8, I now have a brand new netbook laptop.
Stay turned for a review of the system, Windows 8 and installing Ubuntu 12.10 64 bit in dual boot configuration.
Monday, December 10, 2012
Apps on Droid 4 gone when USB connected
I have been an avid fan of Android since I got my HTC EVO 4G back in July of 2011. I now have a company supplied Motorola Droid 4 that I use exclusively because it is faster (dual-core) and has more storage.
On my last business trip, I had the stock cable (USB tethering won't work if you don't) connected and noticed that some of my apps where not available. Turns out that the default setting SD sharing setting is as a mass storage device. A quick Google confirmed that a mass storage connection unmounts the SD card so Android cannot access anything on it because I suppose the OS will have exclusive access to the SD card.
The solution? After connecting the USB cable, a notification message appears indicating how the device is connected. Opening the status message allows the device to be connected as a media device (MTP). This setting does NOT unmount the SD card and allows apps and music that are on the SD card to be accessed by both the tethered computer and Android.
Thank goodness for Google!
On my last business trip, I had the stock cable (USB tethering won't work if you don't) connected and noticed that some of my apps where not available. Turns out that the default setting SD sharing setting is as a mass storage device. A quick Google confirmed that a mass storage connection unmounts the SD card so Android cannot access anything on it because I suppose the OS will have exclusive access to the SD card.
The solution? After connecting the USB cable, a notification message appears indicating how the device is connected. Opening the status message allows the device to be connected as a media device (MTP). This setting does NOT unmount the SD card and allows apps and music that are on the SD card to be accessed by both the tethered computer and Android.
Thank goodness for Google!
Saturday, November 17, 2012
Another long hiatis
It has been a long-long time between my blog posts. Guess I am not cut out to be a writer I guess. Anyway, I will make yet another attempt to impart some words of wisdom in the field of computers and computer programming. Thanks...
Wednesday, September 21, 2011
Creating a lock screen icon on GNOME desktop
I did some Googling the other day to find out how I can add a shortcut on my GNOME desktop that would lock the screen. This turned out to be a bit of a challenge but being the persistent person I am, I was able to find a solution.
Here is the command I associated with a short-cut on my GNOME desktop to lock the screen.
gnome-screensaver-command --lock
This works on Fedora 14 as well as Ubuntu 11.04. I expect this command to also work on any workstation running a GNOME desktop.
Here is the command I associated with a short-cut on my GNOME desktop to lock the screen.
gnome-screensaver-command --lock
This works on Fedora 14 as well as Ubuntu 11.04. I expect this command to also work on any workstation running a GNOME desktop.
Monday, July 18, 2011
It has been too long...
I see I am not doing a very good job posting stuff on my blog. I am going to work on making posts on a regular basis. I change my "Picture of the moment" in honor of our loyal dog Jake who had to be put down 2 summers ago. I miss my friend.
Subscribe to:
Posts (Atom)


























