Re: [newbie] kernal modules - video4linux - FM tuner - dev/radio

1999-08-23 Thread Paul Benjamin

On Mon, 23 Aug 1999 01:13:52 -0600 (MDT), Axalon Bloodstone
[EMAIL PROTECTED] wrote:

 So I need to run as root:
 
 isapnp /etc/isapnp.conf

This one gets handled automaticly in rc.sysinit

You are right about that.  Since I didn't have any ISA cards before I
didn't have a /etc/isapnp.conf until I created it.  So the rc.sysinit
script didn't have the isapnp.conf script to feed iaspnp.


 modprobe videodev.o
 modprobe radio-cadet.o io=0x330

just put them in /etc/conf.modules

options radio-cadet io=0x330
post-install videodev modprobe radio-cadet

Now if i'm remebering correctly, when something requests v4l the kernel
will autoload videodev, then radio-cadet.


This part didn't work.  I still had to run modprobe at the root CLI
prompt to get the card to tune to my favorite FM station.  No big
deal. I can put it in rc.local, I have already stuck a few things in
there for my IDE CD-R.

I couldn't find any information on /etc/conf.modules.  Do you have any
recommendations on a good book for Linux or Unix System
Administration?  I found "A Practical Guide to Linux" by Mark Sobell
to be good for using Linux but it is a light on the Administration
side.

Thanks,

PBen

 The io=0x330 I got from digging into the source code of radio-cadet.

 So where do I stick the three lines above?  I assume that it goes into
 rc.local right?  Well I am learning a few things about Linux and
 trying to remember enough C to figure it out what the HOWTOs don't
 cover.

Yes you could also modprobe from rc.local
 
 Thanks,

No problem, let me know if the conf.modules doesn't work and i'll dig out
my radiocard and bush the dust off..




Re: [newbie] kernal modules - video4linux - FM tuner - dev/radio

1999-08-22 Thread Paul Benjamin

I figured out what I did wrong.  I needed to run isapnp.

So I ran "pnpdump  /etc/isapnp.conf" and modified the results of that
and saved it.   That would reserve the 0x0330 I/O port for the card,
no IRQ or DMA used. 

So I need to run as root:

isapnp /etc/isapnp.conf
modprobe videodev.o
modprobe radio-cadet.o io=0x330

The io=0x330 I got from digging into the source code of radio-cadet.

So where do I stick the three lines above?  I assume that it goes into
rc.local right?  Well I am learning a few things about Linux and
trying to remember enough C to figure it out what the HOWTOs don't
cover.

Thanks,

PBen

On Sat, 21 Aug 1999 15:18:11 -0600 (MDT), Axalon Bloodstone 
 I ran: 
  
 /sbin/modprobe videodev.o 
 /sbin/modprobe radio-cadet.o 
  
 when I /sbin/lsmod they seem to be loaded and working.  The problem is 
 I still don't have a /dev/radio so I can't get Ktuner to work. 
  
 --- The question at last! --- 
  
 How do I create a char device with a minor range between 64-127 (major range 
 unknown) as /dev/radio that is associated with the v4l driver radio-cadet? 

(cd /dev/  ./MAKEDEV radio  ln -s radio0 radio)
  
 --- 
  
 Why does all of the v4l web sites leave this step out?  I guess they all  
 assume that you are rolling your own with bttv, a makefile, and a TV tuner 
 card.I am almost there I just need a /dev/radio entry.  How do you do that? 
  
 PBen 
  
 P.S.  Would this have worked better if I had the card back when I installed 
 Mandrake or would it still failed? 

Would have done the same, i'll add a /dev/radio for the next release

  
  
 Two more good sites are: 
  
 http://www.exploits.org/v4l/ 
  
 Bookmark this site if you ever want to do anything with Linux sound: 
  
 http://www.bright.net/~dlphilp/linuxsound/ 
  
  
  
 



[newbie] kernal modules - video4linux - FM tuner - dev/radio

1999-08-21 Thread Paul Benjamin

OK I have looked under every rock I can think off, I can't get my Cadet FM 
tuner card to work.  Russel Kroll has a web page at: 
 
http://linux.blackhawke.net/cadet.html 
 
He says that he has done a v4l driver.  So how do I get it to go?  I looked at 
the official v4l homepage at: 
 
http://roadrunner.swansea.uk.linux.org/v4l.shtml 
 
That site has the same API document that is in the docs that Mandrake 
installed on my hard drive from the CD-ROM (file:/usr/doc/ 
kernel-doc-2.2.9/video4linux/API.html).  It will be need if I ever get the 
card going and I want to do some programming but it has little to do with 
setting up the card. 
 
I found the videodev.o and radio-cadet.o in the /lib/modules/... branch of my  
hard drive.  So the good people at Linux-Mandrake have compiled it for me. 
 
I ran: 
 
/sbin/modprobe videodev.o 
/sbin/modprobe radio-cadet.o 
 
when I /sbin/lsmod they seem to be loaded and working.  The problem is 
I still don't have a /dev/radio so I can't get Ktuner to work. 
 
--- The question at last! --- 
 
How do I create a char device with a minor range between 64-127 (major range 
unknown) as /dev/radio that is associated with the v4l driver radio-cadet? 
 
--- 
 
Why does all of the v4l web sites leave this step out?  I guess they all  
assume that you are rolling your own with bttv, a makefile, and a TV tuner 
card.I am almost there I just need a /dev/radio entry.  How do you do that? 
 
PBen 
 
P.S.  Would this have worked better if I had the card back when I installed 
Mandrake or would it still failed? 
 
 
 
Two more good sites are: 
 
http://www.exploits.org/v4l/ 
 
Bookmark this site if you ever want to do anything with Linux sound: 
 
http://www.bright.net/~dlphilp/linuxsound/