Showing posts with label dell. Show all posts
Showing posts with label dell. Show all posts

2009-02-17

kde4

KDE4 finally hit stable in gentoo's portage! *woohoo!* (as of about a month ago :P)

I had to wait a few weeks so that package blocks got sorted out in portage (well, at least now there is only 2 rather than the 4 from last week), which just goes to show that immediately trying to update to anything isn't always a good idea! :P

so now the dell xps is chugging away at building all the kde packages and dependencies (as well as updates from about 4 weeks ago) etc etc and hopefully when I wake up tomorrow I will be greeted with a shiny slick new KDM :)

I really should be updating my diary-blog but I wanted to keep a record of the fact that I have figured out that waiting for sane dependency handling by portage updates is a good thing!

2008-04-24

Adventures in Open Source (Part 2)

Welcome to Part 2 of Adventures in Open Source!

This post is continuation on the previous article Adventures in Open Source (Part 1). In this post I will give you even more Tips, Tricks and useful information about Linux open source applications and their uses.

dellBiosUpdate
As the name suggests, dellBiosUpdate (which is provided by libsmbios) is tool for updating a Dell BIOS in linux. This came about because one day, I noticed an unanswered and unread post on forums.gentoo.org titled Dell BIOS update: extract_hdr, and I decided to investigate/research this because I also wanted to know if it was possible to flash your BIOS under Linux. I then found out (Thanks to the likes of the the Gentoo unofficial wiki post, HOWTO Dell BIOS Upgrade) that I don't even need M$DOS to flash the BIOS on my M1730!


quagmire ~ #modprobe dell_rbu
quagmire ~ # dellBiosUpdate -t -f system_bios_ven_0x1028_dev_0x01f7_version_a06/bios.hdr
BIOS file matches this system and is newer.
quagmire ~ # dellBiosUpdate -u -f system_bios_ven_0x1028_dev_0x01f7_version_a06/bios.hdr
Supported RBU type for this system: (MONOLITHIC, PACKET)
Using RBU v2 driver. Initializing Driver.
Setting RBU type in v2 driver to: PACKET
writing (4096) to file: /sys/devices/platform/dell_rbu/packet_size
Writing RBU data (4096bytes/dot):
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
.............
Done writing packet data.
Activate CMOS bit to notify BIOS that update is ready on next boot.
Update staged sucessfully. BIOS update will occur on next reboot.
quagmire ~ # rmmod dell_rbu

After doing the above, It occured to me that this process is somewhat the same as when you flash in windows, as the bios data is written to a special section of the bios or EEPROM, then a "bios update" flag is set so that the system will immediately start the flash process upon reboot. Nifty eh?


SCP (SSH)
I learned that it is possible to transfer files (and folders) to/from a remote path that has one or more spaces in it!

You need to enclose the entirety of the remote hosts argument in quotes and put escape sequences into it. For example:
scp -r "/media/sdd/2008-semester1/csg2207/Unit Schedule" "remotehost:~/UNI/2008-semester1/csg2207/Unit\ Schedule"


Gentoolkit (eclean-dist)
eclean-dist (a wrapper for eclean distfiles), is a tool provided by app-portage/gentoolkit that provides easy distfile cleaning (deleting)

After searching for a solution (thanks to the powers of google), I found that the Gentoo tool exists already. It seems to do an intelligent job at checking against installed packages and removing old distfiles (or tarballs). Pretty neat :)


rsync
That's right. rsync! I haven't done much research into the differences between cvs and rsync, but it seems to be a much easier to use alternative for synchronisation of file trees (UNI, savegames, software repositories, music, movies etc.) and using openssl (ssh) as a transport mechanism with almost no effort!

Here's an example (or proof) of me synchronising a folder of uni unit to my file server:

dean@quagmire ~ $ rsync -uav /media/UNI/2008-semester1/csg2207/ dean@192.168.1.2:~/UNI/2008-semester1/csg2207
Password:
building file list ... done
Assessments/assignment2/contrib/
Assessments/assignment2/contrib/delete.me
Assessments/assignment2/tmp/
Assessments/assignment2/tmp/the sample of risk management.docx.exe
Unit Schedule/
Unit Schedule/delete.me

sent 17094 bytes received 104 bytes 6879.20 bytes/sec
total size is 45568991 speedup is 2649.67

NOTE: I have to reserve TrueCrypt for private data only, as TrueCrypt requires elevated privileges, which I don't have on most UNI computers :(


That's it for this edition! I hope this was as interesting to read as it was for me to research and discover how to use them! Feel free to drop me a line if you have any contributions or corrections. Next post irssi!

2008-03-23

Adventures in Open Source (Part 1)

Welcome to the "Adventures in Open Source Series"!

Since buying my Dell XPS M1730, I have been using Gentoo Linux on it exclusively and with surprisingly good results, however I have also learned allot more about certain open source software package in general, so here I will outline some of the these (and also some of the failures) that I've experienced so far.

Screen
I have learned to use screen in a much more powerful way than ever before. Until now I was not aware of screen's configuration file capabilities, so had never used it. I found that not only can you make screen automagically setup all your screens for you, but you can also do some awesome console customisation as well (see my ~/.screenrc bellow).


screen -t default
screen -t "compile (emerge)"
screen -t config
screen -t rtorrent rtorrent
screen -t misc
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'

Here is a picture of what it looks like:

PS: This is actually in use on my fileserver (also a Gentoo box), hence the different hostname.

TrueCrypt
Since I almost lost my band new 8Gb USB mass storage device at UNI last week, I have decided to start using cryptography, so I remembered reading a planet.gentoo.org article about it and considering I am using Linux at home and Windows *shudder* Vista at UNI, I thought I would give this a try, Not just for portability and security but for any easy backup mechanism also (all I have to backup/synchronise one single file rather than managing lots of files and folders).

I followed the guide on the Gentoo Wiki here, and created a new volume now all I have to do is mount it and it's all there!

dean@quagmire ~ $ truecrypt -u /media/UNI/uni-2008-semester1.dat /media/UNI/uni
Enter password for '/media/UNI/uni-2008-semester1.dat':
dean@quagmire ~ $ ls -alh /media/UNI/uni
total 24K
drwx------ 6 dean dean 4.0K 1970-01-01 08:00 .
drwxr-xr-x 4 dean root 4.0K 1970-01-01 08:00 ..
drwx------ 6 dean dean 4.0K 2008-03-23 12:30 csg2207
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csg3308
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csi2102
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csi3207

And of course here's the proof that it's all working:

dean@quagmire ~ $ mount |grep -i truecrypt
/dev/mapper/truecrypt0 on /media/UNI/uni type vfat (rw,uid=1000,gid=1000,umask=077)
dean@quagmire ~ $

Wine
Well, as you may or may not be aware, my wine success has been pretty hit and miss (more like miss when it comes to M$ products and games), but this is due to the fact that wine is considered to be in perpetual development and the fact that I am trying to run proprietary software on a non-native platform *wink*

VirtualBox OSE
Alright, I must admit that I had an issue with this piece of software, but once I got it working it ran like a dream... I've been able to install Windows XP and (of course) Gentoo into Virtual Machines with no hassles whatsoever!



So it seems that I am not only more productive with a powerful Linux desktop, but I am also a much happier computer user as a whole even with the few "glitches" the arise every now and again.

If you learned something, enjoyed reading this article or have anything to contribute (or correct) ,feel free to leave feedback as comments on this post.


Coming soon: "Adventures in Open Source (Part 2)"!

2008-02-26

Gentoo GNU/Linux on Dell XPS M1730 (Part 2)

I have made significant progress on this project and have decided to continue with my findings so far.

I fixed the sound problem. Seems that snd-hda-intel was broken in alsa-1.0.14 (from kernel 2.6.20 - 2.5.22). I simply emerged the latest kernel, and now it works! even with surround!!

Next up I got TwinView working (finally). Seems that the nvidia driver thinks that my LCD (2702WFP) is a CRT, so I plugged in a DVI-VGA converter on the notebooks DVI port and hooked the LCD up via VGA (DB15 - DB15) cable and now she works. Interestingly enough, TwinView uses a form of xinerama, so all I had to do to stop getting a desktop stretched across both screens (and apps placed between both monitors), was to add USE="xinerama" into make.conf and re-emerged everything (emerge -uDavN) and now the WM detects the boundaries between displays!!!

TODO List
Wireless: I have installed ipw3945, but according to the Gentoo Wiki ipw3945 Hardware Article, it seems that iwlwifi is both newer and easier to implement and it will be available in gentoo-sources-2.4.24, but since it's masked, I'm reluctant to use it.

Software Suspend (to disk): This will be very important especially when using this beast at UNI. As I mentioned above, the 2.6.24 kernel has iwlwifi inbuilt, but I realised that the tuxonice-sources is at 2.4.24 (masked) so why not "kill two birds with one stone"?

TavelRemote: Since I also use this system to watch stuff (on the 27" monitor), it would be nice to be able to utilise lirc with the travel remote.

g15 GamePanel: According to some users, it's possible to use this via the g15tools, but it is low priority for me, since I use this thing as desktop-like system, where I can't even see the damn thing :P

MultiMedia Keys: This is yet another low-priority job. I will tinker again with xmodmap and app support to see if I can get it working in the future.

Who needs Microsoft® Windows™? Not me!


UPDATE: 26/02/2008 @ 1353
I discovered that the g15 Gamepanel is now working!
I had the g15daemon and libg15 stuff emerged a while back but I never noticed it working until now (I suspect the the newer kernel-2.6.23 has made a difference).

2008-01-03

I miss my KDE...

Since I'm stuck up north on yet another shift I'm beginning to have withdrawals from some of the nifty little features that makes KDE so awesome. Stuff like temporary focus-grabbing on the Kmix dock icon (being able to adjust the volume without having to change window focus is very neat... now that I realise it's missing :P ) and virtual desktops... by default!

I forgot to mention (until now) that I managed to get sound working on the XPS M1730 although doing so confirmed my suspicions somewhat. It seems that alsa in the latest kernel has broken snd-hda-intel (stac92xx) support.

I Still haven't gotten WiFi working yet either (ran out of time last RDO due to Portal), so this beast is glued to the one (hot) spot in the house for now. Maybe this heat will force me to get wifi working so that I can enjoy some nice cool aircond offered in the lounge room?

2007-12-08

Dell (Australia) Refuses Vista Refunds

It would seem that after contacting Dell for about 5 days straight, I have been thusfar unable to obtain a refund for my UNUSED copy of Windows® Vista™ Home Premium (32bit) that came with my XPS M1730.

Here are some of the lame "reasons" they gave me:


  • We are unable to refund due to Microsoft Licensing.
  • You accepted the agreement when you purchased the computer online as part of our policy.
  • You will be breaching the Microsoft License if you send the product back.
  • Because this is OEM version, we are unable to provide a refund because it is bundled with your computer.

These "reasons" didn't seem to make any sense, so I did some digging around on the Dell website for these policies and this is what I came up with:

The Dell's "Total Satisfaction" Policy states the following:
"You may return software for refund or credit only if the sealed package containing the diskette(s) or CD(s) is unopened"

I also checked their Terms and Conditions of Sale ("Terms and Conditions") and that states the following:

"All software provided is subject to the terms and conditions of the license agreement relating to that software. Customer acknowledges its obligations to abide by such license agreements. Customer acknowledges that Dell does not warrant any software under these Terms and Conditions. In addition to any rights the customer may have under statute, all software is warranted in accordance with the license agreement that governs its use."

So, if I do NOT to agree to the the Windows® Vista™ EULA and adhere to the conditions within it (don't use it and uninstall said software), am I not entitled to a refund???

One thing is for sure: The call centre minions at Dell don't know ANYTHING about software licensing and are not trained to deal with this situation, which means I am now stuck with a rather expensive coaster :P


UPDATE: 08/12/2007 @1620
I have lodged a complaint with OFT as I believe that Dell is not acting in accordance with their own policies and is therefore acting illegally by refusing a refund (IANAL).

UPDATE: 03/01/2008 @1605
I got a call from an Australian Dell representative (Sydney) and they left a message for me to contact them, just have to wait until 10/01/2008 before I can call him. Hopefully he can give me some good news...

UPDATE: 06/06/2008 @1036
This is a very late update. There will be no refund from Dell as I have not only lost the telephone number for the person I needed to speak to, but I have failed to get this done within 90 days of the purchase, due mainly to work and the fact that I don't want to have to do this process in a hurry again. Since the release of Windows® Vista™ I will no longer use windows for personal use (and soon to be for work use to), so even though I will have to go this process yet again, my next Dell Notebook *WILL* be Windows-free!

2007-11-29

Gentoo GNU/Linux on Dell XPS M1730

So I just received my brand new M1730 from Dell and since Dell sent a 32bit version of Windows Vista I have decided to decline the Windows Vista EULA, opt for a refund/credit and install Gentoo on it instead.

Heres how I did it (this is not intended as a howto).

First of all I ghosted (both) installed HDD's for the factory configuration (in case I had to restore for some reason).

Next I slid the good 'ol Gentoo 2007.0 LiveDVD into the DVD drive and proceeded to boot the machine with a one-time boot option (F12) but after trying many different versions and arch types I finally resorted to the amd64 LiveDVD which seemed to do the trick (except iiNet's rsync mirror seems to be borked).

Once I installed the base system it was as easy as doing a normal install except for the following options that I added to /etc/make.conf

CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"

I was intending to use suspend2-sources as this is a laptop and it would be nice to be able to suspend/resume this beast between UNI and home (suspend2-sources are patched with both genpatches which includes the patches found in gentoo-sources, and Software Suspend 2 which is a new and improved implementation of suspend-to-disk for the Linux kernel¹) but unfortunately its masked for the amd64 arch.

About the only problem I encountered (other than accidentally trying to use the wrong arch for the stage3) was the CONFIG_PHYSICAL_START option in the default kernel configuration, as it was set to 10000. As per this webpage, I edited the .config and set it to 20000 and then the kernel happily compiled (I even have 32bit emulation too!).

All I need to do now is emerge xorg, wine/cedega, firefox and openoffice, then configure suspend2 (tuxonice), dual monitors and all the other niggly little laptop features on this thing (like aux LCD, mic sense jack, media buttons and wifi) :P

I will try to remember to post as I get devices working on this beast.

UPDATE: 07/12/2007 @ 1336
I managed to get output on the DVI interface in single link mode, but the resolution is all wrong (way too small)! It is either an xorg.conf MetaMode miss configuration or the latest nvidia drivers are borked...

2007-10-30

No Alienware Laptop for me...

On the 4/9/2007 I purchased an Alienware Aroura m9700 notebook. Until the last few days I have not received any correspondence or communication from Alienware about my order because it looks like they have gone into receivership.

Below is a snippet of the email that was sent to me that confirmed this:



From: sales@alienware.com.au
Sent: Tuesday, 9 October 2007 3:59 p.m.
To: <deleted>
Subject: RE: Arora m9700 status.

Dear Mr <deleted>,

We apologise for the serious delay in your order. Alienware Australia which was a subsidiary company of Jackar Holdings has been affected as its parent company Jackar Holdings which operated the Alienware license in Australia has fallen into bankruptcy last week. Alienware America has taken over all operations and will honour all sales and warranty claims. We are able to process your order and it will be dispatched to you in the next 7 – 14 days.

I will try and push your order through faster and keep you updated.

Best Regards,

Alienware Sales


Alienware Australia



After waiting even longer for it, they still failed to get my order done within that time period as the next email states:



Sent: 29 Oct 2007 13:08
To: <deleted>
Subject: RE: Arora m9700 status.

Dear <deleted>,

Firstly I would like to apologise for the current situation as stated below your order was affected by the bankruptcy of our local partner. The M9700 has gone end of life I am able to upgrade you to the M9750 at no extra cost however we would need you to do a chargeback on your credit card for the last order and re process your card. If this is of interest please provide a contact number and I will give you a call to run you through the process.


Best Regards,

Alienware Sales


Alienware


The problem with this was not necessarily the waiting, but the lack of communication and the fact that this was also arranged with my current employer as a salary sacrifice. Alienware also will not directly refund me so I now have to fill out a funds dispute form for my bank and so hopefully I should get a refunded soon.

Anyway, it looks like Dell have a similar product for about the same costs and specifications.



UPDATE: 8/12/2007 @1638
The Credit Card Charge back went through last week and now my funds (and happiness) is back. Hooray!

2007-08-16

Random Post #2

I used the Dell Support Request form for the first time and noticed that the fscking web application won't work with a standards compliant browser (Mozilla Firefox) *argh*

I am also starting to really dislike administering Windows servers at the moment because of weird user home directory permissions and active directory in general (replication times over frame really are soooooo sloooowwww!)

Not only, but also, I am in the process of migrating my DCSE to a self-managed account so that regardless of what company I work for, I will always have access to, and be able to manage my DCSE profile.

CLI-Tip #0001:


mstsc /v:server

This allows a user to quickly connect to a server running
terminal services (or a Windoes XP machine with remote
desktop configured) by specifying the name or IP address
on the command-line. Very handy for those that use
"rdesktop" alot :)

2007-05-13

New Monitor

Not much to blog except for the fact that I have just purchased a Dell 27" Monitor (2707WFP) ^_^

Now that I have my old 17" up north in my dormitory, I have determined that I probably should have done it the other way around :P

Oh well, at least sending it to the Perth office helps guarantee delivery.

2007-01-30

Dell BIOS Wierdness

Today I not only discovered that a Dell Inspiron D800 and a Precision M60 are essentially the same laptop (identical/interchangable M/B) with a different BIOS and to turn a Precision M60 into a Inspiron D800 is as simple as flashing the BIOS using a "/forcetype" as a command-line argument at run-time of the bios binary. Furthermore it seems that some (specifically the D800) BIOS binaries will run on either win32 or MS-DOS, but to get the previously mentioned hack to work, you have to use MS-DOS.


WARNING: Try this at your own risk. I will not be held accountable in any way shape or form if you turn your Lappy into a brick!




UPDATE (20070329): It seems that Dell still use similar motherboards for their D820/M65 product lines, but the BIOS from a D820 cannot be flashed to an M65 by using the /forcetype command-line switch anymore. Way to go Dell.

 
Google+