LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-08-2004, 03:08 AM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Rep: Reputation: 30
dvb_core installed but still no /dev/dvb


According to the dvb documentation that comes with the 2.6.7 kernel the dvb_core module is supposed to make the /dev/dvb stuff... but I have that module loaded but no device, what can I do??

lsmod:
Quote:
bash-2.05b$ lsmod
Module Size Used by
ppp_deflate 4864 0
zlib_deflate 21144 1 ppp_deflate
bsd_comp 5312 0
ppp_async 9664 1
ppp_generic 21652 7 ppp_deflate,bsd_comp,ppp_async
slhc 6720 1 ppp_generic
stv0299 12872 0
snd_pcm_oss 49064 0
snd_mixer_oss 17344 1 snd_pcm_oss
ipt_state 1536 1
ip_conntrack 29448 1 ipt_state
iptable_filter 2240 1
ip_tables 15808 2 ipt_state,iptable_filter
uhci_hcd 29264 0
nvidia_agp 5852 1
agpgart 27624 2 nvidia_agp
ohci_hcd 18756 0
ehci_hcd 25988 0
snd_intel8x0 30024 0
snd_ac97_codec 66372 1 snd_intel8x0
snd_pcm 84744 2 snd_pcm_oss,snd_intel8x0
snd_timer 21060 1 snd_pcm
snd_page_alloc 8968 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 6144 1 snd_intel8x0
snd_rawmidi 20324 1 snd_mpu401_uart
snd_seq_device 6536 1 snd_rawmidi
snd 45988 9 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
skystar2 25156 0
dvb_core 79208 2 stv0299,skystar2
crc32 3840 1 dvb_core
nvidia 4818676 12
ide_scsi 14084 0
sr_mod 13924 0
apm 15656 2
rtc 10296 0
bash-2.05b$
dmesg:

Quote:
drivers/media/dvb/b2c2/skystar2.c: FlexCopII(rev.130) chip found
drivers/media/dvb/b2c2/skystar2.c: the chip has 6 hardware filters
DVB: registering new adapter (Technisat SkyStar2 driver).
......
probe_tuner: try to attach to Technisat SkyStar2 driver
drivers/media/dvb/frontends/stv0299.c: setup for tuner Samsung TBMU24112IMB
DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based).
etc/modprobe.conf
Quote:
bash-2.05b$ cat modprobe.conf
# The BTTV module does not load the tuner module automatically,
# so do that in here
#post-install bttv insmod tuner
#post-remove bttv rmmod tuner

#TV Card
#alias char-major-89 i2c-dev
#alias char-major-81 bttv
#options bttv card=78 tuner=32 radio=1

#Satellite TV card

alias skystar skystar2
alias frontend stv0299

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

alias char-major-195* nvidia
bash-2.05b$
Any ideas of what I might need to do for devfs to find it??
 
Old 08-08-2004, 08:02 AM   #2
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Well since no one else answered I'll take a stab at it. Since you are using a2.6.x kernel with Slackware 10, udev will be in use. My understanding of udev is that since there is not a rule for node creation of the dvb, it won't get added.

You will need to add a line to your /etc/udev/rules.d/udev.rules to create the node.

my guess is that it should be:
Code:
KERNEL="dvb"                  NAME="media/%k",   SYMLINK="%k"
This tells udev to map the kernel device whose name matches "dvb" and to create a node for it called "media/dvb" (%k stands fo device name) and to symlink the device to dvb, which is where you are expecting it.

Look in the udev.rules comments for more info as well as man udev.

Last edited by Mephisto; 08-08-2004 at 08:03 AM.
 
Old 08-08-2004, 08:16 AM   #3
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
According to udev man page, if no rule is found the default kernel device name should be used, so this the advice above may not help. Is there a dvb_core somewhere in one of the subdirectories maybe?

EDIT: Did a google for "dvb udev" and most of the links seem to say dvb is not supported in udev yet. This one gives a possible answer that might work. There was also one mailing list entry that mentions a patch but I don't know enough about the subject to know if it is applicable. Hopefully that should get you headed in the right direction.

Last edited by Mephisto; 08-08-2004 at 08:27 AM.
 
Old 08-08-2004, 03:36 PM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey Mephisto, thats for all the info. I think for now what I might just end up doing is running a script in my startup that creates the devices...

**Edit**
I tried the script and editing the udev config file... but nothing worked All this diffculty is bringing back the good old days about a year ago when I started with linux!

Last edited by jimdaworm; 08-08-2004 at 05:05 PM.
 
Old 08-09-2004, 05:03 AM   #5
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey I downloaded the drivers from linuxtv.org... just to see if they were the same. In the INSTALL file it says
Quote:
- If you don't use devfs, execute DVB/driver/makedev.napi to create
the device nodes; if you use devfsd, copy drivers/devfsd.conf to
/etc/devfs/conf.d/dvb (exeact location might depend on you distribution).
Maby thats what I am missing... do you know exactly where I should put this devfsd.conf?? (The slack dir structure is different)
 
Old 08-13-2004, 08:17 AM   #6
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
I downloaded the cvs of the drivers and these seem to make the missing devices
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I point the /dev/dvb/adapter0 to USB ? K@rl` Linux - Hardware 3 09-07-2006 10:02 PM
Mythtv installed, now no more /dev/video0 Giallo998 Linux - Newbie 1 03-06-2005 03:28 AM
installed testing - dev mounts odd jmeads Debian 2 01-02-2005 08:19 AM
Just installed scsi adapter, how do I know the dev address? Thaidog Linux - Newbie 4 08-22-2004 10:05 PM
/dev/dvb is gone at startup, how to make it read only ? K@rl` Linux - General 2 08-02-2004 10:17 AM


All times are GMT -5. The time now is 11:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration