Categories
Linux Ubuntu

HP Pavilion dm1 (E-450/HD 6320) and Ubuntu 11.10

Wireless (BMC4313) Drivers:

There seems to be some issues with the current range of broadcom drivers, there are several options and some barely work and give very poor wireless signal and flaky connections.

Check you wireless card
lspci | grep Broadcom

Output:

03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Installation:

There are two options here:

Option 1

You should also be able to use the drivers in Additional Drivers, the “Broadcom STA proprietary wireless driver”, however before doing this you need to run these commands to install the required headers and tools as it seems this step was missed out:

sudo apt-get install build-essential linux-headers-generic
sudo apt-get build-dep linux

To check to see if you have this directory do this:

ls /lib/modules/`uname -r`/build

Now go to Settings > Additional Drivers and simply click install on the “Broadcom STA proprietary wireless driver”, reboot and you should experience much better wireless signal and connection stability.

Option 2

If this doesn’t work for you un-install those drivers and download the source drivers and build them from source and this works well, these can be found here: http://www.broadcom.com/support/802.11/linux_sta.php.

 


Graphics (HD 6320) Drivers:
Installation:

These can be found in Settings > Additional Drivers.

Install and reboot.

NOTE: This driver doesn’t account for sound over HDMI, the sound will continue to come out of the speakers. I’m looking in to a fix for this.

Fixing the “AMD Ubsupported hardware” Watermark:

You’ll probably now notice a watermark at the bottom right hand of the screen, reading “AMD Ubsupported hardware”. While the drivers are working away, they seem to think it’s unsupported. You can either remove the propriotry drivers and use the open source version. Or you can run the following script (found here) to remove it:

[gist][/gist]

To run, either right click and save as on the link to “view raw” or copy and paste in to a file and save the file as “fixwatermark.sh”

Make executable:

chmod +x fixwatermark.sh

Run:

sudo ./fixwatermark.sh

(Thanks to Andy pointing out in his comment, this needs to be run as root (I’ve added the sudo above).
Reboot your system and the driver will still be running but the watermark will be removed.

Categories
Linux Posts Ubuntu

OpenNI – error CS0006: cannot find metadata file `System.Windows.Forms.dll’

During installing the OpenNi kinect drivers, found here: https://github.com/OpenNI/OpenNI, I came across this error:

make[1]: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net’
gmcs -out:../../../Bin/Release/SimpleViewer.net.exe -target:winexe -unsafe -o+ -r:OpenNI.net.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -lib:../../../Bin/Release ../../../../../Samples/SimpleViewer.net/*.cs ../../Res/AssemblyInfo-OpenNI.cs
error CS0006: cannot find metadata file `System.Windows.Forms.dll’
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [../../../Bin/Release/SimpleViewer.net.exe] Error 1
make[1]: Leaving directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net’
make: *** [Samples/SimpleViewer.net] Error 2

To fix it, simply install the following package:

sudo apt-get install mono-complete

Once finished, re-make and make install and everything should be dandy!

Categories
Android Posts Windows

Samsung Galaxy S – Samsung Kies Connection Error

Okay so I went to check if I could get the SGS Froyo update which seems to be getting rolled out across the UK a little earlier than expected. I booted my laptop into Windows 7 64-bit, loaded Kies and was prompted to update it and once it was done I tried connected my SGS via USB and putting it in to Kies mode. Here’s where the error came about, it’d just sit there “connecting” on the Kies software on my laptop but just switching between MTP Application and the home screen on my phone.

Browsing the net I found a few “fixes” which involved deleting applications on my phone such as Soundhound (which I have never had) or more extreme and formatting the internal SD card only to have everything wiped.

The problem here though is actually just the drivers for 64-bit Win7 cannot handle corrupt data or bad files which are pretty common (say an app is loading an image from the net and you close it half way through BAM, broken file.)

So in order to fix this most annoying of errors you’re going to have to find those corrupt files on your phones memory.

  1. Close Samsung Kies
  2. Connect your phone and select ‘Mass Storage’ mode
  3. Mount USB via the notification bar
  4. Remove any corrupt files from the phones SD cards
    1. You can use this FileSearcherforKiesFix.zip to locate corrupt files
    2. Once found, navigate to the directory and remove them
    3. Research until none are found.
  5. Unmount, disconnect and reconnect the phone
  6. Open Kies and select the Kies option, it should now boot connect without any issues.

Source: (Post #50)  http://android.modaco.com/content-page/311526/samsung-galaxy-s-problems/page/40/