Bug#653179: [rt2x00-users] Fwd: linux-image-3.1.0-1-amd64: Can't switch off WoW option of RT5390 wi-fi card, notebook wakes on wi-fi activity

2012-01-05 Thread pol kh
05.01.2012, 18:46, Jakub Kicinski kubak...@wp.pl:
 On Thu, 05 Jan 2012 08:48:32 +0400
 pol kh kh3...@yandex.ru wrote:

  Well, I tried the following:

  1. Installed back preinstalled version of Windows 7 and gave my notebook to 
 guarantee service. They returned it in one day, saying that WoW option were 
 enabled. As I wrote earlier WoW can be managed under Win7 (in properties of 
 Ralink card).

  2. I had flashed cracked version of BIOS with unlocked advanced menus. Then 
 I disable Wake on PME (PCI Power Management Enable wake up events). Well, 
 now my notebook do not wakes (and from power off).

  Maybe installed version of Ralink card is a special modification for HP, or 
 it is capable with some ACPI management?

  Best,
  kh

  29.12.2011, 00:14, Ivo Van Doorn ivdo...@gmail.com:
  On Wed, Dec 28, 2011 at 12:09 PM, Gertjan van Wingerde
  gwinge...@gmail.com wrote:
   On 12/28/11 08:56, Helmut Schaa wrote:
   Hi,

   Am Sonntag, 25. Dezember 2011, 09:07:42 schrieb pol kh:
   I'd like to be able to manage WoW option on Ralink 5390 on my HP 
 Pavilion
   dv6-6030er. WoW is enabled by default in BIOS, which is locked by 
 vendor.
   So I can't switch it off. Using ethtool doesn't help, because driver 
 can't
   hanlder with WoW. My notebook wakes on wi-fi activity when I'd like it 
 to
   be asleep. I had sent a bug report to Debian GNU/Linux maintainers and 
 got
   the following answer (below my bug report is attached):
   this sounds really strange :). Unfortunately nobody is working on WoW 
 support
   for rt2x00 currently.
   Ivo, Gertjan, do we have any information yet how WoW for the ralink 
 devices
   is supposed to work? Since the WoW framework was already merged AFAIK 
 it might
   be a trivial thing to add ...
   No, I've never seen any information about this.

   A quick look at the Ralink legacy drivers also reveal that these do not
   contain any code for this, so it will be difficult to add support for
   this in rt2x00.
  Even the specsheets don't contain any reference about WoW, so I really
  can't say anything about it either.

  Ivo

 Please do not top-post.

 I took a quick glance at suspend code and it seems that rt2800pci is
 not disabling radio before suspend. Am I right? Have you tried taking
 interface down before suspend?

   -- Kuba

OK, sorry!

I haven't tried to take interface down before suspend or power off. I'll flash 
BIOS back and do some experiments next 2-5 days. Is there any other way to 
examine the question?

-- kh



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/993611325781...@web45.yandex.ru



Bug#653179: [rt2x00-users] Fwd: linux-image-3.1.0-1-amd64: Can't switch off WoW option of RT5390 wi-fi card, notebook wakes on wi-fi activity

2012-01-05 Thread pol kh

05.01.2012, 20:50, Jonathan Nieder jrnie...@gmail.com:
 pol kh wrote:

  I haven't tried to take interface down before suspend or power off.
  I'll flash BIOS back and do some experiments next 2-5 days. Is there
  any other way to examine the question?

 I guess reenabling wake on PME in the current BIOS should be almost as
 good a test.

OK, I'll try.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1088301325783...@web159.yandex.ru



Bug#653179: [rt2x00-users] Fwd: linux-image-3.1.0-1-amd64: Can't switch off WoW option of RT5390 wi-fi card, notebook wakes on wi-fi activity

2012-01-04 Thread pol kh
Well, I tried the following:

1. Installed back preinstalled version of Windows 7 and gave my notebook to 
guarantee service. They returned it in one day, saying that WoW option were 
enabled. As I wrote earlier WoW can be managed under Win7 (in properties of 
Ralink card).

2. I had flashed cracked version of BIOS with unlocked advanced menus. Then I 
disable Wake on PME (PCI Power Management Enable wake up events). Well, now my 
notebook do not wakes (and from power off).

Maybe installed version of Ralink card is a special modification for HP, or it 
is capable with some ACPI management?

Best,
kh

29.12.2011, 00:14, Ivo Van Doorn ivdo...@gmail.com:
 On Wed, Dec 28, 2011 at 12:09 PM, Gertjan van Wingerde
 gwinge...@gmail.com wrote:

  On 12/28/11 08:56, Helmut Schaa wrote:
  Hi,

  Am Sonntag, 25. Dezember 2011, 09:07:42 schrieb pol kh:
  I'd like to be able to manage WoW option on Ralink 5390 on my HP Pavilion
  dv6-6030er. WoW is enabled by default in BIOS, which is locked by vendor.
  So I can't switch it off. Using ethtool doesn't help, because driver can't
  hanlder with WoW. My notebook wakes on wi-fi activity when I'd like it to
  be asleep. I had sent a bug report to Debian GNU/Linux maintainers and got
  the following answer (below my bug report is attached):
  this sounds really strange :). Unfortunately nobody is working on WoW 
 support
  for rt2x00 currently.

  Ivo, Gertjan, do we have any information yet how WoW for the ralink 
 devices
  is supposed to work? Since the WoW framework was already merged AFAIK it 
 might
  be a trivial thing to add ...
  No, I've never seen any information about this.

  A quick look at the Ralink legacy drivers also reveal that these do not
  contain any code for this, so it will be difficult to add support for
  this in rt2x00.

 Even the specsheets don't contain any reference about WoW, so I really
 can't say anything about it either.

 Ivo



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/680521325738...@web129.yandex.ru



Bug#653179: linux-image-3.1.0-1-amd64: Can't switch off WoW option of RT5390 wi-fi card, notebook wakes on wi-fi activity

2011-12-24 Thread pol kh
Package: linux-2.6
Version: 3.1.5-1
Severity: normal

Dear Maintainer,

I can't manage WoW option on Ralink 5390 wi-fi card on my HP Pavilion 
dv6-6030er. Running Debian GNU/Linux testing+unstable. Notebook is switching on 
sometimes with wi-fi activity. In Win7 WoW can be switched off, but in 
GNU/Linux I can't do this. Also I can't switch WoW or WOL option off in BIOS, 
because this options are locked by vendor. I'm afaid of using cracked BIOS 
version with advanced menu available.

Some info:



$ lspci | grep Ralink
04:00.0 Network controller: Ralink corp. RT5390 [802.11 b/g/n 1T1R G-band PCI 
Express Single Chip]



# ifconfig 
eth0  Link encap:Ethernet  HWaddr 68:b5:99:df:af:b0  
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:45 Base address:0x4000 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:2024 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2024 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:126000 (123.0 KiB)  TX bytes:126000 (123.0 KiB)

wlan0 Link encap:Ethernet  HWaddr 90:00:4e:65:8a:5a  
  inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::9200:4eff:fe65:8a5a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:161529 errors:0 dropped:0 overruns:0 frame:0
  TX packets:120128 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:159220810 (151.8 MiB)  TX bytes:19366763 (18.4 MiB)



# iwconfig 
lono wireless extensions.

eth0  no wireless extensions.

wlan0 IEEE 802.11bgn  ESSID:TP-LINK  
  Mode:Managed  Frequency:2.412 GHz  Access Point: F4:EC:38:A5:7A:18   
  Bit Rate=58.5 Mb/s   Tx-Power=20 dBm   
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:on
  Link Quality=70/70  Signal level=-35 dBm  
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:40  Invalid misc:626   Missed beacon:0



# ethtool wlan0
Settings for wlan0:
Link detected: yes



# ethtool -s wlan0 wol d
Cannot get current wake-on-lan settings: Operation not supported
  not setting wol



-- Package-specific info:
** Version:
Linux version 3.1.0-1-amd64 (Debian 3.1.5-1) (b...@decadent.org.uk) (gcc 
version 4.6.2 (Debian 4.6.2-7) ) #1 SMP Sun Dec 11 20:36:41 UTC 2011

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.1.0-1-amd64 
root=UUID=da760c42-f97a-4703-b0d7-0f25f4dbd8e7 ro quiet

** Tainted: PCO (5121)
 * Proprietary module has been loaded.
 * Module from drivers/staging has been loaded.
 * Out-of-tree module has been loaded.

** Kernel log:
[4.489639] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[4.556130] input: ST LIS3LV02DL Accelerometer as 
/devices/platform/lis3lv02d/input/input15
[4.556275] Registered led device: hp::hddprotect
[4.556285] hp_accel: driver loaded
[4.672083] kvm: Nested Virtualization enabled
[4.672086] kvm: Nested Paging enabled
[4.830710] EXT4-fs (sda1): re-mounted. Opts: (null)
[5.105730] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[5.188647] loop: module loaded
[5.947960] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: 
(null)
[5.980088] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: 
(null)
[6.001960] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: 
(null)
[6.028660] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: 
(null)
[7.171038] RPC: Registered named UNIX socket transport module.
[7.171041] RPC: Registered udp transport module.
[7.171042] RPC: Registered tcp transport module.
[7.171044] RPC: Registered tcp NFSv4.1 backchannel transport module.
[7.241515] FS-Cache: Loaded
[7.260282] FS-Cache: Netfs 'nfs' registered for caching
[7.274563] Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
[7.751427] fuse init (API version 7.17)
[9.310007] input: ACPI Virtual Keyboard Device as 
/devices/virtual/input/input16
[   10.467534] r8169 :03:00.0: eth0: link down
[   10.468445] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.535481] phy0 - rt2800pci_mcu_status: Error - MCU request failed, no 
response from hardware
[   10.573206] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.910443] vgaarb: this pci device is not a vga device
[   12.910455] vgaarb: this pci device is not a vga device
[   12.910463] vgaarb: this pci device is not a vga device
[   12.910471] vgaarb: 

Bug#653179: Fwd: linux-image-3.1.0-1-amd64: Can't switch off WoW option of RT5390 wi-fi card, notebook wakes on wi-fi activity

2011-12-24 Thread pol kh
Dear upstream developers,

I'd like to be able to manage WoW option on Ralink 5390 on my HP Pavilion 
dv6-6030er. WoW is enabled by default in BIOS, which is locked by vendor. So I 
can't switch it off. Using ethtool doesn't help, because driver can't hanlder 
with WoW. My notebook wakes on wi-fi activity when I'd like it to be asleep. I 
had sent a bug report to Debian GNU/Linux maintainers and got the following 
answer (below my bug report is attached):

I'm surprised that wake-on-wlan is enabled by default for you --- is
that a BIOS setting?

In any event, the rt2800pci driver does not know how to handle the
wake-on-wlan bit, and that is a deficiency relative to the Windows
driver.  I'd recommend getting in touch with the upstream developers
at us...@rt2x00.serialmonkey.com to work on implementing it.  Please
cc either me or this bug log when doing so so we can track it.  They
may ask you to read registers set by the Windows driver or to test
patches.  Once a patch has been accepted upstream, we can apply it.

Hope that helps,
Jonathan

 Пересылаемое сообщение  
24.12.2011, 22:17, pol kh kh3...@yandex.ru:

Package: linux-2.6
Version: 3.1.5-1
Severity: normal

Dear Maintainer,

I can't manage WoW option on Ralink 5390 wi-fi card on my HP Pavilion 
dv6-6030er. Running Debian GNU/Linux testing+unstable. Notebook is switching on 
sometimes with wi-fi activity. In Win7 WoW can be switched off, but in 
GNU/Linux I can't do this. Also I can't switch WoW or WOL option off in BIOS, 
because this options are locked by vendor. I'm afaid of using cracked BIOS 
version with advanced menu available.

Some info:

$ lspci | grep Ralink
04:00.0 Network controller: Ralink corp. RT5390 [802.11 b/g/n 1T1R G-band PCI 
Express Single Chip]

# ifconfig
eth0  Link encap:Ethernet  HWaddr 68:b5:99:df:af:b0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:45 Base address:0x4000

lo    Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:2024 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2024 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:126000 (123.0 KiB)  TX bytes:126000 (123.0 KiB)

wlan0 Link encap:Ethernet  HWaddr 90:00:4e:65:8a:5a
  inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::9200:4eff:fe65:8a5a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:161529 errors:0 dropped:0 overruns:0 frame:0
  TX packets:120128 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:159220810 (151.8 MiB)  TX bytes:19366763 (18.4 MiB)

# iwconfig
lo    no wireless extensions.

eth0  no wireless extensions.

wlan0 IEEE 802.11bgn  ESSID:TP-LINK
  Mode:Managed  Frequency:2.412 GHz  Access Point: F4:EC:38:A5:7A:18
  Bit Rate=58.5 Mb/s   Tx-Power=20 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:on
  Link Quality=70/70  Signal level=-35 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:40  Invalid misc:626   Missed beacon:0

# ethtool wlan0
Settings for wlan0:
Link detected: yes

# ethtool -s wlan0 wol d
Cannot get current wake-on-lan settings: Operation not supported
  not setting wol

-- Package-specific info:
** Version:
Linux version 3.1.0-1-amd64 (Debian 3.1.5-1) (b...@decadent.org.uk) (gcc 
version 4.6.2 (Debian 4.6.2-7) ) #1 SMP Sun Dec 11 20:36:41 UTC 2011

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.1.0-1-amd64 
root=UUID=da760c42-f97a-4703-b0d7-0f25f4dbd8e7 ro quiet

** Tainted: PCO (5121)
 * Proprietary module has been loaded.
 * Module from drivers/staging has been loaded.
 * Out-of-tree module has been loaded.

** Kernel log:
[    4.489639] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[    4.556130] input: ST LIS3LV02DL Accelerometer as 
/devices/platform/lis3lv02d/input/input15
[    4.556275] Registered led device: hp::hddprotect
[    4.556285] hp_accel: driver loaded
[    4.672083] kvm: Nested Virtualization enabled
[    4.672086] kvm: Nested Paging enabled
[    4.830710] EXT4-fs (sda1): re-mounted. Opts: (null)
[    5.105730] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[    5.188647] loop: module loaded
[    5.947960] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: 
(null)
[    5.980088] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: 
(null)
[    6.001960] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts