← Back to team overview

kernel-packages team mailing list archive

[Bug 972604] Re: 168c:001c [HP Compaq Presario C700 Notebook PC] Wireless led button doesn't switch colors

 

I add more info about /sys/class/leds/ and triggers, as I was asked.

ls -l /sys/class/leds/
totale 0
lrwxrwxrwx 1 root root 0 mar 15 07:24 ath5k-phy0::rx -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/ath5k-phy0::rx
lrwxrwxrwx 1 root root 0 mar 15 07:11 ath5k-phy0::tx -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/ath5k-phy0::tx

ls -l /sys/class/leds/ath5k-phy0::rx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:28 brightness
lrwxrwxrwx 1 root root    0 mar 15 07:28 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:28 max_brightness
drwxr-xr-x 2 root root    0 mar 15 07:28 power
lrwxrwxrwx 1 root root    0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:28 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

ls -l /sys/class/leds/ath5k-phy0::tx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:29 brightness
lrwxrwxrwx 1 root root    0 mar 15 07:29 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:29 max_brightness
drwxr-xr-x 2 root root    0 mar 15 07:29 power
lrwxrwxrwx 1 root root    0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:11 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

cat /sys/class/leds/ath5k-phy0::rx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 [phy0rx] phy0tx phy0assoc phy0radio 

cat /sys/class/leds/ath5k-phy0::tx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx [phy0tx] phy0assoc phy0radio 

After workaround:

ls -l /sys/class/leds/ath5k-phy0::rx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:28 brightness
lrwxrwxrwx 1 root root    0 mar 15 07:28 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:28 max_brightness
drwxr-xr-x 2 root root    0 mar 15 07:28 power
lrwxrwxrwx 1 root root    0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:41 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

ls -l /sys/class/leds/ath5k-phy0::tx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:29 brightness
lrwxrwxrwx 1 root root    0 mar 15 07:29 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:29 max_brightness
drwxr-xr-x 2 root root    0 mar 15 07:29 power
lrwxrwxrwx 1 root root    0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:41 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

cat /sys/class/leds/ath5k-phy0::rx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx phy0tx phy0assoc [phy0radio] 

cat /sys/class/leds/ath5k-phy0::tx/trigger
[none] AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx phy0tx phy0assoc phy0radio 

uname -a
Linux cristian-Compaq-Presario-C700-Notebook-PC 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013 i686 i686 i686 GNU/Linux

-- 
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/972604

Title:
  168c:001c [HP Compaq Presario C700 Notebook PC] Wireless led button
  doesn't switch colors

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  I'm using Lubuntu 11.10 Oneiric Ocelot. My wifi chip is supported from
  ath5k drivers. The led button blinks between red and blue light and
  its pressure does anything.

  WORKAROUND: I tried to type:
  echo none > "/sys/class/leds/ath5k-phy0::tx/trigger"
  echo phy0radio > "/sys/class/leds/ath5k-phy0::rx/trigger"

  and in this way I can control the color of the LED. But the problem is
  that the colors are reversed: it should be red for wifi off and blue
  for wifi on, but it is rather the opposite!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linux-image-3.0.0-17-generic 3.0.0-17.30
  ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
  Uname: Linux 3.0.0-17-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  cristian   1872 F.... pulseaudio
  CRDA: Error: [Errno 2] File o directory non esistente
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0x92400000 irq 42'
     Mixer name	: 'Conexant CX20561 (Hermosa)'
     Components	: 'HDA:14f15051,103c30d9,00100000'
     Controls      : 15
     Simple ctrls  : 8
  Date: Tue Apr  3 17:37:08 2012
  HibernationDevice: RESUME=UUID=3899fff8-34b5-4722-a9f7-44fd70d111c9
  InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 001 Device 002: ID 04f2:b057 Chicony Electronics Co., Ltd integrated USB webcam
  MachineType: Hewlett-Packard Compaq Presario C700 Notebook PC
  ProcEnviron:
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-17-generic root=UUID=36836f2d-ce02-4249-a4c4-8ad7eb580b58 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-17-generic N/A
   linux-backports-modules-3.0.0-17-generic  N/A
   linux-firmware                            1.60
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserAsoundrc:
   pcm.Intel { type hw; card Intel; }
   ctl.Intel { type hw; card Intel; }
   pcm.!default pcm.Intel
   ctl.!default ctl.Intel
  dmi.bios.date: 02/29/2008
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.31
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 30D9
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 83.21
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnHewlett-Packard:bvrF.31:bd02/29/2008:svnHewlett-Packard:pnCompaqPresarioC700NotebookPC:pvrF.31:rvnHewlett-Packard:rn30D9:rvr83.21:cvnHewlett-Packard:ct10:cvrN/A:
  dmi.product.name: Compaq Presario C700 Notebook PC
  dmi.product.version: F.31
  dmi.sys.vendor: Hewlett-Packard
  --- 
  ApportVersion: 2.12.7-0ubuntu2
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lubuntu    2605 F.... lxpanel
  CRDA: Error: [Errno 2] File o directory non esistente
  CasperVersion: 1.336ubuntu1
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 14.04
  LiveMediaBuild: Lubuntu 14.04 "Trusty Tahr" - Alpha i386 (20131218)
  MachineType: Hewlett-Packard Compaq Presario C700 Notebook PC
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=it keyboard-configuration/layoutcode?=it
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  RelatedPackageVersions:
   linux-restricted-modules-3.12.0-7-generic N/A
   linux-backports-modules-3.12.0-7-generic  N/A
   linux-firmware                            1.117
  StagingDrivers: zram
  Tags:  trusty staging
  Uname: Linux 3.12.0-7-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 03/29/2010
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.35
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 30D9
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 83.21
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnHewlett-Packard:bvrF.35:bd03/29/2010:svnHewlett-Packard:pnCompaqPresarioC700NotebookPC:pvrF.35:rvnHewlett-Packard:rn30D9:rvr83.21:cvnHewlett-Packard:ct10:cvrN/A:
  dmi.product.name: Compaq Presario C700 Notebook PC
  dmi.product.version: F.35
  dmi.sys.vendor: Hewlett-Packard

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