Re: new camera

2020-06-28 Thread Gene Heskett
On Sunday 28 June 2020 11:30:55 David Wright wrote:

> On Sat 27 Jun 2020 at 18:44:18 (-0400), Gene Heskett wrote:
> > On Saturday 27 June 2020 14:50:09 Reco wrote:
> > > On Fri, Jun 26, 2020 at 04:20:03PM -0400, Gene Heskett wrote:
> > > > [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> > > > Camera 1 was not initialized!
> > >
> > > This, combined with [1], gives us the probable answer.
> > > Another possible answer is that "quirks" parameter of uvcvideo.
> > >
> > > > Anybody have an idea of what driver this camera needs?
> > >
> > > A *driver*? You already have one, it's uvcvideo. It says so in
> > > your dmesg, plain and clear as a day.
> > > Much better question is - what *userspace* part the thing needs?
> > > And the answer to that is:
> > >
> > > apt-get install uvcdynctrl
> >
> > On the machine it must function with:
>
> Perhaps you could investigate running the camera on something running
> buster or later, rather than on the wheezy machine.
> I assume you're not using the camera to actually control the mechanism
> being run by the wheezy machine.
>
Because a working, rigidly mounted camera can function as an edge 
detector, yes, it becomes a valueable part of the calibration setup for 
the machine.  But when actually operating, the camera has no direct 
control over it. In fact, I've made provisions to remove it so it 
doesn't get in the way once the measurements are made and recorded.

The machine would only notice it was crushing the camera when it crowbars 
the 5 volts from the usb port. That would generate a big frownie and 
some unprintable language directed at the guy in the mirror.

> Cheers,
> David.


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: [off-list] Re: new camera

2020-06-28 Thread Gene Heskett
On Sunday 28 June 2020 11:36:00 David Wright wrote:

> On Sat 27 Jun 2020 at 18:44:18 (-0400), Gene Heskett wrote:
> > And I've rx'd a message from one of my sons who will arrive with his
> > main squeeze tomorrow, so I may be busy tomorrow too. No clue how
> > long they will stay, but I know he's up to his gonads with a large
> > car, pulling a triple dump powder wagon full of Portland Cement for
> > his states highway maint. dept.  Haven't seen them in about 5 years,
> > so there will be some catchup to do.  He bought a whole town in
> > Kansas from Fanny Mae, who wanted shed of it for an off key song, so
> > there'll be pix to look at, at length etc.
>
> Is that Kent at Tonganoxie?
> (You don't have to answer that.)
>
Neither of those names ring a bell.  Sorry.

> Cheers,
> David.


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-28 Thread David Wright
On Sat 27 Jun 2020 at 18:44:18 (-0400), Gene Heskett wrote:
> On Saturday 27 June 2020 14:50:09 Reco wrote:
> > On Fri, Jun 26, 2020 at 04:20:03PM -0400, Gene Heskett wrote:
> > > [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> > > Camera 1 was not initialized!
> >
> > This, combined with [1], gives us the probable answer.
> > Another possible answer is that "quirks" parameter of uvcvideo.
> >
> > > Anybody have an idea of what driver this camera needs?
> >
> > A *driver*? You already have one, it's uvcvideo. It says so in your
> > dmesg, plain and clear as a day.
> > Much better question is - what *userspace* part the thing needs? And
> > the answer to that is:
> >
> > apt-get install uvcdynctrl
> >
> On the machine it must function with:

Perhaps you could investigate running the camera on something running
buster or later, rather than on the wheezy machine.
I assume you're not using the camera to actually control the mechanism
being run by the wheezy machine.

Cheers,
David.



Re: new camera

2020-06-28 Thread Gene Heskett
On Sunday 28 June 2020 06:42:23 songbird wrote:

> Gene Heskett wrote:
> ...
>
> > But, I'm still here...  Pace yourself.
>
>   thanks!  yes!  as long as i can!  :)
>
>   i'm not being paid for anything so i can do what i
> want as much as possible these days.  i just chose at
> the time almost 25yrs ago to get away from doing
> nothing but computer stuff for large chunks of the
> day.  no regrets really other than wishing to have
> more swappable memory modules in my own head.  :)
>
Chuckle, I think thats a universal wish.
>
>   songbird


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-28 Thread songbird
Gene Heskett wrote:
...
> But, I'm still here...  Pace yourself.

  thanks!  yes!  as long as i can!  :)

  i'm not being paid for anything so i can do what i
want as much as possible these days.  i just chose at
the time almost 25yrs ago to get away from doing 
nothing but computer stuff for large chunks of the
day.  no regrets really other than wishing to have
more swappable memory modules in my own head.  :)


  songbird



Re: new camera

2020-06-28 Thread Reco
Hi.

On Sat, Jun 27, 2020 at 06:44:18PM -0400, Gene Heskett wrote:
> On Saturday 27 June 2020 14:50:09 Reco wrote:
> 
> > On Fri, Jun 26, 2020 at 04:20:03PM -0400, Gene Heskett wrote:
> > > [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> > > Camera 1 was not initialized!
> >
> > This, combined with [1], gives us the probable answer.
> > Another possible answer is that "quirks" parameter of uvcvideo.
> >
> > > Anybody have an idea of what driver this camera needs?
> >
> > A *driver*? You already have one, it's uvcvideo. It says so in your
> > dmesg, plain and clear as a day.
> > Much better question is - what *userspace* part the thing needs? And
> > the answer to that is:
> >
> > apt-get install uvcdynctrl
> >
> On the machine it must function with:
> 
> gene@GO704:~$ sudo apt-get install uvcdynctrl
...
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

One possibility down, two are remaining.
To recap:

1) "quirks" parameter of uvcvideo.
2) Upgrading to buster.

Reco



Re: new camera

2020-06-27 Thread Gene Heskett
On Saturday 27 June 2020 20:26:33 songbird wrote:

> Gene Heskett wrote:
> ...
>
> > Thanks songbird.  Stay well and safe now.
>
>   thanks to you too.  i'm doing ok but life here just
> got stirred up a bit and so i'll have to do twice the
> work i had to do before.  luckily, we are planted and
> into a more reasonable time where the really hard work
> is just getting some things weeded and mowed.
>
>   normally i am a near hermit and don't get out much.
> that will be changing as i have to run errands now and
> then.
>
>   as for linux/debian stuff, heh, i won't have the
> concentration or energy for it any time soon other
> than very easy stuff i can figure out in a few minutes.
>
>   i have a few bugs to poke at but i'm not making
> progress as i'm so out of practice with C and this is
> old code i've mostly ignored for a few years.
>
I hear that, L & C. I did a lot of stuff in C and ARexx, on the Amiga 
25-30 years ago.  Rusty doesn't even come close to describing me now.  
It wasn't any help to my thinker when I had a pulmonary embolism 6 years 
back. I don't recommend that as a way to die. Survival rate is about 2%.

But, I'm still here...  Pace yourself.
>   songbird


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-27 Thread songbird
Gene Heskett wrote:
...
> Thanks songbird.  Stay well and safe now.

  thanks to you too.  i'm doing ok but life here just
got stirred up a bit and so i'll have to do twice the
work i had to do before.  luckily, we are planted and
into a more reasonable time where the really hard work
is just getting some things weeded and mowed.

  normally i am a near hermit and don't get out much.
that will be changing as i have to run errands now and
then.

  as for linux/debian stuff, heh, i won't have the 
concentration or energy for it any time soon other 
than very easy stuff i can figure out in a few minutes.

  i have a few bugs to poke at but i'm not making
progress as i'm so out of practice with C and this is
old code i've mostly ignored for a few years.


  songbird



Re: new camera

2020-06-27 Thread Gene Heskett
On Saturday 27 June 2020 14:50:09 Reco wrote:

>   Hi.
>
> On Fri, Jun 26, 2020 at 04:20:03PM -0400, Gene Heskett wrote:
> > [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> > Camera 1 was not initialized!
>
> This, combined with [1], gives us the probable answer.
> Another possible answer is that "quirks" parameter of uvcvideo.
>
> > Anybody have an idea of what driver this camera needs?
>
> A *driver*? You already have one, it's uvcvideo. It says so in your
> dmesg, plain and clear as a day.
> Much better question is - what *userspace* part the thing needs? And
> the answer to that is:
>
> apt-get install uvcdynctrl
>
On the machine it must function with:

gene@GO704:~$ sudo apt-get install uvcdynctrl
[sudo] password for gene:
Reading package lists... Done
Building dependency tree
Reading state information... Done
uvcdynctrl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Running it with sudo, asking for a -l returns: From an old camera still 
plugged in:

gene@GO704:~$ sudo uvcdynctrl -l
Listing available devices:
  video0   USB 2.0 PC Camera
Media controller device: /dev/media0
Entity 1: USB 2.0 PC Camera. Type: 65537, Revision: 0, Flags: 0, 
Group-id: 0, Pads: 1, Links: 0
  Device node
  Entity: 1, Pad 0, Flags: 1
Entity 2: Extension 6. Type: 131072, Revision: 0, Flags: 0, Group-id: 
0, Pads: 2, Links: 1
  Subdevice:   Entity: 2, Pad 0, Flags: 1
  Entity: 2, Pad 1, Flags: 2
  Out link: Source pad { Entity: 2, Index: 1, Flags: 2 } => Sink pad 
{ Entity: 1, Index: 0, Flags: 1 }
Entity 3: Processing 5. Type: 131072, Revision: 0, Flags: 0, 
Group-id: 0, Pads: 2, Links: 1
  Subdevice:   Entity: 3, Pad 0, Flags: 1
  Entity: 3, Pad 1, Flags: 2
  Out link: Source pad { Entity: 3, Index: 1, Flags: 2 } => Sink pad 
{ Entity: 2, Index: 0, Flags: 1 }
Entity 4: Selector 4. Type: 131072, Revision: 0, Flags: 0, Group-id: 
0, Pads: 2, Links: 1
  Subdevice:   Entity: 4, Pad 0, Flags: 1
  Entity: 4, Pad 1, Flags: 2
  Out link: Source pad { Entity: 4, Index: 1, Flags: 2 } => Sink pad 
{ Entity: 3, Index: 0, Flags: 1 }
Entity 5: Camera 1. Type: 131072, Revision: 0, Flags: 0, Group-id: 0, 
Pads: 1, Links: 1
  Subdevice:   Entity: 5, Pad 0, Flags: 2
  Out link: Source pad { Entity: 5, Index: 0, Flags: 2 } => Sink pad 
{ Entity: 4, Index: 0, Flags: 1 }

And that camera crashes when resized. I need to pick up an 80kg tool off 
the stepladder I'll use to access the rear usb-2 sockets and change to 
the newer camera on that machine. But I've been busy with 2 other 
projects today. Not done yet, my lathe is makeing a hub for a 3d printed 
timeing belt sprocket & has hours to go yet.

And I've rx'd a message from one of my sons who will arrive with his main 
squeeze tomorrow, so I may be busy tomorrow too. No clue how long they 
will stay, but I know he's up to his gonads with a large car, pulling a 
triple dump powder wagon full of Portland Cement for his states highway 
maint. dept.  Haven't seen them in about 5 years, so there will be some 
catchup to do.  He bought a whole town in Kansas from Fanny Mae, who 
wanted shed of it for an off key song, so there'll be pix to look at, at 
length etc.

> If stretch's uvcdynctrl won't cut it - that means you'll need buster's
> one, or maybe even bullseye's. And that will require upgrading your
> OS, of course.
>
> Reco
>
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=111291


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-27 Thread Gene Heskett
On Saturday 27 June 2020 14:28:20 songbird wrote:

> Gene Heskett wrote:
> > Greetings all;
> >
> > Just got a new camera, fawcny endoscope, I intend to use for
> > machine.
> >
> > Moderately high priced, 5 Megapixel, autofocus.
> >
> > But this stretch machine can't find it amongst all the other usb
> > stuff. It doesn't have cheese, and vlc doesn't recognize it.
>
>   usually new devices lag drivers in linux enough that if
> you are not running a more recent kernel you may not get
> it to work.
>
>   might be worth trying with a newer kernel or a more
> recent distribution.
>
That won't happen until the developers get all the kinks worked out of a 
new 5.x.x kernel and RTAI.  But they are busting ass trying to make it 
work for buster as I write this...  Wheezy's semi-original 3.4.9 kernel 
was the last time it was stable. Even that claimed it was PAE capable, 
but never was, so its best with only 2 gigs of dram in a machine if you 
want to keep it out of swap.

And thats the sort of machine this camera has to work in.



>   that's all i can suggest.  :)  gl...
>
>
Thanks songbird.  Stay well and safe now.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>



Re: new camera

2020-06-27 Thread Reco
Hi.

On Fri, Jun 26, 2020 at 04:20:03PM -0400, Gene Heskett wrote:
> [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera 1 was 
> not initialized!

This, combined with [1], gives us the probable answer.
Another possible answer is that "quirks" parameter of uvcvideo.

> Anybody have an idea of what driver this camera needs?

A *driver*? You already have one, it's uvcvideo. It says so in your
dmesg, plain and clear as a day.
Much better question is - what *userspace* part the thing needs? And the
answer to that is:

apt-get install uvcdynctrl

If stretch's uvcdynctrl won't cut it - that means you'll need buster's
one, or maybe even bullseye's. And that will require upgrading your OS,
of course.

Reco

[1] https://bugzilla.kernel.org/show_bug.cgi?id=111291



Re: new camera

2020-06-27 Thread songbird
Gene Heskett wrote:
> Greetings all;
>
> Just got a new camera, fawcny endoscope, I intend to use for machine.
>
> Moderately high priced, 5 Megapixel, autofocus.
>
> But this stretch machine can't find it amongst all the other usb stuff.
> It doesn't have cheese, and vlc doesn't recognize it.

  usually new devices lag drivers in linux enough that if
you are not running a more recent kernel you may not get
it to work.

  might be worth trying with a newer kernel or a more
recent distribution.

  that's all i can suggest.  :)  gl...


  songbird



Re: new camera

2020-06-27 Thread Gene Heskett
On Saturday 27 June 2020 02:38:31 deloptes wrote:

> Gene Heskett wrote:
> > I'll give that a try, but it really has to run on a wheezy install,
> > using camview, which has the target structure for precision point
> > location built in.
>
> I understand you very well - it might be this one liner is from the
> time of wheeze as I used back then (wheezy jessie) a dvb tuner and
> webcam scanner a lot. I was also looking recently and found out some
> of it was not working on the newer hardware and came to the above
> solution which I put in another script. IT might be it depends on the
> video driver (for the hardware) in use.
> Unfortunately I am not a VLC user and can't tell you how to do it in
> vlc :(
>
> regards

Neither am I, and whatever version of vlc I have here on stretch, does 
not recognize it, won't even open an output window.

Thanks deloptes.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-27 Thread deloptes
Gene Heskett wrote:

> I'll give that a try, but it really has to run on a wheezy install, using
> camview, which has the target structure for precision point location
> built in.

I understand you very well - it might be this one liner is from the time of
wheeze as I used back then (wheezy jessie) a dvb tuner and webcam scanner a
lot. I was also looking recently and found out some of it was not working
on the newer hardware and came to the above solution which I put in another
script. IT might be it depends on the video driver (for the hardware) in
use.
Unfortunately I am not a VLC user and can't tell you how to do it in vlc :(

regards




Re: new camera

2020-06-27 Thread Gene Heskett
On Saturday 27 June 2020 01:46:10 deloptes wrote:

> Gene Heskett wrote:
> > On Friday 26 June 2020 18:51:04 deloptes wrote:
> >> Gene Heskett wrote:
> >> > Doesn't have a card, usb only, and worthless as machine vision if
> >> > you can't see what the machine is doing in very close to real
> >> > time.
> >>
> >> Do you have /dev/video
> >>
> >> ls -al /dev/video*
> >> crw-rw+ 1 root video 81, 0 May 30 10:38 /dev/video0
> >> crw-rw+ 1 root video 81, 1 May 30 10:38 /dev/video1
> >
> > yes
> >
> > Thanks
> >
> > Cheers, Gene Heskett
>
> this is what I use from time to time
>
> mplayer tv:// -tv driver=v4l2:width=768:height=576:device=/dev/video0
> -vo xv

I'll give that a try, but it really has to run on a wheezy install, using 
camview, which has the target structure for precision point location 
built in.

Thank you.


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-26 Thread deloptes
Gene Heskett wrote:

> On Friday 26 June 2020 18:51:04 deloptes wrote:
> 
>> Gene Heskett wrote:
>> > Doesn't have a card, usb only, and worthless as machine vision if
>> > you can't see what the machine is doing in very close to real time.
>>
>> Do you have /dev/video
>>
>> ls -al /dev/video*
>> crw-rw+ 1 root video 81, 0 May 30 10:38 /dev/video0
>> crw-rw+ 1 root video 81, 1 May 30 10:38 /dev/video1
> yes
> 
> Thanks
> 
> Cheers, Gene Heskett

this is what I use from time to time

mplayer tv:// -tv driver=v4l2:width=768:height=576:device=/dev/video0 -vo xv




Re: new camera

2020-06-26 Thread Gene Heskett
On Friday 26 June 2020 18:51:04 deloptes wrote:

> Gene Heskett wrote:
> > Doesn't have a card, usb only, and worthless as machine vision if
> > you can't see what the machine is doing in very close to real time.
>
> Do you have /dev/video
>
> ls -al /dev/video*
> crw-rw+ 1 root video 81, 0 May 30 10:38 /dev/video0
> crw-rw+ 1 root video 81, 1 May 30 10:38 /dev/video1
yes

Thanks

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-26 Thread Gene Heskett
On Friday 26 June 2020 18:26:26 deloptes wrote:

> Gene Heskett wrote:
> > [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera
> > [(1bcf:284c) 598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for
> > [entity Extension 4 was not initialized! 598962.015756] uvcvideo
> > [1-12.4.4.4:1.0: Entity type for entity Extension 3 was not
> > initialized! [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type
> > for entity Processing [2 was not initialized! 598962.015764]
> > uvcvideo 1-12.4.4.4:1.0: Entity [type for entity Camera 1 was not
> > initialized! 598962.015987] input: [SPCA2650 AV Camera as
>
> [/devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.4
>/1-12.4.4.4:1.0/input/input20
>
> > [598962.016163] usbcore: registered new interface driver uvcvideo
> >
> > Anybody have an idea of what driver this camera needs?
>
> it is obviously UVC, but I think might be your driver does not support
> the device yet
>
> http://www.ideasonboard.org/uvc/#devices
>
> It might be I am wrong

Its not in that list, darnit.

Your google-foo is better than mine.

Thanks Deloptes
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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-26 Thread deloptes
Gene Heskett wrote:

> Doesn't have a card, usb only, and worthless as machine vision if you
> can't see what the machine is doing in very close to real time.

Do you have /dev/video

ls -al /dev/video*
crw-rw+ 1 root video 81, 0 May 30 10:38 /dev/video0
crw-rw+ 1 root video 81, 1 May 30 10:38 /dev/video1




Re: new camera

2020-06-26 Thread deloptes
Gene Heskett wrote:

> [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera
> [(1bcf:284c) 598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for
> [entity Extension 4 was not initialized! 598962.015756] uvcvideo
> [1-12.4.4.4:1.0: Entity type for entity Extension 3 was not initialized!
> [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Processing
> [2 was not initialized! 598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity
> [type for entity Camera 1 was not initialized! 598962.015987] input:
> [SPCA2650 AV Camera as
>
[/devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.4/1-12.4.4.4:1.0/input/input20
> [598962.016163] usbcore: registered new interface driver uvcvideo
> 
> Anybody have an idea of what driver this camera needs?

it is obviously UVC, but I think might be your driver does not support the
device yet

http://www.ideasonboard.org/uvc/#devices

It might be I am wrong



Re: new camera

2020-06-26 Thread Weaver
On 27-06-2020 06:20, Gene Heskett wrote:
> Greetings all;
> 
> Just got a new camera, fawcny endoscope, I intend to use for machine.
> 
> Moderately high priced, 5 Megapixel, autofocus.
> 
> But this stretch machine can't find it amongst all the other usb stuff.
> It doesn't have cheese, and vlc doesn't recognize it.
> 
> From dmesg:
> [598961.717093] usb 1-12.4.4.4: new high-speed USB device number 18
> using xhci_hcd
> [598961.869828] usb 1-12.4.4.4: New USB device found, idVendor=1bcf,
> idProduct=284c
> [598961.869837] usb 1-12.4.4.4: New USB device strings: Mfr=1,
> Product=2, SerialNumber=3
> [598961.869844] usb 1-12.4.4.4: Product: SPCA2650 AV Camera
> [598961.869848] usb 1-12.4.4.4: Manufacturer: SunplusIT Inc
> [598961.869852] usb 1-12.4.4.4: SerialNumber: 01.00.00
> [598961.954556] media: Linux media interface: v0.10
> [598961.973982] Linux video capture interface: v2.00
> [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera (1bcf:284c)
> [598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> Extension 4 was not initialized!
> [598962.015756] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> Extension 3 was not initialized!
> [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type for entity
> Processing 2 was not initialized!
> [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera
> 1 was not initialized!
> [598962.015987] input: SPCA2650 AV Camera as
> /devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.4/1-12.4.4.4:1.0/input/input20
> [598962.016163] usbcore: registered new interface driver uvcvideo
> 
> Anybody have an idea of what driver this camera needs?

Recently, I was unable to access a camera through Shotwell, but was able
to with gwenview through /run.
Looking at the readout, I don't think this is workable, but it may be
worth a try.

-- 
`Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful'.

— Lucius Annæus Seneca.

Terrorism, the new religion.

Registered Linux User: 554515



Re: new camera

2020-06-26 Thread Dan Ritter
Gene Heskett wrote: 
> On Friday 26 June 2020 16:44:32 Georgi Naplatanov wrote:
> 
> > On 6/26/20 11:20 PM, Gene Heskett wrote:
> > > initialized! [598962.015987] input: SPCA2650 AV Camera as
> > > /devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.
> > >4/1-12.4.4.4:1.0/input/input20 [598962.016163] usbcore: registered
> > > new interface driver uvcvideo
> > >
> > > Anybody have an idea of what driver this camera needs?
> >
> > try to use your camera with mpv player. Just use something like this:
> >
> > $ mpv av://v4l2:/dev/video0
> >
> That sorta works, video refresh rate at 640x480 is about 1 frame a 
> second, and if any camera motion, has severe window shade effects.
> Not plugged directly into a usb3 mobo port however.  Color etc seems good 
> though.

The v4l2ucp (video for linux 2 usb control panel) should be able to
tune this for you. Packaged under that name.

-dsr-



Re: new camera

2020-06-26 Thread Gene Heskett
On Friday 26 June 2020 16:44:32 Georgi Naplatanov wrote:

> On 6/26/20 11:20 PM, Gene Heskett wrote:
> > Greetings all;
> >
> > Just got a new camera, fawcny endoscope, I intend to use for
> > machine.
> >
> > Moderately high priced, 5 Megapixel, autofocus.
> >
> > But this stretch machine can't find it amongst all the other usb
> > stuff. It doesn't have cheese, and vlc doesn't recognize it.
> >
> > From dmesg:
> > [598961.717093] usb 1-12.4.4.4: new high-speed USB device number 18
> > using xhci_hcd [598961.869828] usb 1-12.4.4.4: New USB device found,
> > idVendor=1bcf, idProduct=284c [598961.869837] usb 1-12.4.4.4: New
> > USB device strings: Mfr=1, Product=2, SerialNumber=3 [598961.869844]
> > usb 1-12.4.4.4: Product: SPCA2650 AV Camera [598961.869848] usb
> > 1-12.4.4.4: Manufacturer: SunplusIT Inc [598961.869852] usb
> > 1-12.4.4.4: SerialNumber: 01.00.00
> > [598961.954556] media: Linux media interface: v0.10
> > [598961.973982] Linux video capture interface: v2.00
> > [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera
> > (1bcf:284c) [598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for
> > entity Extension 4 was not initialized! [598962.015756] uvcvideo
> > 1-12.4.4.4:1.0: Entity type for entity Extension 3 was not
> > initialized! [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type
> > for entity Processing 2 was not initialized! [598962.015764]
> > uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera 1 was not
> > initialized! [598962.015987] input: SPCA2650 AV Camera as
> > /devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.
> >4/1-12.4.4.4:1.0/input/input20 [598962.016163] usbcore: registered
> > new interface driver uvcvideo
> >
> > Anybody have an idea of what driver this camera needs?
> >
> > Cheers, Gene Heskett
>
> Hi Gene,
>
> try to use your camera with mpv player. Just use something like this:
>
> $ mpv av://v4l2:/dev/video0
>
That sorta works, video refresh rate at 640x480 is about 1 frame a 
second, and if any camera motion, has severe window shade effects.
Not plugged directly into a usb3 mobo port however.  Color etc seems good 
though.

From the terminal:
gene@coyote:/etc/init.d$ mpv av://v4l2:/dev/video0
Playing: av://v4l2:/dev/video0
 (+) Video --vid=1 (rawvideo)
libEGL warning: DRI2: failed to authenticate
[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] Suspected software renderer or indirect context.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared 
object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vo/sdl] Using opengl
Using conversion filter.
VO: [sdl] 640x480 yuv420p
V: 00:02:06
[ffmpeg/demuxer] video4linux2,v4l2: Some buffers are still owned by the 
caller on close.
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor


Exiting... (Quit)


> My camera works just fine with Skype, Zoom and Hangouts but it doesn't
> work with VLC.
>
> Kind regards
> Georgi

Thanks Georgi.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>



Re: new camera

2020-06-26 Thread Georgi Naplatanov
On 6/26/20 11:20 PM, Gene Heskett wrote:
> Greetings all;
> 
> Just got a new camera, fawcny endoscope, I intend to use for machine.
> 
> Moderately high priced, 5 Megapixel, autofocus.
> 
> But this stretch machine can't find it amongst all the other usb stuff.
> It doesn't have cheese, and vlc doesn't recognize it.
> 
> From dmesg:
> [598961.717093] usb 1-12.4.4.4: new high-speed USB device number 18 using 
> xhci_hcd
> [598961.869828] usb 1-12.4.4.4: New USB device found, idVendor=1bcf, 
> idProduct=284c
> [598961.869837] usb 1-12.4.4.4: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=3
> [598961.869844] usb 1-12.4.4.4: Product: SPCA2650 AV Camera
> [598961.869848] usb 1-12.4.4.4: Manufacturer: SunplusIT Inc
> [598961.869852] usb 1-12.4.4.4: SerialNumber: 01.00.00
> [598961.954556] media: Linux media interface: v0.10
> [598961.973982] Linux video capture interface: v2.00
> [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera (1bcf:284c)
> [598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Extension 4 
> was not initialized!
> [598962.015756] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Extension 3 
> was not initialized!
> [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Processing 2 
> was not initialized!
> [598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera 1 was 
> not initialized!
> [598962.015987] input: SPCA2650 AV Camera as 
> /devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.4/1-12.4.4.4:1.0/input/input20
> [598962.016163] usbcore: registered new interface driver uvcvideo
> 
> Anybody have an idea of what driver this camera needs?
> 
> Cheers, Gene Heskett
> 

Hi Gene,

try to use your camera with mpv player. Just use something like this:

$ mpv av://v4l2:/dev/video0

My camera works just fine with Skype, Zoom and Hangouts but it doesn't
work with VLC.

Kind regards
Georgi



Re: new camera

2020-06-26 Thread Gene Heskett
On Friday 26 June 2020 16:31:28 James H. H. Lampert wrote:

> On 6/26/20 1:20 PM, Gene Heskett wrote:
> > But this stretch machine can't find it amongst all the other usb
> > stuff. It doesn't have cheese, and vlc doesn't recognize it.
>
> . . .
>
> > Anybody have an idea of what driver this camera needs?
>
> Would transferring images on memory cards be a workable solution?
>
Doesn't have a card, usb only, and worthless as machine vision if you 
can't see what the machine is doing in very close to real time.

> --
> JHHL


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: new camera

2020-06-26 Thread James H. H. Lampert

On 6/26/20 1:20 PM, Gene Heskett wrote:

But this stretch machine can't find it amongst all the other usb stuff.
It doesn't have cheese, and vlc doesn't recognize it.

. . .

Anybody have an idea of what driver this camera needs?


Would transferring images on memory cards be a workable solution?

--
JHHL



new camera

2020-06-26 Thread Gene Heskett
Greetings all;

Just got a new camera, fawcny endoscope, I intend to use for machine.

Moderately high priced, 5 Megapixel, autofocus.

But this stretch machine can't find it amongst all the other usb stuff.
It doesn't have cheese, and vlc doesn't recognize it.

From dmesg:
[598961.717093] usb 1-12.4.4.4: new high-speed USB device number 18 using 
xhci_hcd
[598961.869828] usb 1-12.4.4.4: New USB device found, idVendor=1bcf, 
idProduct=284c
[598961.869837] usb 1-12.4.4.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[598961.869844] usb 1-12.4.4.4: Product: SPCA2650 AV Camera
[598961.869848] usb 1-12.4.4.4: Manufacturer: SunplusIT Inc
[598961.869852] usb 1-12.4.4.4: SerialNumber: 01.00.00
[598961.954556] media: Linux media interface: v0.10
[598961.973982] Linux video capture interface: v2.00
[598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera (1bcf:284c)
[598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Extension 4 was 
not initialized!
[598962.015756] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Extension 3 was 
not initialized!
[598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Processing 2 
was not initialized!
[598962.015764] uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera 1 was 
not initialized!
[598962.015987] input: SPCA2650 AV Camera as 
/devices/pci:00/:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.4/1-12.4.4.4:1.0/input/input20
[598962.016163] usbcore: registered new interface driver uvcvideo

Anybody have an idea of what driver this camera needs?

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>