LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2008, 10:25 AM   #1
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Rep: Reputation: 31
cant mount webcam in VIRTUALBOX


i am using slackware 12.1 whit virtualbox 1.6.0 sun
and i cant get my webcam or other usb devices running,
usb 2.0 is installed whitout problems.
my mouse and keyboard are working fine
but when i hang a new device on my usb port's
virtualbox does reconnize the device
but windows xp does not connect/reconnize the device.
like usb webcam.

no new device found

and no new device connected whit manualy scanning for new hardware devices
 
Old 06-11-2008, 11:02 PM   #2
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
Good evening.

I'm not familiar with Virtual Box, but I understand it's something like VMware from what I see on their site.

If virtual box is recognizing the webcam, what happens when you plug the webcam in while observing the output of tail -f /var/log/messages in slackware? If you don't see camera recognition in some way or some special drivers for that camera being loaded, then we can tackle that issue.

You will also see the camera name with lsusb. All of these commands are as root. Let me know what happens with those commands. If it doesn't work out, then we have to see what drivers your camera needs and whether or not v4l is compiled into the kernel. I know that on 12.1 the v4l drivers are available by default (on my full install, at least). If the v4l drivers are available, then you should look into the webcam drivers.

This is all on the path to seeing if the camera will work in Slackware, but as for that other O$ M$ not recognizing it... I'm not sure how to fix that.

I would just scrap the whole virtual box and XP thing and run slackware 12.1 Just kidding.

-Anithen
 
Old 06-12-2008, 06:22 PM   #3
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
lsusb
Bus 002 Device 003: ID 041e:4041 Creative Technology, Ltd WebCam Live! Motion
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000

Last edited by R03L; 06-12-2008 at 06:23 PM.
 
Old 06-12-2008, 08:12 PM   #4
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
Thanks. I haven't searched the web for those codecs yet, but will you please:

1. run tail -f /var/log/messages as root
2. unplug the camera
3. Plug the camera back in
Please paste the output of tail -f /var/log/messages and lsmod here. Also, will you also post the output of lsmod?

This will help see if the drivers are being loaded for you. After we find this out, we can tackle new horizons.

Peace,
 
Old 06-13-2008, 09:47 AM   #5
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
Wink

Code:
Jun 13 16:45:18 vlip kernel: usb 1-4: USB disconnect, address 2
Jun 13 16:45:22 vlip kernel: usb 1-4: new high speed USB device using ehci_hcd and address 3
Jun 13 16:45:22 vlip kernel: usb 1-4: configuration #1 chosen from 1 choice
Code:
lsmod
Module                  Size  Used by
vboxdrv                69536  1
snd_seq_dummy           6660  0
snd_seq_oss            32896  0
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50256  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            40352  0
snd_mixer_oss          17920  1 snd_pcm_oss
ipv6                  234724  14
lp                     13348  0
parport_pc             27556  0
parport                34632  2 lp,parport_pc
fuse                   45588  1
nvidia               7099204  34
snd_ca0106             34528  5
snd_rawmidi            22560  1 snd_ca0106
snd_seq_device         10380  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec         98724  1 snd_ca0106
snd_pcm                72068  5 snd_pcm_oss,snd_ca0106,snd_ac97_codec
8139too                25600  0
snd_timer              22532  4 snd_seq,snd_pcm
mii                     8448  1 8139too
snd                    47716  16 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ca0106,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9824  1 snd
ac97_bus                5760  1 snd_ac97_codec
rtc_cmos               11040  0
psmouse                40336  0
snd_page_alloc         11528  2 snd_ca0106,snd_pcm
thermal                16540  0
rtc_core               18696  1 rtc_cmos
button                 10000  0
processor              32680  1 thermal
rtc_lib                 6528  1 rtc_core
agpgart                30664  1 nvidia
k8temp                  8192  0
forcedeth              48780  0
serio_raw               9092  0
hwmon                   6276  1 k8temp
joydev                 13120  0
evdev                  12672  4
sg                     30224  0
 
Old 06-13-2008, 11:26 AM   #6
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
Looks like the webcam specific drivers and the v4l drivers aren't being loaded. I have to go to work, but in the mean time see if the the v4l drivers are available as modules. Aside from trying to modprobe them, lets just see if they exist:

locate v4l

Also, we can use the device id of your camera and its name to find out what drivers it needs or if they are available in the kernel to be built as modules. ID 041e:4041 Creative Technology, Ltd WebCam Live! Motion.

I would search for the 041e:4041 linux on google. And if that's not helpful, try some different search strings.

Keep us posted on your progress.

Thanks,
 
Old 06-14-2008, 11:47 AM   #7
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
svn: Can't connect to host 'svn.berlios.de': Connection refused

where do i get a tar.gz of v4l
 
Old 06-14-2008, 01:52 PM   #8
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
You have to recompile your kernel or get a new one and enable v4l as modules. Here's a kernel compile guide someone recommended to me:

http://alien.slackbook.org/dokuwiki/...kernelbuilding

You will see options for some cameras in the config list, too.

Good luck,
 
  


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
virtualbox webcam R03L Linux - Software 3 08-17-2008 09:28 PM
virtualbox j d Linux - Software 1 10-23-2007 07:57 PM
VirtualBox barn63 Fedora 2 10-03-2007 06:41 PM
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
I want to veiw my friends webcam, im using Lycoris, how do i c his webcam? CaffeinatedGamer Linux - Newbie 10 06-07-2005 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:19 AM.

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