i2c-2.8.0 USBVision Patch
Quoted 4 lines
I happen to stumble on your conversation and patch.
Thanks, I will update our code base.
Once done, please confirm which constant you have been using and if you want a comment associated in i2c-id.h.
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 8 lines
Please change the following...
.id =
I2C_HW_B_BT848,to the following...
.id =
I2C_USBVISION,
That ID is for an adapter, so it has to be I2C_HW_USBVISION (or even longer? Please take a look at i2c-id.h in the Linux kernel sources and tell me what you think).
Also, there's a second ID you'd need to change: I2C_ALGO_BIT should become I2C_ALGO_USB, right?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
Sounds great to me.... I would like to keep it basically like everything else. I checked out the
i2c-id.hfile.a)
I2C_HW_B_USBVISION
b)I2C_ALGO_USB
I'm not sure about I2C_HW_B_USBVISION. I'd tend to say that _B_ is for adapters that use the i2c-algo-bit algorithm layer, which isn't your case, unless I'm missing something. So I'm now wondering if it shouldn't be I2C_HW_USB_USBVISION or something similar, since you are using your own algorithm.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 5 lines
Ok....
a)
I2C_HW_USB_USBVISION
b)I2C_ALGO_USB
Done:
#define I2C_ALGO_USB 0x170000 /* USB algorithm */
/* --- USB based adapters */
#define I2C_HW_USB_USBVISION 0x00
(Not committed yet, will do ASAP.)
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 7 lines
#define
I2C_ALGO_USB0x170000/* USB algorithm *//* --- USB based adapters */
#defineI2C_HW_USB_USBVISION0x00(Not committed yet, will do ASAP.)
Done.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 13 lines · Jean Delvare
Quoted 5 lines
I happen to stumble on your conversation and patch.
Thanks, I will update our code base.
Once done, please confirm which constant you have been using and if you want a comment associated in
i2c-id.h.Thanks.
Please change the following...
.id = I2C_HW_B_BT848,
to the following...
.id = I2C_USBVISION,
Thanks....
Dwaine.
http://www.emuit.com/webcam.html
Quoted 10 lines · Jean Delvare
Quoted 9 lines
Please change the following...
.id =
I2C_HW_B_BT848,to the following...
.id =
I2C_USBVISION,
Quoted 9 lines
That ID is for an adapter, so it has to be
I2C_HW_USBVISION(or even longer? Please take a look ati2c-id.hin the Linux kernel sources and tell me what you think).Also, there's a second ID you'd need to change:
I2C_ALGO_BITshould becomeI2C_ALGO_USB, right?
Sounds great to me.... I would like to keep it basically like everything else. I checked out the i2c-id.h file.
a) I2C_HW_B_USBVISION
b) I2C_ALGO_USB
Thanks...
Dwaine.
Quoted 8 lines · Jean Delvare
Quoted 7 lines
Sounds great to me.... I would like to keep it basically like everything else. I checked out the
i2c-id.hfile.a)
I2C_HW_B_USBVISION
b)I2C_ALGO_USB
Quoted 8 lines
I'm not sure about
I2C_HW_B_USBVISION. I'd tend to say that _B_ is for adapters that use the i2c-algo-bit algorithm layer, which isn't your case, unless I'm missing something. So I'm now wondering if it shouldn't beI2C_HW_USB_USBVISIONor something similar, since you are using your own algorithm.
Ok....
a) I2C_HW_USB_USBVISION
b) I2C_ALGO_USB
Dwaine.