Comment 11 for bug 209901

Revision history for this message
loonatic (albert-friendly) wrote : Re: webcam Logitech QuickCam Messenger ID 046d:08f6 is not reconized

2.6.27-13 hasn't fixed it either.

It does work with 2.6.26.7 and the qc-usb-messenger driver 1.8 (qcmessenger.ko).
However, that drivers can't be used in 2.6.27, plus the 2.6.27 kernel claims to support the webcam.

I've fetched and compiled:

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=tree;f=ubuntu/qc-usb;h=af08ea6e38e756093ada807ed79ca409afd7c174;hb=111d4d24b402fb77a7b63f816e9a729d0a11fb58

Added some of my own debug statements (USER_OPT=-DDEBUG barfed up compile errors)

 quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
 quickcam: Kernel:2.6.27-7-generic bus:4 class:FF subclass:FF vendor:046D product:08F6
 quickcam: qc_stv_set(qc=ffff88005e5d4000,reg=0x1440,val=0)
 quickcam: qc_stv_set(): TEST_BUGR(dev==NULL)
 quickcam: qc_stv_set(): TEST_OK
 quickcam: ret=1=usb_control_msg(qc->dev, usb_sndctrlpipe=0000000080000300, 0x04, 0x40, reg=5184, 0, qc->dmabuf=ffff88005e5d66d8, 1, 3*250)
 quickcam: SIZE(sensors)=4
 quickcam: Testing sensor #0
 quickcam: qc_get_i2c(qc=ffff88005e5d4000,sensor=ffffffffa056bdc0,reg=0x0000)
 quickcam: qc_get_i2c(): TEST_BUGR(dev==NULL)
 quickcam: qc_get_i2c(): TEST_BUGR OK
 quickcam: qc_stv_set(qc=ffff88005e5d4000,reg=0x0423,val=1)
 quickcam: qc_stv_set(): TEST_BUGR(dev==NULL)
 quickcam: qc_stv_set(): TEST_OK
 quickcam: ret=-32=usb_control_msg(qc->dev, usb_sndctrlpipe=0000000080000300, 0x04, 0x40, reg=1059, 0, qc->dmabuf=ffff88005e5d66d8, 1, 3*250)
 quickcam: Failed qc_stv_set()=-32
 quickcam: qc_get_i2c(): qc_stv_set(qc, STV_REG23, 1) failed
 quickcam: qc_get_i2c failed, code=-32
 quickcam: qc_get_i2c() failed in SIZE(sensors) loop at 0
 usbcore: registered new interface driver quickcam

It seems to fail in usb_control_msg() for request 0x04, type 0x40, value 1059, index 0.
I'm kinda stranded there cause I haven't got the foggiest idea what that means and how to check if the webcam possibly doesn't understand that request nor what request should be sent instead.

I hope this extra info helps someone in tracking down the problem.