[Bug 1705900] Re: Lenovo e73 USB webcam problems

2017-08-02 Thread Lukas Jirkovsky
I reported the bug with the Microsoft one, but the same problem also
occurs with Trust WB-5400 webcam.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Re: Lenovo e73 USB webcam problems

2017-07-29 Thread Lukas Jirkovsky
I tried to update to linux-
image-4.13.0-041300rc2-generic_4.13.0-041300rc2.201707232231_i386.deb,
but I was told it was no longer possible to log in (the login screen
appeared, but it was not possible to write password as if the keyboard
was not connected at all). After reverting to the previous kernel it was
possible to log in again.

However, I still have some findings that may be useful. I tried to add
some debug printk's around the code that caused the null pointer
dereference and I was able to find the exact place where the null
pointer dereference occurs. I used Ubuntu-hwe-4.8.0-58.63_16.04.1 for
that.

The problem is in usb_ifnum_to_if where config->interface[i] is null
(http://kernel.ubuntu.com/git/ubuntu/ubuntu-
xenial.git/tree/drivers/usb/core/usb.c?h=Ubuntu-
hwe-4.8.0-58.63_16.04.1=2e1f960b96b3d80fc2b91809bf0cb02c97abe8f4#n144)

Here's a short snippet of the code:

for (i = 0; i < config->desc.bNumInterfaces; i++) {
  if (config->interface[i]->altsetting[0] /* config->interface[i] == 0 here! */
  .desc.bInterfaceNumber == ifnum) {
return config->interface[i];
  }
}

And it's not a single interface that fails, it seems that all interfaces
are null, since the changed code that I used for debugging actually
looks like this:

for (i = 0; i < config->desc.bNumInterfaces; i++) {
  if (config->interface[i] == 0) {
printk(KERN_ALERT "DEBUG: Interface %d is null\n", i);
continue;
  }
  if (config->interface[i]->altsetting[0]
  .desc.bInterfaceNumber == ifnum) {
return config->interface[i];
  }
}

And in dmesg I found:
júl 23 13:40:11 lenovo kernel: DEBUG: Interface 0 is null
júl 23 13:40:12 lenovo kernel: DEBUG: Interface 1 is null
júl 23 13:40:12 lenovo kernel: DEBUG: Interface 2 is null
júl 23 13:40:12 lenovo kernel: DEBUG: Interface 3 is null
júl 23 13:40:12 lenovo kernel: DEBUG: Interface 0 is null
júl 23 13:40:13 lenovo kernel: DEBUG: Interface 1 is null
júl 23 13:40:13 lenovo kernel: DEBUG: Interface 2 is null
júl 23 13:40:13 lenovo kernel: DEBUG: Interface 3 is null

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1705900] CurrentDmesg.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1705900/+attachment/4923945/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Lspci.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1705900/+attachment/4923947/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] CRDA.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1705900/+attachment/4923944/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] JournalErrors.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "JournalErrors.txt"
   
https://bugs.launchpad.net/bugs/1705900/+attachment/4923946/+files/JournalErrors.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Lsusb.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "Lsusb.txt"
   https://bugs.launchpad.net/bugs/1705900/+attachment/4923948/+files/Lsusb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] ProcCpuinfo.txt

2017-07-29 Thread Lukas Jirkovsky
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1705900/+attachment/4923949/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Re: Lenovo e73 USB webcam problems

2017-07-29 Thread Lukas Jirkovsky
apport information

** Tags added: apport-collected xenial

** Description changed:

  I'm experiencing problems with USB webcam on Lenovo e73 with Ubuntu
  16.04.2 Xenial 32bit.
  
  Originally with 4.4 connecting the camera often resulted in complete
  hang of the system (apparently not even SysRq worked, though I did not
  test that personally since it is a system I'm administering remotely for
  a family member). There was always a null pointer dereference just
  before the hang, so I suspect that is the culprit (see the attached
  kernel log).
  
- After some updates the system no longer hangs. I suspect this was fixed
- by going from linux 4.4 to 4.8. However, the webcam still often doesn't
- work and most application just return error. This is usually fixed after
- several tries, but sometimes it is necessary to reboot computer.
- Updating BIOS didn't help. The kernel logs still contain the same null
- pointer dereference with exactly the same stack trace for both 4.8 and
- 4.10.
+ After some updates the system no longer hangs. I suspect this was fixed by 
going from linux 4.4 to 4.8. However, the webcam still often doesn't work and 
most application just return error. This is usually fixed after several tries, 
but sometimes it is necessary to reboot computer. Updating BIOS didn't help. 
The kernel logs still contain the same null pointer dereference with exactly 
the same stack trace for both 4.8 and 4.10.
+ --- 
+ ApportVersion: 2.20.1-0ubuntu2.10
+ Architecture: i386
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC2:  user   1852 F pulseaudio
+  /dev/snd/controlC0:  user   1852 F pulseaudio
+  /dev/snd/controlC1:  user   1852 F pulseaudio
+ DistroRelease: Ubuntu 16.04
+ HibernationDevice: RESUME=UUID=de34a223-a620-435a-974a-e29dad30f1ac
+ InstallationDate: Installed on 2017-05-05 (85 days ago)
+ InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release i386 (20151021)
+ IwConfig:
+  tun0  no wireless extensions.
+  
+  enp2s0no wireless extensions.
+  
+  lono wireless extensions.
+ MachineType: LENOVO 10DR002SMC
+ Package: linux (not installed)
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=sk_SK.UTF-8
+  SHELL=/bin/bash
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-58-generic 
root=UUID=07f94680-ac2c-498b-86e4-72ff6e4bd18f ro quiet splash 
usbcore.autosuspend=-1 vt.handoff=7
+ ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
+ PulseList:
+  Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
+  No PulseAudio daemon running, or not running as session daemon.
+ RelatedPackageVersions:
+  linux-restricted-modules-4.8.0-58-generic N/A
+  linux-backports-modules-4.8.0-58-generic  N/A
+  linux-firmware1.157.11
+ RfKill:
+  
+ Tags:  xenial
+ Uname: Linux 4.8.0-58-generic i686
+ UpgradeStatus: Upgraded to xenial on 2017-05-05 (85 days ago)
+ UserGroups:
+  
+ _MarkForUpload: True
+ dmi.bios.date: 02/13/2017
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: FCKT82AUS
+ dmi.board.name: 3098
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0G00599 WIN
+ dmi.chassis.type: 3
+ dmi.chassis.vendor: LENOVO
+ dmi.modalias: 
dmi:bvnLENOVO:bvrFCKT82AUS:bd02/13/2017:svnLENOVO:pn10DR002SMC:pvrThinkCentreE73:rvnLENOVO:rn3098:rvrSDK0G00599WIN:cvnLENOVO:ct3:cvr:
+ dmi.product.name: 10DR002SMC
+ dmi.product.version: ThinkCentre E73
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1705900/+attachment/4923943/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Re: Lenovo e73 USB webcam problems

2017-07-27 Thread Lukas Jirkovsky
Will do as soon as I have access to the computer in question.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] Re: Lenovo e73 USB webcam problems

2017-07-23 Thread Lukas Jirkovsky
** Attachment added: "report generated by ubuntu-bug"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+attachment/4919675/+files/ubuntu-bug_report

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1705900] [NEW] Lenovo e73 USB webcam problems

2017-07-23 Thread Lukas Jirkovsky
Public bug reported:

I'm experiencing problems with USB webcam on Lenovo e73 with Ubuntu
16.04.2 Xenial 32bit.

Originally with 4.4 connecting the camera often resulted in complete
hang of the system (apparently not even SysRq worked, though I did not
test that personally since it is a system I'm administering remotely for
a family member). There was always a null pointer dereference just
before the hang, so I suspect that is the culprit (see the attached
kernel log).

After some updates the system no longer hangs. I suspect this was fixed
by going from linux 4.4 to 4.8. However, the webcam still often doesn't
work and most application just return error. This is usually fixed after
several tries, but sometimes it is necessary to reboot computer.
Updating BIOS didn't help. The kernel logs still contain the same null
pointer dereference with exactly the same stack trace for both 4.8 and
4.10.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "kernel log"
   https://bugs.launchpad.net/bugs/1705900/+attachment/4919674/+files/kernel_log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705900

Title:
  Lenovo e73 USB webcam problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1705900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 397466]

2014-05-02 Thread Lukas Jirkovsky
Oh come on guys, bugzilla is not a forum.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/397466

Title:
  There is no KWallet PAM integration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/397466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs