LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-26-2004, 09:17 PM   #1
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC16, FC14, FC12
Posts: 209

Rep: Reputation: 27
Veo Stingray webcam


I have picked up a Veo Stingray webcam. This thing goes by Vendor=0545 ProdID=808b Rev= 3.0c. This matches the ibmcam vendor code, but not precisely the product code, the closest being 0x800d.

I have tried modify the ibmcam.c drive to add the product code as suggested by folks on threads I have found in google, but I cannot seem to get the ibmcam_probe function to be called. Here is the dmesg:


Linux video capture interface: v1.00
usb.c: registered new driver ibmcam
usb.c: USB disconnect on device 00:04.2-2 address 2
hub.c: new USB device 00:04.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x545/0x808b) is not claimed by any active driver.

I have put info() calls right in the ibmcam_probe function so I know it is not being called:

static void *ibmcam_probe(struct usb_device *dev, unsigned int ifnum, const struct usb_device_id *devid)
{
struct uvd *uvd = NULL;
int i, nas, model=0, canvasX=0, canvasY=0;
int actInterface=-1, inactInterface=-1, maxPS=0;
unsigned char video_ep = 0;


info("ibmcam_probe(%p,%u.)", dev, ifnum);
:

My system is 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux
cat /proc/bus/usb/devices:

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=0545 ProdID=808b Rev= 3.0c
S: Product=USB IMAGING DEVICE
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 8 Ivl=0ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS=1022 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

cat /proc/bus/usb/drivers:
usbdevfs
hub
96-111: hiddev
hid
ibmcam
 
Old 10-03-2004, 08:25 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC16, FC14, FC12
Posts: 209

Original Poster
Rep: Reputation: 27
This been a good exercise in learning about drivers, usb and what-not.

Adding the correct entry into the driver's id_table was what was needed. The probe callback will not be called unless the id_table matches whatever vendor, product or revision the driver code puts in the id_table. In my case here is the id_table entry:

static struct usb_device_id id_table[] = { ...
{ USB_DEVICE_VER(IBMCAM_VENDOR_ID, VEO_808B_PRODUCT_ID, 0x030c, 0x030c) }, /* Model ?? */
{}};

With a few other hacks, the driver now claims the device, but the video4linux apps still don't like it. Oh well, more poking and learning to do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Drivers for Veo Advanced Connect KenTI Linux - Hardware 2 04-19-2005 09:44 PM
veo web camera not working Ravager Fedora 0 10-24-2004 04:04 AM
Veo web cam Maintech Linux - Hardware 1 09-27-2004 07:30 PM
Veo Stingray with id# 8333 hotrodowner Linux - Hardware 11 11-07-2003 08:35 PM
gnomemeeting w/veo stingray datadriven Linux - Hardware 3 07-15-2003 11:08 AM


All times are GMT -5. The time now is 12:16 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration