Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't connect to device on Fedora #158

Open
Craig-StJean opened this issue Jan 30, 2025 · 5 comments
Open

Won't connect to device on Fedora #158

Craig-StJean opened this issue Jan 30, 2025 · 5 comments
Assignees
Milestone

Comments

@Craig-StJean
Copy link

I assume the issue is that I'm on Fedora as I've tried different browsers but I can't connect to my cc2.

This won't give me a device:

await navigator.serial.requestPort({ filters: { usbProductId: 0x8253, usbVendorId: 0x303a }});

If I call it without a filter and select my device manually then call .getInfo() on the SerialPort object it just gives me an empty object.

In my terminal when I use lsusb I get the following as one of the entries, so it is connected to my device correctly:

Bus 001 Device 002: ID 303a:8253 CharaChorder CharaChorder Two S3
@Theaninova
Copy link
Member

That's very odd... I have a bug on NixOS where I have to wait ~30s or so before I can connect my device, but this sounds like something different.

await navigator.serial.requestPort({ filters: [{ usbProductId: 0x8253, usbVendorId: 0x303a }]});

This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

I really need to add these back, I forgot about those during a recent redesign

@jdestgermain
Copy link
Contributor

This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

Agreed, @Craig-StJean have you checked out and made sure to follow https://docs.charachorder.com/Device%20Manager.html#linux-serial-port-access ?

@Craig-StJean
Copy link
Author

That's very odd... I have a bug on NixOS where I have to wait ~30s or so before I can connect my device, but this sounds like something different.

await navigator.serial.requestPort({ filters: [{ usbProductId: 0x8253, usbVendorId: 0x303a }]});
This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

I really need to add these back, I forgot about those during a recent redesign

Whoops, yes, I made it an array when I was testing it, just missed that typing it out here.

This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

Agreed, @Craig-StJean have you checked out and made sure to follow https://docs.charachorder.com/Device%20Manager.html#linux-serial-port-access ?

Yes, I found that before and went through it. My device is ttyACM0 and the group is dialout and everything seems to be in order with permissions.

I have an old laptop running Mint I'll take out of storage later today and try it with. Maybe it'll work better on that...

1 similar comment
@Craig-StJean
Copy link
Author

That's very odd... I have a bug on NixOS where I have to wait ~30s or so before I can connect my device, but this sounds like something different.

await navigator.serial.requestPort({ filters: [{ usbProductId: 0x8253, usbVendorId: 0x303a }]});
This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

I really need to add these back, I forgot about those during a recent redesign

Whoops, yes, I made it an array when I was testing it, just missed that typing it out here.

This (you forgot the array) pops up my CC2 as expected. Have you gone through the permission steps that are required on Linux?

Agreed, @Craig-StJean have you checked out and made sure to follow https://docs.charachorder.com/Device%20Manager.html#linux-serial-port-access ?

Yes, I found that before and went through it. My device is ttyACM0 and the group is dialout and everything seems to be in order with permissions.

I have an old laptop running Mint I'll take out of storage later today and try it with. Maybe it'll work better on that...

@Craig-StJean
Copy link
Author

I don't know why, but it seems to be connecting now 😅
Thank you for your help and patience!

@Theaninova Theaninova added this to the 2.3 milestone Jan 31, 2025
@Theaninova Theaninova self-assigned this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants