{"action":"created","issue":{"url":"https://api.github.com/repos/Barracuda09/SATPI/issues/28","labels_url":"https://api.github.com/repos/Barracuda09/SATPI/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Barracuda09/SATPI/issues/28/comments","events_url":"https://api.github.com/repos/Barracuda09/SATPI/issues/28/events","html_url":"https://github.com/Barracuda09/SATPI/issues/28","id":60077274,"number":28,"title":"Add support for DVB API 5.4","user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars.githubusercontent.com/u/9989964?v=3","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-06T09:17:15Z","updated_at":"2015-03-10T14:11:01Z","closed_at":null,"body":"Hi,\r\n\r\nIn order to add support for DVB API 5.4 (several recent Linux drivers only support up to 5.4) you only need to manually check tuner type if the ioctl for FE_GET_INFO command fails. This is the only current requirement for API 5.5.\r\n\r\nSo, if you like some inspiration you can review my patch for minisatip (similar project) here: http://github.com/catalinii/minisatip/issues/98#issuecomment-76725502\r\n\r\nI'm sure you can adapt to your code in some minutes! :)\r\nRegards!"},"comment":{"url":"https://api.github.com/repos/Barracuda09/SATPI/issues/comments/78060332","html_url":"https://github.com/Barracuda09/SATPI/issues/28#issuecomment-78060332","issue_url":"https://api.github.com/repos/Barracuda09/SATPI/issues/28","id":78060332,"user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars.githubusercontent.com/u/9989964?v=3","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T14:11:01Z","updated_at":"2015-03-10T14:11:01Z","body":"Hi Marc,\r\n\r\n> And what is the compiler output with SYS_DVBC_ANNEX_C then?\r\n\r\n$ uname -a\r\nLinux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux\r\n\r\n$ git clone --depth=1 git://github.com/Barracuda09/SATPI\r\nCloning into 'SATPI'...\r\n\r\n$ cd SATPI\r\n$ make\r\n./version.sh Version.cpp > /dev/null\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG Version.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG Satpi.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG ChannelData.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG StreamProperties.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG Properties.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG StringConverter.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG Log.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG HttpcSocket.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG TcpSocket.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG UdpSocket.cpp\r\ng++ -c -Wall -Wextra -Winit-self  -O2 -s -DNDEBUG Frontend.cpp\r\nFrontend.cpp: In member function ‘bool Frontend::setFrontendInfo()’:\r\nFrontend.cpp:232:24: error: invalid conversion from ‘int’ to ‘fe_delivery_system_t {aka fe_delivery_system}’ [-fpermissive]\r\nFrontend.cpp: In member function ‘bool Frontend::tune(int, const ChannelData&)’:\r\nFrontend.cpp:280:3: warning: case value ‘18’ not in enumerated type ‘const fe_delivery_system_t {aka const fe_delivery_system}’ [-Wswitch]\r\nmake: *** [Frontend.o] Error 1\r\n\r\nThe problem is the definition of SYS_DVBC_ANNEX_C:\r\nin DVB-API 5.4 is only declared SYS_DVBC_ANNEX_AC and SYS_DVBC_ANNEX_B\r\n\r\nRegards!"}}