Changeset 4326
- Timestamp:
- 04/08/08 17:05:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
r4324 r4326 645 645 case GSM: 646 646 #ifdef NEOD_PLATFORM_FIC_NEO1973 647 return read_boolean_from_path( "/sys/ devices/platform/gta01-pm-gsm.0/power_on" );647 return read_boolean_from_path( "/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on" ); 648 648 #endif 649 649 return FALSE; 650 650 case BLUETOOTH: 651 651 #ifdef NEOD_PLATFORM_FIC_NEO1973 652 return read_boolean_from_path( "/sys/ devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/gta01-pm-bt.0/power_on" );652 return read_boolean_from_path( "/sys/bus/platform/devices/neo1973-pm-bt.0/power_on" ); 653 653 #endif 654 654 return FALSE; 655 655 case GPS: 656 656 #ifdef NEOD_PLATFORM_FIC_NEO1973 657 return read_boolean_from_path( "/sys/ devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/gta01-pm-gps.0/pwron" );657 return read_boolean_from_path( "/sys/bus/platform/devices/neo1973-pm-gps.0/pwron" ); 658 658 #endif 659 659 return FALSE; … … 677 677 case BLUETOOTH: 678 678 #ifdef NEOD_PLATFORM_FIC_NEO1973 679 write_boolean_to_path( "/sys/devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/gta01-pm-bt.0/power_on", on ); 679 write_boolean_to_path( "/sys/bus/platform/devices/neo1973-pm-bt.0/power_on", on ); 680 write_boolean_to_path( "/sys/bus/platform/devices/neo1973-pm-bt.0/reset", 0 ); 680 681 #endif 681 682 break; 682 683 case GPS: 683 684 #ifdef NEOD_PLATFORM_FIC_NEO1973 684 write_boolean_to_path( "/sys/ devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/gta01-pm-gps.0/power_on", on );685 write_boolean_to_path( "/sys/bus/platform/devices/neo1973-pm-gps.0/pwron", on ); 685 686 #endif 686 687 break;
Note: See TracChangeset
for help on using the changeset viewer.
