- Posts: 10
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
DavidJ wrote: The line "sudo halcompile ./pokeys.comp"
Does the file name that I copy your driver code into have to be named to match part of that command ?
The multi-line command is the step that compiles the HAL component into an executable. It needs to be run from the same directory as the .c file created by the first stage ended up in.there a preferred location to place your code in, or doesn't it matter?
The multi-line command commencing gcc - does that have to be run from a particular directory ?
This is the step that gives the new component permission to handle the USB device.Not sure I understand 'set "udev" rules' yet.
Please Log in or Create an account to join the conversation.
REEEN wrote: Finally I got it!
I needed to create a new udev rule:
Create a new file in the /etc/udev/rules.d named 90-usb-pokeys.rules with the following contents:
SUBSYSTEM=="usb", ATTRS{idVendor}=="1dc3", ATTRS{idProduct}=="1001", GROUP="plugdev", MODE="664"
Save the file, then execute
udevadm control --reload-rules
That's it!
Please Log in or Create an account to join the conversation.