pmaports/device/device-samsung-i9070/initfs-hook.sh
Daniele Debernardi 0b9acf52a4 [samsung-i9070] Add proper fix for framebuffer (#1106)
- Removed the framebuffer configuration in the initramfs hook
- Added patch for fixing the framebuffer mode in the kernel source
- Cleanup linux-samsung-i9070 APKBUILD
2018-01-09 19:42:52 +00:00

11 lines
370 B
Bash

#!/bin/sh
# set usb properties
echo 0 > /sys/class/android_usb/android0/enable
echo samsung > /sys/class/android_usb/android0/iManufacturer
echo i9070 > /sys/class/android_usb/android0/iProduct
echo 1 > /sys/class/android_usb/android0/enable
# start the usb enumeration process from userspace
echo 1 > /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device