sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.54k stars 387 forks source link

Main issues on which help is needed #331

Open sebanc opened 4 years ago

sebanc commented 4 years ago

Currently, the most common issues with brunch which could probably be fixed are:

I cannot reproduce those issues on my hardware and I feel like I am going nowhere.

Any pointer/help on those would be greatly appreciated.

jhgxgAHS commented 3 years ago

microphone not working on dell inspiron 5458

asukumar10248 commented 3 years ago

after running storage_test_2 and memory_test my laptop is now running fast and apps are also loading very fastly but is works in hdd only not in pendrive or usbstick

asukumar10248 commented 3 years ago

To use this method 1 ctrl+alt+t 2 type memory_test 3 type storage_test_2 but use it after startup without opening any thing and be patient this process will take approx 5 hrs then restart your laptop

asukumar10248 commented 3 years ago

Currently, the most common issues with brunch which could probably be fixed are:

  • android apps not starting unless the user wait 1/2 minutes on the login screen.
  • Internal microphone not working out of the box but that can be enabled by using alsa commands (#56)
  • Bluetooth working from command line but not from the settings menu.
  • Some USB cameras not working with "rammus" recovery image (but working correctly with "reef" or "samus" recovery images).
  • Porting other sensors than Intel ISH to chromeos (bmc150, kxcjk-1013...)

I cannot reproduce those issues on my hardware and I feel like I am going nowhere.

Any pointer/help on those would be greatly appreciated. After running storage_test_2 and memory_test my laptop is now running fast and apps are also loading very fastly but is works in hdd only not in pendrive or usbstick To use this method 1 ctrl+alt+t 2 type memory_test 3 type storage_test_2 but use it after startup without opening any thing and be patient this process will take approx 5 hrs then restart your laptop

cetheslick commented 3 years ago

This may be noted elsewhere, but there is some movement on drivers for Surface cameras. https://github.com/linux-surface/linux-surface/wiki/Camera-Support https://github.com/linux-surface/linux-surface/issues/91

MadhiasM commented 3 years ago

Hi @sebanc,

I have the 2-in-1 convertible Teclast F6 Pro with the Kionix KXCJ Sensor. Tablet mode detection and screen orientation does not work as with the other people in #89 or #808. However, I am able to retreive the accelerometer sensor data in the shell using one of the following commands:

Device 0 (Keyboard/Base accelerometer) cat /sys/bus/iio/devices/iio\:device0/in_accel_x_raw cat /sys/bus/iio/devices/iio\:device0/in_accel_y_raw cat /sys/bus/iio/devices/iio\:device0/in_accel_z_raw

Device 1 (Screen accelerometer) cat /sys/bus/iio/devices/iio\:device1/in_accel_x_raw cat /sys/bus/iio/devices/iio\:device1/in_accel_y_raw cat /sys/bus/iio/devices/iio\:device1/in_accel_z_raw

When I tilt my laptop base or screen in certain direction, I can manipulate the values accordingly.

I don't know if this is any help to getting the sensors to work with Chrome OS but at least it seems that they are actually delivering raw data. I have attached all the files that are within the folders and some examples of the values.

Kionix_Log.txt

Moreover, the two sensors can be found here:

chronos@localhost /sys/bus/acpi/devices/KIOX010A:00/physical_node $ cat /sys/bus/acpi/devices/KIOX010A\:00/physical_node/uevent DRIVER=kxcjk1013 MODALIAS=acpi:KIOX010A:KIOX010A: chronos@localhost /sys/bus/acpi/devices/KIOX010A:00/physical_node $ cat /sys/bus/acpi/devices/KIOX020A\:00/physical_node/uevent DRIVER=kxcjk1013 MODALIAS=acpi:KIOX020A:KIOX020A:

The loaded modules are listed below: chronos@localhost /sys/bus/acpi/devices/KIOX010A:00/physical_node/driver/i2c-KIOX010A:00 $ lsmod | grep kxcjk_1013 kxcjk_1013 24576 0 industrialio_triggered_buffer 16384 1 kxcjk_1013 industrialio 73728 3 industrialio_triggered_buffer,kfifo_buf,kxcjk_1013

Chassis type: chronos@localhost /sys/bus/acpi/devices/KIOX010A:00/physical_node/driver/i2c-KIOX010A:00 $ cat /sys/class/dmi/id/chassis_type 10

Also here are is additional information about Kionix Accelerometers but I don't know what to do with it: https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/accel/kionix%2Ckxcjk1013.txt https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/accel/kionix%2Ckxcjk1013.yaml

When comparing kxcjk-1013.c with cros_ec_sensors.c they already seem to be structured fairly similar, so I don't know which steps need to be undertaken to make the module functional. If you know how to further investigate please let me know

ksoham622 commented 2 years ago

@sebanc if you enable fast connect and bluetooth revamp from chrome flags bluetooth seems to work fine.

sebanc commented 2 years ago

@sebanc if you enable fast connect and bluetooth revamp from chrome flags bluetooth seems to work fine.

Thanks for the tip ! it is very interesting. I cannot really enable it by default cause it might break things for some without bluetooth issues but it most likely means Google will push this change in the next releases when it is stable.

ksoham622 commented 2 years ago

https://github.com/sebanc/brunch/pull/865#issue-805458037 @sebanc check this, I think you already know about this but is it possible for you to implement that ? Just saw some issues about android apps not working.

JaniszewskiM commented 1 year ago

I found a solution that works for me (Thinkpad T460) Android Apps not working in dark mode - disabling it solves the problem.

Rstment25 commented 1 year ago

@sebanc Can I assist you somehow in figuring out why apps don't work without waiting on login screen ? ( I can't start play store or games most of the time - I login without waiting enough and then gotta reboot and wait again.... )

Like remote access to PC or something? Let me know ...