Home
last modified time | relevance | path

Searched refs:led_cdev_path (Results 1 – 1 of 1) sorted by relevance

/linux/tools/leds/
H A Dget_led_device_info.sh29 led_cdev_path=`echo $1 | sed s'/\/$//'`
31 ls "$led_cdev_path/brightness" > /dev/null 2>&1
33 echo "Device \"$led_cdev_path\" does not exist."
37 bus=`readlink $led_cdev_path/device/subsystem | sed s'/.*\///'`
38 usb_subdev=`readlink $led_cdev_path | grep usb | sed s'/\(.*usb[0-9]*\/[0-9]*-[0-9]*\)\/.*/\1/'`
39 ls "$led_cdev_path/device/of_node/compatible" > /dev/null 2>&1
43 input_node=`readlink $led_cdev_path/device | sed s'/.*\///'`
50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3`
51 cd $led_cdev_path/../$usb_subdev
61 cd $led_cdev_path
[all …]