开云体育

Unable to connect to CANUSB


 

I have a Raspberry Pi 4, which I would like to run my layout from. I have Ubuntu 22.04.5 LTS installed. I have JMRI 5.11.3 installed. I will be running on MERG CANBUS.

I've been creating my layout in simulated mode and decided to connect up to the hardware. I changed the properties to use CAN and saved, I get this error message.
image.png
After a bit of rooting around on the NET I found a command that produces the following
image.png
So it appears the ttyACM0 is being recognised.

Any suggestions?
?Neil W




 

Further to previous, this is the terminal output during startup.
image.png






On Mon, 3 Mar 2025 at 15:20, Neil Watson via <neil.watson97=[email protected]> wrote:
I have a Raspberry Pi 4, which I would like to run my layout from. I have Ubuntu 22.04.5 LTS installed. I have JMRI 5.11.3 installed. I will be running on MERG CANBUS.

I've been creating my layout in simulated mode and decided to connect up to the hardware. I changed the properties to use CAN and saved, I get this error message.
image.png
After a bit of rooting around on the NET I found a command that produces the following
image.png
So it appears the ttyACM0 is being recognised.

Any suggestions?
?Neil W




 

Hello,

Have you added your user to the 'dialout' group? Typically this is a necessary step for running any software not as the root user that connects to a serial port on Linux.

Best,
Noah
Uncommon Models


 

Hi Noah.

No I haven't. Have been reading up and I have just got in and fired up.

I was wondering whether to load the PiOS/JMRI image that's available.

Cheers.

Neil


On Tue, 4 Mar 2025, 17:00 Uncommon Models via , <noah=[email protected]> wrote:
Hello,

Have you added your user to the 'dialout' group? Typically this is a necessary step for running any software not as the root user that connects to a serial port on Linux.

Best,
Noah
Uncommon Models


 

Thanks a million Noah.?

Neil

On Tue, 4 Mar 2025, 18:08 Neil Watson, <neil.watson97@...> wrote:

Hi Noah.

No I haven't. Have been reading up and I have just got in and fired up.

I was wondering whether to load the PiOS/JMRI image that's available.

Cheers.

Neil


On Tue, 4 Mar 2025, 17:00 Uncommon Models via , <noah=[email protected]> wrote:
Hello,

Have you added your user to the 'dialout' group? Typically this is a necessary step for running any software not as the root user that connects to a serial port on Linux.

Best,
Noah
Uncommon Models


 

Happy to help! Perhaps someone can add this hint to the (or wherever else it may be useful).

Best,
Noah
Uncommon Models


 

On Tue, Mar 4, 2025 at 11:45 AM, Uncommon Models wrote:


Perhaps someone can add this hint to the JMRI CAN Bus Networks page (
) (or wherever else
it may be useful).
It's already on the Linux page.


--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.3plus, Java 21.0.5
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


 

Thanks Peter.



On Tue, 4 Mar 2025, 18:49 Peter Ulvestad via , <ulvestad=[email protected]> wrote:
On Tue, Mar? 4, 2025 at 11:45 AM, Uncommon Models wrote:

>
> Perhaps someone can add this hint to the JMRI CAN Bus Networks page (
> ) (or wherever else
> it may be useful).
>

It's already on the Linux page.


--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.3plus, Java 21.0.5
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )