agl-service-unicens: access denied when opening character devices

Description

After booting master image (nightly build from 1st June 2019), the "agl-service-unicens" cannot open/read/write the required character devices (rx=/dev/inic-usb-crx, tx=/dev/inic-usb-ctx).

The logs say that access is denied. 

The issue is seen on master. Guppy seems to work fine.

 

 

Environment

Master / m3ulcb

Activity

Walt Miner 
July 30, 2019 at 9:38 PM

Close for HH 8.0.0 release

Tobias Jahnke 
July 4, 2019 at 3:00 PM

I created an extra ticket for the Protocol Error. I can confirm that it is sporadic.

Tobias Jahnke 
July 4, 2019 at 12:43 PM

, you are right. Adding the udev rules and adding the 'audio' permission fixes it.

I temporary fixed it by modifying the unit "/usr/local/lib/systemd/system/afm-service-agl-service-unicens--0.1-b79d0ef–main.service", assigning to group 'audio'.

Thank you for the investigation.

Scott Murray 
July 4, 2019 at 11:02 AM

With respect to the "Failed with result 'protocol'." systemd error, it went away when I turned on systemd debug logging, suggesting a race condition of some kind.  I'll upload the udev and config.xml.in changes since they seem required as a start.

Scott Murray 
July 4, 2019 at 9:17 AM

, see my comment above, the rules I listed plus adding the audio permission to the config.xml.in do allow agl-service-unicens to start if it's poked with systemctl after booting.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Hardware Platform(s) Affected

Renesas M3

Components

Affects versions

Priority

Created July 2, 2019 at 11:50 AM
Updated September 19, 2019 at 12:06 PM
Resolved July 9, 2019 at 9:10 PM