[Kernel-packages] [Bug 1721909] Re: Goodix GF3208 (fingerprint reader) not being recognised by kernel/system

2019-04-15 Thread Antonio Ospite
Some more info and some experimental tools can be found in lifprint
issue tracker:
https://gitlab.freedesktop.org/libfprint/libfprint/issues?scope=all=%E2%9C%93=opened=27c6

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1721909

Title:
  Goodix GF3208 (fingerprint reader) not being recognised  by
  kernel/system

Status in Linux:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The Goodix GF3208 is not being recognised by the system (Dell Inspiron
  15 7577). What's worse is that it isn't even showing the manufacturer
  vendor id information when doing:

  $ lsusb
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 004: ID 27c6:5301
  Bus 001 Device 003: ID 8087:0a2b Intel Corp.
  Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
  Bus 001 Device 005: ID 0bda:5652 Realtek Semiconductor Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  Note that the vendor id 27c6 should at least say "Shenzhen Huiding
  Technology Co., Ltd." as per
  
https://github.com/torvalds/linux/blob/e19b205be43d11bff638cad4487008c48d21c103/Documentation/devicetree/bindings
  /vendor-prefixes.txt

  Will/has support been made for the Goodix GF3208 Fingerprint
  reader/scanner?

  Thanks in advance,
  Haz

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.10.0-35-generic 4.10.0-35.39~16.04.1
  ProcVersionSignature: Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17
  Uname: Linux 4.10.0-35-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Oct  7 04:03:25 2017
  InstallationDate: Installed on 2017-10-01 (5 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  SourcePackage: linux-hwe
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 366478] Re: 058f:6377 Alcor Micro Corp. Multimedia Card Reader don't work in Ubuntu 9.04/9.10

2013-10-15 Thread Antonio Ospite
Hi, I think I solved the problem here, maybe this can help the others
who are experiencing it.

The hardware:
058f:6362 Alcor Micro Corp. Flash Card Reader/Writer

it used to work in the past but after a software upgrade it stopped
working.

The problem:
the hardware was recognized (I could see the card reader in dmesg) but mass 
storage devices where not scanned automatically on insertion, and hence 
partitions where not found and mounted automatically.

The workaround:
Inserting a memory card showed nothing, but if I removed the usb_storage module 
and loaded it again leaving the memory card inserted, the device was scanned 
and the partition mounted.

The analysis:
So the hardware worked and the kernel driver worked too to some extent, just 
scanning at insertion time was broken.

A possible solution:
Enable polling like described in http://forums.funtoo.org/viewtopic.php?id=2243

$ echo 1000  /sys/module/block/parameters/events_dfl_poll_msecs

After the command line above the memory card device were scanned and partition 
mounted automatically.
Note that the change will affect all block devices, not just the card reader, 
maybe not what you want.

Maybe there are better solutions, like adding some quirk to the kernel
driver to enable polling for this device only, or use udev rules to
enable polling only for this hardware when it is detected, leaving the
global setting at it's default value.

Regression analysis:
Maybe in the past polling was enabled, I don't know if in the kernel or by some 
userspace component, and in newer versions it was disabled making the device 
look nonfunctional.

Ciao,
   Antonio http://ao2.it

P.S. To those complaining about old bugs not being fixed, if possible
try providing the actual problematic hardware to developers, that
generally gives them motivation to fix the problems.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/366478

Title:
  058f:6377 Alcor Micro Corp. Multimedia Card Reader don't work in
  Ubuntu 9.04/9.10

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  In Ubuntu 8.10 this cardreader - work fine, but after upgrade Ubuntu
  from 8.10 to 9.04 - it's not work.

  In lsusb - it displayed:
  Bus 001 Device 005: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
  but in system - not displayed.
  When insert memory card - nothing happened (only green diod light)

  Ubuntu 9.04 amd64
  uname -a:
  Linux leolik-komp 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 
2009 x86_64 GNU/Linux

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1173723] Re: [PATCH] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-20 Thread Antonio Ospite
On Tue, 20 Aug 2013 14:21:22 +0200
Hans de Goede hdego...@redhat.com wrote:

 Hi,
 
 Thanks for the patch I've added this to my gspca tree, and this
 will be included in my next pull-request to Mauro for 3.12
 

Thanks HdG.

It's fine with me to have the patch in 3.12 and then have it picked up
for inclusion in stable releases, I was just wondering why you didn't
consider it as a fix for 3.11, the patch fixes an actual crash
experienced by a user.

Regards,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1173723

Title:
  06f8:3002 BUG: unable to handle kernel NULL pointer dereference at
  0050; RIP: 0010:[a046ada1] [a046ada1]
  v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  After update to 13.04 when I connecting my Hercules Blog Webcam, I got
  kernel oops. This camera was working OK in 12.10 with latest linux-
  image-3.8.0-19-generic kernel.

  Commit bisect revealed the regression at:
  -
  1bd7d6adc691993206cf7dd69f1aaf8dccb06677 is the first bad commit
  commit 1bd7d6adc691993206cf7dd69f1aaf8dccb06677
  Author: Antonio Ospite osp...@studenti.unina.it
  Date: Wed May 16 18:42:46 2012 -0300

  [media] gspca_ov534: Convert to the control framework

  Signed-off-by: Antonio Ospite osp...@studenti.unina.it
  Signed-off-by: Hans de Goede hdego...@redhat.com
  Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

  :04 04 81bb6d86a59d2fca15fea4d43a8abe34354cf69e 
6b7c2077ae5d8bdea32864841b5cd14149c6a44a M drivers
  -

  Here is the error stacktrace:
  Apr 26 23:01:31 ZHOME kernel: [  430.706302] usb 3-1: new high-speed USB 
device number 2 using xhci_hcd
  Apr 26 23:01:31 ZHOME kernel: [  430.724458] usb 3-1: New USB device found, 
idVendor=06f8, idProduct=3002
  Apr 26 23:01:31 ZHOME kernel: [  430.724462] usb 3-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
  Apr 26 23:01:31 ZHOME kernel: [  430.724465] usb 3-1: Product: Hercules Blog 
Microphone
  Apr 26 23:01:31 ZHOME kernel: [  430.724467] usb 3-1: Manufacturer: Hercules 
Blog Webcam
  Apr 26 23:01:31 ZHOME mtp-probe: checking bus 3, device 2: 
/sys/devices/pci:00/:00:14.0/usb3/3-1
  Apr 26 23:01:31 ZHOME mtp-probe: bus: 3, device: 2 was not an MTP device
  Apr 26 23:01:31 ZHOME kernel: [  430.737089] Linux video capture interface: 
v2.00
  Apr 26 23:01:31 ZHOME kernel: [  430.739566] gspca_main: v2.14.0 registered
  Apr 26 23:01:31 ZHOME kernel: [  430.741319] gspca_main: ov534-2.14.0 probing 
06f8:3002
  Apr 26 23:01:33 ZHOME kernel: [  433.522117] BUG: unable to handle kernel 
NULL pointer dereference at 0050
  Apr 26 23:01:33 ZHOME kernel: [  433.522169] IP: [a046ada1] 
v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]
  Apr 26 23:01:33 ZHOME kernel: [  433.522213] PGD 0
  Apr 26 23:01:33 ZHOME kernel: [  433.57] Oops:  [#1] SMP
  Apr 26 23:01:33 ZHOME kernel: [  433.522251] Modules linked in: 
gspca_ov534(+) gspca_main videodev vmnet(OF) vsock(OF) vmci(OF) vmmon(OF) 
rfcomm parport_pc(F) ppdev(F) bnep bluetooth binfmt_misc(F) snd_hda_codec_hdmi 
snd_hda_codec_realtek stir4200 irda(F) crc_ccitt(F) usblp kvm_intel 
snd_hda_intel snd_hda_codec kvm snd_hwdep(F) snd_pcm(F) ghash_clmulni_intel(F) 
snd_page_alloc(F) aesni_intel(F) snd_seq_midi(F) snd_seq_midi_event(F) 
aes_x86_64(F) xts(F) lrw(F) gf128mul(F) ablk_helper(F) cryptd(F) snd_rawmidi(F) 
hid_generic snd_seq(F) usbhid psmouse(F) hid snd_seq_device(F) snd_timer(F) 
snd(F) microcode(F) serio_raw(F) soundcore(F) alx lpc_ich mdio i915 mei 
drm_kms_helper video(F) drm i2c_algo_bit mac_hid coretemp lp(F) parport(F) 
firewire_ohci firewire_core crc_itu_t(F) ahci(F) libahci(F) r8169
  Apr 26 23:01:33 ZHOME kernel: [  433.522709] CPU 3
  Apr 26 23:01:33 ZHOME kernel: [  433.522724] Pid: 5284, comm: modprobe 
Tainted: GF  O 3.8.0-19-generic #29-Ubuntu Gigabyte Technology Co., 
Ltd. To be filled by O.E.M./Z77-DS3H
  Apr 26 23:01:33 ZHOME kernel: [  433.522787] RIP: 0010:[a046ada1]  
[a046ada1] v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]
  Apr 26 23:01:33 ZHOME kernel: [  433.522837] RSP: 0018:88011efabb88  
EFLAGS: 00010296
  Apr 26 23:01:33 ZHOME kernel: [  433.522864] RAX: 0001 RBX: 
 RCX: 0001820001c0
  Apr 26 23:01:33 ZHOME kernel: [  433.522897] RDX: 0001820001c1 RSI: 
820001c0 RDI: 
  Apr 26 23:01:33 ZHOME kernel: [  433.522931] RBP: 88011efabba8 R08: 
 R09: 0001
  Apr 26 23:01:33 ZHOME kernel: [  433.522965] R10: ea0007f734c0 R11: 
814fd2a2 R12: a03273fc

[Kernel-packages] [Bug 1173723] [PATCH RFC] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-04 Thread Antonio Ospite
---

Hi Yaroslav,

the patch below should fix the Oops caused by sd_start() called too early, but
I am not sure about why sd_start() was called from sd_init() for Hercules
webcams in the first place, maybe the snippet marked with:

  /* (from ms-win trace) */

in sd_start() must be moved to sd_init() too.

Let me know if the change below alone is enough and the webcam keeps working,
a test with suspend and resume would good to have too.

Thanks,
   Antonio

 drivers/media/usb/gspca/ov534.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/media/usb/gspca/ov534.c b/drivers/media/usb/gspca/ov534.c
index 2e28c81..03a33c4 100644
--- a/drivers/media/usb/gspca/ov534.c
+++ b/drivers/media/usb/gspca/ov534.c
@@ -1305,8 +1305,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
ov534_set_led(gspca_dev, 1);
sccb_w_array(gspca_dev, sensor_init[sd-sensor].val,
sensor_init[sd-sensor].len);
-   if (sd-sensor == SENSOR_OV767x)
-   sd_start(gspca_dev);
+
sd_stopN(gspca_dev);
 /* set_frame_rate(gspca_dev);  */
 
-- 
1.8.4.rc1

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1173723

Title:
  06f8:3002 BUG: unable to handle kernel NULL pointer dereference at
  0050; RIP: 0010:[a046ada1] [a046ada1]
  v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  After update to 13.04 when I connecting my Hercules Blog Webcam, I got
  kernel oops. This camera was working OK in 12.10 with latest linux-
  image-3.8.0-19-generic kernel.

  Commit bisect revealed the regression at:
  -
  1bd7d6adc691993206cf7dd69f1aaf8dccb06677 is the first bad commit
  commit 1bd7d6adc691993206cf7dd69f1aaf8dccb06677
  Author: Antonio Ospite osp...@studenti.unina.it
  Date: Wed May 16 18:42:46 2012 -0300

  [media] gspca_ov534: Convert to the control framework

  Signed-off-by: Antonio Ospite osp...@studenti.unina.it
  Signed-off-by: Hans de Goede hdego...@redhat.com
  Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

  :04 04 81bb6d86a59d2fca15fea4d43a8abe34354cf69e 
6b7c2077ae5d8bdea32864841b5cd14149c6a44a M drivers
  -

  Here is the error stacktrace:
  Apr 26 23:01:31 ZHOME kernel: [  430.706302] usb 3-1: new high-speed USB 
device number 2 using xhci_hcd
  Apr 26 23:01:31 ZHOME kernel: [  430.724458] usb 3-1: New USB device found, 
idVendor=06f8, idProduct=3002
  Apr 26 23:01:31 ZHOME kernel: [  430.724462] usb 3-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
  Apr 26 23:01:31 ZHOME kernel: [  430.724465] usb 3-1: Product: Hercules Blog 
Microphone
  Apr 26 23:01:31 ZHOME kernel: [  430.724467] usb 3-1: Manufacturer: Hercules 
Blog Webcam
  Apr 26 23:01:31 ZHOME mtp-probe: checking bus 3, device 2: 
/sys/devices/pci:00/:00:14.0/usb3/3-1
  Apr 26 23:01:31 ZHOME mtp-probe: bus: 3, device: 2 was not an MTP device
  Apr 26 23:01:31 ZHOME kernel: [  430.737089] Linux video capture interface: 
v2.00
  Apr 26 23:01:31 ZHOME kernel: [  430.739566] gspca_main: v2.14.0 registered
  Apr 26 23:01:31 ZHOME kernel: [  430.741319] gspca_main: ov534-2.14.0 probing 
06f8:3002
  Apr 26 23:01:33 ZHOME kernel: [  433.522117] BUG: unable to handle kernel 
NULL pointer dereference at 0050
  Apr 26 23:01:33 ZHOME kernel: [  433.522169] IP: [a046ada1] 
v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]
  Apr 26 23:01:33 ZHOME kernel: [  433.522213] PGD 0
  Apr 26 23:01:33 ZHOME kernel: [  433.57] Oops:  [#1] SMP
  Apr 26 23:01:33 ZHOME kernel: [  433.522251] Modules linked in: 
gspca_ov534(+) gspca_main videodev vmnet(OF) vsock(OF) vmci(OF) vmmon(OF) 
rfcomm parport_pc(F) ppdev(F) bnep bluetooth binfmt_misc(F) snd_hda_codec_hdmi 
snd_hda_codec_realtek stir4200 irda(F) crc_ccitt(F) usblp kvm_intel 
snd_hda_intel snd_hda_codec kvm snd_hwdep(F) snd_pcm(F) ghash_clmulni_intel(F) 
snd_page_alloc(F) aesni_intel(F) snd_seq_midi(F) snd_seq_midi_event(F) 
aes_x86_64(F) xts(F) lrw(F) gf128mul(F) ablk_helper(F) cryptd(F) snd_rawmidi(F) 
hid_generic snd_seq(F) usbhid psmouse(F) hid snd_seq_device(F) snd_timer(F) 
snd(F) microcode(F) serio_raw(F) soundcore(F) alx lpc_ich mdio i915 mei 
drm_kms_helper video(F) drm i2c_algo_bit mac_hid coretemp lp(F) parport(F) 
firewire_ohci firewire_core crc_itu_t(F) ahci(F) libahci(F) r8169
  Apr 26 23:01:33 ZHOME kernel: [  433.522709] CPU 3
  Apr 26 23:01:33 ZHOME kernel: [  433.522724] Pid: 5284, comm: modprobe 
Tainted: GF  O 3.8.0-19-generic #29-Ubuntu Gigabyte Technology Co., 
Ltd. To be filled by O.E.M./Z77-DS3H
  Apr 26 23:01:33 ZHOME kernel: [  433.522787] RIP: 0010:[a046ada1]  
[a046ada1] v4l2_ctrl_g_ctrl+0x11/0x60 [videodev]
  Apr 26 23:01:33 ZHOME kernel: [  433.522837] RSP: 0018:88011efabb88  
EFLAGS: 00010296