Openmoko Bug #1703: SYSFS: Bluetooth power_on entry inversety inconsistent

Openmoko Public Trac bugs at docs.openmoko.org
Thu Jul 31 01:23:21 CEST 2008


#1703: SYSFS: Bluetooth power_on entry inversety inconsistent
-----------------------------+----------------------------------------------
 Reporter:  kriss            |       Owner:  openmoko-kernel 
     Type:  defect           |      Status:  new             
 Priority:  normal           |   Milestone:  FSO             
Component:  System Software  |     Version:  GTA02v6         
 Severity:  normal           |    Keywords:  Bluetooth, SYSFS
 Blocking:                   |   Blockedby:                  
-----------------------------+----------------------------------------------
 The sysfs entry /sys/class/backlight/pcf50633-bl/bl_power is written
 inverse but reads out data "right".

 Linux om-gta02 2.6.24 #1 PREEMPT Wed Jul 23 06:34:19 CEST 2008 armv4tl
 unknown


 Example:

 root at om-gta02:~# cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
 0
 root at om-gta02:~# echo 1 > /sys/bus/platform/devices/neo1973-pm-
 bt.0/power_on
 root at om-gta02:~# cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
 0
 root at om-gta02:~# echo 1 > /sys/bus/platform/devices/neo1973-pm-
 bt.0/power_on
 root at om-gta02:~# cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
 0
 root at om-gta02:~# echo 0 > /sys/bus/platform/devices/neo1973-pm-
 bt.0/power_on
 root at om-gta02:~# cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
 1


 Example 2: Backlight (inverse, consisten):

 root at om-gta02:~# cat /sys/class/backlight/pcf50633-bl/bl_power
 0
 root at om-gta02:~# echo 1 > /sys/class/backlight/pcf50633-bl/bl_power
 root at om-gta02:~# cat /sys/class/backlight/pcf50633-bl/bl_power
 1

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1703>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list