Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Camera seems to be rebooting - Streaming and serial stop - A new device is created

0 votes

Hi, I received the camera a few days and haven't been able to make it work for more than a few seconds.

I'm using Ubuntu 17.10 and tried with guvcview and ffplay, both giving same results. Also, I tried stopping ModemManager and connecting with minicom to avoid a buffer overflow. From a power perspective, I connected it to one, then two USB 3.0 ports (based on the logo next to them, but dmesg seems to show something different), and with a 2.0A 5V charger. I'm using the supplied USB Y cable.

After a few seconds, the streaming stops, and a new device is created. For example: /dev/video1 is removed and /dev/video2 shows up.

Depending on the mapping I use, it might run for a longer period, up to a minute approx. As indicated in another question, my mouse stops working as well. The camera is fixed, so I'd not suggest a cable connection issue.

dmesg output after connecting it:

[31303.663032] usb 2-1: New USB device found, idVendor=1d6b, idProduct=0102
[31303.663034] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[31303.663035] usb 2-1: Product: JeVois-A33 Smart Camera
[31303.663036] usb 2-1: Manufacturer: JeVois Inc
[31303.663848] uvcvideo: Found UVC 1.00 device JeVois-A33 Smart Camera (1d6b:0102)
[31303.664125] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[31303.664127] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[31303.664212] input: JeVois-A33 Smart Camera: JeVois as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input42
[31303.664554] cdc_acm 2-1:1.2: ttyACM0: USB ACM device
[31303.664964] usb-storage 2-1:1.4: USB Mass Storage device detected
[31303.665070] scsi host4: usb-storage 2-1:1.4
[31304.694417] scsi 4:0:0:0: Direct-Access     JeVois   Smart Camera     0333 PQ: 0 ANSI: 2
[31304.694766] sd 4:0:0:0: Attached scsi generic sg1 type 0
[31304.695971] sd 4:0:0:0: [sdb] Attached SCSI removable disk

And this is dmesg output when it stops working:

[31312.906178] sysfs group 'power' not found for kobject 'event20'
[31312.906185] ------------[ cut here ]------------
[31312.906191] WARNING: CPU: 2 PID: 31599 at /build/linux-6vRTpx/linux-4.13.0/fs/sysfs/group.c:237 sysfs_remove_group+0x80/0x90
[31312.906191] Modules linked in: uas cdc_acm usb_storage rfcomm bbswitch(OE) bnep nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel hp_wmi sparse_keymap wmi_bmof aes_x86_64 crypto_simd snd_hda_codec_hdmi glue_helper cryptd snd_hda_codec_realtek snd_hda_codec_generic intel_cstate intel_rapl_perf snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi serio_raw btusb btrtl btbcm uvcvideo btintel bluetooth ecdh_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media input_leds joydev wl(POE) nvidia_uvm(POE) snd_seq snd_seq_device snd_timer cfg80211 mei_me snd wmi rtsx_pci_ms memstick soundcore shpchp hp_accel hp_wireless mei
[31312.906238]  mac_hid lpc_ich lis3lv02d input_polldev parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid i915 nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper psmouse syscopyarea sysfillrect ahci sysimgblt fb_sys_fops libahci drm r8169 rtsx_pci mii video
[31312.906261] CPU: 2 PID: 31599 Comm: guvcview Tainted: P        W  OE   4.13.0-39-generic #44-Ubuntu
[31312.906262] Hardware name: Hewlett-Packard HP Pavilion 15 Notebook PC /2281, BIOS F.09 08/04/2014
[31312.906263] task: ffff895c3bad2e80 task.stack: ffffb2e1c33c4000
[31312.906266] RIP: 0010:sysfs_remove_group+0x80/0x90
[31312.906267] RSP: 0018:ffffb2e1c33c7c68 EFLAGS: 00010286
[31312.906268] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000
[31312.906269] RDX: 0000000000000000 RSI: ffff895c9f296578 RDI: ffff895c9f296578
[31312.906271] RBP: ffffb2e1c33c7c80 R08: 0000000000000001 R09: 0000000000001036
[31312.906272] R10: ffffb2e1c33c7d00 R11: 0000000000000000 R12: ffffffff9249e5e0
[31312.906273] R13: ffff895ab305e0b8 R14: ffff895ab305e158 R15: ffff895b605c8d80
[31312.906274] FS:  00007f57cdbc5b40(0000) GS:ffff895c9f280000(0000) knlGS:0000000000000000
[31312.906276] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31312.906277] CR2: 00007f9da801c008 CR3: 00000001a85da006 CR4: 00000000001606e0
[31312.906278] Call Trace:
[31312.906284]  dpm_sysfs_remove+0x57/0x60
[31312.906287]  device_del+0xfd/0x350
[31312.906291]  cdev_device_del+0x1a/0x40
[31312.906294]  evdev_disconnect+0x2a/0x60
[31312.906297]  __input_unregister_device+0xbd/0x180
[31312.906300]  input_unregister_device+0x47/0x60
[31312.906305]  uvc_status_cleanup+0x42/0x50 [uvcvideo]
[31312.906308]  uvc_delete+0x1a/0x170 [uvcvideo]
[31312.906310]  uvc_release+0x24/0x30 [uvcvideo]
[31312.906318]  v4l2_device_release+0xdb/0x110 [videodev]
[31312.906320]  device_release+0x35/0x90
[31312.906324]  kobject_put+0x82/0x1a0
[31312.906325]  put_device+0x17/0x20
[31312.906330]  v4l2_release+0x50/0x80 [videodev]
[31312.906332]  __fput+0xea/0x230
[31312.906334]  ____fput+0xe/0x10
[31312.906337]  task_work_run+0x7c/0xa0
[31312.906340]  exit_to_usermode_loop+0xc0/0xd0
[31312.906342]  syscall_return_slowpath+0xa2/0xb0
[31312.906345]  entry_SYSCALL_64_fastpath+0xa9/0xab
[31312.906347] RIP: 0033:0x7f57cb7e2a49
[31312.906348] RSP: 002b:00007ffe05de5a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[31312.906350] RAX: 0000000000000000 RBX: 00007f57cb6d3348 RCX: 00007f57cb7e2a49
[31312.906351] RDX: 000056153ebe2010 RSI: 00007f57cbaaec78 RDI: 0000000000000004
[31312.906352] RBP: 0000000000000004 R08: 000056153ec1f320 R09: 0000000000000180
[31312.906353] R10: 0000000000000001 R11: 0000000000000246 R12: 00007f57cb6cf1a0
[31312.906354] R13: 0000000000000000 R14: 0000000000000000 R15: 00007f57cb6cf1a0
[31312.906355] Code: df e8 05 bd ff ff 5b 41 5c 41 5d 5d c3 48 89 df e8 b6 bb ff ff eb c6 49 8b 55 00 49 8b 34 24 48 c7 c7 70 b8 6c 92 e8 31 4a e0 ff <0f> ff eb d7 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 
[31312.906389] ---[ end trace 4ffb5422cb2b3712 ]---

This is the command I'm running to start guvcvview:

> guvcview -d /dev/video1 -ao none -f YUYV
GUVCVIEW: version 2.0.4
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
V4L2_CORE: Could not grab image (select timeout): Directory not empty
...
And when it freezes
...
V4L2_CORE: (VIDIOC_DQBUF) Unable to dequeue buffer: No such device
V4L2_CORE: (VIDIOC_STREAMOFF) Unable to stop stream: No such device
V4L2_CORE: (VIDIOC_REQBUFS) Failed to delete buffers: Device or resource busy (errno 16)
V4L2_CORE: failed to unsubscribe events: No such device

It looks like a power issue to me, but I've tried a few different powering options.

Any suggestion to keep digging?

Thanks

asked May 1 in User questions by aranzuglia (160 points)

1 Answer

0 votes
Sorry to hear about your troubles, we have not had any hadrware issues in a long time now, but this looks like one. I would say either something went wrong with the camera, or maybe with the cable. Please email us at jevoisinc.com with your order number and we will ship you a new set.

In the meantime, you may also want to try this:

- try another USB cable (make sure it is rated for fast charging). Maybe your cable is bad somehow (defect rate so far seems to be about 1 per 1000 for the USB cables)

- try another computer altogether, maybe a Mac laptop or a friend's computer. On Macs you don't need to install any software and can just use the built-in photobooth app, so it's easy to try out on a friend's machine. We are able to reproduce this kind of behavior here with a computer that has really bad front-panel USB ports (they connect to the motherboard using a plain ribbon cable clearly not rated for high speed signals), but that same computer works ok when connecting to the rear ports (which are directly on the motherboard). On your HP laptop, you should not have that kind of issues as the ports usually are connected to the motherboard.
answered May 2 by JeVois (25,740 points)
Thanks for your quick reply.

I'm more than happy to keep trying and find something that help us both.

I do have an USB cable from a GoPro, which is short and thick, have you had an experience with it?

Today I'm meeting some team mates and they have Mac ... so good timing!

I'll keep you updated. Hopefully there is no need for a replacement.
...