Help - Search - Members - Calendar
Full Version: Hp Webcam
Project OS X Forums > Snow Leopard Guides & Tutorials > New Users Discussion
Proxin
Hello,
I highly doubt that I can get this working, but I'll give it a shot anyway.
Does anyone know if I can get my HP webcam (that's built-in to my laptop) to work with Snow Leopard?
I can see its information in USB Probe, it shows up as:

Root <class IORegistryEntry>
1: EHCI Root Hub Simulation@1d,7 <class IOUSBRootHubDevice>
3: HP Webcam @fd50000 <class IOUSBDevice>

I click on Details and am greeted by a ton of information:


bcdDevice : 24657 (0x6051)
bDeviceClass : 239 (0xef)
bDeviceProtocol : 1 (0x1)
bDeviceSubClass : 2 (0x2)
bMaxPacketSize0 : 64 (0x40)
bNumConfigurations : 1 (0x1)
Bus Power Available : 250 (0xfa)
Device Speed : 2 (0x2)
idProduct : 2488 (0x9b8)
idVendor : 1133 (0x46d)
iManufacturer : 0 (0x0)

There are many more things it says but it's a hassle to post them here and I want to see if it's even possible to get it working before I go through retyping all of that. I'd screenshot it... but my screenshot isn't working on this for some reason. It plays a sound but does not put the picture on my Desktop.
apocolipse269
QUOTE (Proxin @ Sep 25 2009, 11:57 PM) *
Hello,
I highly doubt that I can get this working, but I'll give it a shot anyway.
Does anyone know if I can get my HP webcam (that's built-in to my laptop) to work with Snow Leopard?
I can see its information in USB Probe, it shows up as:

Root <class IORegistryEntry>
1: EHCI Root Hub Simulation@1d,7 <class IOUSBRootHubDevice>
3: HP Webcam @fd50000 <class IOUSBDevice>

I click on Details and am greeted by a ton of information:


bcdDevice : 24657 (0x6051)
bDeviceClass : 239 (0xef)
bDeviceProtocol : 1 (0x1)
bDeviceSubClass : 2 (0x2)
bMaxPacketSize0 : 64 (0x40)
bNumConfigurations : 1 (0x1)
Bus Power Available : 250 (0xfa)
Device Speed : 2 (0x2)
idProduct : 2488 (0x9b8)
idVendor : 1133 (0x46d)
iManufacturer : 0 (0x0)

There are many more things it says but it's a hassle to post them here and I want to see if it's even possible to get it working before I go through retyping all of that. I'd screenshot it... but my screenshot isn't working on this for some reason. It plays a sound but does not put the picture on my Desktop.



I'm not sure about your specific one, however if it is a Ricoh (like mine is) then its pretty easy to get working (just a pain kinda...) Ricoh cam's are UVC Compliant, meaning they will work "out of the box" with OS X, however they need to be "initalized" with firmware before being used. the only way to do this in OS X is to install VMWare Fusion (parallels/virtalBox work as well, just need the pass thru usb, so no opensource version of virtualbox) Install either Linux or Windows (windows is easier to find the drivers...) and it is as simple as starting up the cam using the virtual machine, then its good to go for os x for anything that uses a cam smile.gif. If someone knows IOKit and teh USB stuff fairly well, i have the simple code (written w/ GTK) to load the firmware(it was striped from the linux ricoh webcam driver wehn the linux kernel added uvc support, it only loads the firmware) so maybe it can be made into a kext or at the least a simple program to run from commandline
realityiswhere
QUOTE (apocolipse269 @ Sep 26 2009, 01:53 PM) *
I'm not sure about your specific one, however if it is a Ricoh (like mine is) then its pretty easy to get working (just a pain kinda...) Ricoh cam's are UVC Compliant, meaning they will work "out of the box" with OS X, however they need to be "initalized" with firmware before being used. the only way to do this in OS X is to install VMWare Fusion (parallels/virtalBox work as well, just need the pass thru usb, so no opensource version of virtualbox) Install either Linux or Windows (windows is easier to find the drivers...) and it is as simple as starting up the cam using the virtual machine, then its good to go for os x for anything that uses a cam smile.gif. If someone knows IOKit and teh USB stuff fairly well, i have the simple code (written w/ GTK) to load the firmware(it was striped from the linux ricoh webcam driver wehn the linux kernel added uvc support, it only loads the firmware) so maybe it can be made into a kext or at the least a simple program to run from commandline


can you post the code so people can look at how hard it would be to do, without feeling obligated to make any promises to completing it?
Proxin
QUOTE (apocolipse269 @ Sep 26 2009, 05:53 PM) *
I'm not sure about your specific one, however if it is a Ricoh (like mine is) then its pretty easy to get working (just a pain kinda...) Ricoh cam's are UVC Compliant, meaning they will work "out of the box" with OS X, however they need to be "initalized" with firmware before being used. the only way to do this in OS X is to install VMWare Fusion (parallels/virtalBox work as well, just need the pass thru usb, so no opensource version of virtualbox) Install either Linux or Windows (windows is easier to find the drivers...) and it is as simple as starting up the cam using the virtual machine, then its good to go for os x for anything that uses a cam smile.gif. If someone knows IOKit and teh USB stuff fairly well, i have the simple code (written w/ GTK) to load the firmware(it was striped from the linux ricoh webcam driver wehn the linux kernel added uvc support, it only loads the firmware) so maybe it can be made into a kext or at the least a simple program to run from commandline


I don't think it's a Ricoh but I've only been looking at it in USBProbe in Snow Leopard. Device Manager does not show anything about a webcam. Where would I find more information about it in Windows?
apocolipse269
QUOTE (realityiswhere @ Sep 26 2009, 01:38 PM) *
can you post the code so people can look at how hard it would be to do, without feeling obligated to make any promises to completing it?

haha yeah sure smile.gif i never really dug into it, mostly because i dont use my webcam enough to care (and the workaround works when i do feel like using it), but its only a few hundred lines of code or so, not too much
Author's Site: http://bitbucket.org/ahixon/r5u87x/
Direct Source Download: http://bitbucket.org/ahixon/r5u87x/get/32a27008b8b9.zip

Written w/ GTK2



Proxin: Pop in a linux live CD and issue a lsusb at command prompt, then paste your output here
Proxin
QUOTE (apocolipse269 @ Sep 26 2009, 10:42 PM) *
haha yeah sure smile.gif i never really dug into it, mostly because i dont use my webcam enough to care (and the workaround works when i do feel like using it), but its only a few hundred lines of code or so, not too much
Author's Site: http://bitbucket.org/ahixon/r5u87x/
Direct Source Download: http://bitbucket.org/ahixon/r5u87x/get/32a27008b8b9.zip

Written w/ GTK2



Proxin: Pop in a linux live CD and issue a lsusb at command prompt, then paste your output here


It isn't very descriptive at all from what I can tell...

ubuntu@ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
apocolipse269
What model is your HP?
Proxin
QUOTE (apocolipse269 @ Sep 27 2009, 09:17 AM) *
What model is your HP?


It is an HP dv4-1125nr laptop
boogersniffer500
r5u87x will compile with no modifications in OS X, but it gives 5 (iirc) linking errors when it tries to link. ( I tried a while ago and I don't have my laptop to post the errors, this was on Leopard ), I couldn't figure out what caused it as I have VERY little coding experience. It shouldn't take much to get it to successfully compile and link if you know what you are doing, whether it will work or not, I don't know.
blagojedrovski
I got mine working with CamTwist, sorry if it's off topic smile.gif
CamTwist Download
Proxin
QUOTE (blagojedrovski @ Nov 2 2009, 10:09 PM) *
I got mine working with CamTwist, sorry if it's off topic smile.gif
CamTwist Download


I tried that after you posted it, but it kept crashing whenever I'd launch it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.