New Firewire Capture Card

Bug #197202 reported by rhpot1991
2
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
Unassigned
mythtv (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When creating a new firewire capture card the GUID is not accessible because the ownership of /dev/raw1394 is root:root.

Even when using the firewire primer the backend stops when mythtv-setup is run so ownership defaults back to root:root. On my setup I have my user in the mythtv group and changing the group ownership of /dev/raw1394 to mythtv after launching mythtv-setup fixes the problem.

Related branches

Revision history for this message
Mario Limonciello (superm1) wrote :

on a fresh modprobe, /dev/raw1394 gets these permissions:
supermario@portablemario:~$ ls -alh /dev/raw1394
crw-rw---- 1 root disk 171, 0 2008-03-01 14:01 /dev/raw1394

Can you track down where suddenly permissions were changed to root:root?

Changed in mythbuntu:
status: New → Incomplete
Revision history for this message
Mario Limonciello (superm1) wrote :

Unfortunately (for us):

/etc/udev/rules.d/40-permissions.rules:

# IEEE1394 (firewire) devices
# Please note that raw1394 gives unrestricted, raw access to every single
# device on the bus and those devices may do anything as root on your system.
# Yes, I know it also happens to be the only way to rewind your video camera,
# but it's not going to be group "video", okay?
KERNEL=="raw1394", GROUP="disk"
KERNEL=="dv1394*", GROUP="video"
KERNEL=="video1394*", GROUP="video"

Revision history for this message
Mario Limonciello (superm1) wrote :

I've got override permissions added in bzr. Please find where you were getting root:root on your raw1394 devices though. These override permissions aren't going to do anything if somehow the devices are set to root:root.

Changed in mythtv:
status: New → Fix Committed
Changed in mythbuntu:
status: Incomplete → Fix Committed
Changed in mythtv:
importance: Undecided → Medium
Revision history for this message
rhpot1991 (rhpot1991) wrote :

The root:root came from the modification of the init script in the firewire howto:
https://help.ubuntu.com/community/MythTV_Firewire

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

This bug was fixed in the package mythtv - 0.21.0~fixes16338-0ubuntu1

---------------
mythtv (0.21.0~fixes16338-0ubuntu1) hardy; urgency=low

  * New upstream checkout.
  * debian/mythtv-frontend.dirs:
    - Add var/log/mythtv (LP: #185646)
  * debian/patches/10_mythfilldatabase_log:
    - Should allow mythfilldatabase to really log (LP: #196553)
  * debian/patches/11_add_myth_prime:
    - Adds mythprime binary for firewire priming.
  * debian/rules:
    - Turn on fribidi formatting (LP: #195780)
    - Drop XvMC-OpenGL. (LP: #195780)
  * debian/mythtv-backend.files:
    - Install mythprime binary
  * Add 41-mythtv-permissions.rules to override permissions on
    raw1394 devices to folks in the mythtv group. (LP: #197202)
  * Add firewire priming support to mythtv-backend init script.

 -- Mario Limonciello <email address hidden> Sat, 01 Mar 2008 01:54:49 -0600

Changed in mythtv:
status: Fix Committed → Fix Released
Changed in mythbuntu:
status: Fix Committed → 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.