You are not logged in.

#1 2016-12-25 21:56:48

MrGamerChad
Member
Registered: 2016-12-25
Posts: 4

HD PVR 2 157310 Make Error (SOLVED)

I had gotten an HD PVR 2 for Christmas and have had the link to the driver bookmarked for months now (link below), and so I attempted to make it. The output:
make[1]: Leaving directory '/home/mrgamerchad/Documents/Builds/hauppauge_hdpvr2_driver_ver6b_157310/TestApp/build-ADV7842'
make[1]: Entering directory '/home/mrgamerchad/Documents/Builds/hauppauge_hdpvr2_driver_ver6b_157310/TestApp/build'
rm -f *.cpp *.o HDPVR2-testApp *.cfg *.bin
g++ -std=c++0x -pthread -m64 -g -O3 -D_GNU_SOURCE -I../../3rd-party/libusb-root-x86_64/include/libusb-1.0 -I.. -I.. -I../../Common -I../../Common/colossus -I../../Common/Wrappers/linux -I../../Common/FX2API -I../../Common/Rx -I../../Common/EncoderDev -I../../Common/EncoderDev/HAPIHost -I../../Common/EncoderDev/HAPIHost/MChip   -c -o main.o ../main.cpp
g++ -o HDPVR2-testApp main.o -pthread -m64 -L../build-ADV7842 -lADV7842 -L../../3rd-party/libusb-root-x86_64/lib -lrt -lusb-1.0
../build-ADV7842/libADV7842.a(FX2Device.o): In function `FX2Device_t::loadFirmware()':
/home/mrgamerchad/Documents/Builds/hauppauge_hdpvr2_driver_ver6b_157310/TestApp/build-ADV7842/../../Common/FX2API/FX2Device.cpp:89: undefined reference to `FX2Device_t::m_firmwareBytesLen'
/home/mrgamerchad/Documents/Builds/hauppauge_hdpvr2_driver_ver6b_157310/TestApp/build-ADV7842/../../Common/FX2API/FX2Device.cpp:91: undefined reference to `FX2Device_t::m_firmwareBytes'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:52: HDPVR2-testApp] Error 1
make[1]: Leaving directory '/home/mrgamerchad/Documents/Builds/hauppauge_hdpvr2_driver_ver6b_157310/TestApp/build'
make: *** [Makefile:2: all] Error 2

Any fixes I find end up in either two ways:
1: The driver works, but the device ID it tries to load is 2040:E525, while the device ACTUALLY has an ID of 2040:e525
2: It displays the wrong device altogether.

Any help or even a patch would be appreciated. It works with Ubuntu, as shown in some of Hauppauge's videos for installation.

Link to Driver: hauppauge.lightpath.net/software/linux/hauppauge_hdpvr2_driver_ver6b_157310.tar.gz

EDIT: Just ran a VM to see how it worked in Ubuntu, still had the #1 problem AKA wrong ID so... welp.

Last edited by MrGamerChad (2016-12-25 22:45:13)

Offline

#2 2016-12-25 22:22:28

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: HD PVR 2 157310 Make Error (SOLVED)

Welcome to Arch. Please use code tags for make output.

Does this topic help? (I found it by searching for the error you reported) https://bbs.archlinux.org/viewtopic.php?id=208677

Last edited by 2ManyDogs (2016-12-25 22:25:38)

Offline

#3 2016-12-25 22:25:41

MrGamerChad
Member
Registered: 2016-12-25
Posts: 4

Re: HD PVR 2 157310 Make Error (SOLVED)

I've looked at it multiple times and it hasn't really helped me much.
I feel like if I was able to change the device's ID in general it might, MIGHT, be able to work.
All because of the fact that there is a lowercase e in the device's lsusb ID while the driver wants a capital E.
If I can workaround that, this should be fixed.

Offline

#4 2016-12-25 22:30:38

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: HD PVR 2 157310 Make Error (SOLVED)

Then I am confused. You report an error in building the driver, but you also say it runs but uses the wrong device ID?

Last edited by 2ManyDogs (2016-12-25 22:30:54)

Offline

#5 2016-12-25 22:33:25

MrGamerChad
Member
Registered: 2016-12-25
Posts: 4

Re: HD PVR 2 157310 Make Error (SOLVED)

The vanilla files packaged in the driver .zip have problems using make, and come out with the error shown.
However, combined with some files in the thread you posted, it can be made.
The outcome isn't the nicest, due to some ID issues. You see, the HD PVR 2's ID is 2040:e525. The driver wants an ID of 2040:E525.
Basically, I need to spoof the ID somehow.

Offline

#6 2016-12-25 22:34:27

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: HD PVR 2 157310 Make Error (SOLVED)

Did you see this thread? http://www.avsforum.com/forum/76-htpc-l … r-2-a.html

I'm just searching the web, so I'll stop now. You've probably already done this.

You might want to make your original post a bit more clear though (and change the title) -- you've solved the makefile issue, and are having a different problem.

Last edited by 2ManyDogs (2016-12-25 22:35:48)

Offline

Board footer

Powered by FluxBB