LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-26-2009, 11:32 AM   #1
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Rep: Reputation: 15
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 ?


here after some output:

"cannot get freq at ep 0x84" is "normal" there is an integrated microphone see http://www.quickcamteam.net/document...q-0-on-connect
Code:
[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)
gspca driver looks up and running !
Code:
[root@localhost ~]# lsmod | grep gspca
gspca_spca505           7420  0 
gspca_main             22108  1 gspca_spca505
videodev               40352  2 uvcvideo,gspca_main
usbcore               179376  12 uvcvideo,usb_storage,snd_usb_audio,snd_usb_lib,gspca_spca505,usbhid,gspca_main,usblp,rtl8187,uhci_hcd,ehci_hcd
UVCVIDEO driver looks up and running !
Code:
[root@localhost ~]# lsmod | grep uvc
uvcvideo               57416  0 
videodev               40352  2 uvcvideo,gspca_main
v4l1_compat            13440  2 uvcvideo,videodev
usbcore               179376  12 uvcvideo,usb_storage,snd_usb_audio,snd_usb_lib,gspca_spca505,usbhid,gspca_main,usblp,rtl8187,uhci_hcd,ehci_hcd
Any help, advices, tips or other workaround solution are welcome.
Thanks in advance,
good day
 
Old 05-26-2009, 01:52 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Limdel,
I'm not sure I can help you but when you say,
Quote:
gspca driver looks up and running !
I am not sure about that. I use the gpsca driver for my webcam and the setup looks like this:
Code:
lsmod | grep gspca
gspca                 639888  0
videodev               27520  1 gspca
usbcore               118160  6 usbhid,gspca,usb_storage,ehci_hcd,uhci_hcd
My webcam works on everything except Ekiga.
cheers,
jdk
 
Old 05-26-2009, 09:08 PM   #3
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks jdk for the answer.

Does the gspca_main is the same as gspca ?

i just found this...http://www.linuxquestions.org/hcl/re...?userid=185543

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 ?

Thanks in advance.
 
Old 05-26-2009, 09:31 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
install v4l1-compat this is in mandrivas repository this handles the old web cams this first one is for NONE! x86_64 system i586 only this one is for x86_64 system 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.
 
Old 05-26-2009, 09:37 PM   #5
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks Drakeo for the feedback.

Will try this tonight, and comeback for the result !

Good Day
 
Old 05-27-2009, 11:01 AM   #6
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Drakeo,
This driver is already installed on Mandriva 2009.1.

i did a ..
Code:
modprobe uvcvideo
and in return i had
Code:
lsmod | grep uvc
uvcvideo               57416  0 
videodev               40352  2 uvcvideo,gspca_main
v4l1_compat            13440  2 uvcvideo,videodev
usbcore               179376  11 uvcvideo,gspca_spca505,gspca_main,usbhid,usblp,snd_usb_audio,snd_usb_lib,rtl8187,ehci_hcd,uhci_hcd
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
Code:
lsusb
041e:401d Creative Technology, Ltd WebCam NX Ultra
All soft are working with this webcam.


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 ?

Thanks
 
Old 05-30-2009, 09:41 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 06-01-2009, 04:05 AM   #8
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
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 ?
 
Old 06-01-2009, 11:17 PM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
so look in your /usr/lib/libv4l/v4l1compat.so and make sure this is there. I have been trouble shooting
did you open your file manager and navigate to /usr/lib/libv4l/v4l1compat.so
then you see the v4l1compat.so if not then you need to install it.
 
Old 06-02-2009, 11:28 AM   #10
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Hi Drakeo
Yes i did..
Code:
# dir /usr/lib/libv4l
v4l1compat.so  v4l2convert.so
this is why i told you that this component was already installed.
Thanks anyway Drakeo.
I still willing for making this webcam workign under linux.

Limdel
 
Old 06-03-2009, 02:08 PM   #11
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 09-21-2009, 04:42 PM   #12
viroos
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Hi,
I also have problem with this webcam.

There is a patch in kernel 2.6.31 for sn9c20x chip (webcam chip is sn9c202AFG).

Unfortunately dmesg output says:
Code:
[  179.275927] gspca: probing 0458:704a
[  179.298990] sn9c20x: OV9650 sensor initialization failed
TIA for help

regards,
Maciej
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam support: Genius Slim 311R ? tothzp Linux - Hardware 9 06-06-2009 04:48 AM
Webcam installation Mandriva 2009.1 not successful moshebagelfresser Mandriva 2 12-26-2008 01:09 AM
SMB & Webcam Problems in Mandriva 2009.0 edwinlives4ever Linux - Newbie 1 12-22-2008 04:18 AM
USB Scanner Genius ColorPage-HR7X Slim problem theMagus Linux - Hardware 1 12-15-2006 02:47 PM
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration