Chromebook Spin 514 Debian 12 Dualsense Chromebook does not see it through USB.

NazarychUA
NazarychUA Member Posts: 22 Troubleshooter
edited February 26 in Chromebooks

uname -r
6.1.60-08594-g03a802b9a072

sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-6.1.60-08594-g03a802b9a072
E: Couldn't find any package by glob 'linux-headers-6.1.60-08594-g03a802b9a072'
E: Couldn't find any package by regex 'linux-headers-6.1.60-08594-g03a802b9a072'

ls /lib/modules
6.1.0-11-686 6.1.0-12-cloud-amd64 6.1.0-15-686 6.1.0-16-cloud-amd64
6.1.0-11-686-pae 6.1.0-12-rt-686-pae 6.1.0-15-686-pae 6.1.0-16-rt-686-pae
6.1.0-11-amd64 6.1.0-12-rt-amd64 6.1.0-15-amd64 6.1.0-16-rt-amd64
6.1.0-11-cloud-amd64 6.1.0-13-686 6.1.0-15-cloud-amd64 6.1.0-17-686
6.1.0-11-rt-686-pae 6.1.0-13-686-pae 6.1.0-15-rt-686-pae 6.1.0-17-686-pae
6.1.0-11-rt-amd64 6.1.0-13-amd64 6.1.0-15-rt-amd64 6.1.0-17-amd64
6.1.0-12-686 6.1.0-13-cloud-amd64 6.1.0-16-686 6.1.0-17-cloud-amd64
6.1.0-12-686-pae 6.1.0-13-rt-686-pae 6.1.0-16-686-pae 6.1.0-17-rt-686-pae
6.1.0-12-amd64 6.1.0-13-rt-amd64 6.1.0-16-amd64 6.1.0-17-rt-amd64

sudo apt-get install linux-image-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-image-amd64' instead of 'linux-image-generic'
linux-image-amd64 is already the newest version (6.1.69-1).
The following package was automatically installed and is no longer required:
steam-libs:i386
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Due to kernel limitations, I cannot integrate the file hid-playstation.c from https://gist.github.com/NoahAndrews/1b717b110a6db62511a5ad3bb047c5fd
They say that there should be a driver in the kernel itself, but Chromebook does not see it through USB. And I can't even change the kernel. I have already tried with the help of AI and nothing. Maybe one of you can help, I will be grateful.

[Edited the thread to add issue detail]

«1

Answers

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    E: Unable to locate package linux-headers-6.1.60-08594-g03a802b9a072
    E: Couldn't find any package by glob 'linux-headers-6.1.60-08594-g03a802b9a072'
    E: Couldn't find any package by regex 'linux-headers-6.1.60-08594-g03a802b9a072'

    AFAIK, the IcingADB-redis package should be installed to address these kinds of errors. Unfortunately, this package still doesn't seem to be in the debian 12 repositories. While you can try to add it from this link , I think a working Linux machine should already be installed. Accordingly, it might be best to wait until the debian 12 package repositories are updated. Then try again. Sorry, I have no info on when this might happen.

    Jack E/NJ

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter
  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    It might if you're an experienced packager. Adding a package like this can get complicated due its dependence on other packages that also have to be installed. You should probably wait for the debian repositories to be updated.

    Jack E/NJ

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    You can always return to factory settings. And yes, I am not experienced and rely on the advice of more experienced people. I will try to download this package. I hope you will help, because they have not been able to help me yet (Google, Reddit, Githab, Steam, Linux.ua).

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    And I have to add new information on the problem.
    With the help of the "Enable more permissive passthrough for USB Devices" flag, the Chromebook sees the gamepad in the "Linux development environment" -> "Manage USB devices" section, but it does not light up and Linux applications do not respond to the gamepad.
    lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 054c:0ce6 Sony Corp. DualSense wireless controller (PS5)
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    But Linux applications still do not respond to the gamepad.

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    Did you try to install the package and dependencies yet?

    Jack E/NJ

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    sudo apt install icingadb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following package was automatically installed and is no longer required:
    libwlroots10
    Use 'sudo apt autoremove' to remove it.
    Suggested packages:
    redis-server postgresql | default-mysql-server
    The following NEW packages will be installed:
    icingadb
    0 upgraded, 1 newly installed, 0 to remove and 42 not upgraded.
    Need to get 8,859 kB of archives.
    After this operation, 21.9 MB of additional disk space will be used.
    Get:1 http://ftp.uk.debian.org/debian sid/main amd64 icingadb amd64 1.1.1-2+b1 [8,859 kB]
    Fetched 8,859 kB in 2min 30s (59.0 kB/s)Selecting previously unselected package icingadb.
    (Reading database ... 115778 files and directories currently installed.)
    Preparing to unpack .../icingadb_1.1.1-2+b1_amd64.deb ...
    Unpacking icingadb (1.1.1-2+b1) ...
    Setting up icingadb (1.1.1-2+b1) ...
    Adding system-user for icingadb
    warn: The home directory /etc/icingadb' already exists. Not touching this directory.
    warn: Warning: The home directory
    /etc/icingadb' does not belong to the user you are currently creating.
    Processing triggers for man-db (2.12.0-3) ...
    Scanning processes...Scanning candidates...

    Restarting services...
    systemctl restart wsdd.service

    No containers need to be restarted.

    No user sessions are running outdated binaries.

    No VM guests are running outdated hypervisor (qemu) binaries on this host.

  • JackE
    JackE ACE Posts: 45,124 Trailblazer
    edited February 18

    I would like to see a phone photo of GPartEd.

    Jack E/NJ

  • Avery78
    Avery78 Member Posts: 2 New User

    The Chromebook Spin 514 with Debian 12 compatibility combines the mobility of a Chromebook with the power of Debian Linux. With the option to connect DualSense controllers, it provides an immersive gaming experience while also doing productivity activities. A perfect combination of practicality and enjoyment for computer lovers.

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter
  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    Unfortunately, this statement is true for Android applications. For applications that are installed in a Linux environment, DualSense does not exist.

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    > >I don't really understand you. Please elaborate.> >

    GPartEd is a Linux and Windows GUI partition editor/viewer similar to Windows DiskManager GUI & Microsoft Diskpart prompt. It is usually included on a bootable Linux installation stick. Have you ever used GPartEd or PartEd terminal command?

    Jack E/NJ

  • Avery78
    Avery78 Member Posts: 2 New User
    edited February 29

    The Chromebook Spin 514 with Debian 12 compatibility combines the mobility of a Chromebook with the power of Debian Linux. With the option to connect DualSense controllers, it provides an immersive gaming experience while also doing productivity activities. A perfect combination of practicality and enjoyment for computer lovers.

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter
    edited February 29

    Unfortunately, this statement is true for Android applications. For applications that are installed in a Linux environment, DualSense does not exist.

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    The application is there, but it does not want to open, so I cannot provide a screenshot. But I have another topic to discuss with you. I think that with the help of the VT-2 scythe, I can affect the Penguin virtual space. I'm willing to take the risk and I'm already trying to install the dev package for the "emerge" team, but I still have little knowledge. Can you suggest something? I understand all the risks. With best regards.

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    > > but it does not want to open> >

    Please post a phone photo of the screen you're trying to open GPartEd from.

    Jack E/NJ

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    I would love to, but when I click on the icon, nothing happens. That is, I have nothing to screenshot.

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    Sorry, I meant can you take a phone photo of the screen with the GPartEd icon?

    Jack E/NJ

  • NazarychUA
    NazarychUA Member Posts: 22 Troubleshooter

    Sorry, I didn't understand you earlier. Of course I can!

  • JackE
    JackE ACE Posts: 45,124 Trailblazer

    Simply right click on the GParted icon. What appears?

    Jack E/NJ