Jump to content

Webcam support limited by Apple's UVC driver. [PARTIALLY SOLVED]


  • Please log in to reply
172 replies to this topic

#121
mehdymehdy

mehdymehdy

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 149 posts

this is also good for writting a new plugin


GawKer works very well. amazing and clear pic i have . i tried once to add support for my builtin cam in Macam application. but i failed. Macam has a plugin and if a cam is supported with their plugin photobooth works. so i think following the way macam is buit is the way to go . just a thought. :)

#122
Oh the Huge Manatee

Oh the Huge Manatee

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
Small update - apparently my Suyin 0xc108 cam is supported by uvcvideo in Linux, even though it isn't listen on the website. People have it work out of the box in Ubuntu!

I know it's silly, but this is making me consider switching to Ubuntu. My suspend would work, too... and OSX still gives me a KP about once every 2 days, for no good reason.

#123
Siobhan

Siobhan

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:Houston, TX
Okay, so I've got an hp Pavilion dv9700t with the Chicony (0x04f2) "HP Webcam" (0xb023) as shown in System Profiler -- and as with others here, I've been able to get video to display in OS X 10.5.7 with HackTVCarbon 1.2 at 320x240 resolution. It's clear that the camera doesn't support any resolution higher, but it supports all the lower resolutions. So now, the really important questions are: Where do we go from here? Is there any expert out there that knows where the USB webcam driver/bundle/kext is located in Leopard? Does anyone know if it's possible to hard code the resolution of the driver down to 320x240 so that the camera works in other applications?

If we could get the webcam working, that would be really swell... the only thing that wouldn't be working on the 9700t then, would be the fingerprint reader and sleep... two very very minor issues indeed.

Back on the webcam issue... it's very strange to me that macam doesn't work with this camera when the UVC driver for OS X itself works (so long as the resolution is forced of course). How hard would it be to get macam to work with this camera? Maybe that's another angle to work from.

Ideas?

#124
Siobhan

Siobhan

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Location:Houston, TX
By the way, I tried this workaround a while ago and it wouldn't work for me - but I just tried it now, and it does. Still, it's a workaround, and doesn't work with iMovie, iChat, the Accounts panel (where it takes your photo for the user account, etc.

But, it does work in Skype and I would really like if the camera worked natively (always at 320x240 even within Apple apps like the Accounts panel where you cannot select a different default camera)...

Download and install CamTwist 2.0
Launch the Program
In the preferences, force the resolution to 320x240 on the "HP Webcam"
In the box Step 1: Choose a video source, double click "Webcam"
Select nothing else, at least for now (unless you want effects)
Keep the program open, and relaunch Skype (for example)
Instead of choosing "HP Webcam" as the camera (can't, because it is in use by CamTwist) - choose "CamTwist"

Voil. Webcam works. In Skype, anyway.

Still need to get this webcam working without this workaround, because it doesn't do anything for iMovie, iChat, etc. Any expert assistance would be so very appreciated!

#125
Antonio92

Antonio92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 59 posts
I have a Chicony USB web camera on my laptop (product id 0xb008, vendor id 0x04f2). I managed to get it working with camtwist, but I can't see anything at all using e.g. iChat or Freak Show (all I see is a black screen).

Did anyone manage to get it working with all these apps (photo booth, freak show, ichat, etc.)?

Thanks

I have a Chicony USB web camera on my laptop (product id 0xb008, vendor id 0x04f2). I managed to get it working with camtwist, but I can't see anything at all using e.g. iChat or Freak Show (all I see is a black screen).

Did anyone manage to get it working with all these apps (photo booth, freak show, ichat, etc.)?

Thanks

#126
yozzozo

yozzozo

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Okay, so I've got an hp Pavilion dv9700t with the Chicony (0x04f2) "HP Webcam" (0xb023) as shown in System Profiler -- and as with others here, I've been able to get video to display in OS X 10.5.7 with HackTVCarbon 1.2 at 320x240 resolution. It's clear that the camera doesn't support any resolution higher, but it supports all the lower resolutions. So now, the really important questions are: Where do we go from here? Is there any expert out there that knows where the USB webcam driver/bundle/kext is located in Leopard? Does anyone know if it's possible to hard code the resolution of the driver down to 320x240 so that the camera works in other applications?

If we could get the webcam working, that would be really swell... the only thing that wouldn't be working on the 9700t then, would be the fingerprint reader and sleep... two very very minor issues indeed.

Back on the webcam issue... it's very strange to me that macam doesn't work with this camera when the UVC driver for OS X itself works (so long as the resolution is forced of course). How hard would it be to get macam to work with this camera? Maybe that's another angle to work from.

Ideas?


I believe that this is the root cause of so many of the issues with iChat and Photobooth.
It appears that both of these apps attempt to initialize the webcam at a size greater than the max supported size of the webcam. For example, my Acer CrystalEye webcam (vendor 0x064e, device 0xa101) doesn't work with iChat or Photobooth, but works perfectly with a shareware program called "Video Viewer" (http://www.schubert-...om/videoviewer/). However, it works only when the size of the window is relatively small. When you try to resize the window bigger, it attempts to switch the video resolution of the webcam to a larger format. At that point I get results similar to iChat and Photobooth. In iChat, you can resize the video window, but not small enough (for 320x240). Also, who knows whether resizing the window will do what Video Viewer does and switch the resolution, or keep it at a higher resolution and just scale the video image in software.
I did not need to install ANY 3rd party software, such as iusbcam (or whatever), to make my webcam work. It seems that iChat just isn't very friendly to builtin webcams, or at least any {censored} QVGA capable webcams.

I believe that the solution lies not in installing/removing other kexts (drivers) or 3rd party addons, but if there's a way to customize an Info.plist somewhere that limits the resolution, or otherwise forcing these apps to run at a certain res, that will do it.

Ideally, the built-in webcam driver (IOUSBFamily.kext/Plugins/whatever) would query the webcam as to its max supported resolution, and any incoming resolution change requests would be accepted, even if the resolution is higher than the max (internally, it would just set the res to the max). Then, the image would be scaled to the desired rectangle size in software.

For now, my advice is to use software that doesn't have these limitations, surely there's a better IM program than iChat? :) I hear Trillian Astra has a Mac version coming soon...

#127
kmikase

kmikase

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 644 posts
  • Gender:Male
  • Location:New Caledonia
Well, with Camtwist 2 i can't have photo booth working anymore with my Sonix integrated webcam

#128
IntelMacGuy

IntelMacGuy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
has anyone tried this? http://www.insanelym...howtopic=168975 seems like it worked for the guy with a built-in HP Webcam.

#129
osx psychodude

osx psychodude

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
hmmm any updates on this thread??
i know this post is unrelated
but why dont you guys send documentation to macam admin??
hope you get a reply
and where are you 00Diabolic??

anyway my cam (based on ali m5602 chip) does not work with any solution provided above
so any ideas would be appreciated

and this is how it shows up in system profiler. i got no idea why it doesnt work. (tried camtwist and every software out there). cant even see myself in the cam for taking a photo for my account. any idea whats the prob??

Attached Files



#130
treschny

treschny

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

I have a chicony camera and idea for possible fix!!!!

HP Webcam:

Version: 6.06
Bus Power (mA): 500
Speed: Up to 480 Mb/sec
Manufacturer: Chicony Electronics Co., Ltd.
Product ID: 0xb023
Serial Number: SN0001
Vendor ID: 0x04f2

The computer I have is a hp dv9850

mine only works in aMSN, and not ichat.
it does not work in system preferences, though my hp tx1285 worked there...

the hptx 1285 had a webcam that did not work with forexample freakshow using the tubgirl 10.4.10 installation

tho - I once started freakshow using my hackint0sh jas 10.4.8 installations hard disk as external - in this hard drives application
folder I started a regged version of freakshow - and woopsadaysie.... I got video there.

conclusion: the frameworks of 10.4.8 and certain kexts and bundles from there could help us out. As this hptx1285 also must be chicony / sonix
I am not sure wether or not leo would crash with this framework from 10.4.8 and kexts - but it could be worth a try.
cheers

aRt


I posted this somewhere else, but it looks like this may help some people here too...

I got my Crystal Eye webcam working today with some fiddling. Works perfectly in Skype. Also works in Photobooth after deleting the VDC.plugin file, and half works with vertical lines in iChat (using iusbcam). Here's what I did:

- Download and install Camtwist
- pick Acer CrystalEye Webcam in Camera (lower right)
- choose PIP (picture in Picture) as the effect. Verify that your cam is working with the Preview under Tools.
- expand the PIP to take up the full size of the window by moving the Scale slider all the way to the right
- set the preferences to use CamTwist for all the apps you need it for

Then to get Camtwist running on bootup
- in System Preferences go to Accounts, Login Items, add CamTwist to open upon login and check "Hide"

It loads unobtrusively at bootup and is ready to use. if anyone knows how to get iChat working better, please share.

BTW for the other Acer user who couldn't get wifi working, just replace the miniPCI wifi with another working one (ie Broadcom 1020). It's easy, I'd never done it before and it was a snap. Cost me $15 on eBay.

Cheers

Good luck!

#131
maverick2k9

maverick2k9

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Then to get Camtwist running on bootup
- in System Preferences go to Accounts, Login Items, add CamTwist to open upon login and check "Hide"

It loads unobtrusively at bootup and is ready to use. if anyone knows how to get iChat working better, please share.


Most of us are already aware of this method and this has been discussed in the first page of this thread. The problem with this method is that the cam is always on !!

Its a shame that a working driver isn't still available for the webcam to work without using "cam always on" work arounds.

#132
marcusbarra

marcusbarra

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

By the way, I tried this workaround a while ago and it wouldn't work for me - but I just tried it now, and it does. Still, it's a workaround, and doesn't work with iMovie, iChat, the Accounts panel (where it takes your photo for the user account, etc.

But, it does work in Skype and I would really like if the camera worked natively (always at 320x240 even within Apple apps like the Accounts panel where you cannot select a different default camera)...

Download and install CamTwist 2.0
Launch the Program
In the preferences, force the resolution to 320x240 on the "HP Webcam"
In the box Step 1: Choose a video source, double click "Webcam"
Select nothing else, at least for now (unless you want effects)
Keep the program open, and relaunch Skype (for example)
Instead of choosing "HP Webcam" as the camera (can't, because it is in use by CamTwist) - choose "CamTwist"

Voil�. Webcam works. In Skype, anyway.

Still need to get this webcam working without this workaround, because it doesn't do anything for iMovie, iChat, etc. Any expert assistance would be so very appreciated!



it work's for me!!!!

thanx!!!!! :D

#133
Sly2k5

Sly2k5

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Ok since there is no thread about webcams that are detected but dont work I figured I would share my experience with my cam that is completely detected but does not work in OSX and see if anyone else has the same results.

1st. like many of you with Sonix cams you probably have used the Sonix SN9C201 driver which gives you a webcam monitor app which will show you the picture from the cam but does nothing else. There is also video viewer which does the exact same thing. Google that and try it with your cam.

You can get the sonix webcam monitor from here:
http://agent.liquidd...nstallation.htm

2nd. During install of 10.5.1 and 10.5.2 but not 10.5.0 I actually can use my cam to take a picture for use as a login pic. Also later under accounts in system preferences. See if your cam works there also.

3rd. If you use adium x you can once again access the same exact app (apple UVC plugin I believe) used above to once again take a picture for use as your aviator in adium x.


ichat, photobooth & other mac apps can not use the cam however they do turn it on and attempt to. All you get though is a green or black screen from them.

So my questions is why do some of these apps work and others dont? Why does OSX system see the cam during account setup and allow you to use it but then refuses to use it with photobooth. The interface of that is exactly the same as photobooth. VERY FRUSTRATING.. I would love to figure this out and get this cam working.


ANYONE else have similar experiences?


this one works right out of the box... no driver to install...
I bought a webcam with built-in microphone: Rocketfish at Future Shop (same as Best Buy in the US..)
check it out: http://www.futuresho.....test_cookie=1

sorry for the link...
i was able to use "photo Booth"... :wacko:
model: RF-WEB2C

now I got a 100% mac running!

#134
launchcontrol

launchcontrol

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
When I installed Leopard on my Lenovo T400 laptop, the webcam worked. With Snow Leopard, the light comes on indicating it's on, but it doesn't work. What files should I copy from Leopard?

I copied IOUSBFamily.kext from a 10.5.6, but it still doesn't work...what other files?

(also tried the suggestions in this thread without any luck)

#135
turbodeas

turbodeas

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

When I installed Leopard on my Lenovo T400 laptop, the webcam worked. With Snow Leopard, the light comes on indicating it's on, but it doesn't work. What files should I copy from Leopard?

I copied IOUSBFamily.kext from a 10.5.6, but it still doesn't work...what other files?

(also tried the suggestions in this thread without any luck)


I have the same problem!! Would really appreciate a solution, or something to try out - I'm a proper newb when it comes to osx86 so don't really know where to start problem solving.

Cheers guys.

#136
PinkFreud

PinkFreud

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
I'm running Snow Leopard 10.6.1 on Acer Aspire One AOD-150 with a Suyin Camellia 1.3 megapixel webcam. I went digging and found this file:

Path: /Extra/GeneralExtensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents
File: Info.plist

Partial Contents:
<dict>
				<key>VideoSupport</key>
				<dict>
						<key>CFBundleIdentifier</key>
						<string>com.apple.driver.USBCameraFirmwareLoader</string>
						<key>IOClass</key>
						<string>AppleUSBCamera</string>
						<key>IOProviderClass</key>
						<string>IOUSBDevice</string>
						<key>idProduct</key>
						<integer>33536</integer>
						<key>idVendor</key>
						<integer>1452</integer>
				</dict>
				<key>VideoSupportRev120</key>
				<dict>
						<key>CFBundleIdentifier</key>
						<string>com.apple.driver.USBCameraFirmwareLoader</string>
						<key>IOClass</key>
						<string>AppleUSBCamera</string>
						<key>IOProviderClass</key>
						<string>IOUSBDevice</string>
						<key>bcdDevice</key>
						<integer>288</integer>
						<key>idProduct</key>
						<integer>34049</integer>
						<key>idVendor</key>
						<integer>1452</integer>
				</dict>
				<key>VideoSupportRev139</key>
				<dict>
						<key>CFBundleIdentifier</key>
						<string>com.apple.driver.USBCameraFirmwareLoader</string>
						<key>IOClass</key>
						<string>AppleUSBCamera</string>
						<key>IOProviderClass</key>
						<string>IOUSBDevice</string>
						<key>bcdDevice</key>
						<integer>313</integer>
						<key>idProduct</key>
						<integer>34049</integer>
						<key>idVendor</key>
						<integer>1452</integer>
				</dict>
				<key>VideoSupportRev149</key>
				<dict>
						<key>CFBundleIdentifier</key>
						<string>com.apple.driver.USBCameraFirmwareLoader</string>
						<key>IOClass</key>
						<string>AppleUSBCamera</string>
						<key>IOProviderClass</key>
						<string>IOUSBDevice</string>
						<key>bcdDevice</key>
						<integer>329</integer>
						<key>idProduct</key>
						<integer>34049</integer>
						<key>idVendor</key>
						<integer>1452</integer>
				</dict>

So, does anyone believe we can simply add our camera information as a new <dict> element to this file to get things working better?

#137
CharredPC

CharredPC

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 301 posts

So, does anyone believe we can simply add our camera information as a new <dict> element to this file to get things working better?


Never hurts to try it and find out. You can always undo it if needed :)

#138
PinkFreud

PinkFreud

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Following a reboot, it didn't help. ;) Time to keep digging and keep looking and hope to find something else text-based... Or hex-edit something binary-based (bleuch!)

#139
Flashe

Flashe

    Flashy ~ Flasheu

  • Members
  • PipPipPipPipPip
  • 298 posts
  • Location:93 Carats
Hi,
I have à Linyx cam ,this webcam is detected in system info but it does not work for me.

Posted Image

Posted Image

You have a solution to this webcam works ? Thank you.

#140
alezzblezz

alezzblezz

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Hi.

I bought a Logitech Webcam/Quickcam Pro 9000 yesterday and it's fully working (video & integrated mic) on my retail install of Snow Leopard 10.6.2 (Core 2 Duo E8400/Asus P5E/4 GB/500GB) without any drivers or macam.

Tested OK on Photo Booth, Quicktime X and Skype.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy