A more modern way of giving users access to USB devices is by the uaccess tag. It gives the user of the current session access to the device without changing the group (plugdev is not used on many modern systems anymore) or changing the actual file permissions. Everything is handled by ACLs.
Create a file in /etc/udev/rules.d/70-netmd.rules with following content. The 70- is important, it must be smaller than 73.
## Rules file for NetMD devices and HiMD devices in NetMD mode
## source: https://usb-ids.gowdy.us/read/UD/054c
## last changed: 2011-06-29
## updated to 'uaccess' by SammysHP
## HiMD
# Sony MZ-NH1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="017e", TAG+="uaccess"
# Sony MZ-NH3D
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0180", TAG+="uaccess"
# Sony MZ-NH900
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0182", TAG+="uaccess"
# Sony MZ-NH700/800
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0184", TAG+="uaccess"
# Sony MZ-NH600/600D
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0186", TAG+="uaccess"
# Sony MZ-DH10P
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="01e9", TAG+="uaccess"
# Sony MZ-RH10
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0219", TAG+="uaccess"
# Sony MZ-RH910
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="021b", TAG+="uaccess"
# Sony CMT-AH10
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="022c", TAG+="uaccess"
# Sony DS-HMD1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="023c", TAG+="uaccess"
# Sony MZ-RH1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0286", TAG+="uaccess"
## NetMD
# Aiwa AM-NX1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0113", TAG+="uaccess"
# Aiwa AM-NX9
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="014c", TAG+="uaccess"
# Sharp IM-MT880H/MT899H
ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="7202", TAG+="uaccess"
# Sharp IM-DR400/DR410
ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="9013", TAG+="uaccess"
# Sharp IM-DR420/DR80/DR580 - Kenwood DMC-S9NET
ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="9014", TAG+="uaccess"
# Sony NetMD (unknown model)
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0036", TAG+="uaccess"
# Sony NetMD MZ-N1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0075", TAG+="uaccess"
# Sony NetMD (unknown model)
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="007c", TAG+="uaccess"
# Sony NetMD LAM-1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0080", TAG+="uaccess"
# Sony NetMD MDS-JE780/JB980
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0081", TAG+="uaccess"
# Sony MZ-N505
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0084", TAG+="uaccess"
# Sony NetMD MZ-S1
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0085", TAG+="uaccess"
# Sony NetMD MZ-N707
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0086", TAG+="uaccess"
# Sony MZ-N10
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c6", TAG+="uaccess"
# Sony NetMD MZ-N910
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c7", TAG+="uaccess"
# Sony NetMD MZ-N710/NF810/NE810
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c8", TAG+="uaccess"
# Sony NetMD MZ-N510/NF610
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c9", TAG+="uaccess"
# Sony MZ-N410/NF520D
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00ca", TAG+="uaccess"
# Sony NetMD MZ-NE810/NE910/DN430
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00eb", TAG+="uaccess"
# Sony NetMD LAM-10
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0101", TAG+="uaccess"
# Sony MZ-N920
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0188", TAG+="uaccess"
# Sony NetMD LAM-3
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="018a", TAG+="uaccess"
# Sony NetMD CMT-AH10
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="021d", TAG+="uaccess"
Thanks for this! I've further modified this file so that it supports HiMD devices running in mass storage mode as well. It's now available under extras/70-netmd.rules
A more modern way of giving users access to USB devices is by the
uaccess
tag. It gives the user of the current session access to the device without changing the group (plugdev
is not used on many modern systems anymore) or changing the actual file permissions. Everything is handled by ACLs.Create a file in
/etc/udev/rules.d/70-netmd.rules
with following content. The70-
is important, it must be smaller than 73.