Wrong permissions on /dev/crystalhd

Bug #944353 reported by Kim Chee Leong
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
crystalhd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The device on /dev/crystalhd is used to accelarate HD-video using the Broadcom Crystal HD. The permissions on the device are too strict.

$ ls -l /dev/crystalhd
crw------- 1 root root 249, 0 mrt 1 21:09 /dev/crystalhd

After changing the file permission using 'chmod 777' (maybe a 755 will also work), the device is usable as a normal user. I'm using XBMC, after changing the permissions the device is detected.

description: updated
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in crystalhd (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas (tux12345) wrote :

to use the CrystalHD chip you need to write compressed frames into the hardware and read the uncompressed ones coming out of the chip.
so you need rw rights to use the hardware. chmod 666 works for me

Revision history for this message
Thomas (tux12345) wrote :

I’ve written a very simple, basic patch using udev rules that changes the device permissions to
“crw-rw-rw- root video”
It works for me on my WeTab with it’s builtin BCM70015 chip.
(I’m not sure if the attached file should be marked as a patch, but since it solves the problem, I‘ll mark it as one)
There should definitely be a better patch than this udev rule

Revision history for this message
Christian Mertes (cmertes) wrote :

There's an updated crystalhd-dkms package whose changelog says something about a udev rule having been added. I assume this bug can be closed as fixed, although I didn't disable my own rule and reboot to confirm.

Changed in crystalhd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.