LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-09-2011, 08:05 AM   #1
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Rep: Reputation: 3
How to use USB devices (a webcam in this case) in Wine 1.3.16?


I am trying to use a webcam with integrated mic in Wine 1.3.16, but Wine doesn't seem to recognise the device. I am using Fedora 14 with a 2.6.35 Linux Kernel and a 2.32 Gnome GUI. The device works normally otherwise in Fedora. Is there a way to connect the webcam (and generally USB devices) to Wine?
I suspect that it could be done through the Drives tab of Wine configuration, but I don't know how to determine the path of the device to try this out. Does anyone know if this works and how to do it, or any other way to solve this problem?
 
Old 04-09-2011, 03:57 PM   #2
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
PROBLEM SOLVED: I ran "dmesg" in the terminal and saw in the backtrace that the webcam was referred to as usb1 (it was in a line referring to the input of the device), so I went to the Drives tab of the Wine Configuration menu and I added a drive specifying as its path /dev/usb1. Now the webcam is recognised in Wine and works perfectly...
 
Old 04-10-2011, 07:46 PM   #3
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
It seems I cheered too soon: When I used Wine today it didn't recognise the webcam again. I checked out the link in .wine/dosdevices and it was reported broken because the device /dev/usb1 doesn't exist. The backtrace of "dmesg" still refers to the webcam as usb1 and it's working fine otherwise. I tried deleting the drive from Wine Configuration and creating it again, I ran "ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com2" (which I found in the Advanced Wine Installation in Wine-Wiki.org), "ln -s /dev/usb1 ~/.wine/dosdevices/com2" and "ln -s /dev/ttyUSB0 ~/.wine/dosdevices/q:" in the terminal, but the problem remains. I assume that something is blocking Wine's access to the USB device, but I have no idea what. Does anyone know how to find this out and/or how to fix it?
 
Old 04-12-2011, 05:38 PM   #4
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
109 views until now and still no reply, this must be a hard one. If someone even knows were I could look for a solution please tell me...
 
Old 04-15-2011, 03:06 PM   #5
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
Still no answer...
I tried following the procedure as stated in http://wiki.winehq.org/USB, but the patches in ftp://ftp.etersoft.ru/pub/people/amorozov/usb are for Wine 1.1.28, so they are not up to date with the current version of Wine (1.3.16). Does anyone know if current patches exist somewhere or, alternatively, how to update the patches for Wine 1.1.28 so that they will apply for Wine 1.3.16?
 
Old 04-16-2011, 12:48 PM   #6
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
It seems that PulseAudio still doesn't work with Wine. There was the problem all along (I hope at least that I will not have any problems again). I switched to the ALSA Driver in the Audio tab of Wine Configuration and now the mic of the webcam is working fine. No need to determine it's path in the Drives tab. I don't know if Wine's update to 1.3.17 today has anything to do with it or not, but anyhow, problem solved.
 
Old 04-28-2011, 06:25 AM   #7
kameltreiber
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Hello Neyzan,

thanks for all the useful information you posted here, I'm currently trying to get my webcam to work in wine, too.
However, my dmesg does not tell me (Debian Squeeze user) anything about my (integrated) usb webcam being a specific device like /dev/usb1. I only have a /dev/video0 which seems to be a character device and anyway, I can't really access it in vlc under wine (in Linux it works fine). What program do you use and how do you select the video source?

Concerning PulseAudio, I maybe can help you. Have you tried the patch winepulse? I did and it works for me. It's available here. Make sure you get the right version of the patch, but the one for 1.3.17 is easy to find:-).

Thanks in advance,
kameltreiber
 
Old 05-05-2011, 11:27 AM   #8
Neyzan
Member
 
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90

Original Poster
Rep: Reputation: 3
I suppose that you have a laptop or netbook? I am not really familiar with those (I have an old desktop) but I don't think you need to bother with dmesg. That was some of my experimentation when I was trying to find a solution, but as you can see in my previous post I didn't need it in the end. I focus on the mic of my webcam because that is mainly what I use in Wine (I need it for Rosetta Stone).
I suggest that you check out the Wine Configuration. Also, maybe you need to install a graphics driver in Wine, what kind of graphics card do you have in your computer?
Thanks for the link to the winepulse patch. The site seems to be temporarily unavailable, but I will check it out again later.

P.S.: Wine is now 1.3.18
 
Old 12-18-2011, 10:12 PM   #9
sotel
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
No USB-device support under wine

The USB-support under wine is still not complete or better said: isn't in the way to get ready. Generally USB is hardware, and wine didn't support any hardware. It is an other concept.
Thats all.

Read also: USB device support in Wine

Last edited by sotel; 12-18-2011 at 10:14 PM.
 
Old 12-22-2011, 06:39 AM   #10
no2498
Member
 
Registered: Jan 2010
Posts: 120

Rep: Reputation: 23
on some lap tops you need to use the fn key + a f1 threw f12 keys to turn the cam on
im not sure of what f-1-12 key it is you need to use
after you get its light on rerun dmesg
you should see the cam now in the dmesg
 
  


Reply

Tags
usb, webcams, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
does wine work with usb devices? knockout_artist Linux - Newbie 3 09-07-2008 06:13 PM
must have windows in case to run wine ? LinuxNewbie999 Linux - General 2 04-11-2008 07:56 AM
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
Webcam: lsusb shows nothing and no /proc/bus/usb/devices stevesk Linux - Hardware 8 08-02-2006 03:03 AM

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

All times are GMT -5. The time now is 04:56 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