LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2017, 06:24 PM   #1
doetoe
LQ Newbie
 
Registered: Sep 2017
Location: Barcelona
Posts: 6

Rep: Reputation: Disabled
Is my internal webcam (ThinkPad T530) broken? If so, how can I disable it?


I recently bought a refurbished second hand Lenovo ThinkPad T530. It mostly works very well, but the internal webcam seems to have a problem, which sometimes causes the laptop not to boot on Linux (I'm dual booting, on Windows it always booted so far, once the webcam worked, but usually not on Windows either).

If indeed the webcam is broken, I can live without it, but I would like it to boot consistently. Is there a way to just bypass it during startup?

Below is some system information that seems to indicate a problem. Does it indeed indicate that it is broken?

$ uname -a
Linux ThinkPad-T530 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


lsusb doesn't show it (at this boot)
Code:
    $ lsusb
    Bus 002 Device 003: ID 046d:c06a Logitech, Inc. USB Optical Mouse
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
My syslog seems to indicate some kind of error:
Code:
    $ cat /var/log/syslog
    
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4638.962216] usb 1-1.6: USB disconnect, device number 4
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.093266] usb 1-1.6: new full-speed USB device number 5 using ehci-pci
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.173295] usb 1-1.6: device descriptor read/64, error -32
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.361305] usb 1-1.6: device descriptor read/64, error -32
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.549279] usb 1-1.6: new full-speed USB device number 6 using ehci-pci
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.629319] usb 1-1.6: device descriptor read/64, error -32
    Sep 10 03:14:24 ThinkPad-T530 kernel: [ 4639.817317] usb 1-1.6: device descriptor read/64, error -32
    Sep 10 03:14:25 ThinkPad-T530 kernel: [ 4640.005319] usb 1-1.6: new full-speed USB device number 7 using ehci-pci
    Sep 10 03:14:25 ThinkPad-T530 kernel: [ 4640.421344] usb 1-1.6: device not accepting address 7, error -32
    Sep 10 03:14:25 ThinkPad-T530 kernel: [ 4640.501367] usb 1-1.6: new full-speed USB device number 8 using ehci-pci
    Sep 10 03:14:25 ThinkPad-T530 kernel: [ 4640.917436] usb 1-1.6: device not accepting address 8, error -32
    Sep 10 03:14:25 ThinkPad-T530 kernel: [ 4640.917625] usb 1-1-port6: unable to enumerate USB device
    ...
    Sep 10 04:40:03 ThinkPad-T530 kernel: [ 9777.896156] usb 1-1.6: new full-speed USB device number 73 using ehci-pci
    Sep 10 04:40:03 ThinkPad-T530 kernel: [ 9778.312127] usb 1-1.6: device not accepting address 73, error -32
    Sep 10 04:40:03 ThinkPad-T530 kernel: [ 9778.312460] usb 1-1-port6: unable to enumerate USB device
    ...
    Sep 10 19:32:56 ThinkPad-T530 kernel: [    1.851518] usb 1-1.6: new full-speed USB device number 4 using ehci-pci
    ...
    Sep 10 19:32:56 ThinkPad-T530 kernel: [    1.931512] usb 1-1.6: device descriptor read/64, error -32
My syslog.1 (which for some reason shows timestamps in between timestamps occurring in syslog) records the log from a different boot, in which the device didn't directly give an error, but didn't work either:

$ cat /var/log/syslog.1
Code:
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.556905] uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b2ea)
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559387] uvcvideo 1-1.6:1.0: Entity type for entity Extension 4 was not initialized!
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559388] uvcvideo 1-1.6:1.0: Entity type for entity Extension 3 was not initialized!
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559389] uvcvideo 1-1.6:1.0: Entity type for entity Processing 2 was not initialized!
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559390] uvcvideo 1-1.6:1.0: Entity type for entity Camera 1 was not initialized!
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559458] input: Integrated Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input16
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559526] usbcore: registered new interface driver uvcvideo
    Sep 10 03:57:10 ThinkPad-T530 kernel: [    4.559527] USB Video Class driver (1.1.1)
Please let me know if I should include more system information and how I can obtain it.

Does this indeed indicate that there is a physical problem with my webcam? If so, as it sometimes seems to prevent me to boot normally, is there a way to just bypass it during startup?

Note: I posted the same question on Unix & Linux Stackexchange, but there seems to be very little traffic there.

Last edited by onebuck; 09-11-2017 at 07:57 AM.
 
Old 09-11-2017, 11:59 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,061

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
Just looking it up
Code:
bash-4.4$ grep b2ea /usr/share/hwdata/usb.ids
	b2ea  Integrated Camera [ThinkPad]
bash-4.4$ grep 04f2 /usr/share/hwdata/usb.ids
04f2  Chicony Electronics Co., Ltd
uvcvideo is good for a lot of them but there's a lot online. 'linux chicony thionkpad camera' is a productive search.
 
1 members found this post helpful.
Old 09-11-2017, 12:53 PM   #3
doetoe
LQ Newbie
 
Registered: Sep 2017
Location: Barcelona
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your reply, business_kid.

I am aware that the device is a Chicony Webcam (didn't know about /usr/share/hwdata/usb.ids though), but (I think) my main problem is that the device may be defective or for some other reason doesn't initialize; I think that the error code does not point to a driver issue, but rather a hardware failure. Moreover, the webcam doesn't initialize in Windows either.
Btw, if you know where I can look up error codes, that would also be very welcome.

Since the error seems to mess up the whole boot sequence, I would, if there is not easy fix, also be interested in learning if there is a way to just bypass this device, even though that would mean I can't use the webcam. I suspect that should be something independent of the device, general linux configuration, but I have no idea how to do it, and I didn't manage to find anything on the web either.
 
Old 09-11-2017, 02:30 PM   #4
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Disable it in the BIOS
 
1 members found this post helpful.
Old 09-11-2017, 02:35 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,061

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
Error codes are mainly listed in /usr/include/asm-generic/errno-base.h, & /usr/include/asm-generic/errno.h. It may well be hardware.
 
1 members found this post helpful.
Old 09-11-2017, 04:03 PM   #6
doetoe
LQ Newbie
 
Registered: Sep 2017
Location: Barcelona
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you both. Disabling it in the BIOS worked for me.

Do you know (for future reference and for my general education) if it would have been possible by blacklisting or some other configuration option?

The error codes in those files go from 1 to 133 on my system. Could it be that -32 in the log file corresponds to 32? Or should there be more error code definitions somewhere?
 
Old 09-11-2017, 04:28 PM   #7
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
I think it unlikely since the camera is hardware controlled and the errors would be generated before ANY OS got control.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How Can I Use My Internal Webcam faruk.c Linux - Hardware 5 03-22-2017 12:52 PM
[SOLVED] Lenovo Mini Dock Plus (433815U) and ThinkPad T530: unable to display video dcsst28 Slackware 13 03-25-2015 05:50 PM
Internal Webcam helenawahlberg Linux - Software 2 10-25-2010 07:12 AM
SD, MS internal card reader, webcam Fice Linux - Hardware 0 01-19-2006 04:06 AM
Radeon driver and Thinkpad Internal LCD priyendra Linux - General 0 07-11-2005 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration