[mythtv] Question on compile!!!

Andrew Deponte mythtv-dev@snowman.net
Fri, 26 Jul 2002 02:36:45 -0700


K, Now I understand that the new better /dev wont work with mythTv but
could someone please tell me why it wont work with mythtv. I would
rather keep my current /dev filesystem and fix mythtv than change my
configuration. I am one of those people that doesn't like a lot of
dependencies. I am willing to fix mythtv if someone can explain to me
why it doesn't work.

On (07/25/02 15:46), Chris Kleeschulte wrote:
> Delivered-To: adeponte@localhost.cyph.org
> From: "Chris Kleeschulte" <kleeschu@mindspring.com>
> To: <mythtv-dev@snowman.net>
> Subject: Re: [mythtv] Question on compile!!!
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2600.0000
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> Errors-To: mythtv-dev-admin@snowman.net
> X-BeenThere: mythtv-dev@snowman.net
> X-Mailman-Version: 2.0.12
> Precedence: bulk
> Reply-To: mythtv-dev@snowman.net
> X-Reply-To: "Chris Kleeschulte" <kleeschu@corp.earthlink.net>
> List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
> List-Post: <mailto:mythtv-dev@snowman.net>
> List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
> 	<mailto:mythtv-dev-request@snowman.net?subject=subscribe>
> List-Id: Development of mythtv <mythtv-dev.snowman.net>
> List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
> 	<mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
> List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
> Date: Thu, 25 Jul 2002 15:46:26 -0700
> 
>   ----- Original Message ----- 
>   From: Andrew Deponte 
>   To: mythtv-dev@snowman.net 
>   Sent: Wednesday, July 24, 2002 5:18 PM
>   Subject: Re: [mythtv] Question on compile!!!
> 
> 
>   K, I understand now here is the output of the ls command. I am using
>   a /dev fs with the subdirs. Is /dev/video hard coded somewhere. Is that
>   why it has this problem. If so why cant I just go in and change it to
>   /dev/video0 which is the video device I am using in the config file.
>   Please Help me out, anyone!!
> 
> 
>   Sure you can do exactly this...
> 
>   1. grab this file...http://bytesex.org/bttv/bttv-0.7.94.tar.gz
> 
>   2. unpack it and run the MAKEDEV script...this will create normal major/minor numbered devices in /dev
> 
>   3. kill the devfsd (or whatever they call it) ....you also may want to run a system MAVEDEV to create all the other devices...a clear explaination of all this is here:
> 
>   http://www.linuxfromscratch.org/view/3.3/chapter06/makedev.html
> 
>   you should be good from there....
> 
>   incidentally, it's not that devfs is bad, it is actually a better, more well-planned way to manage linux device nodes, but it has not gained universal favor 'yet'.  If the above is not acceptable to you, then I would invite anyone else on this list to jump in and offer some alternatives. Please don't hesitate to correct me if I am wrong as well :)
> 
> 
>   Chris
> 
> 
> 
>   [adeponte@redtux adeponte]$ ls -la /dev/video
>   total 92
>   drwxr-xr-x    2 root     root         4096 Jun 15 02:57 .
>   drwxr-xr-x   18 root     root        86016 Jul 23 16:25 ..
>   crw-------    1 adeponte root      10, 204 Apr 11 07:25 em8300
>   crw-------    1 adeponte root      10, 206 Apr 11 07:25 em8300_ma
>   crw-------    1 adeponte root      10, 205 Apr 11 07:25 em8300_mv
>   crw-------    1 adeponte root      10, 207 Apr 11 07:25 em8300_sp
>   [adeponte@redtux adeponte]$ 
> 
> 
>   On (07/24/02 16:23), kleeschu@mindspring.com wrote:
>   > Delivered-To: adeponte@localhost.cyph.org
>   > X-EM-Version: 6, 0, 0, 3
>   > X-EM-Registration: #00E0641810D91B008120
>   > X-Priority: 3
>   > X-Originating-IP: 68.3.180.244
>   > X-URL: http://mail2web.com/
>   > From: "kleeschu@mindspring.com" <kleeschu@mindspring.com>
>   > To: mythtv-dev@snowman.net
>   > Subject: Re: [mythtv] Question on compile!!!
>   > X-OriginalArrivalTime: 24 Jul 2002 20:23:15.0630 (UTC) FILETIME=[F0DDDCE0:01C2334F]
>   > X-MIME-Autoconverted: from quoted-printable to 8bit by www.snowman.net id g6OKNGmA010951
>   > Errors-To: mythtv-dev-admin@snowman.net
>   > X-BeenThere: mythtv-dev@snowman.net
>   > X-Mailman-Version: 2.0.12
>   > Precedence: bulk
>   > Reply-To: mythtv-dev@snowman.net
>   > X-Reply-To: kleeschu@mindspring.com
>   > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
>   > List-Post: <mailto:mythtv-dev@snowman.net>
>   > List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > <mailto:mythtv-dev-request@snowman.net?subject=subscribe>
>   > List-Id: Development of mythtv <mythtv-dev.snowman.net>
>   > List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > <mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
>   > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
>   > Date: Wed, 24 Jul 2002 16:23:15 -0400
>   > 
>   > What I mean by the /dev filesystem is that in your /dev directory....you
>   > will have a bunch of subdirectories like video, ide, etc. The non /dev file
>   > system will have a huge amount of files...usually indicated by a yellow
>   > color.
>   > 
>   > 
>   > do this to test it out:
>   > 
>   > ls -la /dev/video
>   > 
>   > make sure the output is similar to this:
>   > 
>   > lrwxrwxrwx   1 root     root        11 Jul 17 12:04 /dev/video ->
>   > /dev/video0
>   > 
>   > if it gives you a listing like a group of files...then you have the /dev
>   > filesystem and you need to figure something else out
>   > 
>   > make sure you reboot as well just to make sure everything is refreshed...I
>   > had a problem when i ran myth on a slower machine...myth would lock and
>   > then I would get this. I would also pull the latest bttv driver (not the
>   > 0.8 version...the latest 0.7) and run the MAKEDEV script in there. 
>   > 
>   > 
>   > Chris
>   > 
>   > Original Message:
>   > -----------------
>   > From: Andrew Deponte cyphactor@socal.rr.com
>   > Date: Tue, 23 Jul 2002 16:57:27 -0700
>   > To: mythtv-dev@snowman.net
>   > Subject: Re: [mythtv] Question on compile!!!
>   > 
>   > 
>   > I think my tv module is loaded see, this is my lsmod output. I am not
>   > sure about the /dev filesystem. I think it is the new because I am
>   > using red hat 7.3. Would you let me know where I might look. The
>   > mythtv is using the correct device /dev/video0 becuase when it
>   > starts up it probes it and finds there is a Television, Composite1,
>   > and S-Video inputs on my card. That is given by the output of mythtv
>   > which is below the lsmod output. Please help!!!
>   > 
>   > [root@redtux mythtv]# /sbin/lsmod 
>   > Module                  Size  Used by    Not tainted
>   > emu10k1                63968   0  (autoclean)
>   > ac97_codec             11936   0  (autoclean) [emu10k1]
>   > sound                  71916   0  (autoclean) [emu10k1]
>   > soundcore               6692   7  (autoclean) [emu10k1 sound]
>   > tuner                  10436   1  (autoclean)
>   > tvaudio                13632   0  (autoclean) (unused)
>   > bttv                   70560   0  (autoclean)
>   > videodev                6624   2  (autoclean) [bttv]
>   > i2c-algo-bit            8300   1  (autoclean) [bttv]
>   > i2c-core               18720   0  (autoclean) [tuner tvaudio bttv
>   > i2c-algo-bit]
>   > binfmt_misc             7556   1 
>   > autofs                 12132   0  (autoclean) (unused)
>   > tulip                  43104   1 
>   > ide-scsi                9664   0 
>   > scsi_mod              108608   1  [ide-scsi]
>   > ide-cd                 30272   0 
>   > cdrom                  32224   0  [ide-cd]
>   > usb-uhci               24452   0  (unused)
>   > usbcore                73216   1  [usb-uhci]
>   > ext3                   67136   6 
>   > jbd                    49400   6  [ext3]
>   > [root@redtux mythtv]# 
>   > 
>   > [root@redtux mythtv]# mythtv
>   > Probed: Television
>   > Probed: Composite1
>   > Probed: S-Video
>   > Changing from None to WatchingLiveTV
>   > open video:: Is a directory
>   > VIDIOCSAUDIO: Bad file descriptor
>   > 
>   > [root@redtux mythtv]# 
>   > 
>   > 
>   > On (07/23/02 20:02), Chris Kleeschulte wrote:
>   > > Delivered-To: adeponte@localhost.cyph.org
>   > > From: "Chris Kleeschulte" <kleeschu@mindspring.com>
>   > > To: <mythtv-dev@snowman.net>
>   > > Subject: Re: [mythtv] Question on compile!!!
>   > > X-Priority: 3
>   > > X-MSMail-Priority: Normal
>   > > X-Mailer: Microsoft Outlook Express 6.00.2600.0000
>   > > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>   > > Errors-To: mythtv-dev-admin@snowman.net
>   > > X-BeenThere: mythtv-dev@snowman.net
>   > > X-Mailman-Version: 2.0.11
>   > > Precedence: bulk
>   > > Reply-To: mythtv-dev@snowman.net
>   > > X-Reply-To: "Chris Kleeschulte" <kleeschu@corp.earthlink.net>
>   > > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
>   > > List-Post: <mailto:mythtv-dev@snowman.net>
>   > > List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > > <mailto:mythtv-dev-request@snowman.net?subject=subscribe>
>   > > List-Id: Development of mythtv <mythtv-dev.snowman.net>
>   > > List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > > <mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
>   > > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
>   > > Date: Tue, 23 Jul 2002 20:02:41 -0700
>   > > 
>   > > not a problem!
>   > > 
>   > > 
>   > > load your modules for your TV card or the videodev.o itself...hehe
>   > > 
>   > > ----OR------
>   > > 
>   > > 
>   > > are you using /dev file system instead of the old school major/minor
>   > numbers?  If you are...myth tv isn't written to deal with this 'yet'. Isaac
>   > said something bout this...wish I had some time..I would write a patch. But
>   > then of course..your hardware would need to support this as well, but most
>   > do. I would check your documentation about the /dev file system to see what
>   > you could do or maybe someone smarter than me has some clues?
>   > > 
>   > > Chris
>   > > 
>   > > 
>   > >   ----- Original Message ----- 
>   > >   From: Andrew Deponte 
>   > >   To: mythtv-dev@snowman.net 
>   > >   Sent: Tuesday, July 23, 2002 11:30 AM
>   > >   Subject: Re: [mythtv] Question on compile!!!
>   > > 
>   > > 
>   > >   K, Thanks for the reminder to check if it was running. That was the
>   > >   problem I forgot to add it to my start up scripts. Now the problem
>   > >   is that it says this when I run mythtv.
>   > > 
>   > >   [root@redtux adeponte]# mythtv
>   > >   Probed: Television
>   > >   Probed: Composite1
>   > >   Probed: S-Video
>   > >   Changing from None to WatchingLiveTV
>   > >   open video:: Is a directory
>   > >   VIDIOCSAUDIO: Bad file descriptor
>   > > 
>   > >   [root@redtux adeponte]# 
>   > > 
>   > >   Please help I want to see this thing run!! LOL!! You have been very
>   > >   helpfull I would just like to thank all who have helped me with this.
>   > > 
>   > > 
>   > _______________________________________________
>   > mythtv-dev mailing list
>   > mythtv-dev@snowman.net
>   > http://www.snowman.net/mailman/listinfo/mythtv-dev
>   > 
>   > --------------------------------------------------------------------
>   > mail2web - Check your email from the web at
>   > http://mail2web.com/ .
>   > 
>   > 
>   > 
>   > _______________________________________________
>   > mythtv-dev mailing list
>   > mythtv-dev@snowman.net
>   > http://www.snowman.net/mailman/listinfo/mythtv-dev
>   _______________________________________________
>   mythtv-dev mailing list
>   mythtv-dev@snowman.net
>   http://www.snowman.net/mailman/listinfo/mythtv-dev