webcam issue : Genius Slim 1320 on Mandriva 2009.1
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
webcam issue : Genius Slim 1320 on Mandriva 2009.1
Hi,
I recently decide to replace my Windows XP partition with a linux one.
I'm a newbie in your world ! so please be nice to me, especially if my question appear too stupid to you !
Excuse my english too, i'm french !
here we are:
Since i was skype user in the windows world, i did installed the last version for my distro (Mandriva 2009.1 2.6.29.3-desktop586-1mnb). The problem appear when i did connect the webcam, no device appeared on /dev/videoX.
The webcam is a Genius Slim 1320
Since i couldn't found driver information on this specific webcam, i did open it and see a SONIX chipset.
I tryed different soft: cheese, mplayer, camstream, luvcview, all with and without LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so <softname>
After spending 4 evenings querying google, read pages of forum and other website, i'm a little bit lost !
Sonix chipset look working with UVCVIDEO driver that appear to be already integrated to Mandriva 2009.1 kernel.
GSPCA looks also integrated to this specific kernel.
But none of them are able to detect the webcam.
So here are my question:
Q1-Do i have a driver or Hardware issue here ?
Q2-How to determine which driver is suitable for the webcam (Vendor ID:Product ID OR chipset OR output stream type) ?
Q3-Do we have to test all of them(driver) to get the answer ?
Q4-Do i have to buy another Webcam ? if yes any suggestion ?
[root@localhost ~]# tail /var/log/messages
May 26 21:48:32 localhost klogd: usb 1-5: new high speed USB device using ehci_hcd and address 12
May 26 21:48:32 localhost klogd: usb 1-5: New USB device found, idVendor=0458, idProduct=704a
May 26 21:48:32 localhost klogd: usb 1-5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
May 26 21:48:32 localhost klogd: usb 1-5: Product: USB20 Camera
May 26 21:48:32 localhost klogd: usb 1-5: configuration #1 chosen from 1 choice
May 26 21:48:32 localhost klogd: 12:2:1: cannot get freq at ep 0x84
Genius=KYE System
Code:
[root@localhost ~]# lsusb
Bus 001 Device 012: ID 0458:704a KYE Systems Corp. (Mouse Systems)
So the question now are:
Do i have the proper driver loaded or not ?
and
So how could i "modify kernel source and rebuild the kernel", any how to on that particular point ?
good luck
I am using both right now. the older cams need 4vl1 and the new kernel has 4vl2 so we need the compat. then you will need to edit your launchers to do this
Quote:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so amsn
I use my web cam on amsn and gyachi and other programs that grab the web cam.
anyway, i tryed the command you gave me without success. Thanks anyway.
A borrow another webcam from a friend, and as soon i connect it i did had the /dev/video0 created
Code:
tail /var/log/messages
May 27 22:39:04 localhost klogd: usb 3-2: new full speed USB device using uhci_hcd and address 5
May 27 22:39:04 localhost klogd: usb 3-2: New USB device found, idVendor=041e, idProduct=401d
May 27 22:39:04 localhost klogd: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 27 22:39:04 localhost klogd: usb 3-2: Product: Creative WebCam NX Ultra
May 27 22:39:04 localhost klogd: usb 3-2: Manufacturer: Creative
May 27 22:39:04 localhost klogd: usb 3-2: configuration #1 chosen from 1 choice
May 27 22:39:04 localhost klogd: gspca: probing 041e:401d
May 27 22:39:04 localhost klogd: gspca: probe ok
So, for my Genius, i guess the it's a hardware problem since in log message i didn't get anything after "configuration #1 chosen from 1 choice".
My opinion is that none of the install driver UVC nor GSPCA are able to detect this particular webcam.
So i will have a last question:
How can i test each driver(one by one) and force it to be loaded a boot to see if it can detect the webcam as soon i connect it ?
I am sorry you do not want to do the thing I asked to use the compat module .
if you have
Quote:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
so look in your /usr/lib/libv4l/v4l1compat.so and make sure this is there. I have been trouble shooting this for mandriva and slackware ever sence the v4l2 came out with 2.6.27 kernel.
so I installed the 2009.1 and did like I told you to do. then when I want to run a program that uses my old Cam. I either open a terminal and type
Quote:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so (plus) the name of the program.
This is for a 32 bit system i586. I have Edited my Icon Launchers and menues to run them. This is a old problem fixed a year ago and sorry if I have confused you.
do not forget if you are using the paid for x86_64 mandriva you will have to install the lib compat.so to.
To understand what I am saying is I am telling the program to pre-load the compat.so so your old cam will be of use you can have all the drivers lib etc but if you program does not load them it will never use them.
Hi Drakeo,
I think there is a misunderstood between us.
I do really want to test what you told me but, you told me
Quote:
install v4l1-compat this is in mandrivas repository
but this specific component was already installed on Mandriva. So i didn't get the point why i have to installed an existing component, is it a new version ?
I did already test the command
Code:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
or
Quote:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so ekiga
But with the genius webcam,i still have no webcam detected (nothing on /dev/video0) when i connect it.
I really want to found a solution to continue to use Mandriva.
Or if you have any other suggestion on another distro that i can use that is more easy to setup hardware ?
Fedora 11 will be release in 2 days, should i give it a try ?
I have been using the new 64 bit Mandriva and I still had no luck with my old cam. Once I get it right with Slackware-13_64 I will work on Mandriva's my do not feel bad there is some shared libraries that are not loading for the 32 bit hardware and I am working on it.
But my cam is down also with the 64 bit systems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.