linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nuvoton-cir on Intel DH67CL
@ 2012-03-14  6:10 Steffen Barszus
  2012-03-14 20:41 ` Jarod Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Barszus @ 2012-03-14  6:10 UTC (permalink / raw)
  To: linux-media; +Cc: Jarod Wilson

Hi !

I'm using above board which has a nuvoton-cir onboard (as most Intel
Media boards) - It shows itself as NTN0530. 

The remote function works without a problem (loaded RC6 MCE keytable). 

What doesn't work is wake from S3 and wake from S5. There are some
rumors that installing Windows 7 and corresponding drivers has a
positive effect (for some it seems to be enough to do it one time,
others need to redo this from time to time (power loss?). This leads me
to believe, that some hardware initialization is missing. 

I'm about to try latest linux-media tree next days, but i believe
there hasn't been any change on this driver. 

My questions: 
- any idea of what i should look at ?
- any change on the driver i could try ? 
- *IF* i go to install Win7 and drivers - anything i could to to help
  tracking down what this does in order to make the driver work out
  of the box on linux ?

As a lot of Sandy Bridge Boards to have this chip lately - it would
be nice if this could just work or is my impression, that this is a
general problem in this hardware wrong ?   

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nuvoton-cir on Intel DH67CL
  2012-03-14  6:10 nuvoton-cir on Intel DH67CL Steffen Barszus
@ 2012-03-14 20:41 ` Jarod Wilson
  2012-03-14 21:32   ` Steffen Barszus
  0 siblings, 1 reply; 6+ messages in thread
From: Jarod Wilson @ 2012-03-14 20:41 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-media

On Wed, Mar 14, 2012 at 07:10:37AM +0100, Steffen Barszus wrote:
> Hi !
> 
> I'm using above board which has a nuvoton-cir onboard (as most Intel
> Media boards) - It shows itself as NTN0530. 
> 
> The remote function works without a problem (loaded RC6 MCE keytable). 
> 
> What doesn't work is wake from S3 and wake from S5. There are some
> rumors that installing Windows 7 and corresponding drivers has a
> positive effect (for some it seems to be enough to do it one time,
> others need to redo this from time to time (power loss?). This leads me
> to believe, that some hardware initialization is missing. 
> 
> I'm about to try latest linux-media tree next days, but i believe
> there hasn't been any change on this driver. 
> 
> My questions: 
> - any idea of what i should look at ?
> - any change on the driver i could try ? 
> - *IF* i go to install Win7 and drivers - anything i could to to help
>   tracking down what this does in order to make the driver work out
>   of the box on linux ?
> 
> As a lot of Sandy Bridge Boards to have this chip lately - it would
> be nice if this could just work or is my impression, that this is a
> general problem in this hardware wrong ?   

My only nuvoton hardware works perfectly w/resume via IR after commit
3198ed161c9be9bbd15bb2e9c22561248cac6e6a, but its possible what you've got
is a newer hardware variant with some slightly different registers to
tweak. What does the driver identify your chip as in dmesg?

As of commit 362d3a3a9592598cef1d3e211ad998eb844dc5f3, the driver will
bind to anything with the PNP ID of NTN0530, but will spew a warning in
dmesg if its not an explicitly recognized chip.

-- 
Jarod Wilson
jarod@redhat.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nuvoton-cir on Intel DH67CL
  2012-03-14 20:41 ` Jarod Wilson
@ 2012-03-14 21:32   ` Steffen Barszus
  2012-03-19 21:00     ` Jarod Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Barszus @ 2012-03-14 21:32 UTC (permalink / raw)
  To: Jarod Wilson; +Cc: linux-media

On Wed, 14 Mar 2012 16:41:01 -0400
Jarod Wilson <jarod@redhat.com> wrote:

> On Wed, Mar 14, 2012 at 07:10:37AM +0100, Steffen Barszus wrote:
> > Hi !
> > 
> > I'm using above board which has a nuvoton-cir onboard (as most Intel
> > Media boards) - It shows itself as NTN0530. 
> > 
> > The remote function works without a problem (loaded RC6 MCE
> > keytable). 
> > 
> > What doesn't work is wake from S3 and wake from S5. There are some
> > rumors that installing Windows 7 and corresponding drivers has a
> > positive effect (for some it seems to be enough to do it one time,
> > others need to redo this from time to time (power loss?). This
> > leads me to believe, that some hardware initialization is missing. 
> > 
> > I'm about to try latest linux-media tree next days, but i believe
> > there hasn't been any change on this driver. 
> > 
> > My questions: 
> > - any idea of what i should look at ?
> > - any change on the driver i could try ? 
> > - *IF* i go to install Win7 and drivers - anything i could to to
> > help tracking down what this does in order to make the driver work
> > out of the box on linux ?
> > 
> > As a lot of Sandy Bridge Boards to have this chip lately - it would
> > be nice if this could just work or is my impression, that this is a
> > general problem in this hardware wrong ?   
> 
> My only nuvoton hardware works perfectly w/resume via IR after commit
> 3198ed161c9be9bbd15bb2e9c22561248cac6e6a, but its possible what
> you've got is a newer hardware variant with some slightly different
> registers to tweak. What does the driver identify your chip as in
> dmesg?

I'm on Linux 3.2.0-18-generic #29-Ubuntu SMP (Ubuntu Precise)


> As of commit 362d3a3a9592598cef1d3e211ad998eb844dc5f3, the driver will
> bind to anything with the PNP ID of NTN0530, but will spew a warning
> in dmesg if its not an explicitly recognized chip.
> 

>From dmesg it seems to be fine. 
[    0.553258] system 00:02: [io  0x0290-0x029f] has been reserved
[    0.553261] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.553504] pnp 00:03: [io  0x0240-0x024f]
[    0.553513] pnp 00:03: [irq 3]
[    0.553515] pnp 00:03: [io  0x0250-0x025f]
[    0.553534] pnp 00:03: Plug and Play ACPI device, IDs NTN0530 (active)
[    0.553544] pnp 00:04: [dma 4]
[    0.553545] pnp 00:04: [io  0x0000-0x000f]
[    0.553547] pnp 00:04: [io  0x0081-0x0083]
[    0.553549] pnp 00:04: [io  0x0087]
[    0.553550] pnp 00:04: [io  0x0089-0x008b]
[    0.553552] pnp 00:04: [io  0x008f]
[    0.553553] pnp 00:04: [io  0x00c0-0x00df]

Anything to be activated to wakeup on S3/S5 ?  I.e. the key to wake it
up ? I'm using RC6 remote - operation as already said is without any
issues, just not wakeup. 


More from dmesg:
[    2.722598] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:03/rc/rc0/input2
[    2.722659] rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:03/rc/rc0
[    2.726726] nuvoton_cir: driver has been successfully loaded
[    2.772201] IR NEC protocol handler initialized
[    2.786605] IR RC5(x) protocol handler initialized
[    2.806280] IR RC6 protocol handler initialized
[    2.840479] IR JVC protocol handler initialized
[    2.854668] IR Sony protocol handler initialized
[    2.891067] lp: driver loaded but no devices found
[    2.895757] ngene: Loading firmware file ngene_18.fw.
[    2.917163] ngene 0000:04:00.0: irq 50 for MSI/MSI-X
[    2.918618] error in i2c_read_reg
[    2.918620] No CXD2099 detected at 40
[    2.925856] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input3
[    2.925990] IR MCE Keyboard/mouse protocol handler initialized
[    2.936180] lirc_dev: IR Remote Control driver registered, major 250 
[    2.944124] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[    2.944127] IR LIRC bridge handler initialized
[    2.958002] usbcore: registered new interface driver usbhid
[    2.958005] usbhid: USB HID core driver
[    3.005172] w83627ehf: Found NCT6775F chip at 0x290

Looking at the kernel source for 3.2 i should be fine i think. (the commits you mentioned)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nuvoton-cir on Intel DH67CL
  2012-03-14 21:32   ` Steffen Barszus
@ 2012-03-19 21:00     ` Jarod Wilson
  2012-03-20 21:46       ` Steffen Barszus
  0 siblings, 1 reply; 6+ messages in thread
From: Jarod Wilson @ 2012-03-19 21:00 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-media

On Wed, Mar 14, 2012 at 10:32:43PM +0100, Steffen Barszus wrote:
> On Wed, 14 Mar 2012 16:41:01 -0400
> Jarod Wilson <jarod@redhat.com> wrote:
> 
> > On Wed, Mar 14, 2012 at 07:10:37AM +0100, Steffen Barszus wrote:
> > > Hi !
> > > 
> > > I'm using above board which has a nuvoton-cir onboard (as most Intel
> > > Media boards) - It shows itself as NTN0530. 
> > > 
> > > The remote function works without a problem (loaded RC6 MCE
> > > keytable). 
> > > 
> > > What doesn't work is wake from S3 and wake from S5. There are some
> > > rumors that installing Windows 7 and corresponding drivers has a
> > > positive effect (for some it seems to be enough to do it one time,
> > > others need to redo this from time to time (power loss?). This
> > > leads me to believe, that some hardware initialization is missing. 
> > > 
> > > I'm about to try latest linux-media tree next days, but i believe
> > > there hasn't been any change on this driver. 
> > > 
> > > My questions: 
> > > - any idea of what i should look at ?
> > > - any change on the driver i could try ? 
> > > - *IF* i go to install Win7 and drivers - anything i could to to
> > > help tracking down what this does in order to make the driver work
> > > out of the box on linux ?
> > > 
> > > As a lot of Sandy Bridge Boards to have this chip lately - it would
> > > be nice if this could just work or is my impression, that this is a
> > > general problem in this hardware wrong ?   
> > 
> > My only nuvoton hardware works perfectly w/resume via IR after commit
> > 3198ed161c9be9bbd15bb2e9c22561248cac6e6a, but its possible what
> > you've got is a newer hardware variant with some slightly different
> > registers to tweak. What does the driver identify your chip as in
> > dmesg?
> 
> I'm on Linux 3.2.0-18-generic #29-Ubuntu SMP (Ubuntu Precise)
> 
> 
> > As of commit 362d3a3a9592598cef1d3e211ad998eb844dc5f3, the driver will
> > bind to anything with the PNP ID of NTN0530, but will spew a warning
> > in dmesg if its not an explicitly recognized chip.
> > 
> 
> From dmesg it seems to be fine. 
> [    0.553258] system 00:02: [io  0x0290-0x029f] has been reserved
> [    0.553261] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
> [    0.553504] pnp 00:03: [io  0x0240-0x024f]
> [    0.553513] pnp 00:03: [irq 3]
> [    0.553515] pnp 00:03: [io  0x0250-0x025f]
> [    0.553534] pnp 00:03: Plug and Play ACPI device, IDs NTN0530 (active)
> [    0.553544] pnp 00:04: [dma 4]
> [    0.553545] pnp 00:04: [io  0x0000-0x000f]
> [    0.553547] pnp 00:04: [io  0x0081-0x0083]
> [    0.553549] pnp 00:04: [io  0x0087]
> [    0.553550] pnp 00:04: [io  0x0089-0x008b]
> [    0.553552] pnp 00:04: [io  0x008f]
> [    0.553553] pnp 00:04: [io  0x00c0-0x00df]
> 
> Anything to be activated to wakeup on S3/S5 ?  I.e. the key to wake it
> up ? I'm using RC6 remote - operation as already said is without any
> issues, just not wakeup. 

It occurs to me that the box I've got had Windows on it at one point, and
its possible wake via IR works only because someone set a wake key pattern
under Windows. And that your box doesn't wake, because it hasn't had a
wake key pattern set yet. We don't have any UI for setting a wake key
pattern just yet... (Or if we do, I'm just not familiar with it).

-- 
Jarod Wilson
jarod@redhat.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nuvoton-cir on Intel DH67CL
  2012-03-19 21:00     ` Jarod Wilson
@ 2012-03-20 21:46       ` Steffen Barszus
  2012-04-23 20:12         ` Jarod Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Barszus @ 2012-03-20 21:46 UTC (permalink / raw)
  To: Jarod Wilson; +Cc: linux-media

On Mon, 19 Mar 2012 17:00:11 -0400
Jarod Wilson <jarod@redhat.com> wrote:
> On Wed, Mar 14, 2012 at 10:32:43PM +0100, Steffen Barszus wrote:
> > Anything to be activated to wakeup on S3/S5 ?  I.e. the key to wake
> > it up ? I'm using RC6 remote - operation as already said is without
> > any issues, just not wakeup. 
> 
> It occurs to me that the box I've got had Windows on it at one point,
> and its possible wake via IR works only because someone set a wake
> key pattern under Windows. And that your box doesn't wake, because it
> hasn't had a wake key pattern set yet. We don't have any UI for
> setting a wake key pattern just yet... (Or if we do, I'm just not
> familiar with it).


Anything i can do to help getting it going ? (Except writing a driver)
I could not find any reference to a tool either - so i guess it just
doesnt exist :) 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nuvoton-cir on Intel DH67CL
  2012-03-20 21:46       ` Steffen Barszus
@ 2012-04-23 20:12         ` Jarod Wilson
  0 siblings, 0 replies; 6+ messages in thread
From: Jarod Wilson @ 2012-04-23 20:12 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-media

On Tue, Mar 20, 2012 at 10:46:46PM +0100, Steffen Barszus wrote:
> On Mon, 19 Mar 2012 17:00:11 -0400
> Jarod Wilson <jarod@redhat.com> wrote:
> > On Wed, Mar 14, 2012 at 10:32:43PM +0100, Steffen Barszus wrote:
> > > Anything to be activated to wakeup on S3/S5 ?  I.e. the key to wake
> > > it up ? I'm using RC6 remote - operation as already said is without
> > > any issues, just not wakeup. 
> > 
> > It occurs to me that the box I've got had Windows on it at one point,
> > and its possible wake via IR works only because someone set a wake
> > key pattern under Windows. And that your box doesn't wake, because it
> > hasn't had a wake key pattern set yet. We don't have any UI for
> > setting a wake key pattern just yet... (Or if we do, I'm just not
> > familiar with it).
> 
> 
> Anything i can do to help getting it going ? (Except writing a driver)
> I could not find any reference to a tool either - so i guess it just
> doesnt exist :) 

Nothing comes to mind, and I've not had time to look into it any further,
let alone reply to you. :\

-- 
Jarod Wilson
jarod@redhat.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-23 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14  6:10 nuvoton-cir on Intel DH67CL Steffen Barszus
2012-03-14 20:41 ` Jarod Wilson
2012-03-14 21:32   ` Steffen Barszus
2012-03-19 21:00     ` Jarod Wilson
2012-03-20 21:46       ` Steffen Barszus
2012-04-23 20:12         ` Jarod Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).