pfps / yoga-laptop

Systems and information to make Lenovo Yoga laptops work better
GNU General Public License v3.0
156 stars 30 forks source link

Not working with Yoga 3 Pro and Ubuntu 14.10 #32

Open prolic opened 9 years ago

prolic commented 9 years ago

Hi,

i played with your stuff around and couldn't get it to work. Orientation script is running but it's not updating data when I move the Yoga 3 Pro around.

Kernel:

cat /proc/version
Linux version 3.16.0-30-generic (buildd@komainu) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015

Derivate:

cat /etc/issue
Ubuntu 14.10 \n \l

Seems like I do not need to use your ideapad_laptop drivers. Otherwise wlan will break on my system, too.

./orientation --touchscreen='ATML1000:00 03EB:8A10' --usleep=2000000 --count=20 --debug=4
iio device number being used is 3
iio trigger number being used is 3
Finding orientation 0
Polling the data
Reading the data
Read the data
Orientation 1, x:  -19, y: -820, z: -601
Orientation 1, x:  -19, y: -820, z: -601
Orientation 1, x:  -19, y: -820, z: -601
Orientation 1, x:  -19, y: -820, z: -601
Found orientation: or:1, prev:-1, scr:-1, 0
Orientation at 0.0 is normal

The orientation number are not updating, even if i wait for a longer period of time. Any ideas?

pfps commented 9 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

It is entirely possible that that Yoga 3 Pro needs some quirks to make its sensors behave. You'll probably have to figure that out on your own. There are some hints on how to proceed in the code and comments - look particularly in the hid_sensors module.

I expect that the lan problem is that the Yoga 3 Pro is not recognized by the code in the standard ideapad_laptop module. Again, you will have to figure out just what identification the Yoga 3 Pro has and get that added to the standard module.

peter

On 02/24/2015 11:11 PM, prolic wrote:

Hi,

i played with your stuff around and couldn't get it to work. Orientation script is running but it's not updating data when I move the Yoga 3 Pro around.

Kernel:

|cat /proc/version Linux version 3.16.0-30-generic (buildd@komainu) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 |

Derivate:

|cat /etc/issue Ubuntu 14.10 \n \l |

Seems like I do not need to use your ideapad_laptop drivers. Otherwise wlan will break on my system, too.

|./orientation --touchscreen='ATML1000:00 03EB:8A10' --usleep=2000000 --count=20 --debug=4 iio device number being used is 3 iio trigger number being used is 3 Finding orientation 0 Polling the data Reading the data Read the data Orientation 1, x: -19, y: -820, z: -601 Orientation 1, x: -19, y: -820, z: -601 Orientation 1, x: -19, y: -820, z: -601 Orientation 1, x: -19, y: -820, z: -601 Found orientation: or:1, prev:-1, scr:-1, 0 Orientation at 0.0 is normal |

The orientation number are not updating, even if i wait for a longer period of time. Any ideas?

— Reply to this email directly or view it on GitHub https://github.com/pfps/yoga-laptop/issues/32.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1

iQEcBAEBAgAGBQJU7gESAAoJECjN6+QThfjzoHIIALa7+0oLl5w5dANOikLqC2xa CSvfquvh5kFWzVQCtWbP4UoASe9wbdAH8C96ug4UAb7hKJq9LttJcAU6MI+KeUlj 48BW8mfz1L52FN2aLVQCZ5NsP9U8fV37VmuPVI27i0/6XJtXcqiOMdD4f2/sZD2t yi9Ku+71IPOfT1sPHxTmU5oIbReeTetHr0vastAlP7Skfjr5B2HcUykPRgjCptc2 0PCQpoA7/2b2egseJH1sN31y6PFFfjFoT3177zdTRh30P9yFdzT1M8Ca/397CnZL wx9HKtytUcsERVcOUgXfNh6DIT3MiSgYrrdnsNGSgOGPFzwkbn64NAuXP+i4/ss= =cZ7n -----END PGP SIGNATURE-----