LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-20-2007, 04:39 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
creating /dev/dvb in slack-12-rc1


I had no problem in slack-11 with stock 2.6 kernel off install disk nor with an install of current 2-3 months ago but I just installed 12-rc1 to see what I'll need to do on the home lan and...

It seems that while my dvb-t card is recognised and correct modules are being loaded at boot, there is no /dev/dvb/adapter0 and devices therein being created.

As it was not necessary to do anything in /etc/udev in slack-11 or the last current install, I am a bit puzzeled. I had a look around on google last night but I'm not really sure what I should be looking for.

The udev rules look the same from 11 to rc1. Im booting with vmlinuz -> vmlinuz-huge-smp-2.6.21.5-smp

Has anyone had a dvb card recognised with /dev/dvb etc. being created in rc-1?
 
Old 06-20-2007, 05:30 PM   #2
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
I've had a look at a slack-11 box with /dvb/devices and there is a difference compared to the rc1 box

cat /proc/devices on the 11.0 box indicates a dvb character device, e.g.
<snip>
128 ptm
136 pts
180 usb
189 usb_device
195 nvidia
212 DVB

and the rc1 box does not, e.g.
<snip>
128 ptm
136 pts
171 ieee1394
180 usb
189 usb_device
250 usb_endpoint
<snip>

Can anyone suggest where I should be looking to make a change/fix?
 
Old 07-01-2007, 07:23 PM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Since my last post I have had a bit of a play. Booting the 2.6.17.13 and 2.6.18.8 (current in April) kernels compiled in rc-1 I get my /dev/dvb/adaper0 and dvb devices.

Compiling the 2.6.18.8 kernel in slack-11 does the same.

I still have not figured out what the difference is with 2.6.21.5 and why the devices are not created. It appears udev does the job with the previous kernels on the same box.
 
Old 07-01-2007, 07:33 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by justwantin
I still have not figured out what the difference is with 2.6.21.5 and why the devices are not created. It appears udev does the job with the previous kernels on the same box.
Dumb question, but have you tried compiling a custom 2.6.21.5 kernel?

According to the documentation, the "huge" kernels are not intended for every day use. They're more for emergency situations. It is possible that they don't have the support necessary for your DVB card compiled in by default.
 
Old 07-01-2007, 10:26 PM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
The huge smp from current in April (2.6.18.8) worked OK when recompiled in both slack-11 and rc-1.

I compiled 7 or 8 kernels this weekend and checked to make sure all dvb IMHO options were correct each time

Probably have to compare the configs against each other next. I could also just keep compiling kernel versions up from 2.6.18.8 until I find the next one that don't work and see what changed at that point. Seems silly though.

Fallback would be to just compile and use 2.6.18.8 when Slack-12.0 is released though it's nice to just have things work out of the box.
 
Old 07-02-2007, 04:35 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
You asked about anyone having got the right dev parts with a dvb-t device in 12RC1 (or now RC2): Yes, without any problem. Only thing I had to do (like before, like with any distro) was to copy the firmware to /lib/firmware, then it was picked up like it should.

I tested it with kaffeine and it worked nicely.

I forgot: kernel is vmlinuz-huge-smp-2.6.21.5-smp, the same you started with. I didn't recompile it until now.

Last edited by titopoquito; 07-02-2007 at 04:37 AM.
 
Old 07-02-2007, 05:45 AM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Thanks for the input but I am a bit confused after reading your post

I have never needed to do anything with firmware. I have a dvico fusion hdtv dvb-t on this box and a winfast dtv1000 T dvb-t card on another box. Both running slack-11 and I didn't do anything to get the devices created. Udev rules/scripts do that. Both use a Conexant CX23880 chip.

In slack-10.1 I had to fiddle with compiling modules with 2.4.X kernels and with udev when I started using 2.6. kernels but I did not have to do anything special in slack-11 or in the current I downloaded in April with a 2.6.18.8 kernel.

Why do I now need to install firmware and where do I find this firmware that I never had to use before?
 
Old 07-02-2007, 05:55 AM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 147Reputation: 147
I think this has to do with my dvb-t device. It's not a pci card but a yakumo dvb-t usb stick and it won't work without firmware -- and I don't think all devices need that.

I got the info about my device from http://linuxtv.org/wiki/index.php/DVB-T_devices
 
Old 07-02-2007, 06:05 AM   #9
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Quite different creatures :^)

...but thanks anyway.
 
Old 07-05-2007, 02:15 PM   #10
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
I have sorted this problem out on a new slack-12 install.

After booting a fresh install with the default huge kernel and the generic not huge kernel without having my devices recognised as dvb at boot and later by udev, I installed v4l-dvb from http://www.linuxtv.org/repo/ and compiled and installed it.

This has remdied the problem, dmesg indicates recognition as a dvb device, /proc/devices has a DVB 212 entry, and udev creates the requisit devices.

I still have not figured out why I have to compile and install modules on 2.6.21.5 that were already compiled with that kernel and which worked perfectly on the 2.6.17.13 and 2.6 18.8 slack kernels off the shelf.

.... but in any case, above is how I resolved the problem and I thought I'd best put it here as google was already serving up this thread when I looked for a solution.

Last edited by justwantin; 07-05-2007 at 02:16 PM.
 
  


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
How do I point the /dev/dvb/adapter0 to USB ? K@rl` Linux - Hardware 3 09-07-2006 09:02 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
dvb_core installed but still no /dev/dvb jimdaworm Slackware 5 08-13-2004 07:17 AM
/dev/dvb is gone at startup, how to make it read only ? K@rl` Linux - General 2 08-02-2004 09:17 AM
slack 9.0 rc1 install radix Slackware 1 03-10-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:02 PM.

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