# Bookworm 6.6.y for the uConsole and DevTerm

**URL:** <https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235>\
**Category:** uConsole\
**Tags:** devterm, uconsole, os-image, cm4\
**Created:** [May 5, 2024, 3:28am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235 "2024-05-05T03:28:26Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![aloksandal](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/aloksandal/32/8035_2.png) [@aloksandal](https://forum.clockworkpi.com/u/aloksandal)\
**Post date:** [May 25, 2024, 9:11pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/61 "2024-05-25T21:11:04Z")

</div>

4G is not working. Am I missing anything?

alok@uconsole:~ $ service uconsole-4g-cm4 start  
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====  
Authentication is required to start ‘uconsole-4g-cm4.service’.  
Authenticating as: , (alok)  
Password:  
==== AUTHENTICATION COMPLETE ====  
alok@uconsole:~ $ uconsole-4g-cm4 enable  
-bash: uconsole-4g-cm4: command not found  
alok@uconsole:~ $

---

<div class="post-metadata">

**Author:** ![OE4DNS](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@OE4DNS](https://forum.clockworkpi.com/u/OE4DNS)\
**Post date:** [May 25, 2024, 9:57pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/62 "2024-05-25T21:57:17Z")

</div>

Awesome! Especially about the Kernel Repo.

One question: what would I have to do to update from v2 go to v3? I’m not so much asking about the general Bookworm install but about Kernel and Kernel Repo. Is there any info to be found.

I’ve spent considerable time to get everything configured nicely and don’t really want to redo everything again (altough I have backups of the most important config stuff).

I’d imagine I’m not alone whith this.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 25, 2024, 10:31pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/63 "2024-05-25T22:31:09Z")

</div>

were you able to get it to work? I don’t have a uConsole but helped someone on my last image and incorporated that into this image. Is there any software or something that came with the stock image?

@OE4DNS Yes you can add the apt repo in the OP the regular one or if you’re feeling froggy you can use the bleeding one which is on 6.9.0. you’ll have to unhold the stock kernels and remove them you can leave the 6.6.30 one in just the linux-image and linux-headers. then `sudo apt install clockworkpi-cm4-kernel`  
if you add the bleeding it will replace the kernel in my main bookworm repo.

---

<div class="post-metadata">

**Author:** ![aloksandal](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/aloksandal/32/8035_2.png) [@aloksandal](https://forum.clockworkpi.com/u/aloksandal)\
**Post date:** [May 25, 2024, 10:55pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/64 "2024-05-25T22:55:30Z")

</div>

No @Rex , on the stock image the 4G is woking by using these instructions - [How to use the 4G extension · clockworkpi/uConsole Wiki · GitHub](https://github.com/clockworkpi/uConsole/wiki/How-to-use-the-4G-extension)

I will try again and update if it works.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 25, 2024, 11:03pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/65 "2024-05-25T23:03:21Z")

</div>

Using `sudo service uconsole-4g-cm4 start ` is the same as enable was on the old script. Once you start clthe service continue with the rest of the instructions on that page.

---

<div class="post-metadata">

**Author:** ![OE4DNS](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@OE4DNS](https://forum.clockworkpi.com/u/OE4DNS)\
**Post date:** [May 25, 2024, 11:15pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/66 "2024-05-25T23:15:13Z")

</div>

Thank you! Even after your message I did not see the link to the Kernel Repository. So I downlaoded, the image, unpacked it, looked at the APT sources and only then found the link. Which is of course in your topmost post. Silly me 😉

Anyway this is solved. Are there any other changes (non UI configuration) from v2 to v3. The uconsole-4g-cm4 service is new of course, but anything else important?

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 25, 2024, 11:23pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/67 "2024-05-25T23:23:46Z")

</div>

The image was built using pi-gen and the kernel I compiled not pulling the stock kernel out and jamming another one in the image file. It’s missing the big apps like libre office, Wolfram alpha and other stuff. A few other apps added. Just a lot cleaner image then how we were making the images.  
@OE4DNS If it was me and you didn’t have to compile a bunch of custom stuff. I’d reflash, there’s still remnants of the old stock kernel in the v2 image.

---

<div class="post-metadata">

**Author:** ![aloksandal](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/aloksandal/32/8035_2.png) [@aloksandal](https://forum.clockworkpi.com/u/aloksandal)\
**Post date:** [May 25, 2024, 11:45pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/68 "2024-05-25T23:45:31Z")

</div>

@Rex, by using `sudo service uconsole-4g-cm4` I don’t think the 4G Modem is powering on. When I use this command then I dont see a green LED blinking.

Below is what happens on the stock image. The only added step is `sudo systemctl restart ModemManager` otherwise Clockwork’s steps in their Wiki do not work.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/8/89b2178cf5bc5db9a55b792459fa3b1d13567aa0.jpeg)

```auto
alok@uconsole:~ $ uconsole-4g-cm4 enable
Power on 4G module on uConsole cm4
waiting...
done
use mmcli -L to see 4G modem or not
alok@uconsole:~ $ sudo systemctl restart ModemManager
alok@uconsole:~ $ mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [SIMCOM INCORPORATED] SIMCOM_SIM7600G-H
alok@uconsole:~ $ mmcli -m any | grep "primary port"
           | primary port: ttyUSB2
alok@uconsole:~ $ sudo nmcli c add type gsm ifname ttyUSB2 con-name 4gnet apn airtelgprs.com
Connection '4gnet' (460117e7-9999-4f8d-98be-dea154706765) successfully added.
alok@uconsole:~ $ sudo nmcli c up 4gnet
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
alok@uconsole:~ $ sudo mmcli -m 0
  --------------------------------
  General | dbus path: /org/freedesktop/ModemManager1/Modem/0
           | device id: a72ede59ca9115089b0bdbfc6e9c488218c7d22d
  --------------------------------
  Hardware | manufacturer: SIMCOM INCORPORATED
           | model: SIMCOM_SIM7600G-H
           | firmware revision: LE20B04SIM7600G22
           | supported: gsm-umts, lte
           | current: gsm-umts, lte
           | equipment id: ********************
  --------------------------------
  System | device: /sys/devices/platform/soc/fe980000.usb/usb1/1-1/1-1.3
           | drivers: option1
           | plugin: simtech
           | primary port: ttyUSB2
           | ports: ttyUSB0 (qcdm), ttyUSB1 (gps), ttyUSB2 (at), ttyUSB3 (at),
           | ttyUSB4 (audio)
  --------------------------------
  Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           | state: connected
           | power state: on
           | access tech: lte
           | signal quality: 45% (recent)
  --------------------------------
  Modes | supported: allowed: 2g; preferred: none
           | allowed: 3g; preferred: none
           | allowed: 2g, 3g; preferred: none
           | allowed: 2g, 3g; preferred: 2g
           | allowed: 2g, 3g; preferred: 3g
           | allowed: 2g, 3g, 4g; preferred: none
           | current: allowed: any; preferred: none
  --------------------------------
  IP | supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP | imei: ************************
           | operator id: 40410
           | operator name: IND airtel airtel
           | registration: home
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
  --------------------------------
  Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/0
alok@uconsole:~ $ sudo ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether d8:3a:dd:b9:19:71 txqueuelen 1000 (Ethernet)
        RX packets 0 bytes 0 (0.0 B)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 0 bytes 0 (0.0 B)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
        inet 127.0.0.1 netmask 255.0.0.0
        inet6 ::1 prefixlen 128 scopeid 0x10<host>
        loop txqueuelen 1000 (Local Loopback)
        RX packets 19 bytes 2239 (2.1 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 19 bytes 2239 (2.1 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
        inet 100.81.38.XXX netmask 255.255.255.255 destination 0.0.0.0
        ppp txqueuelen 3 (Point-to-Point Protocol)
        RX packets 9 bytes 108 (108.0 B)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 11 bytes 191 (191.0 B)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 192.168.XX.71 netmask 255.255.255.0 broadcast 192.168.XX.255
        inet6 XXXX::8816:9e57:dc62:71e3 prefixlen 64 scopeid 0x20<link>
        ether XXXX:ae:d2:b5:b3 txqueuelen 1000 (Ethernet)
        RX packets 518 bytes 77681 (75.8 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 407 bytes 58996 (57.6 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

```

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 12:07am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/69 "2024-05-26T00:07:55Z")

</div>

In the mega link, in the kernel folder go to the userland scripts and download that 4G script. That’s the same one that I have trying to start the service. Run just that script by itself from your desktop and see if it works. I’m night of messed something up with the systemd file

---

<div class="post-metadata">

**Author:** ![SandDanGlokta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sanddanglokta/32/6101_2.png) [@SandDanGlokta](https://forum.clockworkpi.com/u/SandDanGlokta)\
**Post date:** [May 26, 2024, 12:23am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/70 "2024-05-26T00:23:27Z")

</div>

I just tried the original script. It works (I did chmod +x before checking the permissions). Looking at the service, I don’t see the commands “enable” or “disable” being passed to the script.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 12:30am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/71 "2024-05-26T00:30:55Z")

</div>

Just got a chance to take a look and the script was executable. I’ll check out the service file and fix it when I get home and make a script to run to correct it. If you’ve already fixed it let me know, and share it so I can just put out a fix quickly.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 1:52am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/72 "2024-05-26T01:52:05Z")

</div>

Can you do me a favor. I put 2 new files in userland scripts in the mega link `uconsole-4g` and `uconsole-4g-cm4.service` download both of them change out the systemd service file and try `sudo service uconsole-4g-cm4 start` to enable and `sudo service uconsole-4g-cm4 stop` to disable. If that don’t work or if it does and you want to do it a different way put the `uconsole-4g` file in `/usr/bin` and just run the command `uconsole-4g enable` and `uconsole-4g disable`

Please try both and let me know how they both work so I can whip up a deb to fix.

---

<div class="post-metadata">

**Author:** ![SandDanGlokta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sanddanglokta/32/6101_2.png) [@SandDanGlokta](https://forum.clockworkpi.com/u/SandDanGlokta)\
**Post date:** [May 26, 2024, 2:10am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/73 "2024-05-26T02:10:39Z")

</div>

Both work. The bash command did say permission denied as user and command not found as sudo. After chmod +x it functions properly as user.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 2:15am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/74 "2024-05-26T02:15:12Z")

</div>

I made it executable, mega must not preserve that.  
I’ll pack them up into a deb and toss it on the repo, I’ll leave both options just in case someone wants it systemd or just wants a simple command.

---

<div class="post-metadata">

**Author:** ![SandDanGlokta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sanddanglokta/32/6101_2.png) [@SandDanGlokta](https://forum.clockworkpi.com/u/SandDanGlokta)\
**Post date:** [May 26, 2024, 2:29am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/75 "2024-05-26T02:29:44Z")

</div>

The benefit of the command is the echos from the original script.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 3:13am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/76 "2024-05-26T03:13:45Z")

</div>

can you do me a favor and remove the 4g files and `sudo apt install uconsole-4g` and run the systemd and the bash command and let me know how it goes. If you have my repo setup that is.

---

<div class="post-metadata">

**Author:** ![Ezra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/ezra/32/9550_2.png) [@Ezra](https://forum.clockworkpi.com/u/Ezra)\
**Post date:** [May 26, 2024, 4:53am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/77 "2024-05-26T04:53:20Z")

</div>

thank you for the new update. is the brightness control from keyboard working now?

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [May 26, 2024, 5:10am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/78 "2024-05-26T05:10:24Z")

</div>

it was working before you just have to bind the keys.

---

<div class="post-metadata">

**Author:** ![Ezra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/ezra/32/9550_2.png) [@Ezra](https://forum.clockworkpi.com/u/Ezra)\
**Post date:** [May 26, 2024, 6:03am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/79 "2024-05-26T06:03:37Z")

</div>

OK, so for brightness control, I installed `brightnessctl`.

for wayland, add these lines to `~/.config/wayfire.ini`:

```auto
repeatable_binding_light_up = KEY_BRIGHTNESSUP
command_light_up = brightnessctl s +1
repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
command_light_down = brightnessctl s 1-

```

for X11, edit `/etc/xdg/openbox/lxde-pi-rc.xml` (or maybe `~/.config/openbox/lxde-pi-rc.xml`):

find this:

```auto
    <keybind key="0xC6">
      <action name="Execute">
        <command>sh -c "if test -e /usr/bin/pt-brightness; then /usr/bin/pt-brightness -d; fi"</command>
      </action>
    </keybind>
    <keybind key="0xC7">
      <action name="Execute">
        <command>sh -c "if test -e /usr/bin/pt-brightness; then /usr/bin/pt-brightness -i; fi"</command>
      </action>
    </keybind>

```

change to:

```auto
    <keybind key="0xC6">
      <action name="Execute">
        <command>brightnessctl s 1-</command>
      </action>
    </keybind>
    <keybind key="0xC7">
      <action name="Execute">
        <command>brightnessctl s 1+"</command>
      </action>
    </keybind>

```

> BUT, in my case, `0xC6` and `0xC7` not working (I 'm not sure why yet), so I use `C-A-O` and `C-A-P`.

---

<div class="post-metadata">

**Author:** ![u0d7i](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/u0d7i/32/7014_2.png) [@u0d7i](https://forum.clockworkpi.com/u/u0d7i)\
**Post date:** [May 26, 2024, 8:37am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/80 "2024-05-26T08:37:07Z")

</div>

I’ve checked inside clockworkpi-cm4-kernel\_6.6.30\_arm64.deb and I am unable to understand the purpose of having duplicated files in boot/firmware/ and usr/lib/, as well as empty etc/ directory structures. Can you clarify?

[Previous page](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235.md?page=3)

[Next page](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235.md?page=5)
