All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: rrs@researchut.com, linux-iio <linux-iio@vger.kernel.org>
Subject: Re: sensor-hub: Move the memset to sensor_hub_get_feature()
Date: Wed, 28 Dec 2016 08:48:05 -0800	[thread overview]
Message-ID: <1482943685.4497.19.camel@linux.intel.com> (raw)
In-Reply-To: <1482931381.8484.3.camel@researchut.com>

Hi Ritesh,
On Wed, 2016-12-28 at 18:53 +0530, Ritesh Raj Sarraf wrote:
> Oh! That did not include my usb listing. Please find it below. If you
> need more
> information, please tell me.
> 
Did you pick up the latest iio-sensor-proxy? There was some changes
required in that.

Also check under /sys/bus/iio/devices/iio:device*
cat the raw x, y z for accelerometer and check if they change.

Thanks,
Srinivas


> rrs@learner:~$ lsusb 
> Bus 003 Device 002: ID 8087:8000 Intel Corp. 
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 006: ID 048d:8350 Integrated Technology Express, Inc. 
> Bus 001 Device 005: ID 0bda:b728 Realtek Semiconductor Corp. 
> Bus 001 Device 004: ID 04f2:b40f Chicony Electronics Co., Ltd 
> Bus 001 Device 003: ID 04f3:0303 Elan Microelectronics Corp. 
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 2016-12-28 / 18:51:08 ♒♒♒  ☺  
> 
> 
> and
> 
> rrs@learner:~$ sudo lsusb  -v -d 048d:8350
> 
> Bus 001 Device 006: ID 048d:8350 Integrated Technology Express, Inc. 
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0        64
>   idVendor           0x048d Integrated Technology Express, Inc.
>   idProduct          0x8350 
>   bcdDevice           10.10
>   iManufacturer           1 ITE Tech. Inc.
>   iProduct                2 ITE Device(8350)
>   iSerial                 0 
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           34
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0xa0
>       (Bus Powered)
>       Remote Wakeup
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      0 No Subclass
>       bInterfaceProtocol      0 None
>       iInterface              0 
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength    2913
>          Report Descriptors: 
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               1
> Device Status:     0x0000
>   (Bus Powered)
> 2016-12-28 / 18:52:05 ♒♒♒  ☺  
> 
> On Wed, 2016-12-28 at 17:08 +0530, Ritesh Raj Sarraf wrote:
> > 
> > Hello Srini,
> > 
> > Regarding: https://www.spinics.net/lists/linux-input/msg48540.html
> > 
> > This patch does not seem to fix the issue entirely. On my machine,
> > where on
> > previous kernels from 4.7 and 4.8 worked fine, this patch hasn't
> > made much
> > difference on 4.9.
> > 
> > rrs@learner:~$ lspci
> > 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
> > Integrated
> > Graphics Controller (rev 0b)
> > 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio
> > Controller (rev
> > 0b)
> > 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev
> > 04)
> > 00:16.0 Communication controller: Intel Corporation 8 Series HECI
> > #0 (rev 04)
> > 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio
> > Controller (rev 04)
> > 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root
> > Port 4 (rev
> > e4)
> > 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev
> > 04)
> > 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev
> > 04)
> > 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller
> > 1 [AHCI
> > mode] (rev 04)
> > 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
> > 01:00.0 Network controller: Realtek Semiconductor Co., Ltd.
> > RTL8723BE PCIe
> > Wireless Network Adapter
> > 2016-12-28 / 17:07:16 ♒♒♒  ☺  
> > rrs@learner:~$ uname -a
> > Linux learner 4.9.0+ #1 SMP Mon Dec 26 14:20:36 IST 2016 x86_64
> > GNU/Linux
> > 2016-12-28 / 17:07:24 ♒♒♒  ☺  
> > 
> > 
> > 

  reply	other threads:[~2016-12-28 16:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28 11:38 sensor-hub: Move the memset to sensor_hub_get_feature() Ritesh Raj Sarraf
2016-12-28 13:23 ` Ritesh Raj Sarraf
2016-12-28 16:48   ` Srinivas Pandruvada [this message]
2016-12-28 17:24     ` Ritesh Raj Sarraf
2016-12-28 17:37       ` Ritesh Raj Sarraf
2016-12-28 17:53         ` Ritesh Raj Sarraf
2016-12-29 17:22           ` Srinivas Pandruvada
2016-12-29 17:31             ` Ritesh Raj Sarraf
2016-12-30 10:47               ` Ritesh Raj Sarraf
2016-12-30 16:50                 ` Srinivas Pandruvada
2016-12-31 12:55                   ` Ritesh Raj Sarraf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482943685.4497.19.camel@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=rrs@researchut.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.