Unix Technical Forum

Device Configuration Problem

This is a discussion on Device Configuration Problem within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I have two identical devices (tuner0, tuner1), both created by MAKEDEV, which are used in conjunction with bktr0 and ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 09:07 AM
dave
 
Posts: n/a
Default Device Configuration Problem

I have two identical devices (tuner0, tuner1), both created by MAKEDEV, which
are used in conjunction with bktr0 and bktr1 (also created by MAKEDEV) by fxtv.
Both bktr0 and bktr1 work well with videod, but not with fxtv, which also uses
tuner devices. Tuner0 works fine with bktr0, but every time I try to use bktr1,
fxtv terminates after printing an error message saying that tuner1 is not
configured. Neither of the video capture cards I am using have tuners
installed, so at first glance tuner* should not be accessed at all. However,
it appears that some ioctls which control bktr video capture are accessed
through the tuner device. It would be nice if I could get fxtv to work with
bktr1 instead of rewriting the tvcapture module used by fxtv.

My understanding is that devices (e.g. /dev/tuner*) are configured by OpenBSD
kernel at boot time. Why is tuner0, but not tuner1, initialized by OpenBSD?

What do I need to do to get tuner1 to be initialized and work with fxtv?

Thanks,
Dave Feustel
--
Don't Worry. Be Happy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 09:07 AM
tedu
 
Posts: n/a
Default Re: Device Configuration Problem

On Jul 2, 7:34 am, dave <d...@amd.localhost.comcast.net> wrote:
> I have two identical devices (tuner0, tuner1), both created by MAKEDEV, which
> are used in conjunction with bktr0 and bktr1 (also created by MAKEDEV) by fxtv.
> Both bktr0 and bktr1 work well with videod, but not with fxtv, which also uses
> tuner devices. Tuner0 works fine with bktr0, but every time I try to use bktr1,
> fxtv terminates after printing an error message saying that tuner1 is not
> configured. Neither of the video capture cards I am using have tuners
> installed, so at first glance tuner* should not be accessed at all. However,
> it appears that some ioctls which control bktr video capture are accessed
> through the tuner device. It would be nice if I could get fxtv to work with
> bktr1 instead of rewriting the tvcapture module used by fxtv.
>
> My understanding is that devices (e.g. /dev/tuner*) are configured by OpenBSD
> kernel at boot time. Why is tuner0, but not tuner1, initialized by OpenBSD?
>
> What do I need to do to get tuner1 to be initialized and work with fxtv?


cd /dev; sh MAKEDEV tuner1

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 09:07 AM
dave
 
Posts: n/a
Default Re: Device Configuration Problem

tedu <tu@zeitbombe.org> wrote:
> On Jul 2, 7:34 am, dave <d...@amd.localhost.comcast.net> wrote:
>> I have two identical devices (tuner0, tuner1), both created by MAKEDEV, which
>> are used in conjunction with bktr0 and bktr1 (also created by MAKEDEV) by fxtv.
>> Both bktr0 and bktr1 work well with videod, but not with fxtv, which also uses
>> tuner devices. Tuner0 works fine with bktr0, but every time I try to use bktr1,
>> fxtv terminates after printing an error message saying that tuner1 is not
>> configured. Neither of the video capture cards I am using have tuners
>> installed, so at first glance tuner* should not be accessed at all. However,
>> it appears that some ioctls which control bktr video capture are accessed
>> through the tuner device. It would be nice if I could get fxtv to work with
>> bktr1 instead of rewriting the tvcapture module used by fxtv.

> cd /dev; sh MAKEDEV tuner1
>> My understanding is that devices (e.g. /dev/tuner*) are configured by OpenBSD

I tried that; /dev/tuner1 was created, but fxtv still did not work with /dev/bktr1.

>> What do I need to do to get tuner1 to be initialized and work with fxtv?

>
> cd /dev; sh MAKEDEV tuner1
>


--
Don't Worry. Be Happy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com