Webcam?
-
@Theodore-Borromeo Logitech HD Webcam C310 tested and enumerates and produces a /dev/video0 node.
The ps2eyetoy doesn't seem to even be recognized past being plugged in. The omega just states a full speed device was detected. Could there be a difference between models you are using and the ones I am using? I know that Logitech made some models, while Namtai made others. Perhaps I have the Namtai, and you have the logitech?
-
@Theodore-Borromeo I'm not sure if this is the source of the problem. But I just realized that the webcam we have is a PS3 eye (not a ps2 eye). And it was able to be detected by the Omega with the firmware. I have just ordered a ps2 eye so we can play around with it and figure out the problem.
-
@Theodore-Borromeo I didn't look up that "-y" flag. Maybe my web cam would have worked without that. Oh well, I returned it earlier today. I have ordered a PS3 cam from ebay so I will check that when it comes. It is called a "Sony PS3 Playstation USB Move Motion Eye Gaming Camera Microphone Zoom Lens" Not sure if that is the same one that @Boken-Lin mentioned that they used.
-
@Chris-Ward This is the one we had working: http://www.amazon.com/gp/product/B000VTQ3LU?keywords=ps3 eye&qid=1448319414&ref_=sr_1_2&sr=8-2. And this is what we've ordered to try out/debug: http://www.amazon.com/Playstation-Eye-Camera-Stand-Alone-2/dp/B000B69ECS/ref=sr_1_1?ie=UTF8&qid=1448319444&sr=8-1&keywords=ps2+eye. Not sure why the Ps3 eye is cheaper than the ps2 eye.
-
I can confirm that the Logitech B525 works correctly. At first it had a 15 FPS and fairly slow refresh. Removed the -y flag which seemed to force it to YUV mode and then it ran on MJPEG and was really good. Even swapped the res to 1280x720 and was still excellent refresh speed but not quite as smooth as 640x480.
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 1280x720 " -o "output_http.so"
-
@Boken-Lin I have ordered the PS3 one that looks like the first link. Got from ebay for $6. Won't get it for several days. Should have just used amazon. I did have someone tell me that the PS3 ones were probably purchased by the crate from China, and now being sold individually for a dollar or two profit each.
-
@Boken-Lin said:
@Theodore-Borromeo I'm not sure if this is the source of the problem. But I just realized that the webcam we have is a PS3 eye (not a ps2 eye). And it was able to be detected by the Omega with the firmware. I have just ordered a ps2 eye so we can play around with it and figure out the problem.
Buahahaha!!! I went and bought two ps2eyes based on the previous info, even though I already had two ps3eyes already! ( what can I say, GameStop is having a fire sale on them and they are the cheapest CV cams when you do the IR filter removal hack.)
-
This post is deleted!
-
@Boken-Lin Just received my new PS3 cam and having the same problem like Theodore with: init_VideoIn failed
-
@Uwe-Press if you do a
ls
in/dev
, i'm guessing the camera isn't detected?
-
@Boken-Lin correct Cam is not detected
-
@Uwe-Press Yeah, that seems to be an issue with the playstation cameras. I'm trying to figure out what the issue is. Seems to be a missing a kernel driver.
-
@Boken-Lin I got my ps3 eye today. Tried it out. No workie. There is no device created in the /dev/ folder. However, when it is plugged in I get an item in dmesg:
usb 1-1: new high-speed USB device number 2 using ehci-platform
and again when I disconnect
usb 1-1: USB disconnect, device number 2
-
The good news is that a Logitech C270 works. I got it at Microcenter openbox for $15
[ 1849.270000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825) [ 1849.380000] input: UVC Camera (046d:0825) as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input0 root@Omega-030D:/# ls /dev/v* /dev/video0
-
Using putty to ssh into the omega so once i get a external power supply shoul be able to make a little stream wildlife camera (maybe for the sheep out the back if the wifi signal goes that far). Any suggestions, maybe just a cheap powerbank ? A solar thing would be good.
-
@Andrew-Nixon You should definitely try a power bank. Mine was able to power the Omega itself for about a week. With a webcam it can probably power it for 2-3 days.
-
@Andrew-Nixon For what it's worth, I am powering my Omega from a 2000mAh lithium battery and only ever access the Omega standalone via Wi_Fi (i.e. no USB connection) and I get a few days from it
-
@Boken-Lin When you had a PS3 EyeToy running was it in YUI mode? After some reading, it looks like that is what it runs with. That would put more strain on the processor that one that outputs mjpeg.
Anyway, when I plug my PS3 EyeToy into my RasperryPi this is what dmesg shows:
[ 72.073814] usb 1-1.3: new high-speed USB device number 8 using dwc_otg [ 72.176578] usb 1-1.3: New USB device found, idVendor=1415, idProduct=2000 [ 72.176608] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 72.176626] usb 1-1.3: Product: USB Camera-B4.09.24.1 [ 72.176643] usb 1-1.3: Manufacturer: OmniVision Technologies, Inc. [ 72.177798] gspca_main: ov534-2.14.0 probing 1415:2000 [ 74.151802] usb 1-1.3: current rate 17003 is different from the runtime rate 16000 [ 74.155049] usb 1-1.3: 3:1: cannot get min/max values for control 2 (id 3)
Where did you get the mjpeg_streamer source from? github.com/jacksonliam/mjpg-streamer.git? It doesn't come on the PI and isn't in apt-get. Going to try to install it from there.
-
@Boken-Lin Here's what I get when I try to run the ov519 (ps2eyetoy) driver:
insmod /lib/modules/3.18.20/gspca_ov519.ko :[ 733.050000] gspca_ov519: Unknown symbol gspca_frame_add (err 0) [ 733.060000] gspca_ov519: Unknown symbol gspca_debug (err 0) [ 733.060000] gspca_ov519: Unknown symbol gspca_disconnect (err 0) [ 733.070000] gspca_ov519: Unknown symbol gspca_dev_probe (err 0) failed to insert /lib/modules/3.18.20/gspca_ov519.ko
and here is what I get when I try to ins mod the manually downloaded ov534 (ps3eye) drivers:
insmod /lib/modules/3.18.20/gspca_ov534.ko [ 723.300000] gspca_ov534: Unknown symbol gspca_frame_add (err 0) [ 723.300000] gspca_ov534: Unknown symbol gspca_debug (err 0) [ 723.310000] gspca_ov534: Unknown symbol gspca_disconnect (err 0) [ 723.310000] gspca_ov534: Unknown symbol gspca_dev_probe (err 0) failed to insert /lib/modules/3.18.20/gspca_ov534.ko
My guess as to the issue: perhaps the previous firmware versions @ 3.18.20 did work, but the newer firmwares upgraded the kernels which might have broken the ps2/ps3 gspca drivers. . .
Can we have the gspca drivers for the ps2 and ps3 baked into the firmware? Those are cheap and ubiquitous enough to warrant it, I think
-
@Theodore-Borromeo Off topic, but do you have a PS3 eye toy working on a RasPi? Motion kind of sucks - very jittery, and not what motion was designed for. Looking at trying to compile jpeg-streamer.