<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="../main.xsl"?>
<page ads="no">
<id>vostro</id>
<title>Slack on Vostro</title>
<crumbs>Slack on Vostro</crumbs>
<edited>June 25, 2010</edited>
<right>
	<links>
		<link url="#intro" title="Introduction"/>
		<link url="#oob" title="What Worked"/>
		<link url="#fix" title="What Took Some Fixing"/>
		<link url="#nottested" title="Not Tested"/>
	</links>
</right>
<content>
	<anchor name="intro"/>
	<title>Slackware 13.1 on Dell Vostro 1500: Introduction</title>
	<para>It'd been a while since I last upgraded Slackware, so I decided last Monday that I'd do just that. All in all, it was a whole lot easier to set up Slackware 13.1 on my Dell Vostro 1500 than it was on Slackware 12. Compositing (in X) basically worked out of the box after I <link url="xorgconf13" title="configured X"/>. Oh, and <link url="slack121.xml" title="my Slackware 12.0/12.1 guide has been relocated."/></para><para>As I did last time, I'll just focus mainly on getting the hardware to work. Just for reference, in case something doesn't work for you due maybe to permissions, my user account is part of the floppy, audio, video, cdrom, plugdev, power, and scanner groups. Also, my console uses the framebuffer, i.e. I have vga = 791 in my lilo.conf.</para>
	<link url="#centerer" title="^ Back to Top"/>
	
	<anchor name="oob"/>
	<title>What Worked</title>
	<para><emph>I consider something working out-of-the-box if I don't have to install anything extra (e.g. drivers) for it. So if it's just a configuration issue, it's considered working out of the box. It sort of doesn't make sense, but that's just how I group these things.</emph></para>
	<itemize>
		<item><b>Processor</b></item>
		<item><b>System Board</b></item>
		<item><b>RAM</b></item>
		<item><b>Power Button</b></item>
		<item><b>Brightness Keys</b> (Fn + Up and Down Arrows) -- both in X and in Console</item>
		<item><b>TrueLife Display</b></item>
		<item><b>Hard Drive</b></item>
		<item><b>CD/DVD Burner</b></item>
		<item><b>Keyboard</b></item>
		<item><b>USB</b></item>
		<item><b>Ethernet</b></item>
		<item><b>Suspend-to-Disk</b><br /><emph>Note:</emph> The command is: <code>echo -n disk > /sys/power/state</code></item>
		<item><b>Suspend-to-RAM</b><br /><emph>Note:</emph> The command is: <code>echo -n mem > /sys/power/state</code></item>
		<item><b>Internal Microphone</b><br /><emph>Note:</emph>The capture device is muted by default. Just run alsamixer (in terminal), hit tab to get to the capture devices, turn up the volume on everything and enable Capture by pressing the spacebar. Alternatively, you can use kmix and check the checkbox under Capture to enable it:<br /><image url="images/kmix6.jpg" dimensions="410x200" alt=""/><image url="images/kmix7.jpg" dimensions="215x200" alt=""/><br /><br /></item>
		<item><b>Sound</b><br /><emph>Note:</emph> It's muted by default - just open alsamixer, unmute everything, and type:<code>alsactl store</code></item>
		<item><b>Built-in Webcam</b><br /><emph>Note:</emph> I'd recommend getting <link url="http://www.quickcamteam.net/software/libwebcam" title="uvcdynctrl"/> and setting Backlight Compensation to 0 and White Balance Temperature, Auto to 0 to improve the framerate in lower light conditions (e.g. indoors) like this:<code>uvcdynctrl -s 'White Balance Temperature, Auto' -- 0<br />uvcdynctrl -s 'Backlight Compensation' -- 0</code>Note on Compiling uvcdynctrl and libwebcam: You'll need to modify the CMakeLists.txt file in libwebcam and uvcdynctrl to get it to compile. See this link for details: <link url="http://forums.quickcamteam.net/showthread.php?tid=1129&amp;pid=4330#pid4330"/><br /><br />After that, you can use uvcdynctrl to adjust the white balance manually. Run this to see your webcam. To get an approximate framerate, just divide the number of frames successfully processed (when you quit mplayer) by the time for which you ran mplayer:<code>time mplayer tv:// -tv driver=v4l2:device=/dev/video0:outfmt=mjpeg</code>And assuming you've enabled your internal microphone and have your speakers unmuted, you should be able to capture video with audio using mencoder. Here's the command I've been using:<code>mencoder tv:// -tv driver=v4l2:device=/dev/video0:outfmt=mjpeg:forceaudio:alsa:amode=1 -oac pcm -vf dsize=1.33\|640:480 -ovc lavc -o test.avi -fps 25</code></item>
		<item><b>Multimedia Buttons</b> (they Just Work&#x2122; in KDE)</item>
		<item><b>Synaptics Touchpad</b><br />All right. So this one is borderline out-of-the-box. I didn't have to install any drivers, but I did have to copy over my configuration settings from my old installation, which would probably take a long time to figure out for a first-timer. <link url="xorgconf13" title="Here's my xorg.conf"/>.</item>
		<item><b>Built-in Memory Card Reader</b><br />Just look for /dev/mmcblk0 when you insert your memory card. You can mount /dev/mmcblk0p1, which is your memory card's first partition.</item>
	</itemize>
	<link url="#centerer" title="^ Back to Top"/>
	
	<anchor name="fix"/>
	<title>What Took Some Fixing</title>
	<itemize>
		<item><b>Wireless (Dell 1395)</b><br />Follow the <link url="http://linuxwireless.org/en/users/Drivers/b43#Mandriva"  title="instructions for Mandriva on linuxwireless.org"/> to install both b43-fwcutter and the firmware. If you're using Slackware 13.1, you're probably using linux-2.6.33, so follow the second set of instructions (entitled "You are using the b43 driver from linux-2.6.25 or newer") for installing the firmware.<br /><br />After you have the driver installed, you'll have to turn on the wireless interface before you can connect to access points (I'm noting this because I didn't have to do this when I used ndiswrapper in Slackware 12.1):<code>ifconfig wlan0 up</code></item>
	</itemize>
	<link url="#centerer" title="^ Back to Top"/>
	
	<anchor name="nottested"/>
	<title>Not Tested</title>
	<itemize>
		<item>S-Video</item>
		<item>IR</item>
	</itemize>
	<link url="#centerer" title="^ Back to Top"/>
</content>
</page>
