Parrot OS 6.12.y for the uConsole and DevTerm

Is there a way to get the uconsole-4g binary on it?

sudo apt install uconsole-4g

1 Like

Thanks for all your work! I’m ordering the uConsole RTL-SDR/LoRa/GPS/RTC/USB from hackergadgets and was wondering if you ever wanted to do Dragon OS for this or keep using
Parrot?

1 Like

I might have already been spending some time the last few days working on a DragonOS image. :winking_face_with_tongue:

1 Like

I found the Bookworm with the preloaded SDR++ man you are kicking butt. Thanks again for all the hard work so us n00bs can look cool. LOL

1 Like

I’m facing stability issues with Parrot OS. Anytime I perform something that is even less intensive, it corrupts the bootloader and the display goes blank. I have to then remove and reinsert the battery, and reflash the bootloader, in order to bring it back to life.
I’m using CM5 Lite 4GB, and recently, using nmap at 35% battery resulted in above issue.
The issue is prevalent in bookworm as well, but haven’t seen it in bookworm lite so far.
Would like to know if this is normal, and if not, appreciate any tips on how to avoid it.
Thanks!

So I have a weird issue with my uConsole.
I recently switched my CM4 with a CM5 (CM5116000).
I flashed onto a 256 GB microSD card the latest ( April 25 ) image from @Rex 's Google Drive.

Since the new CM, my Wi-Fi dongle is no longer detected, detected randomly.
It’s a Realtek RTL8188ETV W-LAN 802.11n network adapter.

So, for example it shows up (sometimes) in lsusb, but does not show up in ifconfig, can’t even ‘up’ it with ifconfig.

If the uConsole is running, and I plug in/unplug dongle it does not show up at all, it’s somehow a combination of plugging in charging cable and continuos plug/unplug dongle until it shows up in lsusb, but still cannot manage to use it.

Are there some issues with USB on the CM5 and ParrotOS ?
Is there any workaround I missed ?

Your batteries sound like they’re weak, voltage drops or sags will take it out. You need good quality batteries.

1 Like

Are you using any expansion card with the uConsole? what happens if you use a hub between the uconsole and wifi dongle?

Yeah, no expansion cards.
Tried with a hub in between, same symptoms.

This is a dmesg | grep -i usb dump:

$dmesg | grep -i usb
[ 1.199087] usbcore: registered new interface driver usbfs
[ 1.204606] usbcore: registered new interface driver hub
[ 1.209943] usbcore: registered new device driver usb
[ 1.616518] usbcore: registered new interface driver lan78xx
[ 1.622209] usbcore: registered new interface driver smsc95xx
[ 1.633914] usbcore: registered new interface driver uas
[ 1.639252] usbcore: registered new interface driver usb-storage
[ 1.718395] usbcore: registered new interface driver usbhid
[ 1.723986] usbhid: USB HID core driver
[ 2.251055] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[ 2.278627] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[ 2.285878] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[ 2.292045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.300346] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.307612] usb usb1: Product: xHCI Host Controller
[ 2.312506] usb usb1: Manufacturer: Linux 6.12.28-v8-16k+ xhci-hcd
[ 2.318707] usb usb1: SerialNumber: xhci-hcd.0
[ 2.323246] hub 1-0:1.0: USB hub found
[ 2.331140] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 2.339441] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.346694] usb usb2: Product: xHCI Host Controller
[ 2.351587] usb usb2: Manufacturer: Linux 6.12.28-v8-16k+ xhci-hcd
[ 2.357853] usb usb2: SerialNumber: xhci-hcd.0
[ 2.362372] hub 2-0:1.0: USB hub found
[ 2.375484] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[ 2.403250] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[ 2.410597] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[ 2.416738] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.425132] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.432382] usb usb3: Product: xHCI Host Controller
[ 2.437371] usb usb3: Manufacturer: Linux 6.12.28-v8-16k+ xhci-hcd
[ 2.443573] usb usb3: SerialNumber: xhci-hcd.1
[ 2.448092] hub 3-0:1.0: USB hub found
[ 2.456059] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 2.464456] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.471708] usb usb4: Product: xHCI Host Controller
[ 2.476764] usb usb4: Manufacturer: Linux 6.12.28-v8-16k+ xhci-hcd
[ 2.482967] usb usb4: SerialNumber: xhci-hcd.1
[ 2.487489] hub 4-0:1.0: USB hub found
[ 4.785669] dwc2 1000480000.usb: supply vusb_d not found, using dummy regulator
[ 4.785724] dwc2 1000480000.usb: supply vusb_a not found, using dummy regulator
[ 4.836991] dwc2 1000480000.usb: DWC OTG Controller
[ 4.837005] dwc2 1000480000.usb: new USB bus registered, assigned bus number 5
[ 4.837015] dwc2 1000480000.usb: irq 190, io mem 0x1000480000
[ 4.838108] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 4.838118] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.838124] usb usb5: Product: DWC OTG Controller
[ 4.838125] usb usb5: Manufacturer: Linux 6.12.28-v8-16k+ dwc2_hsotg
[ 4.838127] usb usb5: SerialNumber: 1000480000.usb
[ 4.840164] hub 5-0:1.0: USB hub found
[ 4.985505] usbcore: registered new interface driver brcmfmac
[ 5.128254] usb 5-1: new high-speed USB device number 2 using dwc2
[ 5.321324] usb 5-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.38
[ 5.321330] usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 5.321331] usb 5-1: Product: USB2.0 Hub
[ 5.321656] hub 5-1:1.0: USB hub found
[ 5.608246] usb 5-1.1: new full-speed USB device number 3 using dwc2
[ 5.697858] usb 5-1.1: New USB device found, idVendor=1eaf, idProduct=0024, bcdDevice= 2.00
[ 5.697866] usb 5-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.697869] usb 5-1.1: Product: uConsole
[ 5.697871] usb 5-1.1: Manufacturer: ClockworkPI
[ 5.697872] usb 5-1.1: SerialNumber: 20230713
[ 5.699145] input: ClockworkPI uConsole Consumer Control as /devices/platform/axi/1000480000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:1EAF:0024.0001/input/input6
[ 5.756406] input: ClockworkPI uConsole Keyboard as /devices/platform/axi/1000480000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:1EAF:0024.0001/input/input7
[ 5.856444] input: ClockworkPI uConsole as /devices/platform/axi/1000480000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:1EAF:0024.0001/input/input8
[ 5.856497] input: ClockworkPI uConsole Mouse as /devices/platform/axi/1000480000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:1EAF:0024.0001/input/input9
[ 5.856572] hid-generic 0003:1EAF:0024.0001: input,hidraw0: USB HID v1.10 Keyboard [ClockworkPI uConsole] on usb-1000480000.usb-1.1/input0
[ 5.911526] cdc_acm 5-1.1:1.1: ttyACM0: USB ACM device
[ 5.911582] usbcore: registered new interface driver cdc_acm
[ 5.911587] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 57.536226] usb 5-1.2: new full-speed USB device number 4 using dwc2
[ 57.608224] usb 5-1.2: device descriptor read/64, error -32
[ 57.784224] usb 5-1.2: device descriptor read/64, error -32
[ 57.960224] usb 5-1.2: new full-speed USB device number 5 using dwc2
[ 58.032230] usb 5-1.2: device descriptor read/64, error -32
[ 58.208224] usb 5-1.2: device descriptor read/64, error -32
[ 58.312447] usb 5-1-port2: attempt power cycle
[ 58.896234] usb 5-1.2: new full-speed USB device number 6 using dwc2
[ 59.304226] usb 5-1.2: device not accepting address 6, error -32
[ 59.376230] usb 5-1.2: new full-speed USB device number 7 using dwc2
[ 59.784226] usb 5-1.2: device not accepting address 7, error -32
[ 59.784455] usb 5-1-port2: unable to enumerate USB device
[ 230.752238] usb 5-1.2: new full-speed USB device number 8 using dwc2
[ 230.896229] usb 5-1.2: new high-speed USB device number 9 using dwc2
[ 231.376244] usb 5-1.2: device not accepting address 9, error -71
[ 231.376588] usb 5-1-port2: attempt power cycle

random guess, but When I plug in an USB ethernet dongle the keyboard stops working - #10 by YoelFievelBenAvram

2 Likes

My guess would be the power draw on the USB port. You can try adding this to the [all] section of the config.txt usb_max_current_enable=1
Let us know if that helps at all.

Very weird.
So before with CM4, it worked plug and play .
Now I tried your suggestion, apparently the issue still occurs but differently.
Now it detects the wifi dongle, I have it as an adapter and is up, but it sees no available network, although the internal Broadcom of CM5 detects 3 networks.

So usb_max_current_enable=1 helped partially

I have a similar problem with a HDMI capture card. it works on the main USB A port with the CM4 but not with the CM5. it’s not getting enough power. I have a hackergadgets board and it works with that.

Guess I’ll just wait for it to arrive and put it to side for now. Not so long ETA now.

Thank you for the response @Rex!
I assumed it to be the cause and hence moved from Sony Murata to Samsung 35E a while ago. However, the issue occurs irrespective of the battery used. On another note, I was also able to test draining the battery to 0% without running into this issue.
Do you anticipate any background process that causes the voltage spike? Because, all I was doing was opening nmap in Parrot.
Thanks!

not sure if you can, if the battery is low then all of a sudden all 4 cores ramp up that could kill it. I haven’t had it corrupt anything though. I’m planning on stuffing a 10,000mha lipo pack or 2 in to give me more then enough juice.

1 Like

Ah okay!
By corrupted, I meant it just messes up the bootloader. Once I flash the bootloader from Rpi Imager boot image, it lets me use the same Parrot SD card with no issues.
So, the OS itself is not impacted at all, which is very confusing in itself.
Thanks again for the help!

1 Like
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

hello everyone, Lorenzo from parrot security here.
i recently got my first uconsole and would love to provide
official support for this device as part of our release cycle
could someone please guide me and my team to properly customize the stock images we provide?
of course our goal is not to customize and individual image or distribute a
handcrafted img, but we need to make it work through our CI and have some
quality checks in place, but knowing how you did it would be a good starting point for us

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEzB4RdX9xx1hDf3ltLtvDE03BeQAFAmg0ezMACgkQLtvDE03B
eQBNphAAjIEgdigdtb82UnPKak+gKMiQN6/jXNJis81TgV/tqNm6ku/cfS1bbwkj
pIvHzIVYNRW6nUS2x0KLbslcCI4gdX0UFOyxFwHUCHR/GkMcepk1EQFfDrzrSD9A
MQE9YMhClHvKEdWbXQ8bPlB7Z5Zr5EyIINETFWC8LiXMbj7jILX/K6KvRLdvGF4s
TGvp1SsGx+iXOO3dl1tC7fWEkmpDyN2mgVeBLq/HM/ji091/dNZ1Wo8fAogm7N8N
SG/lHVdefk63w+kBadF5N548Rgy6KRAfJIJ+ntIBV++QB50gRAj8mSa/vQraiUrF
qpk3XaCbU8NRbl9qCQ2RMlGsOBJht8uhjQqwwqKCXBUI79oBe1fieLSghikf0WKs
MkDxvbSQ8F6xcmlZhDrMPJAbGu7YCVSLU3fb8q6vFQVgHRq7/cJH4IdsCJbZ+twc
Ty3BHZAoOMRwrOWernf4DSiFowwB5VEQkK+OWupyn94ayTtFKsBO6KwxBdzLsp5c
XlnfOxsDXDcTHmlXdQ9iEOgNj9nFR3d7zOwW5jXg/RF/UTLTkUXwLDW8FHeGhv9R
RqexW7hkIdmD/O1hqqLJFM0smkFO9pULgEwkSsnRFkjwgVI4sJ6zQN8Ec4kI86Ch
U4ZLuoLWq1MvlqHOKFfxK/8ru98BbcWj3RBZpn/nNeeg4mE4+Zc=
=igJD
-----END PGP SIGNATURE-----

3 Likes

You would just need to add the uconsole drivers and overlays to your raspberry pi kernel build. The overlays can be added to the config.txt however you manage that now for devices.

1 Like