Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install the genius facecam 300 driver on ubuntu 12.04 64bit. I saw this website that seems to be useful: http://patchwork.linuxtv.org/patch/11269/; But I do not know how should I use it exactly.

Bus 004 Device 002: ID 093a:2627 Pixart Imaging, Inc.

How can I install that driver?

share|improve this question
    
did you tried cheese to test whether it is working, because in ubuntu generic driver work almost every time. Unlike windows, you don't need to install driver for each component –  Web-E Jul 9 '12 at 11:16
    
@TrailRider: This doesn't look like a duplicate of that question. The URL in the question is for the gspca_pac7302 driver, and it looks like the version of that module in 12.04 doesn't yet recognise the questioner's hardware's USB ID. It isn't simply asking for a software recommendation. –  James Henstridge Jul 10 '12 at 7:55
    
In fact, It seems that gspca_pac7302 works fine for the 093a:2627; But I do not know how to make it work! I did "modeprobe gspca_pac7302" but cheese could not find the webcam yet! –  Mohammad Etemaddar Jul 10 '12 at 20:45
add comment

1 Answer 1

If you want to apply that patch, you will need to recompile the kernel. Instructions for doing so can be found here:

https://help.ubuntu.com/community/Kernel/Compile/

With that in mind, the patch in question appears to be adding an additional USB ID to an existing driver. It is possible to patch additional IDs into a driver at runtime, so you might be able to get get away without going through a recompile. You may want to try this even if you plan to recompile the kernel, since it should be enough to verify that the hardware works.

First of all, load the driver in question:

sudo modprobe gspca_pac7302

Now you need to tell the driver about the new device ID:

echo 093a 2627 | sudo tee /sys/bus/usb/drivers/gspca_pac7302/new_id

At this point, the driver should bind to the new device. If it doesn't, try unplugging and replugging it. You should see a new /dev/videoN device file, and maybe some extra log messages in the output of dmesg when this happens.

The patch also sets a flag saying that images from this particular device are vertically flipped, so you might notice that in video applications. I am not sure how you could fix that without the kernel recompile assuming the video application you're using doesn't have some way to correct for this.

share|improve this answer
    
Although I am not at home and have not access to test; Thanks a lot any way Mr. James –  Mohammad Etemaddar Dec 15 '12 at 12:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.