Hi, Yes you're right Petr. The driver is USB 2.0 only. The cam requires another initialization sequence if it's on USB 1.1.
Do you have Windows installed? Can you provide us with USB traces for the cam initialization sequence and data exchange? You can do that using sniffusb.exe/usbsnoop. (http://benoit.papillault.free.fr/usbsnoop/sniff-bin-1.8.zip) We can then determine your sensor and eventually write some code to support it. BR, Ilyes Gouta. On Mon, May 12, 2008 at 8:13 AM, Petr Dlouhý <[EMAIL PROTECTED]> wrote: > Hi, > > I am sorry. I forget, that I had ehci_hcd module unloaded (otherwise sleep > to ram is broken), maybe you could provide debug message also for this. With > module is result of "insmod ./m5603c.ko debug=1": > [ 3448.343482] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_disconnect:260] usb_m5603c_disconnect > [ 3451.581816] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:310] m5603c webcam driver startup > [ 3451.581870] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:153] Sweex webcam found > [ 3451.582917] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:194] ISOC endpoint: 0x81, wMaxPacketSize: 0xc00 > [ 3451.582925] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [m5603c_initialize_camera:96] m5603c_initialize_camera > [ 3451.727135] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:219] could not find an MT9V011 sensor! > [ 3451.727182] usbcore: registered new interface driver m5603c > [ 3451.727188] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:318] 0.1.0:m5603c-mt9v011 webcam driver > > > and result of "insmod ./m5603c.ko debug=2" is: > [ 3762.707454] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:87] firmware status: 0x82 > [ 3762.722290] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:152] xbDSPCTRL1: 0x60 > [ 3762.825676] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:405] xbDSPCTRL2: 0x60 > [ 3762.833667] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:431] xbDSPCTRL3: 0x60 > [ 3762.839661] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:452] xbDSPCTRL4: 0x48 > [ 3762.847647] > /home/petr/soubory/nezarazeno/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:477] xbDSPCTRL5: 0x48 > > > > > On Sun, 11 May 2008 18:58:24 +0200, Ilyes Gouta <[EMAIL PROTECTED]> > wrote: > > > > Hi, > > > > Are you sure that you updated your SVN working copy from the SVN repo.? > You should get a message like "detected a mt9v011 sensor" or "could not find > an MT9V011 sensor!" to indicate that the driver found or didn't find the > right sensor. The driver right now handles only the MT9V011 sensor. > 0x0402:0x5603 are generic VIP:PID given by the constructor for many sensors > attached to the m5603c bridge, i.e 0x0402:0x5603 doesn't correspond to a > unique sensor/bridge combo. > > > > BR, > > Ilyes Gouta. > > > > Petr Dlouhý wrote: > > > > > Here is the result of "insmod ./m5603c.ko debug=1": > > > [ 370.507498] usbcore: deregistering interface driver m5603c > > > [ 372.488073] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:309] m5603c webcam driver startup > > > [ 372.488127] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:153] Sweex webcam found > > > [ 372.489889] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:194] ISOC endpoint: 0x81, wMaxPacketSize: 0xbfd > > > [ 372.489900] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [m5603c_initialize_camera:96] m5603c_initialize_camera > > > [ 372.492817] usbcore: registered new interface driver m5603c > > > [ 372.492827] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:317] 0.1.0:m5603c-mt9v011 webcam driver > > > and result of "insmod ./m5603c.ko debug=2" is: > > > [ 402.412585] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:87] firmware status: 0xc6 > > > [ 402.412635] usbcore: registered new interface driver m5603c > > > By the way, I have problems sending emails to the M560x-driver-devel. > It always returns with: > > > 5.0.0 smtp; 550-Postmaster verification failed while checking > > > dsn_cz_5_0_0 > > > dsn_en_5_0_0 > > > On Sun, 11 May 2008 14:10:31 +0200, Ilyes Gouta <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > Hi Petr, > > > > > > > > Could you try again with the new code in the SVN repository? > > > > I'm interested in the mt9v011 probing phase. > > > > > > > > BR, > > > > Ilyes Gouta. > > > > > > > > Petr Dlouhý wrote: > > > > > > > > > Result of "insmod ./m560x.ko debug=1" is: > > > > > [ 2354.998755] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:309] m5603c webcam driver startup > > > > > [ 2354.998800] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:157] Sweex webcam found > > > > > [ 2354.998810] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:180] num altsettings: 4 > > > > > [ 2355.000563] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_probe:197] ISOC endpoint: 0x81, wMaxPacketSize: 0xbfd > > > > > [ 2355.000570] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [m5603c_initialize_camera:98] m5603c_initialize_camera > > > > > [ 2355.003427] usbcore: registered new interface driver m5603c > > > > > [ 2355.003434] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/m5603c.c: > [usb_m5603c_init:317] 0.1.0:m5603c-mt9v011 webcam driver > > > > > And result with "insmod ./m560x.ko debug=2" is: > > > > > [ 2451.303581] > /home/petr/soubory/nezarazeno/m560x/m560x-driver/m560x/branches/m5603c-mt9v011/mt9v011.c: > [m5603c_initialize0:88] firmware status: 0xc6 > > > > > [ 2451.303633] usbcore: registered new interface driver m5603c > > > > > The m5603_detector is not working for me. It writes: > > > > > m5603c sensor detection program > > > > > cannot open /proc/bus/usb/devices, No such file or directory (2) > > > > > And really in the /proc/bus/usb directory is nothing (I tried > OpenSuse livecd, and there is also blank folder, same as on another computer > with some usb device connected). > > > > > > > > > > > > > > > > ------------ Původní zpráva ------------ > > > > > > Od: Erik Andrén <[EMAIL PROTECTED]> > > > > > > Předmět: Re: [M560x-driver-devel] m5603c-mt9v011 is not working on > Asus A6L - no > > > > > > video0 created in /dev/ > > > > > > Datum: 09.5.2008 09:59:34 > > > > > > ---------------------------------------- > > > > > > This mail contains the program: > > > > > > > http://sourceforge.net/mailarchive/message.php?msg_id=477D0740.7070702%40xs4all.nl > Regards, > > > > > > Erik > > > > > > > > > > > > 2008/5/9 Ilyes Gouta <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > May be you have another sensor (i.e, not an mt9v011) attached to > the > > > > > > > m5603c bridge. > > > > > > > > > > > > > > Could you insmod the driver with the option debug=1 and then > debug=2 > > > > > > > and see what you get on the kernel buffer? (use dmesg) > > > > > > > > > > > > > > In the m560x-driver-devel mailing-list archive (on > sourceforge.net) > > > > > > > you can find a small utility that Willem wrote to detect the > proper > > > > > > > sensor. Would you run it and report the results? > > > > > > > > > > > > > > BR, > > > > > > > Ilyes Gouta. > > > > > > > > > > > > > > 2008/5/9 Petr Dlouhý <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > Hello, > > > > > > > > I have on my Asus A6L with Ubuntu Hardy this webcam: > > > > > > > > > > > > > > > > Bus 004 Device 003: ID 0402:5603 ALi Corp. USB 2.0 Q-tec > Webcam 300 > > > > > > > > > > > > > > > > I have tryed to use m5603c-mt9v011 driver to make it working. > After > > > > > > > > > > > > > > > complilation (compilation went OK) I tryed to load the module > with > > > > > > > > > > > > > > > modprobe videodev > > > > > > > > modprobe v4l1-compat > > > > > > > > insmod ./m5603c.ko debug=16 > > > > > > > > > > > > > > > > , but there is no video0 or videosomethingelse created in > /dev/, and it > > > > > > > > > > > > > > > just writes this to dmesg: > > > > > > > > > > > > > > > [ 908.398574] Linux video capture interface: v2.00 > > > > > > > > [ 924.564924] usbcore: registered new interface driver m5603c > > > > > > > > > > > > > > > > -- Petr Dlouhý > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > > > > > Don't miss this year's exciting event. There's still time to > save $100. > > > > > > > > Use priority code J8TL2D2. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > M560x-driver-devel mailing list > > > > > > > > [email protected] > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > > > > Don't miss this year's exciting event. There's still time to > save $100. > > > > > > > Use priority code J8TL2D2. > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > > > > > > > > > > _______________________________________________ > > > > > > > M560x-driver-devel mailing list > > > > > > > [email protected] > > > > > > > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Petr Dlouhý > > > > > > > > > > > > > > > > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
