Re: USB digital microscope from Walmart

2019-06-07 Thread Mike McClain
Thank you Mr. Weber.
I installed guvcview and now can see the scope's output.
Much obliged,
Mike

On Wed, Jun 05, 2019 at 05:04:53PM -0400, Bob Weber wrote:
> On 6/5/19 3:09 PM, Mike McClain wrote:
> 
> I Have something that may be similar.?? Its Jiusion Digital
> Microscope.?? It works with the viewer guvcview.?? Its in Debian so
> it should be safe.?? I had to plug it in several times to get the
> kernel to recognize it ... use lsusb.?? First run lsusb then plug it
> in and see if there is any difference.?? Mine just showed up as Bus
> 001 Device 015: ID a16f:0304 with no name.?? Yoursd will be
> different so just look for the change.
>
> I got the idea from Kris Occhipinti.?? Link:
> https://www.youtube.com/watch?v=xxUPCV3gbqw is where he runs the
> microscope with cheese.
>
> Hope this helps.
>
> --
>
>
> *...Bob*

--
Toward a happier life, always hang up immediately you've found
you've been called by a machine. - MM



Re: USB digital microscope from Walmart

2019-06-05 Thread David
On Thu, 6 Jun 2019 at 04:15, Mike McClain  wrote:
>
> I bought a USB digital microscope from Walmart that the ads
> claimed would work under Win2K and Linux. So far the supplier has
> failed to back up that claim with meaningful info.
> Has anyone had any luck getting one of these working under Debian?

I use a USB microscope brand name Andonstar, recently bought online.

It works fine in Debian, where it behaves just like a webcam.
The video output appears in cheese, but it is laggy, so I prefer
to use vlc with capture device /dev/video0

When plugged in, it adds the following line to lsusb output:
# lsusb
[...]
Bus 003 Device 004: ID 0c45:1a90 Microdia

and running lsusb again specifying that vendor:product number reports:

# lsusb -v -d0c45:1a90

Bus 003 Device 004: ID 0c45:1a90 Microdia
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize064
  idVendor   0x0c45 Microdia
  idProduct  0x1a90
  bcdDevice1.00
  iManufacturer   2 USB camera
  iProduct1 USB camera
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  599
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Association:
  bLength 8
  bDescriptorType11
  bFirstInterface 0
  bInterfaceCount 2
  bFunctionClass 14 Video
  bFunctionSubClass   3 Video Interface Collection
  bFunctionProtocol   0
  iFunction   5 USB camera
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass14 Video
  bInterfaceSubClass  1 Video Control
  bInterfaceProtocol  0
  iInterface  5 USB camera
  VideoControl Interface Descriptor:
bLength13
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdUVC   1.00
wTotalLength   77
dwClockFrequency   15.00MHz
bInCollection   1
baInterfaceNr( 0)   1
  VideoControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 5
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bSourceID   3
iTerminal   0
  VideoControl Interface Descriptor:
bLength26
bDescriptorType36
bDescriptorSubtype  6 (EXTENSION_UNIT)
bUnitID 3
guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
bNumControl 8
bNrPins 1
baSourceID( 0)  2
bControlSize1
bmControls( 0)   0x1f
iExtension  0
  VideoControl Interface Descriptor:
bLength18
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0201 Camera Sensor
bAssocTerminal  0
iTerminal   0
wObjectiveFocalLengthMin  0
wObjectiveFocalLengthMax  0
wOcularFocalLength0
bControlSize  3
bmControls   0x000e
  Auto-Exposure Mode
  Auto-Exposure Priority
  Exposure Time (Absolute)
  VideoControl Interface Descriptor:
bLength11
bDescriptorType36
bDescriptorSubtype  5 (PROCESSING_UNIT)
  Warning: Descriptor too short
bUnitID 2
bSourceID   1
wMaxMultiplier  0
bControlSize2
bmControls 0x177f
  Brightness
  Contrast
  Hue
  Saturation
  Sharpness
  Gamma
  White Balance Temperature
  Backlight Compensation
  Gain
  Power Line Frequency
  White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x15
  None
  PAL - 625/50
  NTSC - 625/50
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes3
  Transfer Type  

Re: USB digital microscope from Walmart

2019-06-05 Thread Bob Weber

On 6/5/19 3:09 PM, Mike McClain wrote:

 I bought a USB digital microscope from Walmart that the ads
claimed would work under Win2K and Linux. So far the supplier has
failed to back up that claim with meaningful info.
Has anyone had any luck getting one of these working under Debian?
 This one claims 1000x magnification and the supplier is E4. They
don't answer the phone and email correspondence has so far prove
useless.
Thanks,
Mike
--
 If all the CHP drove the speed limit, perforce, so would the rest of us.
How many lives a year would that save? - MM

I Have something that may be similar.  Its Jiusion Digital Microscope.  It works 
with the viewer guvcview.  Its in Debian so it should be safe.  I had to plug it 
in several times to get the kernel to recognize it ... use lsusb.  First run 
lsusb then plug it in and see if there is any difference.  Mine just showed up 
as Bus 001 Device 015: ID a16f:0304 with no name.  Yoursd will be different so 
just look for the change.


I got the idea from Kris Occhipinti.  Link: 
https://www.youtube.com/watch?v=xxUPCV3gbqw is where he runs the microscope with 
cheese.


Hope this helps.

--


*...Bob*


Re: USB digital microscope from Walmart

2019-06-05 Thread Gene Heskett
On Wednesday 05 June 2019 03:09:49 pm Mike McClain wrote:

> I bought a USB digital microscope from Walmart that the ads
> claimed would work under Win2K and Linux. So far the supplier has
> failed to back up that claim with meaningful info.
> Has anyone had any luck getting one of these working under Debian?
> This one claims 1000x magnification and the supplier is E4. They
> don't answer the phone and email correspondence has so far prove
> useless.
> Thanks,
> Mike

Thats probably why wallies has it.  Got it at  bankruptcy sale

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



Re: USB digital microscope from Walmart

2019-06-05 Thread deloptes
Mike McClain wrote:

> I bought a USB digital microscope from Walmart that the ads
> claimed would work under Win2K and Linux. So far the supplier has
> failed to back up that claim with meaningful info.
> Has anyone had any luck getting one of these working under Debian?
> This one claims 1000x magnification and the supplier is E4. They
> don't answer the phone and email correspondence has so far prove
> useless.
> Thanks,
> Mike
> --
> If all the CHP drove the speed limit, perforce, so would the rest of us.
> How many lives a year would that save? - MM

No idea what this hardware is, but if it is USB, it would work as any
typical USB device. I guess it would register as video device, so post your
dmesg.



USB digital microscope from Walmart

2019-06-05 Thread Mike McClain
I bought a USB digital microscope from Walmart that the ads
claimed would work under Win2K and Linux. So far the supplier has
failed to back up that claim with meaningful info.
Has anyone had any luck getting one of these working under Debian?
This one claims 1000x magnification and the supplier is E4. They
don't answer the phone and email correspondence has so far prove
useless.
Thanks,
Mike
--
If all the CHP drove the speed limit, perforce, so would the rest of us.
How many lives a year would that save? - MM