Closed mr-j-tree closed 2 years ago
In case it helps steer the diagnosis... I've been poking around in the code and can see that int _hs_monitor_list(_hs_htable *devices, hs_enumerate_func *f, void *udata)
is getting called, but _hs_htable_foreach(cur, devices)
is not getting any callbacks.
Hello,
I'd like to try tonight. Can you provide me the instructions to get a RasPi4 up and running with Ubuntu 21.10 please?
Regards,
Niels
Thanks!
The way I installed my RPi4 was to flash the microSD card using the Raspberry Pi Imager application from another machine. I used a Mac. You can click the "Choose OS" button, then "Other general purpose OS", then "Ubuntu", then "Ubuntu Desktop 21.10" is in there. When I run it, it's the only desktop variant in the list. I haven't tried any of the server variants.
Some more information... I have just installed and tried the Teensyduino application on the RPi4 and it is able to upload sketches to the Teensy 4.1, but the Serial monitor doesn't work.
Josh
Do you have the Linux rules installed? https://www.pjrc.com/teensy/td_download.html (under "linux")
Yes. The Teensyduino graphical installer prompted me to do it, then verified they were correctly installed.
On 28 Oct 2021, at 14:37, Frank @.***> wrote:
Do you have the Linux rules installed? https://www.pjrc.com/teensy/td_download.html (under "linux")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Can't find my SD reader/writer yet. Will try again in two days with Ubuntu 21.10. In the mean time, I did try on my Raspiberry Pi 400 (with Raspbian), and had no problem.
Cheers. In the mean time I'm going to try some other Ubuntu versions and see if I can narrow in on a version that works on the Pi4.
I tried a couple of different Ubuntu distros on the same RPi4 with Teensy 4.1, with the following results:
Ubuntu Server 20.04.3 LTS - WORKED Ubuntu Server 21.10 - DIDN'T WORK
So regardless of whether it's the Server or Desktop distro, tycmd
on Ubuntu 21.10 doesn't find the attached Teensy. On Ubuntu 20, it works.
I hope that helps!
Ok I've got a working install of Ubuntu 21.10 on my Raspberry Pi 400, which took longer than because of this painful bug: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368...
I can confirm that TyTools do not work correctly on this system. I will work on it in the next few days and report to you.
Okay found the problem, and it does not come from TyTools.
Some drivers (such as drivers/usb/class/cdc-acm which is needed to handle USB serial with Teensy) have been moved to an extra package: linux-modules-extra-raspi
I'll try to add some kind of warning in TyCommander to help users. In the mean time, just install this package, unplug and replug your Teensy, and it should solve your problem :)
You can find more information about this change here: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1947723
Many thanks!!!
Hello!
I have a Teensy 4.1 connected via USB to a Raspberry Pi 4 which is running Ubuntu Desktop 21.10. The system can see the Teensy at the USB level - running
lsusb
returns the following entry for the Teensy:tycmd
however cannot see the Teensy. Runningtycmd list
returns an empty result. I have built tytools v0.9.4 per the instructions, and it builds cleanly with no errors showing. Thetycommander
GUI runs on this system without errors but also shows no boards connected.For reference, I can see the same Teensy using
tycmd
andtycommander
when connected to my macOS machine, using the same v0.9.4 release, the same running Teensy sketch and the same USB cables.I'm wondering if you have ever successfully used tycmd on Raspberry Pi 4? Or are there any special considerations to get it to be able to see the attached device(s)?
Thanks!
Josh