Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

USB Microscope Linux
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USB Microscope Linux

by dancole on Sat Sep 07, 2013 9:06 pm

I'm trying to get the USB Mircrocope - 5.0 Megapixel to work. http://www.adafruit.com/products/636
OS = Fedora 18 (3.10.10-100.fc18.x86_64)
PC = HP P7-1534
The LED lights do turn on.
I tried all the USB ports. I know some are USB 2 and others are USB 3.
lsusb returns:
Code: Select all | TOGGLE FULL SIZE
Bus 001 Device 002: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera

http://www/ideasonboard.org/uvc/ lists 0ac8:3420 Venus USB 2.0 Camera (Tevion MD 85872 and Minoru3D) as a UVC device that works. UVC = USB Video Class.
Cheese returns an error that says no device is found. Running cheese as root did not work.
I also created /etc/modprobe.d/uvcvideo.conf with the content "options uvcvideo nodrop=1", but that didn't help.
dmesg returns amoung other things:
Code: Select all | TOGGLE FULL SIZE
[  195.942313] usb 8-1: new high-speed USB device number 2 using xhci_hcd
[  195.967684] usb 8-1: New USB device found, idVendor=0ac8, idProduct=3420
[  195.967693] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  195.967698] usb 8-1: Product: Vimicro USB 2.0 PC Camera (Venus)
[  195.967703] usb 8-1: Manufacturer: Vimicro
[  195.969939] uvcvideo: Found UVC 1.00 device Vimicro USB 2.0 PC Camera (Venus) (0ac8:3420)
[  195.970218] uvcvideo: No streaming interface found for terminal 3.
[  195.970362] input: Vimicro USB 2.0 PC Camera (Venu as /devices/pci0000:00/0000:00:10.1/usb8/8-1/8-1:1.0/input/input16


Any ideas?

dancole
 
Posts: 14
Joined: Thu Jun 10, 2010 3:15 pm

Re: USB Microscope Linux

by adafruit_support_rick on Mon Sep 09, 2013 2:44 pm

I think you need to load a driver. But I don't know of any linux drivers for this device.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: USB Microscope Linux

by dancole on Mon Sep 09, 2013 9:04 pm

I found these commands to unload and load the driver:
Code: Select all | TOGGLE FULL SIZE
sudo rmmod uvcvideo && sudo modprobe uvcvideo


Running: dmesg | grep uvcvideo
Code: Select all | TOGGLE FULL SIZE
[    6.860330] uvcvideo: Found UVC 1.00 device Vimicro USB 2.0 PC Camera (Venus) (0ac8:3420)
[    6.860533] uvcvideo: No streaming interface found for terminal 3.
[    6.860718] usbcore: registered new interface driver uvcvideo
[  338.540661] usbcore: deregistering interface driver uvcvideo
[  338.637783] uvcvideo: Found UVC 1.00 device Vimicro USB 2.0 PC Camera (Venus) (0ac8:3420)
[  338.639029] uvcvideo: No streaming interface found for terminal 3.
[  338.639366] usbcore: registered new interface driver uvcvideo


I still get a black screen and cheese saying that no device was found. I also can't find a mounting point, i.e. /dev/video0.

dancole
 
Posts: 14
Joined: Thu Jun 10, 2010 3:15 pm

Re: USB Microscope Linux

by adafruit_support_rick on Tue Sep 10, 2013 9:55 am

I think that the "No streaming interface found" message is telling you that it can't find a driver.

Check out this page - it looks as if they've got a driver for the Vimicro 0ac8:3420 chip
http://www.ideasonboard.org/uvc/

[edit] -
I googled for "linux 0ac8:3420 Vimicro USB 2.0 PC Camera (Venus)" and came up with a few things. For one, here's what you should be seeing, I think:
Code: Select all | TOGGLE FULL SIZE
[    4.801632] uvcvideo: Found UVC 1.00 device Vimicro USB 2.0 PC Camera (Venus) (0ac8:3420)
[    4.803582] input: Vimicro USB 2.0 PC Camera (Venu as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.0/input/input4
[    4.803702] usbcore: registered new interface driver uvcvideo
[    4.803706] USB Video Class driver (1.1.1)


This link was referenced from a document at RIT on installing webcam drivers:
http://old.nabble.com/Webcam-drivers--- ... 42395.html

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: USB Microscope Linux

by dancole on Sat Sep 14, 2013 7:52 pm

I still haven't figured out this issue. Here is some more info from messing around:

I think this is the driver:
Code: Select all | TOGGLE FULL SIZE
/usr/lib/modules/3.10.10-100.fc18.x86_64/kernal/drivers/media/usb/uvc/uvcvideo.ko


Note that the file above is called uvcvideo.ko, not uvc.ko... so:
Code: Select all | TOGGLE FULL SIZE
# modprobe -v uvcvideo
# modprobe -v uvc
modprobe: FATAL: Module uvc not found.

Does this mean it found the driver or at least that the driver exists?

We can run lsmod | grep uvc
Code: Select all | TOGGLE FULL SIZE
# lsmod | grep uvc
uvcvideo               81006  0
videobuf2_vmalloc      13163  1 uvcvideo
videobuf2_core         38817  1 uvcvideo
videodev              121926  2 uvcvideo,videobuf2_core
media                  20503  2 uvcvideo,videodev

dancole
 
Posts: 14
Joined: Thu Jun 10, 2010 3:15 pm

Re: USB Microscope Linux

by adafruit_support_mike on Sat Sep 14, 2013 9:23 pm

The file you've located does seem to be the UVC driver, and `modprobe uvcvideo` should be the correct way to load it.

Everything I can find relating to a "No streaming interface found" error leads to a statement that there was a bug in the driver, and updating to the latest version solved the problem. The best I can suggest is to download the driver source from the site linked above in this thread, build and install a fresh version, and see if that does any good.

Beyond that, there are just too many pieces and too little information to zero in on a specific/fixable problem.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

adafruit_support_mike
 
Posts: 61107
Joined: Thu Feb 11, 2010 2:51 pm

Re: USB Microscope Linux

by ablacksheep on Wed Sep 14, 2016 5:58 pm

I got the same error with Ubuntu 16.04 running on kernel 4.4.0-36. However, problem easily solved after some debugging... error seems to happen when plugged into usb1, or having to low available bandwidth on the controller(?). At least by changing the USB-Host port to a usb2 port with sufficient bandwidth solved my problem.

Posted here so others with the same issue get a fasttrack to a plausible solution. :)

ablacksheep
 
Posts: 1
Joined: Wed Sep 14, 2016 5:49 pm

Re: USB Microscope Linux

by carlosgarms on Thu Sep 22, 2016 8:31 am

I have just got my microscope and I am having some problems trying to install this camera in my Windows 10 system, no mather which USB port I connect it, it won't be recognized by my pc. I have tried to install it in my older notebook that runs on Windows 7 and at first I could run it once, install the driver and the program, it worked! But just after disconnecting it and trying to plug it in again, the microscope was not recognized anymore. I have tried different ports, repairing the driver, uninstalling it and installing it again...
Really upset about this product, not as convenient as advertised
:(

carlosgarms
 
Posts: 5
Joined: Wed Sep 14, 2016 11:20 pm

Re: USB Microscope Linux

by adafruit_support_rick on Thu Sep 22, 2016 8:58 am

We can try replacing it. Please email support@adafruit.com with a link to this thread for a replacement

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: USB Microscope Linux

by carlosgarms on Thu Sep 22, 2016 9:02 am

I have found a solution!!

For windows 10 users apparently the driver have some securityt issues!

>FIrst go to configuration (Windows key+I), Update and security, Troubleshoot, Recovery, Advanced start-up, Restart now.
>The computer will reboot to a blue menu screen, select Troubleshoot, Advanced options, on the advanced options menu select Startup Settings, Restart again.
>On the Startup Settings menu, press the 7 or F7 key on your keyboard to select the option 7) Disable driver signature enforcement.
>Then after rebooting try to connect the device and install the drivers.

The link for more detail is: http://www.dinolite.us/support/using-ol ... ndows-8-10

For me it is working for now, sometimes you need to repeat the process again.

carlosgarms
 
Posts: 5
Joined: Wed Sep 14, 2016 11:20 pm

Re: USB Microscope Linux

by carlosgarms on Sat Sep 24, 2016 11:14 am

After just one day working it won't connect, even if I follow the steps...
I give up trying to find ways to fix it. I will try to get a replacement or refund...

carlosgarms
 
Posts: 5
Joined: Wed Sep 14, 2016 11:20 pm

Please be positive and constructive with your questions and comments.