m560x webcam doesn't work

Bug #55567 reported by Brad Pitcher
92
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Baltix
Invalid
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Hardy by Brian Murray
Declined for Intrepid by Brian Murray

Bug Description

There is a community driven project underway:
https://sourceforge.net/projects/m560x-driver/

brad@brad-laptop:~$ lsusb | grep Webcam
Bus 001 Device 005: ID 0402:5603 ALi Corp. USB 2.0 Q-tec Webcam 300

Built into the following laptops:
Asus A6U
...
others listed below

Revision history for this message
Dorneles Tremea (dtremea) wrote :

We're slowly making progress... right now we can use the webcam to take shoots! :-)

Hopefully the source will be in an 'interesting' state in a few months and then included into the kernel tree.

Keep in touch.

Revision history for this message
deuce (azinas) wrote :

are there any drivers for this cam yet? I have the same problem. Used easycam2 but nothing seems to work.

Revision history for this message
Brad Pitcher (bradpitcher) wrote :

The drivers are incomplete, and they are not in the kernel yet either I think. The best place to stay up to date with the driver progress is at the forums here:
http://www.actiongames.co.uk/m560x/forum/
The developers occasionally request testing from everyone with a camera so that's one way you could help out.

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Stuart Morgan (MythTV) (gbee) wrote :

For the record this project has been moved to sourceforge and earlier links may no longer be valid.

https://sourceforge.net/projects/m560x-driver/

Development continues on the driver, albeit at a very slow pace due to a lack of developers, time and hardware on which to test (M5602 especially).

Revision history for this message
Jan Kaláb (pitel) wrote :

This camera is also in some Acer laptops (e.g. my TravelMate 2490).

Revision history for this message
max69 (maxime-bely) wrote :

Webcam also present on Zepto laptops chip m5603D.

Revision history for this message
Payteer (prowan) wrote :

It is on Lenovo 3000 V100s also and I have the m5602 version if you want to use me as a test.

Revision history for this message
Felipe Figueiredo (philsf) wrote :

I have access to both a Lenovo 3000 V100, and a V200. Both have the m5602 version, and I also volunteer for tests.

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Compiling the driver from SVN (revision 138) and following the instructions in the brazilian blog posted above, I get the following in dmesg:

[ 2377.920000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: usb_m560x_init - M560x-based WebCam driver startup
[ 2377.920000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: m560x_probe - M560x-based WebCam connected
[ 2378.452000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m5602_mt9v111.c: [m5602_probe_mt9v111:189] probe mt9v111 sensor id ff ff
[ 2378.460000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov9650.c: [m5602_probe_ov9650:190] probe ov9650 sensor id ff ff
[ 2378.464000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m5602_ov7640.c: [m5602_probe_ov7640:190] probe ov7640 sensor id ff ff
[ 2378.464000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: No supported sensor detected
[ 2378.468000] m560x: probe of 7-5:1.0 failed with error -524
[ 2378.468000] usbcore: registered new interface driver m560x
[ 2378.468000] /home/philsf/src/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: 0.4.0:Ali M560x Webcam Driver

Revision history for this message
Hendy Irawan (ceefour) wrote :

Zyrex GEF525 also have this:

Bus 006 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0402 ALi Corp.
  idProduct 0x5602 Video Camera Controller
  bcdDevice 1.00
  iManufacturer 0
  iProduct 1 USB2.0 Camera
  iSerial 0
  bNumConfigurations 1

ceefour@caliva:~$ uname -a
Linux caliva 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux

Not working.

Tried linux-uvc (http://linux-uvc.berlios.de/) also doesn't work, even if dmesg said this:

[21698.478860] Linux video capture interface: v2.00
[21698.520027] usbcore: registered new interface driver uvcvideo
[21698.520033] USB Video Class driver (SVN r223)

Revision history for this message
Hendy Irawan (ceefour) wrote :

I'm trying to document my findings here:

http://linuxlaptopwiki.net/wiki/Zyrex_GEF525

Revision history for this message
mdipasq (mdipasq) wrote :

Also present in acer aspire 5100 as built-in webcam:
Bus 003 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller

glad to do some tests...

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Karim (igomezh2) wrote :

HI, I have this cam also in my packard bell EASYNOTE_MX67-O-014, think is the same because "lsusb" shows this:

Bus 005 Device 003: ID 0402:5602 ALi Corp. Video Camera Controller
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 15ca:00c3
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Tried with cheese but only shows colour vertical lines like when tv signal is testing, same with camorama.

Glad to be useful for tests, please contact me.

Revision history for this message
Karim (igomezh2) wrote :

Me again, the attach is the "tv signal" I get on Cheese, and if I record a video, it shows it constant, not an static image. I have no driver installed yet.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Dorneles Tremea (dtremea) wrote :

Hello folks, good news... the current code from http://m560x-driver.svn.sourceforge.net/viewvc/m560x-driver/m560x/branches/m5602/ works with all known sensors! :-)

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Does NOT work for me, with revision 411 of the svn. Still only a black screen.

Revision history for this message
Dorneles Tremea (dtremea) wrote :

If the driver doesn't work for you, take a look at the mailing list archive and subscribe to:

https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Provide as much details as possible when posting to that list.

Revision history for this message
Jan Kaláb (pitel) wrote :

Still doesn't work in 8.10 beta.

description: updated
Revision history for this message
Erik Andrén (erik-andren) wrote :

I'm one of the main developers of this driver.
This driver has been submitted upstream and will most likely end up in 2.6.28 meaning that Jaunty will contain it.

One possible issue is that this usb bridge connects to multiple sensors and that 5 sensors are currently supported but we know of at least one more.

Thus it's most important that if you currently can't get the driver at m560x.sf.net to work that you post to the sourceforge mailing list and let us know in order for us to gain support for your sensor.

Revision history for this message
Erik Andrén (erik-andren) wrote :

Sorry, forgot to mention that only the m5602 is submitted upstream and _not_ m5603.
These two chipsets differ enough that two separate codebases are needed.

Changed in linux:
status: Incomplete → In Progress
Revision history for this message
Felipe Figueiredo (philsf) wrote :

I tested the main branch (branches/m5602, revision 446 from upstream svn) in my Lenovo 3000 v100 and it works in livecam. I tested this in Hardy with libv4l-0 and libv4l-dev from intrepid (no need to recompile).

Can this driver be included in intrepid? What other tests can I do in order to help get this into intrepid before final freeze?

Changed in linux:
status: In Progress → Confirmed
Revision history for this message
mdipasq (mdipasq) wrote :

Still not working with ubuntu 8.10 on Acer aspire 5100
lsusb:
ID 0402:5602 ALi Corp. Video Camera Controller

Revision history for this message
Erik Andrén (erik-andren) wrote :

mdipasq: Did you try the driver from the m560x.sourceforge.net driver?

Revision history for this message
mdipasq (mdipasq) wrote :

Erik: after dowloading the tarbal I was unable to run make due this error...

matteo@matteo-laptop:~/m560x-driver/m560x/branches/m5602-s5k83a$ sudo make install
mkdir -p /lib/modules/2.6.27-7-generic/kernel/drivers/usb/media
install -m 644 -o 0 -g 0 m5602.ko /lib/modules/2.6.27-7-generic/kernel/drivers/usb/media
install: impossibile fare stat di `m5602.ko': Nessun file o directory
make: *** [install] Error 1
matteo@matteo-laptop:~/m560x-driver/m560x/branches/m5602-s5k83a$

Revision history for this message
Erik Andrén (erik-andren) wrote :

First of all, use the m5602 branch, not the m5602-s5k83a.
Secondly, you can try the module by issuing a make load call in the m5602 directory.

Revision history for this message
mdipasq (mdipasq) wrote :

I gives me the same error...here it is....

matteo@matteo-laptop:~/m560x-driver/m560x/branches/m5602$ sudo make install
mkdir -p /lib/modules/2.6.27-7-generic/kernel/drivers/usb/media
install -m 644 -o 0 -g 0 m5602.ko /lib/modules/2.6.27-7-generic/kernel/drivers/usb/media
install: impossibile fare stat di `m5602.ko': Nessun file o directory
make: *** [install] Error 1
matteo@matteo-laptop:~/m560x-driver/m560x/branches/m5602$

Revision history for this message
tezer (taras8055) wrote :

Hi,
try this:

#make clean
$make
#make install
#depmod -a

then reboot

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
mdipasq (mdipasq) wrote :

Erik:
I tried the Tezer's solution and the installation worked, but now, even if the led on che webcam is lit, camorama and cheese aren't working...

Revision history for this message
Henry S. (snowball2050-gmail) wrote :

Decided to see what was happening with jaunty alpha and to my surprise, the light on my m5602 cam went on as it was booting! Seems to be marginally working in 2.6.28-4. Video worked in 'cheese' but was very grainy and flipped vertically. Did not work in skype.

Revision history for this message
Aldo "xoen" Giambelluca (xoen) wrote :

So, from 2.6.28 the driver for this webcam is included in the Linus kernel?

Revision history for this message
Erik Andrén (erik-andren) wrote :

Yes, although the latest version can be grabbed by following the instructions at http://m560x-driver.wiki.sourceforge.net/testing_m5602

Revision history for this message
Daniele Napolitano (dnax88) wrote :

Fixed in Jaunty Alpha 3.

Laptop: Acer Aspire 5102WLMi

Output of lsusb:
Bus 003 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller

Extract of dmesg:
[ 841.620435] gspca: main v2.3.0 registered
[ 841.624889] gspca: probing 0402:5602
[ 841.624901] ALi m5602: Probing for a po1030 sensor
[ 841.661279] ALi m5602: Probing for a mt9m111 sensor
[ 841.678293] ALi m5602: Probing for a s5k4aa sensor
[ 841.702798] ALi m5602: Probing for an ov9650 sensor
[ 841.719060] ALi m5602: Probing for a s5k83a sensor
[ 841.742829] ALi m5602: Detected a s5k83a sensor
[ 841.941596] gspca: probe ok
[ 841.941646] usbcore: registered new interface driver ALi m5602
[ 841.941655] ALi m5602: registered

The bug still remain in Ubuntu 8.10.

Revision history for this message
Frantique (undernetangel) wrote :

In Jaunty I have black-and-white, up side down image from the ALi Corp. webcam. :D
How can I fix that?
The driver is gspca_m5602, automatically selected.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Brad Pitcher, since you are the original bug reporter, can you confirm if this is fixed or not for you with the latest pre-release of Jaunty 9.04 (currently Alpha 5) - http://cdimage.ubuntu.com/releases/jaunty/ . You should be able to test via a LiveCD. Please let us know your results. Thanks.

Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Jojo (kuzniarpawel) wrote :

Just checked my Sweex camera

Bus 004 Device 002: ID 0402:5603 ALi Corp. USB 2.0 Q-tec Webcam 300

on Jaunty alpha 5 - 2.6.28-8-generic #27-Ubuntu SMP Thu Mar 5 00:30:14 UTC 2009 x86_64 GNU/Linux

unfortunately it is not automatically recognized, modprobe gspca_m5602 gives

[ 122.791844] Linux video capture interface: v2.00
[ 122.825805] gspca: main v2.3.0 registered
[ 122.858757] usbcore: registered new interface driver ALi m5602
[ 122.858765] ALi m5602: registered
[ 149.831740] m5602: ALi m5602 webcam driver startup
[ 149.831798] usbcore: registered new interface driver m5602

but camera is not accessible in cheese or camorama

checked also manually compiled http://m560x-driver.svn.sourceforge.net/viewvc/m560x-driver/m560x/branches/m5602/
with the same result

Revision history for this message
Erik Andrén (erik-andren) wrote :

@jojo
It is expected that the m5602 driver won't work as you have a 5603 chip. The other m5603 specific branches in the m560x-driver project at sourceforge might give you better results.

Revision history for this message
Frantique (undernetangel) wrote :

This helped:

hg clone http://linuxtv.org/hg/~eandren/gspca-m5602/

It should be included in the kernel by default...

Revision history for this message
skycrash (skycrash) wrote :

Hi!..

My lapto is a Acer Aspire 3100 and m5602-s5k83a working on gentoo (Kernel 2.6.26)
but.. only black-white..
what should I do to get it colored?

gspca-m5602 work for my webcam ?

Sorry, bad english :D

bye!

Revision history for this message
Erik Andrén (erik-andren) wrote :

skycrash: Read the instructions above and clone the latest hg and _not_ the svn repository. Ensure that you have libv4l installed. Then it should work.

Revision history for this message
skycrash (skycrash) wrote :

hmm Im using latest hg and.. when modprobe gspca_m5602 or others modules, dmesg msg:
Unknow symbol.. etc etc..

My kernel version is 2.6.26, what version I should use?

Thankz.. Bye

Revision history for this message
Brisno (eyesmaster85) wrote :

Hi

My laptop is a Packard Bell EasyNote 2130, I am using Ubuntu 8.10 (Kernel 2.6.27-11 generic)
Using the lsusb command i have this:
$ lsusb
Bus 006 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I used the gspca-m5602 driver, but I only have a black screen and I don't know if I did something wrong (this is my first experiencie in Linux xD)

Sorry my bad english ;)

Revision history for this message
Erik Andrén (erik-andren) wrote :

skycrash: While in the hg tree. First issue a "make unload" to unload all relevant modules. Then do a "make load" to reload the correct modules. This should take core of the unknown symbols. If not do a "make distclean" and try again.

Brisno: Read the comments above, clone the hg tree and try again.

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

hi erik
i tested this webcam on jaunty
it seems to work
however the image is black and white and inverted
any idea to fix this?
thanks

Revision history for this message
Erik Andrén (erik-andren) wrote :

psychodude,
What machine do you have?
What program did you use?

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

i am on a lenovo y300
ubuntu 2.6.28-11-generic
i tried vlc ekiga and finally kopete
thanks

Revision history for this message
mdipasq (mdipasq) wrote :

Hi on my acer aspire 5100 with jaunty the webcam is not working both on camorama(error popup with "unable to connect to /dev/video0" message) and cheese(no webcam found)....
From startup the led of the cam is always on....

Revision history for this message
Erik Andrén (erik-andren) wrote :

psychodude,
mdipasq,

In order to help you further I need you to try the latest development tree of the driver.
1. Install mercurial - sudo apt-get install mercurial
2. Clone the latest driver tree - hg clone http://linuxtv.org/hg/~eandren/gspca-m5602/
3. enter the gspca-m5602 directory and build the driver - make
4. Unload your previous drivers - sudo make unload
5. Load the new driver - sudo make load
6. Try to use cheese and see if it works. If not, report back here. Thanks!

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

hey erik
i tested the latest driver
good news: it fixed my colour issue!!!!
not so good news: image still inverted:(
i tested on vlc ekiga kopete and cheese
in cheese i can vertically flip it though using the effects
thanks for all your help!!!!
hope you can get it (vertically) right

Revision history for this message
Erik Andrén (erik-andren) wrote :

psychodude,

That's great news.
What do you mean with inverted? Is it upside down or mirrored?
The normal state is that if you hold up a piece of paper with something written on it to the camera, the text should be readable.

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

oh i meant its upside down
you know a fix?

Revision history for this message
Erik Andrén (erik-andren) wrote :

If you attach the output of the dmidecode and your kernel log after successfully modprobing the camera I can add a quirk to flip the image correctly.

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Erik,

my m5602 also appears in black and white with the driver from Jaunty (2.6.28-11-generic). Actually not really black, but more like a purple tone.

I tried unloading it, and tried the instructions in comment 51, but got no image in cheese. Running cheese from command line returns the warning:

libv4l2: error converting / decoding frame data: v4l-convert: error destination buffer too small

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

erm i am kinda new to this
so i am attaching whatever made sense to me

Revision history for this message
psychodude (dhir-dhir-1992) wrote :
Revision history for this message
Erik Andrén (erik-andren) wrote :

Psychodude,
Looks great,
I'll try to add this shortly to the driver. Stay tuned!

Revision history for this message
Erik Andrén (erik-andren) wrote :

Psychodude,
If you pull the gspca-m5602 tree above by standing in it and issuing
hg pull http://linuxtv.org/hg/~eandren/gspca-m5602/

You should get a new changeset. Rebuild and reload the tree according to the instructions above. If everything works as planned you should have a correctly flipped image.

Revision history for this message
psychodude (dhir-dhir-1992) wrote :

AWESOME !!!
GREAT WORK ERIK
IT WORKS GREAT
THANKS!!!!
YOU ARE A GENIUS

Revision history for this message
Erik Andrén (erik-andren) wrote :

psychodude,
That's great news. I'll see to it that this will land in the next kernel release which in turn should make it work automagically in Ubuntu Karmic.

Felipe,
I need more information in order to help you. Is this a regression?
What machine do you have? Could you please attach a kernel log of when you load the camera driver?

Revision history for this message
Felipe Figueiredo (philsf) wrote : Re: [Bug 55567] Re: m560x webcam doesn't work

Erik Andrén wrote:
> Felipe,
> I need more information in order to help you. Is this a regression?
>
It would seem so. Here is a shot from cheese to show the result of the
driver in Jaunty stock kernel.

> What machine do you have? Could you please attach a kernel log of when you load the camera driver?

Lenovo 3000 v100, with a m5602. I attach also both the kern.log and the
results of

sudo lsusb -s 001:002 -v > lsusb.txt

regards
FF

Revision history for this message
mdipasq (mdipasq) wrote :

Erik,
i have installed it, but is not working....
even after a restart, both cheese is continuosly searching che cam....

Revision history for this message
Suyog (mainalisuyog) wrote :

i get this error while running make:

/home/suyog/gspca-m5602/v4l/compat.h:396: error: redefinition of 'usb_endpoint_type'
include/linux/usb/ch9.h:376: note: previous definition of 'usb_endpoint_type' was here
make[3]: *** [/home/suyog/gspca-m5602/v4l/au0828-cards.o] Error 1
make[2]: *** [_module_/home/suyog/gspca-m5602/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.30-020630rc7-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/suyog/gspca-m5602/v4l'
make: *** [all] Error 2

any help?

Revision history for this message
anystupidname (anystupidassname) wrote :

Asus Z83VB "laptop" with a 0402:5602 ALi Corp. Video Camera Controller

Before:
picture was crappy and inverted both horizontally and vertically

Did (per above):
sudo apt-get install mercurial
hg clone http://linuxtv.org/hg/~eandren/gspca-m5602/
make
sudo make unload
sudo make load

After:
picture much better and correct orientation / no longer inverted

v4l2 only
v4l still does not appear to be supported

I'm assuming this is as designed / cam limitation?

Thank you!

Revision history for this message
Clart (clawebsolution) wrote :
Download full text (5.9 KiB)

Is there anyone who could help me?
These are the outputs of the following commands:
lsusb --> Bus 001 Device 002: ID 0402:5603 ALi Corp. USB 2.0 Q-tec Webcam 300
uname -a --> Linux clart-ubuntu 2.6.28-14-generic #46-Ubuntu SMP Wed Jul 8 07:21:34 UTC 2009 i686 GNU/Linux
ls -la /dev/video* --> ls: impossibile accedere a /dev/video*: Nessun file o directory
lsusb -v -->
Bus 001 Device 002: ID 0402:5603 ALi Corp. USB 2.0 Q-tec Webcam 300
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0402 ALi Corp.
  idProduct 0x5603 USB 2.0 Q-tec Webcam 300
  bcdDevice 1.02
  iManufacturer 0
  iProduct 1
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 101
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0000 1x 0 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0010 1x 16 bytes
        bInterval 4
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x1400 3x 1024 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength ...

Read more...

Revision history for this message
mdipasq (mdipasq) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=067ba2f3-1089-4d7a-bb1f-c3f57a340893
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 010: ID 0402:5602 ALi Corp. Video Camera Controller
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 04d9:1133 Holtek Semiconductor, Inc.
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Acer Aspire 5100
Package: linux-image-2.6.28-14-generic 2.6.28-14.46
PackageArchitecture: amd64
ProcCmdLine: root=UUID=183e4173-d387-40a9-a451-7804778711fd ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=it_IT.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-14.46-generic
Uname: Linux 2.6.28-14-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
mdipasq (mdipasq) wrote :
Revision history for this message
xq19space (tuxlux) wrote :

It's now September 2009 and this issue is still a mess.

WTF?

M560X webcams just DO NOT work in Ubuntu.

Fix it.......it's been two %ucking years for crying out loud.

Revision history for this message
danixeddu (dan-lindfield) wrote :

I have an Acer Aspire 3102WLMi with onboard Orbicam running Ubuntu 8.04 Hardy Heron with kernel 2.6.24. Webcam is not detected by Cheese or Skype.

lsusb shows:
 Bus 003 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller

I believe the sensor is supported by gspca with the m5602-s5k83a driver.

Carried out the following:
 1. Installed mercurial - sudo apt-get install mercurial
 2. Cloned the latest driver tree - hg clone http://linuxtv.org/hg/~eandren/gspca-m5602/
 3. entered the gspca-m5602 directory and tried to build the driver - make

Cannot compile...... error shows:

Preparing to compile for kernel version 2.6.24
File not found: /lib/modules/2.6.24-25-386/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/dan/Documents/temp/gspca-m5602/v4l'
make: *** [all] Error 2

I don't really understand what I'm missing. Can anyone help?

Revision history for this message
Erik Andrén (erik-andren) wrote :

It might the case that the windows driver uses a software layer called Synaptics Gesture Suite that enables this multi touch functionality. See:
 http://www.synaptics.com/solutions/technology/gestures/touchpad

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
swadesh (swadesh-kumar) wrote :

This bug still exists even in ubuntu 11.10

Changed in linux (Ubuntu):
status: Expired → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I can confirm this bug on Ubuntu 11.10 and 11.04 - cheese starts, but doesn't show any picture from webcam :(

~ $ uname -a
Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux

~ $ lsusb |grep 0402
Bus 001 Device 004: ID 0402:5602 ALi Corp. M5602 Video Camera Controller

  ~ $ dmesg |grep m5602
[ 30.139665] ALi m5602: Sensor reported 0x7660
[ 30.139670] ALi m5602: Detected a ov7660 sensor
[ 30.268638] usbcore: registered new interface driver ALi m5602

~ $ dmesg |grep gspca
[ 29.961478] gspca: v2.13.0 registered

~ $ lsmod |grep gspca
gspca_m5602 51493 0
gspca_main 27610 1 gspca_m5602
videodev 85626 1 gspca_main

Sometimes cheese shows this error in terminal: libv4l2: error dequeuing buf: Input/output error

~ $ cheese
(cheese:7182): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel
libv4l2: error dequeuing buf: Input/output error

Revision history for this message
penalvch (penalvch) wrote :

Brad Pitcher, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
removed: cft-2.6.27 linux-source-2.6.20
Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in baltix:
status: New → Invalid
Revision history for this message
indigocat (indigocat) wrote :

The driver seems not to work in modern Ubuntu distros; I'm using 14.04, and the presence of the 5602 ALi Corp. Video Camera Controller is recognized, but neither Cheese nor Skype can access the image capture (capture frame shows a black image).

Any ideas?

Revision history for this message
indigocat (indigocat) wrote :

BTW, I'm using the Xenial kernel (4.4.0-42)

Revision history for this message
Erik Andrén (erik-andren) wrote : Re: [Bug 55567] Re: m560x webcam doesn't work

I'm afraid I don't have the hardware any more to test this.

Sorry,
Erik

2016-10-12 17:22 GMT+02:00 indigocat <email address hidden>:

> The driver seems not to work in modern Ubuntu distros; I'm using 14.04,
> and the presence of the 5602 ALi Corp. Video Camera Controller is
> recognized, but neither Cheese nor Skype can access the image capture
> (capture frame shows a black image).
>
> Any ideas?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/55567
>
> Title:
> m560x webcam doesn't work
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/55567/+subscriptions
>

Revision history for this message
penalvch (penalvch) wrote :

indigocat (dennis-mayr-c), it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

no longer affects: linux-source-2.6.20 (Ubuntu)
Revision history for this message
indigocat (indigocat) wrote :

Unfortunately, ubuntu-bug won't work, as I'm using elementaryOS, based on Ubuntu 14.04, and although I'm using a stock Ubuntu kernel (4.4.0-57-generic at this moment), the report won't be generated.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.