Laptop webcam cabling

I am currently offsite and without my trusty tools.
I am converting an integrated webcam from an old Asus X52J laptop into an USB webcam but the colors of the wiring kinda threw me off.

Here's a couple of images:
FirstSecond

How do i match them to a standard black-red-green-white USB cable?
Webcam part no. is 04g620008630 0420-006a000 11261025542 1211

8

3 Answers

SOLUTION:

It is a 5V camera but the polarity is inverted:

  • (USB cable) <---> (Webcam)
  • RED (+5v) <---> BLACK
  • BLACK (GND) <---> ORANGE
  • WHITE (D+) <---> BROWN
  • GREEN (D-) <---> RED
  • nothing <---> YELLOW

Then it gets correctly detected:

usb 2-1.2: new high-speed USB device number 7 using ehci-pci
usb 2-1.2: New USB device found, idVendor=13d3, idProduct=5130
usb 2-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 2-1.2: Product: USB 2.0 Camera
usb 2-1.2: Manufacturer: Sonix Technology Co., Ltd.
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (13d3:5130)
input: USB 2.0 Camera as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input27
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)

grzywomat's answer is accurate (D+ and D- are swapped) but this seems to need 3.3V, I did it was straight 5v and it got quite hot, I put a 3.3V regulator on it and it doesn't get too hot anymore.

enter image description hereActually for me the order of data pins is the other way round, i.e. standard for USB. Nevertheless thank you, as your identification was very helpful. (After soldering as per your schematics, I decided to reverse data pins, as power draw seemed fine (power pins not terribly wrong), and dmesg returned some “cannot enumerate” message which looked to me like just data pins being wrong..)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like