jpoet / HauppaugeUSB

MythTV wrapper around the Hauppauge HD-PVR2/Colossus2 driver
GNU General Public License v3.0
16 stars 5 forks source link

Failed to open dev. #13

Closed gsarrica closed 5 years ago

gsarrica commented 5 years ago

When running the /opt/Hauppauge/bin/hauppauge2 app as a normal user I get the error Failed to open dev.

Using sudo works as normal.

I figured this was a udev issue so I double checked my config and it looks correct. My user is in the plugdev group. What am I missing here? I am on latest Ubuntu desktop.

99-Hauppauge.rules # Device 1 SUBSYSTEMS=="usb",ATTRS{idVendor}=="8246",ATTR{serial}=="E505-00-00D6A555",MODE="0664",GROUP="plugdev",SYMLINK+="hdpvr2_1",TAG+="systemd",RUN="/bin/sh -c 'echo -1 > /sys$devpath/power/autosuspend'"

--list output with sudo [Bus: 1 Port: 1] 2040:0xe505 E505-00-00D6A555 HD PVR 2 Gaming Edition Plus w/SPDIF w/MIC (Siena2-05a) Number of possible configurations: 1 Device Class: 0 VendorID: 8256 ProductID: 58629 Manufacturer: Hauppauge Serial: E505-00-00D6A555 Interfaces: 1 ||| Number of alternate settings: 1 | Interface Number: 0 | Number of endpoints: 6 | Descriptor Type: 5 | EP Address: 129 | Descriptor Type: 5 | EP Address: 132 | Descriptor Type: 5 | EP Address: 136 | Descriptor Type: 5 | EP Address: 1 | Descriptor Type: 5 | EP Address: 2 | Descriptor Type: 5 | EP Address: 134 |

gsarrica commented 5 years ago

Wrong vendor id was the problem. I guess you should not use the vendor id from the --list output. I grabbed it from dmesg instead.