LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-06-2007, 03:08 PM   #1
giz2z
LQ Newbie
 
Registered: Nov 2006
Location: Atlanta
Distribution: Debian
Posts: 5

Rep: Reputation: 0
To be ATI HDTV Wonder 650 or not to be


Hey LQ.
I've been struggling with this for a bit, trying to find direction to of coarse getting this tuner working. I'll provide all information as needed. But, before I get to pasting, a brief spill on where I'm at thus far if you will.

I'm not completely sure that this device is actually an "HDTV Wonder" per se. I say this because the retail box the tuner for which the device was enclosed actually says "ATI TV Wonder 650", then listed is the best spec..."HDTV ready". It doesn't actually say its an "HDTV wonder". This has caused major confusion due to this wiki.
http://linuxtv.org/v4lwiki/index.php/ATI/AMD, in that they require different drivers.

Being a n00b n'all (and forever will be), I did not research the ins and outs of what needs to be done, otherwise I would have purchased a card well within linux installation success documentation.
However, based on google queries, this particular device appears to be compatible with kernels 2.4... and higher.

After a couple menuconfigs and compiles, I now have both the bttv and cx88xx compiled as modules. The wiki link above mentions TV Wonder driver as bttv and the HDTV Wonder as cx88.

I am currently running kernel 2.6.19.3.
Now my intention is for the device to accept input from a analog coax line. Provided HD would be a plus, I'd like to just get it working first, if two birds with one stone is possible then no complaints here.

So with both drivers compiled as modules, I started with xawtv. No result of coarse, I am thrown an error, 'no grabber device available'. With tvtime, 'cannot open device /dev/video0'.
Now at this particular point, there is no /dev/video0 present. I expected V4l would automatically create it for the tuner once detected by the driver. A manual creation with mknod.., both programs yield the same status/result.(Maybe they're not created correctly)

I suspect the issue is with V4l, however v4l is loaded. Thus, trail and error has brought me to perhaps conclude that the driver is responsible for detecting the card and making v4l create the char device /dev/videox.

Now, the kernel detects the card.
I didn't have a windows system to test its the card's operability(silly me), so installed xpsp2 on a alternate box just to see if plug 'n play kicked in with the found new hardware wizard. Success, OK confirmation the card is perhaps operable.

Now Pasting...
-------------
lspci | grep media
00:04.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link Controller Audio Device (rev 20)
02:05.0 Multimedia audio controller: Creative Labs SB Audigy LS
02:08.0 Multimedia controller: ATI Technologies Inc Unknown device 4d50

OK, card found by kernal. Card found by probe, great.

Loading the correct modules appears to be the issue, due to the commands listed.

dmesg grep | cx => throws nothing
dmesg grep | tuner=> throws nothing

lsmod | grep cx

cx88_blackbird 17796 0
firmware_class 10240 1 cx88_blackbird
cx2341x 11140 1 cx88_blackbird
cx8802 12420 1 cx88_blackbird
cx88_alsa 13064 0
cx8800 32396 1 cx88_blackbird
cx88xx 61732 4 cx88_blackbird,cx8802,cx88_alsa,cx8800
ir_common 29316 1 cx88xx
i2c_algo_bit 7816 1 cx88xx
video_buf 23300 5 cx88_blackbird,cx8802,cx88_alsa,cx8800,cx88xx
tveeprom 14352 1 cx88xx
compat_ioctl32 1536 1 cx8800
btcx_risc 5000 4 cx8802,cx88_alsa,cx8800,cx88xx
isofs 33080 1
radeon 109728 2
drm 69908 3 radeon
capability 5000 0
commoncap 7040 1 capability
xt_limit 3072 0
xt_tcpudp 3072 0
ipt_LOG 6528 0
iptable_filter 3200 0
ip_tables 13512 1 iptable_filter
x_tables 14980 4 xt_limit,xt_tcpudp,ipt_LOG,ip_tables
af_packet 20360 2
ipv6 224736 8
ntfs 93044 0
tuner 56488 0
videodev 25216 3 cx88_blackbird,cx8800,cx88xx
v4l1_compat 12292 2 cx8800,videodev
v4l2_common 21888 5 cx88_blackbird,cx2341x,cx8800,tuner,videodev
i2c_ali1535 6788 0
snd_intel8x0 31388 2
snd_ac97_codec 87968 1 snd_intel8x0
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm_oss 39680 1
snd_mixer_oss 16128 1 snd_pcm_oss
snd_pcm 72712 4 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21508 1 snd_pcm
i2c_ali15x3 7556 0
i2c_ali1563 6916 0
ehci_hcd 28552 0
ohci_hcd 19204 0
ide_cd 36896 1
cdrom 33568 1 ide_cd
k8temp 5632 0
snd 49668 9 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 8416 2 snd
8139cp 22144 0
8139too 25600 0
mii 5504 2 8139cp,8139too
i2c_core 21392 7 cx88xx,i2c_algo_bit,tveeprom,tuner,i2c_ali1535,i2c_ali15x3,i2c_ali1563
rtc 13108 0
usbcore 121604 3 ehci_hcd,ohci_hcd
snd_page_alloc 9864 2 snd_intel8x0,snd_pcm
psmouse 34824 0
pcspkr 3200 0
shpchp 34844 0
pci_hotplug 31032 1 shpchp
amd64_agp 12164 1
ali_agp 6784 0
agpgart 30256 3 drm,amd64_agp,ali_agp
unix 26160 576
ext3 122760 5
jbd 54696 1 ext3
ide_disk 15744 7
pata_ali 10504 0
libata 97300 1 pata_ali
scsi_mod 85636 1 libata
alim15x3 11404 0 [permanent]
generic 5508 0 [permanent]
ide_core 98908 4 ide_cd,ide_disk,alim15x3,generic
evdev 9472 1
mousedev 11040 1
fbcon 39456 71
tileblit 2688 1 fbcon
font 13312 1 fbcon
bitblit 5632 1 fbcon
fbcon_rotate 3200 1 bitblit
fbcon_cw 5632 1 fbcon_rotate
fbcon_ud 5888 1 fbcon_rotate
fbcon_ccw 5760 1 fbcon_rotate
softcursor 2432 4 bitblit,fbcon_cw,fbcon_ud,fbcon_ccw
giz2z:/home/ceddec# lsmod | grep cx
cx88_blackbird 17796 0
firmware_class 10240 1 cx88_blackbird
cx2341x 11140 1 cx88_blackbird
cx8802 12420 1 cx88_blackbird
cx88_alsa 13064 0
cx8800 32396 1 cx88_blackbird
cx88xx 61732 4 cx88_blackbird,cx8802,cx88_alsa,cx8800
ir_common 29316 1 cx88xx
i2c_algo_bit 7816 1 cx88xx
video_buf 23300 5 cx88_blackbird,cx8802,cx88_alsa,cx8800,cx88xx
tveeprom 14352 1 cx88xx
compat_ioctl32 1536 1 cx8800
btcx_risc 5000 4 cx8802,cx88_alsa,cx8800,cx88xx
videodev 25216 3 cx88_blackbird,cx8800,cx88xx
v4l1_compat 12292 2 cx8800,videodev
v4l2_common 21888 5 cx88_blackbird,cx2341x,cx8800,tuner,videodev
snd_pcm 72712 4 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd 49668 9 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
i2c_core 21392 7 cx88xx,i2c_algo_bit,tveeprom,tuner,i2c_ali1535,i2c_ali15x3,i2c_ali1563

Thats about all I have for now.
Please, if anyone can provide direction..anything, every reponse would be greatly appriciated.
Thanks



BTW.:.

cat /etc/modules

ide-cd
ide-detect
ide-disk
psmouse
videodev
cx8800.ko
cx88-alsa.ko
cx88-dvb.ko
cx88xx.ko
cx8802.ko
cx88-blackbird.ko
cx88-vp3054-i2c.ko
tuner
-----------
Yet there may be a discrepancy in /etc/modules.conf with
cat /etc/modules.conf | grep 81

alias char-major-10-181 toshiba
alias char-major-81 bttv
alias char-major-81 videodev
post-install snd-ad1816a /lib/alsa/modprobe-post-install snd-ad1816a
post-install snd-au8810 /lib/alsa/modprobe-post-install snd-au8810
post-install snd-cs4281 /lib/alsa/modprobe-post-install snd-cs4281
alias cs4281 off
alias i810_audio off
alias ad1816 off

-------------

It does show bttv as the driver responsible for char device 81 which was said earlier, not created upon boot and modprobe with the give /etc/modules file.

This may be the issue, but I have no clue on how to change this, if even need be.

I've only tried vi /etc/modules.conf
saving changes
depmod -a ; update-modules

lol, when I go back in to /etc/modules, the change is not there.

Ok, thats all I have.
Thank You

Last edited by giz2z; 03-06-2007 at 03:25 PM.
 
Old 03-07-2007, 12:30 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
modinfo is your friend

1. you probably need to set kernel options for the (tuner among other things) that's on the card.
2. You are loading a bunch of drivers with this card. You need to go through each driver and do a modinfo on each. (ex. modinfo bttv) Do them all, not just bttv. You will find there's probably some kernel options coordination required to get /dev/video0 to come up. Among other things, the tuner may need to be specified.

These are the steps I took to get my new usbpvr2 device (different device, but same process) to work.
 
  


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
ATI HDTV card & what software work with it? Sparky Linux - Hardware 5 10-24-2006 07:22 AM
HDTV and linux? bruno buys Linux - Software 2 03-01-2006 10:51 PM
Help installing ATI HDTV Wonder bluemonkey Linux - Hardware 4 01-02-2006 10:42 PM
HDTV Success browser Linux - Hardware 4 08-20-2005 05:21 PM
hdtv wonder canyon289 Linux - Hardware 0 10-17-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:09 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