Compile a GL860 driver (GenesysLogic USB camera devices)

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Compile a GL860 driver (GenesysLogic USB camera devices)

Postby Anaxis on Fri Aug 21, 2009 4:29 pm

WARNING: I RARELY HAVE ANY IDEA WHAT I'M DOING. AS SUCH, TAKE THIS POST WITH A PINCH OF SALT, COS I COULD BE HORRIBLY WRONG, AND IF YOU FOLLOW MY DIRECTIONS AND BREAK SOMETHING, I SHOULD BE CALLED A COMPLETE NEWBIE AND RIDICULED FOR IT, BUT NOT HUNTED DOWN IN COLD BLOOD.

That being said, let's start, shall we?

If you are using a laptop with a built-in webcam, such as an ASUS C90S (like I am), the webcam drivers are sometimes difficult to find, and even more difficult to use if you're just starting out (like I am).

First, go to http://sourceforge.net/projects/gl860/files/ . There is a list of recent drivers that have had improvements made to them, and the most recent as of this post is the 2009 Feb driver. Download that package, and extract the .tar.gz file to your desktop.

Open a terminal, and enter
Code: Select all
cd ~/Desktop/nvgl


Then, type
Code: Select all
./install


From here, you have a couple of choices. You can use the wizard, which may or may not work depending on your computer model (it didn't work for me, so I'll include those steps as well). To know if this is gonna work easier to use the wizard or not, simply minimise the terminal, and open up the nvgl folder on your desktop. Open the readme, and have a quick scan through it. If you see the make and model of your laptop, do not use the wizard.

The wizard is fairly straighforward, it'll ask you a series of questions about your camera's megapixel dimensions, and your options to each of these questions is either [y] or [anything else] (both options without the brackets). If you choose NOT to use the wizard, you'll choose [anything else] twice.

In the case of a C90S, when it asks you to use the wizard, choose [anything else]. Then, it will ask you to choose which driver suits your camera best. Referring to the readme, the driver that suits a C90S best is [c], so enter that (without the brackets). This will add the GL860c driver to your drivers in Mint.

After this, open up Cheese or Camorama (or get them from the package manager if you don't have one or the other). If the programme shows up with vertical lines and your webcam appears to be on and not working, don't panic, this is just a resolution problem. Open up the preferences in Cheese or Camorama, and lower the resolution from 1600x1200 to 640x480. Then, the picture should show up.

If the driver is working, whichever one you added to your Mint driver pool, in order to start the driver at startup, type
Code: Select all
gksu gedit /etc/modules
. This will open up a gedit of your modules to start up with list. Find the first entry, and immediately underneath it, simply type
Code: Select all
gl860
it doesn't matter which driver you actually added, because if it was added to the list, even if it was GL860c, it was renamed gl860 when it was compiled.

I think that's all there is to it. If the gurus wanna add to it, feel free, I take no credit for this really, cos I haven't really had too much experience with Linux. Hope it helps someone though!
"People should better think of their computing devices as facilities lended by the DHS." -Berke Durak, Linux wipe (secure file deletion) development.
Anaxis
Level 2
Level 2
 
Posts: 71
Joined: Tue Aug 04, 2009 8:34 pm

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: Bing [Bot] and 6 guests