/kernel_reloaded/

Author:

Novi članci

Flickr Goodness

Categories

Flickr Favorites

Archive for February, 2008

February 28, 2008 @ 14:14

Howto compile uvcvideo linux webcam module for Fedora

webcam

 

If you have followed my previous webcam howto guide and found out that you need uvcvideo module for your webcam just follow this howto.

First install subversion, if you don’t already have it installed, so you can get the latest code from uvcvideo project svn repository. As root just start yum in console or if you like gui application managers like pirut just use them. Here is how you can install it with yum:

yum install subversion

now you need to get the source code for uvcvideo webcam module:

svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk linux-uvc

and when the download is complete you can compile the code:

cd linux-uvc
make

Now you need to become root and install the module in correct place:

su
make install INSTALL_MOD_DIR=extra/uvc

Then you will get an error saying:

depmod -ae `uname -r`
/bin/sh: depmod: command not found

because you don’t have /sbin directory in your path so only thing you still need is this:

/sbin/depmod -ae `uname -r`

now you can load your module with command:

/sbin/modprobe uvcvideo

and run cheese to test your webcam.

 

links:

 

ps. I choose images for my blog by going to http://images.google.com and seraching for the most obvious keyword in the article, for this article it the word was webcam. As you can see this keyword provided some interesting search results :)

Filed under english, fedora, linux, tips&tricks · 2 Comments »

February 26, 2008 @ 0:15

Fedora updates without password

If you run Fedora as a home or work desktop and you are the only user on that system then you probably don’t want to enter root password for every update.
If you would like to have more user friendly updates that don’t ask you for root password for each update then you need edit this file as root:
/etc/pam.d/pup

Original /etc/pam.d/pup file on Fedora 8 looks like this:
#%PAM-1.0
auth include config-util
account include config-util
session include config-util

You need to add a line before the first “auth” so that your new /etc/pam.d/pup file looks like this:
#%PAM-1.0
auth sufficient pam_console.so
auth include config-util
account include config-util
session include config-util

Now try to run pup from console as a regular user and you shouldn’t be prompted for your root password anymore.

Filed under linux · 1 Comment »

February 17, 2008 @ 2:55

My Mugshot on Wordpress blog

I have used mugshot service for some time now and I really like it. If you haven’t used it before I highly recommend you sign up and install mugshot client. So far I know this is the only linux user specific social network service and it is made by Red Hat. There is also a windows client but it is more tailored to linux desktop users.

So I wanted to spice up my blog a bit. Wordpress has sidebar in which you can add different add ons. Mugshot people have made “mugshot mini badges” that you can put on your facebook, wordpress and other blogs.

You need to go to your Wordpress administration page and under Manage / Files edit Sidebar file. Choose the appropriate place and just copy/paste the code from mugshot badges page.

If you are interested in how mugshot mini badge looks like here it is:

Update:
Flash version has some issues with my blog, so I found a HTML one also and here is how it looks like:

Filed under english, linux, općenito · No Comments »

February 13, 2008 @ 13:44

Fedora webcam howto

If you have a webcam that needs some module (driver) that it is not in Fedora kernel then you usually need to compile it manually. Fedora doesn’t include any modules that aren’t in upstream kernel. Livna repository has some modules for some webcams. But if you have a webcam like mine that uses uvcvideo module which isn’t in livna repo then only solution is to compile it manually.

First step in getting your webcam working is to check if maybe it is working but you don’t know it is :)

Install application called cheese with your favorite gui of cli tool. I use yum so here is how I do it:

su -
yum install cheese

If you webcam works that is it, if it doesn’t work then you need to find out which webcam module you need to install or compile.

Start tool called v4l2-tool, if you don’t have it install it. When you start it you will see this:

webcam_01.png

Click on the last tab labeled “suggest driver”:

webcam_02.png

Then click on “lsusb output” button:

webcam_04.png

Now you need to recognize which of all listed usb devices is your webcam. I had only two lines and I recognized microdia as manufacturer of my webcam so I used manufacturer and model ID from that line in my cast that is – 0c45:62c0.

Now you need to enter that info back in main window in “vendor ID” and “product ID” boxes and press suggest driver button:

webcam_05.png

How you should get the module name and link where to get more info for installing your webcam in Fedora.

Filed under english, fedora, linux, tips&tricks · 7 Comments »

February 6, 2008 @ 18:12

Fedora 9 Alpha

Fedora Projekt nastavlja sa svojim brzim tempom razvoja i inovacije Slobodnog softvera s izdavanjem Fedora 9 Alpha. Dok druge distribucije tek počinju prihvaćati tehnologije poput PulseAudio i PolicyKit mi smo jos jednom korak ispred s projektima poput FreeIPA. Red Hat je i dalje firma koja više od svih drugih pridonosi razvoju Linux kernela. Red Hat također pridonosi i drugim velikim poboljšanjima poput GNOME VFS layera – GIO/GVFS koji je dio Alpha izdanja Fedore.

Neka od najvažnijih novosti u Fedora 9 Alpha su:

* Podrška za promjenu veličine particija tijekom instalacije (ext2,ext3 i
NTFS)

* Podrška za kreiranje i instaliranje enkriptiranih datotečnih sustava

* Brži i učinkovitiji yum

* PackageKit

* FreeIPA, integrirano rješenje koje obuhvaća Linux, Fedora Directory
Server, FreeRADIUS, MIT Kerberos, NTP, DNS te pruža provisioning i
administriranje putem web sučelja i komandne linije

* GNOME 2.21 Development Release

* KDE 4.0

* Firefox 3 Beta 2

* Kernel 2.6.24

.. i puno toga još.

Linkovi:

  • Engleski izvor
  • Fedora 9 Alpha download
  • Filed under croatian, fedora, linux · No Comments »

      Recent Comments

      • Muhammad Baiquni: I have been used the mintMenu on my Fedora 12, and thats was so great !!!
      • mrmcq2u: “Not to spoil anything, but I have this running from F11 (murrine in F12 also supports this for some...
      • Peter: Not to spoil anything, but I have this running from F11 (murrine in F12 also supports this for some...
      • Livio: GNOME is not willing to gain RGBA upstream, they’re slowing down the process so Ubuntu may have to apply...
      • nicu: That depends on how good FLOSS citizens the Ubuntu guys are, if they keep the patch for themselves or submit it...

      Archives


      ·

      Meta

      del.icio.us