LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Imaging Source USB camera help (https://www.linuxquestions.org/questions/linux-newbie-8/imaging-source-usb-camera-help-4175487080/)

theoldgrommit 12-06-2013 04:41 AM

Imaging Source USB camera help
 
Can Windows XP usb camera drivers be transferred to Linux. I use Imaging Source cameras, the programme runs fine through Wine but does not 'see' the camera. Any help much appreciated. TOG

corp769 12-06-2013 06:12 AM

Windows != Linux (drivers from windows will not work on something that is not windows)

We don't know what kind of cameras you are really using, besides just 'imaging source' cameras; And what program are you using? If the camera(s) are connected via USB, plug them in, do 'lsusb' in a terminal, and post the output here using code tags. You can also search for the vendor and device ID on google, duckduckgo, etc and see if anyone else has experienced the same issues with your hardware.

r41d3n 12-06-2013 07:19 AM

Try using a program for Linux than via wine.

aus9 12-06-2013 07:54 AM

so you know a bit more

Code:

lsusb
is the correct way to identify what your webcam will support under linux as corp769 requests

but cam software for recording purposes rather than for web cam calls, skype etc fall into 2 main software camps

a) those that use uvcvideo kernel modules can use software = guvcview

b) those that don't, tend to use software cheese

so when you plug in web cam, or if its embedded also show the result for

Code:

lsmod | grep videodev

and my hits are
 lsmod | grep videodev
videodev              103418  2 uvcvideo,videobuf2_core
media                  11839  2 uvcvideo,videodev
i2c_core              22597  4 drm,i2c_i801,nvidia,videodev

don't worry what they mean at this stage until we know more.
If you are impatient you can also input into google search
"linux webcam <your usb ids in the form of number:number>" without the quotes for me its
linux webcam 046d:0990

theoldgrommit 12-06-2013 04:13 PM

I have plugged the DMK 61 Hi Res Colour and did the lsusb command, here is the result..

lsusb
Bus 001 Device 003: ID 0846:9018 NetGear, Inc. WNDA3200 802.11abgn Wireless Adapter [Atheros AR7010+AR9280]
Bus 002 Device 002: ID 058f:6363 Alcor Micro Corp.
Bus 002 Device 006: ID 199e:8203 The Imaging Source Europe GmbH
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I sincerely hope it helps Thank you, TOG

michaelk 12-06-2013 04:56 PM

http://www.theimagingsource.com/en_U...ware/included/
https://code.google.com/p/tiscamera/

Looks like all USB cameras are uvc compatible.

theoldgrommit 12-07-2013 10:17 AM

Greetings aus9, I tried your suggestions but no luck. I installed guvcview and cheese but still no luck. It would appear that the computer cannot sense any of my cameras plugged into the usb port and I fail to see a command to force it to do so. The links that michaelk made and the referrence to uvc now makes sense. Imaging Source appear to be quite slow in porting their gear over to Linux compatability.

Cheers and Beers TOG

aus9 12-07-2013 06:25 PM

eek

the usb ids database does not appear to have your ids as per
Quote:

199e The Imaging Source Europe GmbH
8101 DFx 21BU04 Camera
http://www.linux-usb.org/usb.ids

so I shall try to add it for you at source when I have better details

I have registered for this purpose

https://usb-ids.gowdy.us/read/UD/199e

but I need your real model number and description if possible, like that other entry has used " DFx 21BU04"

maybe this link might help? --thanks to michaelk
https://code.google.com/p/tiscamera/...pportedCameras

Now what is weird is your lsusb shows the maker but the source does not so me thinks we need to correct this first
Quote:

Bus 002 Device 006: ID 199e:8203 The Imaging Source Europe GmbH
above is showing the maker not the model description ......get it?

provide as much info as you can....include your purchase link or info off your invoice

In particular is this an USB 3 device?

###########################

in the meantime, I don't want to try and create an udev rule for your cam

but you can load the uvc module and then try guvcview again?

Code:

sudo modprobe uvcvideo

aus9 12-07-2013 06:59 PM

trivia post pls ignore it....it may be useful only later

udev has a file called (on debian) /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
with contents snippet
Quote:

usb:v199E*
ID_VENDOR_FROM_DATABASE=The Imaging Source Europe GmbH

usb:v199Ep8101*
ID_MODEL_FROM_DATABASE=DFx 21BU04 Camera
this info will eventually come when we update the ids database and your distro updates the udev package

but we could look at making a backup of your existing file
and adding contents to a replacement file?????

but looking at my cam entry
usb:v046Dp0990*
ID_MODEL_FROM_DATABASE=QuickCam Pro 9000

that doesn't inspire with confidence.

instead I look at
Code:

sudo tail /var/log/messages
Dec  8 08:29:58 box kernel: usb 5-7: USB disconnect, device number 4
Dec  8 08:38:32 box kernel: usb 5-7: new high-speed USB device number 5 using ehci-pci
Dec  8 08:38:32 box kernel: usb 5-7: New USB device found, idVendor=046d, idProduct=0990
Dec  8 08:38:32 box kernel: usb 5-7: New USB device strings: Mfr=0, Product=0, SerialNumber=2
Dec  8 08:38:32 box kernel: usb 5-7: SerialNumber: 57061B1F
Dec  8 08:38:32 box kernel: uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
Dec  8 08:38:32 box kernel: input: UVC Camera (046d:0990) as /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/input/input12

also ----sudo modinfo uvcvideo has some interest but note mine is labelled as "unnamed" so I would like to see your output as well pls

my cam is on an usb lead so
sudo tail /var/log/messages may not work try sudo cat /var/log/messages and take a snippet when you find your usb device pls

theoldgrommit 12-08-2013 03:34 AM

aus9
 
Many thanks for all this work you are doing. My two cameras are I.S. DFK 61AUC02, the colour camera, and DMK 31AU03.AS. At the moment they are used for work on my microscope with XP, dual booted with Linux 16. I would like to put Linux 16 on an old laptop for Astro, binning the XP. Thanks for all your time and trouble. TOG

aus9 12-08-2013 06:29 PM

EDIT

I am now reluctant to update database as it misleads users into thinking their cams might work
and be in colour----see below

insert DFK 61AUC02
what does lsusb show?

remove it

insert DMK 31AU03.AS
what does lsusb show pls

########################################
This info I will use above to update the ids but
but
your models are not showing up in the supported cam list I showed link for at reply 8

that means you are likely to have to also try to make a firmware file
https://code.google.com/p/tiscamera/...StartedCMOSUVC


##############################

In either case, we need to know your exact distro pls (for example mine is debian sid ---but not for newbies)
----sid is a rolling release so has no version number

you can use your package manager to install git


but alas I have only just spotted that even if firmware detects and enables your cam ....

Quote:

To be able to use the camera with standard software, you need to switch the interface mode to UVC mode and the colorformat to monochrome

that is not good

Can I suggest that you might be better off googling to see if anyone has been able to use wine with your cams
---if not

Can I suggest you either dual boot to use the cam or alternative buy a decent web cam like mine?

heck you can still buy it

http://www.shopbot.com.au/pp-logitec...ice-60587.html

otherwise reseach the hcl for webcams as per
http://www.linuxquestions.org/hcl/index.php/cat/200


Therefore I am withdrawing my offer to update the database

Anyone reading that ids file might without googling and finding this page
---be possible mislead on how effective their cam would be on linux

I am not happy either for you but embarrassed that I did not know this cam was so ineffective on Linux

good luck

theoldgrommit 12-09-2013 04:13 AM

DFK / DMK Cameras and Linux
 
Greetings, aus9 , Many thanks for all you efforts. When I plugged the cameras in, there was nothing showing in the My Computer, with the terminal, only the information I posted earlier following your request. I only wish I could resolve down to <.2 micron with a web cam.
I will draw the blind on this one and thank you for all your effort. It certainly wasn't a waste, I have learned quite a lot and you met a little challenge. Regards TOG The Old Grommit


All times are GMT -5. The time now is 09:24 AM.