Re: [Nw802-main] Black screen
Status: Inactive
Brought to you by:
tnt246
|
From: Sylvain M. <tn...@24...> - 2003-03-24 08:41:02
|
Camille HUOT wrote: >On Mon, 24 Mar 2003 09:10:46 +0100 >Sylvain Munaut <tn...@24...> wrote: > > > >>Camille HUOT wrote: >> >> >> >>>Hi >>> >>>I got a "Mustek Wcam 300 mini", the device informations in >>>/proc/bus/usb/devices are: >>> >>>C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms >>>T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=12 MxCh= 0 >>>D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 >>>P: Vendor=055f ProdID=d001 Rev= 1.00 >>> >>>So the Vendor and ProdID are the same as the Mustek Wcam300. >>> >>>The driver is well recognizing the webcam at the webcam plug: >>> >>>hub.c: USB new device connect on bus1/1, assigned device number 7 >>>nw802.c: Compatible DivIO NW80x based webcam found ! [Mustek WCam 300 >>>/ PCLine PCL-W300] >>> >>>and the /dev/video0 is well created in my devfs. >>> >>> >>> >>> >>This cam should be OK ... several people reported it to work. >>Is this the last release of the CVS version ? You may try CVS . >> >> > >Of course it is. > > > >>>And in the dmesg (for the driver debug): >>> >>>Mar 22 16:57:27 poseidon kernel: usbvideo.c: Packet Statistics: >>>Total=64. Empty=64. Usage=0%% Mar 22 16:57:27 poseidon kernel: >>>usbvideo.c: Transfer Statistics: Transferred=0 B Usage=0%% Mar 22 >>>16:57:27 poseidon kernel: usbvideo.c: Packet Statistics: Total=64. >>>Empty=64. Usage=0%% Mar 22 16:57:27 poseidon kernel: usbvideo.c: >>>Transfer Statistics: Transferred=0 B Usage=0%% Mar 22 16:57:27 >>>poseidon kernel: usbvideo.c: Packet Statistics: Total=64. Empty=64. >>>Usage=0%% Mar 22 16:57:27 poseidon kernel: usbvideo.c: Transfer >>>Statistics: Transferred=0 B Usage=0%% >>> >>>Et voila. >>> >>>The mustek wcam 300 should work (as it is reported to do), do you >>>have any clue, advice, experience report concerning this problem ? >>> >>> >>> >>> >>Try loading the module with option debug=5 it may give a clue .... >> >> > >the dmesg during the insmod: > > >nw802.c: nw802_probe(...) >nw802.c: Compatible DivIO NW80x based webcam found ! [Mustek WCam 300 / >PCLine PCL-W300] nw802.c: Number of alternate settings : 8 >nw802.c: Active setting=1 maxPS=960 >usbvideo.c: nw802 on /dev/video0: canvas=320x240 videosize=320x240 >nw802.c: Module loaded > >with xawtv launched (same debug as before), I got nearly 64 lines every >seconds in the desmg like this: > >Mar 24 09:20:19 poseidon kernel: nw802.c: nw802_processIsocData >Mar 24 09:20:19 poseidon kernel: nw802.c: Frame ready for decoding > > ... If a frame is ready for decoding then it's decoded and displayed ...But usbvideo report 0b tranfered so no header should be found ... HTH is this possible ... I may have an idea ... may be when the packet is empty the nw802_processIsocData don't work well, it doesn't check for data availibility for performance. But a single test as the start should be OK ( to test if the packet is empty ). I'm working ( planning ) on a driver that would dump the raw stream to a char device ... I'm afraid you'll have to wait for this one to check the raw datastream content. If you have any experience in kernel/char device programming you can help, because I never wroted a char device ... >I think this is ok :( > >Do you think an usb sniff under Windows can help ? > > Well It wasn't a so great idea after all ... ;) Sylvain Munaut |