Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue : #19

Open
evorta opened this issue Dec 30, 2015 · 6 comments
Open

Issue : #19

evorta opened this issue Dec 30, 2015 · 6 comments

Comments

@evorta
Copy link

evorta commented Dec 30, 2015

Hi Longjie,

I am running Mac OS, El Captain + Parallels installed Linux 14.04 + Full USB 3.0 Support (tested independently on another 3.0 hard disk device).

parallels@ubuntu:~$ cat /proc/version
Linux version 3.17.3-031703-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411141335 SMP Fri Nov 14 18:36:40 UTC 2014

I have all the code working. I have been able to successfully upload the firmware:

parallels@ubuntu:~/ps4eye/python$ ./ps4eye_init.py
PS4 camera already initialized

parallels@ubuntu:~/ps4eye/python$ lsusb
Bus 001 Device 003: ID 203a:fffa
Bus 001 Device 002: ID 203a:fffa
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 05a9:058a OmniVision Technologies, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I can even get the light (red light) on the ps4eye to turn on via the other code:

sudo ./ps4eye_cmd.py startup.bin
PS4 camera commands done
device 0:
endpoint 0 : 81
detaching kernel driver...
aborting camera read
attaching kernel driver...

So I can talk to it. I can even see the option for /dev/video0 when I run Cheese on ubuntu (webcam viewer) I can see the video resolutions of the device - all correctly... But when I click on the PS4Eye to stream I get a blank screen... If I restart and enable the internal HD video camera on the mac - that works fine.

Any ideas to what could be wrong ?

I really appreciate any help even if you can offer some pointers It'd be a big help.

Thank you for all your work it's great - just be really nice to have a clean system running with the PS4Eye in ROS.

Also in El Captain if I JUST connect the ps4eye to the mac local machine (not the visualised machine). I can see in "Photo Booth & VLC" a second video option USB Camera-OV580 but no video comes out, no errors, just no video...

I'm so close to getting this going, really don't want to give up as it'd be great to have all this running.

I was thinking of the next step being just cutting the wires shorter and re-soldering as maybe it's a cable length / quality of connection issue....

kind regards,
eVorta

@svepe
Copy link

svepe commented Mar 21, 2016

I have the same problem. Do you have any advice on that?

@longjie
Copy link
Owner

longjie commented Mar 24, 2016

I confirmed the problem with my MacBookAir (6,2) and native Ubuntu 14.04, kernel 3.16.0-60-generic.
I'm sure I could use the camera with the same machine and Ubuntu 12.04. It's strange.
I'll check it further, but want to collect the information about available environments. @hyaguchijsk @yoshimalucky @k-okada , could you share us your current usage, if you please.

@hyaguchijsk
Copy link
Collaborator

Ubuntu 14.04 + Indigo is running in my machine and works fine.

Thinkpad T440p

$ uname -a
Linux melon 3.19.0-51-generic #58~14.04.1-Ubuntu SMP Fri Feb 26 22:02:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep USB
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)

GIGABYTE BX-i7-5500U

$ uname -a
Linux garlic 3.17.0-031700-generic #201410060605 SMP Mon Oct 6 10:07:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep USB
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)

@longjie
Copy link
Owner

longjie commented Mar 25, 2016

I found I cannot grab any image from /dev/video0 with my other desktop PC, which I used to use the ROS package. Something must be changed in Ubuntu 14.04.

Linux thyme 3.19.0-51-generic #58~14.04.1-Ubuntu SMP Fri Feb 26 22:02:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep USB
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

Need further investigation.

@longjie
Copy link
Owner

longjie commented Mar 27, 2016

I downgraded the kernel to 3.17.3, then I can grab video stream from /dev/video0 with my MacBook Air as it used to be in Ubuntu 12.04. I'm using guvcview. The kernel version (maybe usb or uvcvideo or v4l driver) seems to be part of the reason. I tired kernel 3.16.0-67, 3.19.0-56 and 4.4.0-13 and none of them can make it works.

@hyaguchijsk kindly reported he is using 3.19.0-51 successfully, it might depend on the hardware environments. But if you are suffered from no streaming video in spite of seeing /dev/video0, it's worth to downgrade your kernel to 3.17.3. It is easy to get deb files from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.3-vivid/ .

@longjie
Copy link
Owner

longjie commented Jun 8, 2017

I've got a new PC, Lenovo Thinkpad X1 carbon(5th gen). I can make ps4eye node work successfully.

Environment:

  • Ubuntu 16.04
  • ROS Kinetic
  • Linux kernel 4.10.0-21-generic
  • Build gscam from source code

If gscam is released to Kinetic, we may be also able to release ps4eye...

BTW, another working report is in #29

  • ubuntu14.04 3.19.0-51-generic kernel version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants