[PATCH v3] [resend] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-11-30 Thread Ondrej Zary
laptop list and DMI data are from bug reports at Ubuntu Launchpad. Also add kernel parameter to easily activate this quirk on any system. Only compile tested. The original patch was tested with EX600 and PR200. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=12878 Signed-off-by: Ondrej Zary

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-01-30 Thread Ondrej Zary
On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > Hello, > I was having problems with these FreedomLine cards with Linux before but > tested it thoroughly today. This card uses DEC 21041 chip and has TP and > BNC connectors: > > 00:12.0 Ethernet controller [0200]:

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver

2008-01-31 Thread Ondrej Zary
G_EISA + if (eisa_registered) + ret = 0; #endif +#ifdef CONFIG_MCA + if (mca_registered) + ret = 0; +#endif + printk("el3_cards=%d\n", el3_cards); return ret; } static void __exit el3_cleanup_module(void) { - struct net_device *next_dev; - - while (el3_root_dev) { - struct el3_private *lp = netdev_priv(el3_root_dev); - - next_dev = lp->next_dev; - el3_common_remove (el3_root_dev); - el3_root_dev = next_dev; - } - + int i; + +// for (i = 0; i < el3_cards; i++) +// el3_common_remove(el3_devs[i]); + +#ifdef CONFIG_PNP + if (pnp_registered) + pnp_unregister_driver(&el3_pnp_driver); +#endif + if (isa_registered) + isa_unregister_driver(&el3_isa_driver); #ifdef CONFIG_EISA - eisa_driver_unregister (&el3_eisa_driver); + if (eisa_registered) + eisa_driver_unregister (&el3_eisa_driver); #endif #ifdef CONFIG_MCA - mca_unregister_driver(&el3_mca_driver); + if (mca_registered) + mca_unregister_driver(&el3_mca_driver); #endif } -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
= err; - } + ret = mca_register_driver(&el3_mca_driver); + if (!ret) + mca_registered = 1; +#endif + +#ifdef CONFIG_PNP + if (pnp_registered) + ret = 0; +#endif + if (isa_registered) + ret = 0; +#ifdef CONFIG_EISA + i

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 21:50:25 Jeff Garzik wrote: > Ondrej Zary wrote: > > Hello, > > this is second version of the patch. Autoloading using udev works fine > > with PnP card. Hibernation now works both in PnP and ISA modes. The I/O > > address used for non-pnp IS

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 22:07:20 Pekka Enberg wrote: > Hi, > > On Feb 2, 2008 8:25 PM, Ondrej Zary <[EMAIL PROTECTED]> wrote: > > +//static __be16 el3_phys_addr[EL3_MAX_CARDS][3]; > > [snip] > > > +//#if defined(CONFIG_MCA) || defined(CONFIG_EISA) >

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v3

2008-02-04 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-04 22:30:37.0 +0100 @@ -54,25

Re: [PATCH -next] sound: ice1712 build errors

2012-10-23 Thread Ondrej Zary
ice1712/psc724.c:418:5: error: 'struct > snd_ice1712' has no member named 'pm_suspend_enabled' Thanks, I tried to test with CONFIG_PM disabled but was unable to disable it. Probably because of some CONFIG_PM and CONFIG_PM_SLEEP changes I missed... > Signed-off-by: Randy Dunlap

[PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-23 Thread Ondrej Zary
laptop list and DMI data are from bug reports at Ubuntu Launchpad. Tested with EX600 and PR200. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=12878 Signed-off-by: Ondrej Zary --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -1349,6 +1349,20 @@ static int __init

Re: [PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-24 Thread Ondrej Zary
; "Rafael J. Wysocki" wrote: > >On Wednesday 24 of October 2012 08:47:52 Ondrej Zary wrote: > >> Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to > > > >enable A20 > > > >> line but resume code assumes that KBC was used. > >

Re: [PATCH v2] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-25 Thread Ondrej Zary
On Wednesday 24 October 2012, H. Peter Anvin wrote: > On 10/24/2012 02:16 PM, Ondrej Zary wrote: > > Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable > > A20 line but resume code assumes that KBC was used. > > The laptop will not resume from S3 oth

Re: [PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-25 Thread Ondrej Zary
such quirk. I'd say we're sometimes too > >quick to add these DMI quirks when a more general solution would be > >somehow figure out how the Linux behavior differs from what Windows is > >doing. -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-26 Thread Ondrej Zary
laptop list and DMI data are from bug reports at Ubuntu Launchpad. Also add kernel parameter to easily activate this quirk on any system. Only compile tested. The original patch was tested with EX600 and PR200. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=12878 Signed-off-by: Ondrej Zary

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v5

2008-02-13 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

[PATCH] snd-es1968: remove pm_whitelist

2012-11-01 Thread Ondrej Zary
pm_whitelist breaks suspend on all non-whitelisted cards for unknown purpose. Remove it. This fixes suspend on Terratec DMX and SF64-PCE2 cards. Signed-off-by: Ondrej Zary --- sound/pci/es1968.c | 40 1 files changed, 0 insertions(+), 40 deletions

Re: [PATCH] snd-es1968: remove pm_whitelist

2012-11-01 Thread Ondrej Zary
On Thursday 01 November 2012 22:29:43 Alan Cox wrote: > On Thu, 1 Nov 2012 21:55:54 +0100 > > Ondrej Zary wrote: > > pm_whitelist breaks suspend on all non-whitelisted cards for unknown > > purpose. Remove it. This fixes suspend on Terratec DMX and SF64-PCE2 > > card

[PATCH] snd-es1968: Add ESS vendor ID to pm_whitelist

2012-11-04 Thread Ondrej Zary
Add generic ESS vendor ID to pm_whitelist. This should fix suspend on all Maestro-2 and Maestro-2E based PCI cards. Tested on Terratec DMX and SF64-PCE2. Signed-off-by: Ondrej Zary --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c @@ -2655,6 +2655,8 @@ static struct ess_device_list pm_whitelist

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-11-05 Thread Ondrej Zary
On Friday 26 October 2012 10:56:44 Ondrej Zary wrote: > Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable > A20 line but resume code assumes that KBC was used. > The laptop will not resume from S3 otherwise but powers off after a while > and then powers on again

Re: [alsa-devel] [PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-10-30 Thread Ondrej Zary
On Wednesday 17 October 2012 08:57:39 Takashi Iwai wrote: > At Sun, 14 Oct 2012 21:09:23 +0200, > > Ondrej Zary wrote: > > set_pro_rate() is called from hw_params() but not from prepare(), > > breaking running PCM on suspend/resume. Call it from prepare() if PCM was >

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-25 Thread Ondrej Zary
On Sunday 25 August 2013 16:51:06 Deucher, Alexander wrote: > > -Original Message- > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > Sent: Friday, August 23, 2013 1:55 PM > > To: Deucher, Alexander > > Cc: Kernel development list > > Sub

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-25 Thread Ondrej Zary
On Sunday 25 August 2013 19:12:32 Ondrej Zary wrote: > On Sunday 25 August 2013 16:51:06 Deucher, Alexander wrote: > > > -Original Message- > > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > > Sent: Friday, August 23, 2013 1:55 PM > > >

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-26 Thread Ondrej Zary
On Monday 26 August 2013 00:01:11 Ondrej Zary wrote: > On Sunday 25 August 2013 19:12:32 Ondrej Zary wrote: > > On Sunday 25 August 2013 16:51:06 Deucher, Alexander wrote: > > > > -Original Message- > > > > From: Ondrej Zary [mailto:li...@rainbow-s

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-27 Thread Ondrej Zary
On Monday 26 August 2013 23:55:27 Deucher, Alexander wrote: > > -Original Message- > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > Sent: Monday, August 26, 2013 5:23 PM > > To: Deucher, Alexander > > Cc: Kernel development list > > Sub

Re: [PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-13 Thread Ondrej Zary
On Friday 13 September 2013 20:54:37 Ondrej Zary wrote: > On Thursday 12 September 2013 23:01:29 Ondrej Zary wrote: > > The test for 2nd I/O port validity is broken (reversed): > > On devices with no control port, the driver attempts to use invalid port > > 0, resu

[RFC PATCH] ES938 support for ES18xx driver

2013-09-14 Thread Ondrej Zary
--- /dev/null +++ b/sound/isa/es938.c @@ -0,0 +1,181 @@ +/* + * Driver for ESS ES938 3-D Audio Effects Processor + * Copyright (c) 2013 Ondrej Zary + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as publi

Re: [RFC PATCH] ES938 support for ES18xx driver

2013-09-15 Thread Ondrej Zary
a register to detect chip presence */ > > + if (snd_es938_read_reg(chip, ES938_REG_MISC, NULL) < 0) > > + return -ENODEV; > > Perhaps that check is not specific enough, i.e. it might be useful > to figure out a more precise check? snd_es938_read_reg() checks that the returned data match the format used by ES938. Maybe we can reread all the register values back after writing to be sure. -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH] ES938 support for ES18xx driver

2013-09-15 Thread Ondrej Zary
On Sunday 15 September 2013 22:35:20 Andreas Mohr wrote: > Hi, > > On Sun, Sep 15, 2013 at 10:25:45PM +0200, Ondrej Zary wrote: > > On Sunday 15 September 2013 20:49:02 Andreas Mohr wrote: > > BTW. I've got an AZT3328 card and it works fine with your driver. Thanks

Re: [RFC PATCH] ES938 support for ES18xx driver

2013-09-16 Thread Ondrej Zary
On Sunday 15 September 2013 23:23:58 Andreas Mohr wrote: > On Sun, Sep 15, 2013 at 11:04:26PM +0200, Ondrej Zary wrote: > > On Sunday 15 September 2013 22:35:20 Andreas Mohr wrote: > > > What!?!? I didn't quite expect any kernel dev to have that one, too ;) > > >

Re: [RFC PATCH] ES938 support for ES18xx driver

2013-09-16 Thread Ondrej Zary
ice *pdev, unsigned int dev) diff --git a/sound/isa/es938.c b/sound/isa/es938.c new file mode 100644 index 000..a01f887 --- /dev/null +++ b/sound/isa/es938.c @@ -0,0 +1,203 @@ +/* + * Driver for ESS ES938 3-D Audio Effects Processor + * Copyright (c) 2013 Ondrej Zary + * + * + * This prog

[PATCH 1/2] snd-ac97-codec: Add ID for TI TLV320AIC27 codec

2013-09-12 Thread Ondrej Zary
Add 0x54584e03 ID for TI TLV320AIC27 AC'97 codec according to datasheet: http://www.ti.com/lit/ds/slas253a/slas253a.pdf The weird thing is that the chip is physically marked 320AD91. Signed-off-by: Ondrej Zary --- sound/pci/ac97/ac97_codec.c |1 + 1 files changed, 1 insertions(

[PATCH 2/2] snd-ac97-codec: Use complete ID when the codec is not known

2013-09-12 Thread Ondrej Zary
Currently, if the codec ID is not known, the last byte of the ID is used as name. It's not helpful at all, use full codec ID instead. Signed-off-by: Ondrej Zary --- sound/pci/ac97/ac97_codec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/pci/ac97/ac97_co

[PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-12 Thread Ondrej Zary
The test for 2nd I/O port validity is broken (reversed): On devices with no control port, the driver attempts to use invalid port 0, resulting in logs full of bad_io_access errors. On devices with control port, the driver does not use it. Signed-off-by: Ondrej Zary --- drivers/ata/pata_isapnp.c

Re: [PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-13 Thread Ondrej Zary
On Thursday 12 September 2013 23:01:29 Ondrej Zary wrote: > The test for 2nd I/O port validity is broken (reversed): > On devices with no control port, the driver attempts to use invalid port 0, > resulting in logs full of bad_io_access errors. > On devices with control port, the dri

[PATCH 1/2] [RESEND] snd-ac97-codec: Add ID for TI TLV320AIC27 codec

2013-09-27 Thread Ondrej Zary
Add 0x54584e03 ID for TI TLV320AIC27 AC'97 codec according to datasheet: http://www.ti.com/lit/ds/slas253a/slas253a.pdf The weird thing is that the chip is physically marked 320AD91. Signed-off-by: Ondrej Zary --- sound/pci/ac97/ac97_codec.c |1 + 1 files changed, 1 insertions(

[PATCH 2/2] [RESEND] snd-ac97-codec: Use complete ID when the codec is not known

2013-09-27 Thread Ondrej Zary
Currently, if the codec ID is not known, the last byte of the ID is used as name. It's not helpful at all, use full codec ID instead. Signed-off-by: Ondrej Zary --- sound/pci/ac97/ac97_codec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/pci/ac97/ac97_co

Re: [alsa-devel] [PATCH 2/2] [RESEND] snd-ac97-codec: Use complete ID when the codec is not known

2013-09-30 Thread Ondrej Zary
On Monday 30 September 2013 11:08:50 Takashi Iwai wrote: > At Fri, 27 Sep 2013 20:28:03 +0200, > > Ondrej Zary wrote: > > Currently, if the codec ID is not known, the last byte of the ID is used > > as name. It's not helpful at all, use full codec ID instead. > >

Re: [PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-22 Thread Ondrej Zary
On Sunday 22 September 2013 18:49:42 Tejun Heo wrote: > Hello, Ondrej. > > On Fri, Sep 13, 2013 at 11:44:27PM +0200, Ondrej Zary wrote: > > This is caused by skipping ata_sff_softreset() when ap->ioaddr.ctl_addr > > is unset so ata_devchk() is never called. Thi

Re: [PATCH] pata_isapnp: Don't use invalid I/O ports

2013-09-23 Thread Ondrej Zary
I'd be happy to add -stable and push it > through ASAP. > > Thanks. At least Debian ships pata_isapnp.ko. Some distros probably stopped building the driver because it was broken. -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[bisected] PS/2 keyboard and mouse dead on resume on Intel D845BG

2012-10-07 Thread Ondrej Zary
to commit: b6dacf63e9fb2e7a1369843d6cef332f76fca6a3 (ACPI: Unconditionally set SCI_EN on resume) Commenting out this line in drivers/acpi/sleep.c: acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); fixes the problem. Any ideas why this breaks on this system? -- Ondrej Zary -- To

Re: [bisected] PS/2 keyboard and mouse dead on resume on Intel D845BG

2012-10-07 Thread Ondrej Zary
On Sunday 07 October 2012 15:13:27 Ondrej Zary wrote: > Hello, > Intel D845BG board comes out of S3 with PS/2 keyboard and mouse completely > dead. The machine works otherwise (with USB keyboard or over network). When > rebooted in this state, the BIOS hangs with blank screen. I hav

Re: [bisected] PS/2 keyboard and mouse dead on resume on Intel D845BG

2012-10-08 Thread Ondrej Zary
On Tuesday 09 October 2012, Len Brown wrote: > On 10/08/2012 10:42 AM, Matthew Garrett wrote: > > On Sun, Oct 07, 2012 at 09:00:09PM +0200, Ondrej Zary wrote: > >> Added acpi_read_bit_register there and it seems that SCI_EN is already > >> set! > >> > >>

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-09 Thread Ondrej Zary
t; > > > > [see issue description below] > > > > > > Bisecting yielded > > > > > > b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 is the first bad commit > > > commit b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 > > > Author: Ondrej Zary > > > Date:

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-09 Thread Ondrej Zary
t; > > > > [see issue description below] > > > > > > Bisecting yielded > > > > > > b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 is the first bad commit > > > commit b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 > > > Author: Ondrej Zary > > > Date:

[PATCH v2] staging: ft1000: unify struct ft1000_info between USB and PCMCIA drivers

2012-12-02 Thread Ondrej Zary
Unify struct ft1000_info between ft1000-usb and ft1000-pcmcia and move it to common ft1000.h. Signed-off-by: Ondrej Zary --- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h | 33 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 21 ++- drivers/staging/ft1000/ft1000-pcmcia

[PATCH] staging: ft1000: rename struct ft1000_device to ft1000_usb

2012-12-02 Thread Ondrej Zary
After unifying struct ft1000_info, struct ft1000_device is now wrong name. Rename it to ft1000_usb to match its semantics. Signed-off-by: Ondrej Zary --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 12 ++-- .../staging/ft1000/ft1000-usb/ft1000_download.c| 40 +- drivers

Re: [alsa-devel] [PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-10-18 Thread Ondrej Zary
On Wednesday 17 October 2012 08:57:39 Takashi Iwai wrote: > At Sun, 14 Oct 2012 21:09:23 +0200, > > Ondrej Zary wrote: > > set_pro_rate() is called from hw_params() but not from prepare(), > > breaking running PCM on suspend/resume. Call it from prepare() if PCM was >

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-10 Thread Ondrej Zary
On Monday 10 December 2012 22:26:18 H. Peter Anvin wrote: > On 11/05/2012 12:35 PM, Ondrej Zary wrote: > > On Friday 26 October 2012 10:56:44 Ondrej Zary wrote: > >> Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable > >> A20 line but resume cod

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Monday 10 December 2012 22:26:18 H. Peter Anvin wrote: > On 11/05/2012 12:35 PM, Ondrej Zary wrote: > > On Friday 26 October 2012 10:56:44 Ondrej Zary wrote: > >> Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable > >> A20 line but resume cod

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Tuesday 11 December 2012 20:07:50 H. Peter Anvin wrote: > On 12/11/2012 10:59 AM, Ondrej Zary wrote: > > As I said before, the BIOS probably breaks on resume before any Linux > > code is executed. So any fix must be done before suspending. > > Well, that code should be inde

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Tuesday 11 December 2012 21:36:46 H. Peter Anvin wrote: > On 12/11/2012 12:29 PM, Ondrej Zary wrote: > > Something like this? (It works.) > > Something like that. We need to make sure we send the proper sequence, > though, or it might break some SMM firmware... Could you pl

[PATCH v4] 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

2012-12-11 Thread Ondrej Zary
i8042_platform_init for x86. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=12878 Signed-off-by: Ondrej Zary --- drivers/input/serio/i8042-x86ia64io.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042

Re: [RFC, RFT] [PATCH] staging: ft1000: unify struct ft1000_info between USB and PCMCIA drivers

2012-11-13 Thread Ondrej Zary
On Monday 12 November 2012, Belisko Marek wrote: > Hi Ondrej, > > On Fri, Nov 9, 2012 at 10:42 PM, Ondrej Zary wrote: > > Unify struct ft1000_info between ft1000-usb and ft1000-pcmcia and move it > > to common ft1000.h. > > > > ft1000-pcmcia seems to work. Pleas

Re: [patch] ALSA: es1968: precedence bug in snd_es1968_tea575x_get_pins()

2012-11-14 Thread Ondrej Zary
x-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC, RFT] [PATCH] staging: ft1000: unify struct ft1000_info between USB and PCMCIA drivers

2012-11-09 Thread Ondrej Zary
Unify struct ft1000_info between ft1000-usb and ft1000-pcmcia and move it to common ft1000.h. ft1000-pcmcia seems to work. Please test ft1000-usb. Signed-off-by: Ondrej Zary --- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h | 33 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

[PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards

2012-11-11 Thread Ondrej Zary
Assume that unknown ICE1724-based cards are AC97-only that can suspend without any additional card-specific code. This fixes suspend on Gainward Hollywood@Home 7.1. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1724.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

Re: [PATCH] x86: Fix AMD K6 indirect call check v2

2013-04-22 Thread Ondrej Zary
early buggy ones. Here are the details: http://membres.multimania.fr/poulot/k6bug_faq.html -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] [resend] snd-es1968: Add radio support for MediaForte M56VAP

2013-05-30 Thread Ondrej Zary
with SF64-PCE2 and M56VAP cards. Signed-off-by: Ondrej Zary --- sound/pci/es1968.c | 73 +++ 1 files changed, 50 insertions(+), 23 deletions(-) diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index a1f32b5..db08641 100644 --- a/sound/pci/es1

Re: SATA hdd refuses to reallocate a sector?

2013-06-24 Thread Ondrej Zary
printf("write error\n"); } else { lseek64(dev, pos, SEEK_SET); if (read(dev, buf, SECTOR_SIZE) < SECTOR_SIZE)

Re: SATA hdd refuses to reallocate a sector?

2013-06-24 Thread Ondrej Zary
ot. Is there special kind of write that > > needs to be done to force reallocation? > > Hi Pavel, maybe smartctl -t long /dev/sda will do the trick reliable for > your drive.. It's a read-only test that ends with an error on the first bad sector. -- Ondrej Zary -- To unsubscribe

Re: SATA hdd refuses to reallocate a sector?

2013-06-25 Thread Ondrej Zary
ned and the request is shortened and retried from the > failed sector on. If we get a second failure at the beginning (where > the previous bad sector was), then we give up. > > James -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-22 Thread Ondrej Zary
.0 20080528 for 0000:01:05.0 on minor 0 -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-22 Thread Ondrej Zary
On Thursday 22 August 2013 21:49:41 Deucher, Alexander wrote: > > -Original Message- > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > Sent: Thursday, August 22, 2013 2:18 PM > > To: Kernel development list > > Cc: Deucher, Alexander > >

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-22 Thread Ondrej Zary
On Thursday 22 August 2013 22:24:17 Deucher, Alexander wrote: > > -Original Message- > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > Sent: Thursday, August 22, 2013 4:00 PM > > To: Deucher, Alexander > > Cc: Kernel development list > > Sub

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-22 Thread Ondrej Zary
On Thursday 22 August 2013 22:56:03 Ondrej Zary wrote: > On Thursday 22 August 2013 22:24:17 Deucher, Alexander wrote: > > > -Original Message- > > > From: Ondrej Zary [mailto:li...@rainbow-software.org] > > > Sent: Thursday, August 22, 2013 4:00 PM > &g

Re: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-23 Thread Ondrej Zary
On Friday 23 August 2013 00:08:33 Ondrej Zary wrote: > On Thursday 22 August 2013 22:56:03 Ondrej Zary wrote: > > On Thursday 22 August 2013 22:24:17 Deucher, Alexander wrote: > > > > -Original Message- > > > > From: Ondrej Zary [mailto:li...@rainbow-sof

[PATCH] snd-es1968: Add radio support for MediaForte M56VAP

2013-05-10 Thread Ondrej Zary
with SF64-PCE2 and M56VAP cards. Signed-off-by: Ondrej Zary --- sound/pci/es1968.c | 73 +++ 1 files changed, 50 insertions(+), 23 deletions(-) diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index a1f32b5..db08641 100644 --- a/sound/pci/es1

Move snd_legacy_find_free_ioport to initval.h

2012-08-01 Thread Ondrej Zary
Move snd_legacy_find_free_ioport() function back to initval.h as it is used by two drivers. Signed-off-by: Ondrej Zary diff --git a/include/sound/initval.h b/include/sound/initval.h index f99a0d2..ac62c67 100644 --- a/include/sound/initval.h +++ b/include/sound/initval.h @@ -50,6 +50,20

[PATCH 1/2] leds-clevo-mail: add MODULE_DEVICE_TABLE

2012-08-01 Thread Ondrej Zary
Enable autoloading of leds-clevo-mail by using MODULE_DEVICE_TABLE. Signed-off-by: Ondrej Zary --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c @@ -31,7 +31,7 @@ static int __init clevo_mail_led_dmi_callback(const struct dmi_system_id *id) } /* - * struct

[PATCH 2/2] leds-clevo-mail: Fix Clevo M5x0V DMI strings

2012-08-01 Thread Ondrej Zary
There are more variants of Clevo M5x0V laptops and Positivo Mobile is just one of them. Another one is UMAX VisionBook 2400WXC. Use only generic Clevo DMI strings to match all variants. Signed-off-by: Ondrej Zary --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c

viafb on Clevo M5x0V laptop (+VT1631L)

2012-08-02 Thread Ondrej Zary
sole: switching to colour frame buffer device 80x30 [ 155.826522] viafb_pan_display, address = 0 [ 155.826523] via_set_primary_address(0x) [ 155.826527] via_set_secondary_address(0x) ...many imageblits... [ 155.833889] fb0: Via frame buffer device 640x480-32bpp -- Ondrej Zary --

Re: viafb on Clevo M5x0V laptop (+VT1631L)

2012-08-02 Thread Ondrej Zary
On Thursday 02 August 2012 22:46:18 Florian Tobias Schandinat wrote: > Hi Ondrej, > > On 08/02/2012 06:03 PM, Ondrej Zary wrote: > > Hello, > > I've got a Clevo M5x0V laptop which has VIA PM800 chipset (1106:3118) and > > 1280x768 LCD panel connected using VT1

Re: Drop support for x86-32

2012-08-23 Thread Ondrej Zary
gt; On 8/23/12, Martin Nybo Andersen wrote: > > Why? Please stop trolling (and top-posting). Linux is NOT Windows where people must throw out their hardware because it stopped working in new version. There are millions of 32-bit x86 machines all around the world. If new Windows will not

Re: Drop support for x86-32

2012-08-24 Thread Ondrej Zary
Time is money. So stop wasting time with this trolling. -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC PATCH v2 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-18 Thread Ondrej Zary
Hello, this is second attempt to add Philips PSC724 Ultimate Edge sound card support to snd-ice1712 driver. Unlike other snd-ice1712 subdrivers, the codec code is splitted into separate modules and thus reusable by other ice1712 subdrivers. Working: all analog outputs (front, rear, center+lfe, h

[PATCH 1/5] snd-ice1712: add chip_exit callback

2012-09-18 Thread Ondrej Zary
Add chip_exit callback to allow card subdrivers to do cleanup work on module removal. Needed by Philips PSC724 subdriver to cancel delayed work. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1712.c |8 +++- sound/pci/ice1712/ice1712.h |3 +++ sound/pci/ice1712/ice1724.c

[PATCH 2/5] snd-ice1712: Add Wolfson Microelectronics WM8766 codec support

2012-09-18 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8766.c | 383 sound/pci

[PATCH 3/5] snd-ice1712: Add Wolfson Microelectronics WM8776 codec support

2012-09-18 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8776.c | 655 sound/pci

[PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-09-18 Thread Ondrej Zary
set_pro_rate() is called from hw_params() but not from prepare(), breaking running PCM on suspend/resume. Call it from prepare() if PCM was suspended to fix the problem. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1724.c | 14 ++ 1 files changed, 14 insertions(+), 0

[PATCH 4/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-18 Thread Ondrej Zary
Add psc724 subdriver to snd-ice1712 that provides full support for Philips PSC724 Ultimate Edge sound cards. Outputs and inputs are provided by WM8766 and WM8776 codec drivers. Signed-off-by: Ondrej Zary --- sound/pci/Kconfig |2 +- sound/pci/ice1712/Makefile |6 +- sound/pci

Re: [alsa-devel] [RFC PATCH v2 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-19 Thread Ondrej Zary
On Wednesday 19 September 2012 17:28:21 Takashi Iwai wrote: > At Tue, 18 Sep 2012 20:58:31 +0200, > > Ondrej Zary wrote: > > Hello, > > this is second attempt to add Philips PSC724 Ultimate Edge sound card > > support to snd-ice1712 driver. Unlike other snd-ice1712 sub

Re: [alsa-devel] [RFC PATCH v2 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-19 Thread Ondrej Zary
On Wednesday 19 September 2012 19:58:15 Takashi Iwai wrote: > At Wed, 19 Sep 2012 19:03:14 +0200, > > Ondrej Zary wrote: > > On Wednesday 19 September 2012 17:28:21 Takashi Iwai wrote: > > > At Tue, 18 Sep 2012 20:58:31 +0200, > > > > > > Ondrej Zary wr

[RFC PATCH v3 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-20 Thread Ondrej Zary
Hello, this is third attempt to add Philips PSC724 Ultimate Edge sound card support to snd-ice1712 driver. Unlike other snd-ice1712 subdrivers, the codec code is splitted into separate files, reusable by other ice1712 subdrivers. Working: all analog outputs (front, rear, center+lfe, headphone) an

[PATCH 1/5] snd-ice1712: add chip_exit callback

2012-09-20 Thread Ondrej Zary
Add chip_exit callback to allow card subdrivers to do cleanup work on module removal. Needed by Philips PSC724 subdriver to cancel delayed work. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1712.c |8 +++- sound/pci/ice1712/ice1712.h |3 +++ sound/pci/ice1712/ice1724.c

[PATCH 2/5] snd-ice1712: Add Wolfson Microelectronics WM8766 codec support

2012-09-20 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8766.c | 361 sound/pci

[PATCH 3/5] snd-ice1712: Add Wolfson Microelectronics WM8776 codec support

2012-09-20 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8776.c | 632 sound/pci

[PATCH 4/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-09-20 Thread Ondrej Zary
Add psc724 subdriver to snd-ice1712 that provides full support for Philips PSC724 Ultimate Edge sound cards. Signed-off-by: Ondrej Zary --- sound/pci/Kconfig |2 +- sound/pci/ice1712/Makefile |2 +- sound/pci/ice1712/ice1724.c |4 +- sound/pci/ice1712/psc724.c | 464

[PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-09-20 Thread Ondrej Zary
set_pro_rate() is called from hw_params() but not from prepare(), breaking running PCM on suspend/resume. Call it from prepare() if PCM was suspended to fix the problem. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1724.c | 14 ++ 1 files changed, 14 insertions(+), 0

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v5

2008-02-17 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-18 Thread Ondrej Zary
On Monday 18 February 2008 04:21:11 Grant Grundler wrote: > On Wed, Jan 30, 2008 at 09:23:06PM +0100, Ondrej Zary wrote: > > On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > > > Hello, > > > I was having problems with these FreedomLine cards with Linux

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v3

2008-02-06 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-04 22:30:37.0 +0100 @@ -54,25

[PATCH] 3c509: convert to isa_driver and pnp_driver v4

2008-02-07 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-07 17:58:45.000

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v4

2008-02-09 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-07 17:58:45.000

Re: [PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v4

2008-02-09 Thread Ondrej Zary
On Saturday 09 February 2008 22:48:05 Stephen Hemminger wrote: > On Sat, 9 Feb 2008 22:33:07 +0100 > > Ondrej Zary <[EMAIL PROTECTED]> wrote: > > Hello, > > this patch converts 3c509 driver to isa_driver and pnp_driver. The result > > is that autoloading using ud

[PATCH] 3c509: convert to isa_driver and pnp_driver v5

2008-02-10 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

[PATCH 1/2] snd-ad1816a: remove useless struct snd_card_ad1816a

2012-08-19 Thread Ondrej Zary
struct snd_card_ad1816a is only set but the values are never used then. Removing it allows struct snd_card's private_data to be used for struct snd_ad1816a, simplifying the code. Signed-off-by: Ondrej Zary diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h index d010858..62

[PATCH 2/2] snd-ad1816a: Implement suspend/resume

2012-08-19 Thread Ondrej Zary
Implement suspend/resume support for AD1816 chips. Tested with Terratec SoundSystem Base-1. Signed-off-by: Ondrej Zary diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h index 62da41e..2a89f0d 100644 --- a/include/sound/ad1816a.h +++ b/include/sound/ad1816a.h @@ -147,6 +147,9

[PATCH] snd-als100: fix suspend/resume

2012-08-20 Thread Ondrej Zary
snd_card_als100_probe() does not set pcm field in struct snd_sb. As a result, PCM is not suspended and applications don't know that they need to resume the playback. Tested with Labway A381-F20 card (ALS120). Signed-off-by: Ondrej Zary --- a/sound/isa/als100.c +++ b/sound/isa/als

[PATCH] introduce snd-cmi8328: C-Media CMI8328 driver

2012-08-20 Thread Ondrej Zary
with this card. The WSS codec can do full duplex by itself so there's no need for crazy things like snd-cmi8330 does (combining SB and WSS parts into one driver). Signed-off-by: Ondrej Zary commit ebd26fe68c73eb979ace14b51a4fbdd899233952 Author: Ondrej Zary Date: Thu Aug 2 09:17:57 2012

[RFC PATCH] introduce snd-cmi8328: C-Media CMI8328 driver

2012-07-11 Thread Ondrej Zary
le mode 100644 index 000..2691116 --- /dev/null +++ b/sound/isa/cmi8328.c @@ -0,0 +1,482 @@ +/* + * Driver for C-Media CMI8328-based soundcards, such as AudioExcel AV500 + * Copyright (c) 2012 Ondrej Zary + * + * AudioExcel AV500 card consists of: + * - CMI8328 - main chip (SB Pro emulation, ga

[PATCH] wss_lib: fix suspend/resume

2012-07-12 Thread Ondrej Zary
x the problem. Signed-off-by: Ondrej Zary --- a/sound/isa/wss/wss_lib.c +++ b/sound/isa/wss/wss_lib.c @@ -1456,7 +1456,6 @@ static struct snd_pcm_hardware snd_wss_playback = { .info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERL

  1   2   3   4   5   6   7   >