LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2010, 11:08 AM   #1
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Help with v4l drivers


Im trying to install v4l drivers for hvr-950q but am having some problems.

When I go to compile it, IT gives me this error
Code:
  CC [M]  /home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.o
/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.c: In function 'au0828_uninit_isoc':
/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.c:186: error: implicit declaration of function 'usb_buffer_free'
/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.c: In function 'au0828_init_isoc':
/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.c:256: error: implicit declaration of function 'usb_buffer_alloc'
/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.c:257: warning: assignment makes pointer from integer without a cast
make[3]: *** [/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l/au0828-video.o] Error 1
make[2]: *** [_module_/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/brian/v4l-dvb-950q-final-0047efea9b7f/v4l'
make: *** [all] Error 2
Im using http://www.kernellabs.com/hg/~dheitm...vb-950q-final/ and running mythbuntu 10.10. Does anyone know how I can get this to work?

Thanks in advance.
 
Old 12-02-2010, 04:41 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
the v4l is already part of your system any reason why you would want to build the.
sudo apt-get install sudo apt-get install libv4l-0
 
Old 12-02-2010, 09:26 PM   #3
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Drakeo View Post
the v4l is already part of your system any reason why you would want to build the.
sudo apt-get install sudo apt-get install libv4l-0
I do know that it comes with it but my 950q is still having problems and I was thinking it could be old drivers. Ive tried most everything else and my last resort is the drivers. Ill try the apt-get and see if it helps
 
Old 12-03-2010, 07:02 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
actually it is not old drivers that card has been tested and working since February this year. But the program inteface is the problem hope you read this
go to your model and read the latest comments

Last edited by Drakeo; 12-03-2010 at 07:04 AM.
 
Old 12-03-2010, 08:08 AM   #5
go_tux_yourself
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 1
Even though this was included in the link that Drakeo posted. It should be mentioned here is that the most like reason that the card is not working is because not because of old drivers, or faulty v4l subsystem and I think you have installed MythTV/TVTime/Mplayer/Xine or similar application, but rather because the firmware is missing download from here http://kernellabs.com/firmware/drxd and place in /lib/firmware. I have been using this card on Ubuntu since 9.04 and it has still been working even after updates (currently on 10.04).

go_tux_yourself
 
Old 12-03-2010, 10:51 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I agree with you and the new patches very per kernel I also am working on compiling that. I need to look at the latest kernel change log to see what is going on.
The kernel supports the device but mythtv and the v4l is getting them to work together. I will keep working on this with you.
maybe we can get theses patches to compile.
I downloaded this latest
then I extreacted it went to v4l2-apps openend it and built it. then installed it. I do not have that device but this is the new stuff for the mythtv program. I went into firmware and mad sure it was built and installed it.
here is Linus latest two days old. here it built for me.
I agree go tux yourself it is a firmware issue.

Last edited by Drakeo; 12-03-2010 at 11:27 AM.
 
Old 12-08-2010, 08:55 AM   #7
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Original Poster
Rep: Reputation: 15
Ok, Thanks for you help.

I decided to move from mythbuntu to mythdora (alsways like fedora better) Anyway now I got the system audio to work, something that mythbuntu could not get to work. However now my tuner card does not work at all. It is able to be seen and loads the firmware correctly. yet when I try to view it in tv time, I get no signal failure. Im really wish I could get the tuner working.

here is the backend log
Code:
2010-12-07 23:59:01.956 TVRec(1): Changing from None to WatchingLiveTV
2010-12-07 23:59:01.996 TVRec(1): HW Tuner: 1->1
2010-12-07 23:59:11.478 ProgramInfo(): Updated pathname '':'' -> '1002_20101207235911.nuv'
Home directory /home/mythtv not ours.
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused

2010-12-07 23:59:11.596 AudioInALSA(default) Error: pcm open failed: Connection refused
2010-12-07 23:59:11.604 NVR(/dev/video0) Error: Failed to open audio device ALSA:default
2010-12-07 23:59:11.613 NVR(/dev/video0) Error: Failed to init audio input device
2010-12-07 23:59:11.649 ProgramInfo(): Updated pathname '':'' -> '1002_20101207235911.nuv'
2010-12-07 23:59:11.657 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-12-07 23:59:11.667 NVR(/dev/video0) Error: DQBUF ioctl failed.
			eno: Invalid argument (22)
Home directory /home/mythtv not ours.
2010-12-07 23:59:11.671 NVR(/dev/video0) Error: Resetting and re-queueing
ALSA lib pulse.c:229:(pulse_connect) 2010-12-07 23:59:11.672 TVRec(1): Changing from WatchingLiveTV to None
PulseAudio: Unable to connect: Connection refused

2010-12-07 23:59:11.748 ProgramInfo(1002_20101207235911.nuv), Error: Unknown type, recording width was 0
2010-12-07 23:59:11.764 AudioInALSA(default) Error: pcm open failed: Connection refused
2010-12-08 00:07:34.067 mythbackend version: branches/release-0-23-fixes [0.23-0.7.rc2.md12 (r24159)] www.mythtv.org
 
Old 12-08-2010, 09:07 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I see all theses conections to sound refused. Does your user have audio and video permission. and do you have the input correct in your alsa settings
Quote:
2010-12-07 23:59:11.604 NVR(/dev/video0) Error: Failed to open audio device ALSA:default
and
Quote:
ALSA lib pulse.c:229pulse_connect) PulseAudio: Unable to connect: Connection refused
seems you do not have the input set in alsa. pulse just reads alsa.
alsa by default is set to Master not PCM

Last edited by Drakeo; 12-08-2010 at 09:09 AM.
 
Old 12-09-2010, 05:11 PM   #9
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Drakeo View Post
I see all theses conections to sound refused. Does your user have audio and video permission. and do you have the input correct in your alsa settings
and
seems you do not have the input set in alsa. pulse just reads alsa.
alsa by default is set to Master not PCM
How do I check if the user has A/V permission?
Also I now am able to receive video but am unable to change channels.
 
Old 12-10-2010, 11:09 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
through your user manger
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
v4l reinstall DebianUser Linux - Software 4 04-22-2010 02:24 PM
What is the program/command for switching video devices drivers between v4l and v4l2? tauro_kpo Linux - Software 2 04-06-2009 01:19 PM
Video For BSD --- New project to develop V4L compatible drivers for BSD Fritz_Katz *BSD 5 07-19-2008 11:53 PM
v4l rubadub Linux - Hardware 5 10-25-2006 12:36 PM
Can't get Asus TV-FM card (SAA7135 chipset) to work with V4L drivers JvanEkris Linux - Hardware 8 06-20-2005 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration