LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2005, 05:57 AM   #1
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Rep: Reputation: 30
Question Where to start to enable DVB TV USB key?


I'm trying to get a DVB-T (digital terrestrial television) key working. There isn't much non-techie-oriented information around about DVB in Linux yet, which doesn't help. So perhaps an expert can help with this thread..?

I'm using a very recent kernel (2.6.12.3), so I believe the basic modules for DVB are all there. And since free DVB-T broadcasts are simply encoded in MPEG2, this problem can't be too difficult to solve.

Questions:

1. A full range of adapters and devices appears under /dev/dvb in my device tree. Does this mean that DVB is indeed enabled in the kernel and that I don't need to go recompiling that?

2. The devices under each of the adapters (audio0, ca0, demux0, dvr0, frontend0, net0, osd0, video) seem to be indicated as inactive, or unplugged (yellow text on black in xterm). What does this indicate for a device?

3. What is the basic method for accessing a "transport stream" thru USB? If this was a storage device I would just mount it, and presto. But it isn't. Also, dmesg acknowledges plugging-in of the key but doesn't provide any product details. Is this significant?

As you can see, I'm only at first base here. All pointers really appreciated.
 
Old 10-16-2005, 06:23 PM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
Sorry, never heard a DVB-usb-key for this purpose.
May be it is a usb-card ?
Go here http://www.linuxtv.org/downloads/dvb/
and download
linuxtv-dvb-apps-1.1.0.tar.bz2
compile it (it is not necessary you install the tools)
and try to get a suitable channels.conf according to instructions.
If your hardware is supported (BTW what card is yours?) you'll be able to watch TV on your Linux box.
Anyway, since you asked for defined responses.....

1) Basically yes, may be the frontend module is missing (on my system dvd-core and skystar modules are loaded correctly, but the frontend module, mine is mt312, for some reason is not).

2) Device nodes (files) are usually created by a script managed by udev in recent kernels. If you find such nodes in your /dev directory it just means something created them, they cannot defined active or inactive since they are used mostly as a "buffer" or sometimes similarely as a "socket". In other words if they exist it does not means your hardware (which they are related) is working properly.

3) MPEG stream is manged by the driver(s) and codec(s). If the driver has been designed for the usb bus it can manage the stream simalarely to PCI bus. Is a matter of designing the driver.

Hope this helps
Ciao
 
Old 10-17-2005, 07:18 PM   #3
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Thumbs up

Thanks for that, urka, I appreciate you taking the time to help.

I've definitely done this the hard way. The thing is indeed a key, or maybe it's a stick. Very small anyway. Unknown Chinese brand Intuix and no indication of what chipset it is based on, though lsusb indicates the vendor Lite-On Technology.

I've found some likely-looking firmware files to drop into the hotplug firmware directory, but these require a couple of device drivers (dvb-usb, most importantly) which are not in my tree under /lib/modules/$kernel/. It seems that things are moving so quickly in the world of DVB that my 2.6.12.3 kernel is already obsolete and I need to upgrade to get all the new modules. Guess it's all part of the fun.
 
Old 10-22-2005, 09:25 PM   #4
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Unhappy USB firmware kernel issues

Another entire day spent on this one, still can't get the hardware working.

I compiled a brand new 2.6.13.4 kernel, which contains all the main DVB drivers including the important USB one, dvb-usb.ko. The '/dev/dvb' nodes are all in place. Hotplug is working, and all the possible firmware drivers (I can't be sure which is the correct one) are sitting in '/usr/lib/hotplug/firmware', where they are supposed to be picked up on insertion of the hardware.

But this is all I get when the hardware is inserted:

Quote:
#dmesg
usb 1-1: new full speed USB device using ohci_hcd and address 5
ohci_hcd 0000:00:0e.2: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
Output of 'lsusb' reveals a bit more:

Quote:
#lsusb
Bus 001 Device 005: ID 04ca:f000 Lite-On Technology Corp.
Bus 001 Device 001: ID 0000:0000
As I understand it (and it took time!) an application called 'udev' looks at the contents of /sys and assigns USB devices to nodes according to the data in '/lib/modules/$kernel/modules.usbmap'. This is a table created by 'depmod' which references USB device numbers against their corresponding kernel modules.

So!.. A couple of questions for any generous, bright person who knows something about all this and would like to help me out of my misery...

1. The 'modules.usbmap' table does not contain a reference to the device number of my USB device. Does that mean that no kernel module contains such a reference? Would it be dangerously cheeky to insert one, along the lines of a very similar device?

2a. How can I be sure that hotplug really is checking '/usr/lib/hotplug/firmware' when it detects the new device? The standard advice is to look for '/etc/hotplug/firmware.agent', which is there. But 'hotplug --help' produces no output.

2b.Might the following kernel config changes make any difference with hotplug?

Code:
  • Device drivers > Generic driver options > Prevent firmware from being built - N (currently Y)
  • Device drivers > Generic driver options > Hotplug firmware loading support - Y (currently M)
Lots of detail there, hope it's not too much. Would so appreciate some pointers on this one...

Thanks.
 
Old 10-24-2005, 10:58 AM   #5
heretic03
LQ Newbie
 
Registered: Oct 2005
Location: Plymouth Uni, UK
Posts: 3

Rep: Reputation: 0
Hey, did you get an answer?

Have you managed to get this to work yet? If you did how?

Thanks

Michael
 
Old 10-24-2005, 11:55 AM   #6
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Nope, still waiting for inspiration here. But now there's two of us, maybe some DVB uber-expert will notice! What are you trying to get working?

Picture of device in question at http://www.liteon.com/prod/getProduc...menu_id=4_2_22

If no-one can help here, we could try the Linux DVB mailing list at linux-tv.org. The latest monthly digest of that is at http://www.linuxtv.org/pipermail/lin...October.txt.gz

Still, it would be good to make some progress on the record at LinuxQuestions.

Anyone?
 
Old 10-24-2005, 12:11 PM   #7
heretic03
LQ Newbie
 
Registered: Oct 2005
Location: Plymouth Uni, UK
Posts: 3

Rep: Reputation: 0
I'm trying to get a videa dvt-100 working, see http://www.videa-tech.com.tw/dtv_100.asp

I haven't made any real progress. I'm trying to get this work for my degree and all I really need is some pointers of how to get this thing started so I can write the driver myself. I've intercepted the communications between the device and the driver but now I need to know how to take the data I got and turn that into a driver. If anyone wants to point me in the right direction I would be most greatfull.
 
  


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
DVB-T, USB and Xine on Slackware 10.2 gargamel Slackware 14 12-04-2005 12:02 PM
Dvb-t Usb Tv FragMonkey Linux - Software 1 08-13-2005 07:55 AM
How can i enable WPA pre-shared key, wireless? spondootre Linux - Newbie 5 06-24-2005 02:12 PM
repeat key disabled. how to enable it again? neon Linux - Newbie 0 11-20-2003 08:47 PM
How to enable Numlock key when booting my pc? whepin Linux - General 3 02-02-2002 07:32 AM


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