Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Jul 2014, 03:30
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to set up AviaMedia DVB-T HD USB Puppy 4.3.1
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [37 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Thu 29 Jul 2010, 20:02    Post subject:  

gronos04 wrote:
@edoc

Was your dvb device plugged in before running the dmesg command?.
If it was then the kernel has no support for dvb


There were no "squawks".

Because there are no errors it means there is no support?

I can "see" it in HardInfo - USB Devices.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
gronos04

Joined: 30 Dec 2006
Posts: 54
Location: Radfordia QLD

PostPosted: Thu 29 Jul 2010, 21:13    Post subject:  

@edoc

Here is the 'dmesg | grep dvb' output for a USB digital tuner that I just plugged in without reboot.
You can see that it starts is in a cold state.
The modules are loaded ,it moves to warm sate and it is ready to go. You should be seeing something like this.

Quote:


dvb-usb: found a 'KWorld USB DVB-T TV Stick II (VS-DVB-T 395U)' in cold state, will try to load a firmware
usb 1-1: firmware: requesting dvb-usb-af9015.fw
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
dvb-usb: found a 'KWorld USB DVB-T TV Stick II (VS-DVB-T 395U)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: KWorld USB DVB-T TV Stick II (VS-DVB-T 395U) successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_af9015


This was from my laptop running Fluppy which is has the 'puppy version' 431.
If you don't seee anything from 'dmesg |grep dvb' then at least 3 things are possible.
No kernel support
Dead USB port
Dead DVB device
Try it on a 'vanilla' Puppy. TXZ_pup doesn't have kernel support for this type of device.

Warren
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Thu 29 Jul 2010, 21:27    Post subject:  

Is it definitely the kernel and not something that I can load - like all of the modules, etc intended for this device?

A plain vanilla Puppy won't handle some of the laptop hardware here, which is what led me to try Quirky (too quirky), Wary 030 (nope, but Barry is supposed to be releasing and now one soon, though he's helping a family member at the moment), Spup 040 (close but not quite - he's looking for someone to adopt that Pup), TXZ_450 (interesting, but if you are certain that the kernel is the problem then no), and Fatdog64-500 (only runs on the ACER but that could become the TV-laptop).

Any hope for Fatdog64-500?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Fri 30 Jul 2010, 08:26    Post subject:  

Ok edoc,

Good news and bad news.

I downloaded the spup 040 and made a frugal install to a usb stick.

The first problem was no gxine. I was able to get that from Puppy Package Manager. It had a lot of dependencies. Probably not all needed.

I then installed the other parts as per my first post. A quick look at dmesg showed I had a live AverMedia stick.When I tried it by using Gtb- DVB-T TV viewer in the start menu, the channels flashed up and disappeared and gxine opened but no video.

Something is not yet right there. I still have to investigate.

All was not lost. I brought up Gxine and clicked DVB. Eureka. Up came the channel that was at the top of channels.conf in the .xine directory. By shifting each channel to the top of the list I proved all channels worked.

It is possible to change channels from the command line in console but I have to go hunt up the commands.

The important thing is it does work and doesn't blow up spup. Now I will try to track down why the channel selector won't work.

I have tried this in my eeepc, the old laptop and my desktop box and it worked in all of them. All except the selector that is. I suspect a problem with puppy basic and GTK basic. Hope I can sort it.

Well edoc, I hope this is helpful. I'll continue to probe and see what I can find. If all else fails I guess it will be command line for channel changes.

Edit.
Just found I can change channels with the up down arrow keys or with scroll wheel on mouse.

John Lewis
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Sat 31 Jul 2010, 10:43    Post subject:  

dmesg generates many pages of output, not sure if it is buried in there somewhere but proceeded just the same! Smile

Quote:
5. Download and untar dvbt-scanaid-0.03.tar.bz2 to a suitable location. I put it in root.


I ran #5 in /mnt/home/Savestuff/downloads/avertv as I try to keep as much stuff out of root as possible - the theory is it helps me to be less confused when I am looking for stuff. Is that OK?

Quote:
6. Run scanaid to create a text file of channel data.


This pops-up a bunch of options, was I supposed to accept the defaults all the way through at this point?

Quote:
7. Run this command in terminal:
cd dvbt-scanaid-0.03
./Create_Scanning_Table
scan Scanlist.txt >/root/.xine/channels.conf


/root/.xine/channels.conf does not exist.

In fact I did a Pfiles search and "xine" doesn't exist.

Do I need to just create that folder?

Does it need to be in that precise location?

Do I need to first load xine?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sun 01 Aug 2010, 07:42    Post subject:  

Hi edoc,
after you plug in the stick, wait a few seconds and then type dmesg in the console. At the bottom of dmesg you should see that the stick is live. Something like this. This is from Mepis as that's what I'm using at the moment but Puppy will be similar.

dvb-usb: found a 'AverMedia AVerTV Volar Black HD (A850)' in cold state, will try to load a firmware
usb 1-3: firmware: requesting dvb-usb-af9015.fw
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
dvb-usb: found a 'AverMedia AVerTV Volar Black HD (A850)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (AverMedia AVerTV Volar Black HD (A850))
af9013: firmware version:4.95.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: AverMedia AVerTV Volar Black HD (A850) successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_af9015

Now as regards xine. Have you installed gxine yet? It doesn't appear to be in spup but can be installed via the install icon on the desktop.

Note also that it is .xine that is (dot)xine. There should be a hidden directory .xine in root. Click the eye in the menu to see the hidden files. You need gxine installed for it to be there.

John Lewis
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Sun 01 Aug 2010, 17:49    Post subject:  

Xine complained of tons of missing dependencies but when called in Terminal it opened up fine.

However, scanaid is not working ....

Quote:
# ./Create_Scanning_Table
Do you want to try every possible bandwidth/FEC combination possible? [n]
Enter bandwidth to scan [8MHz]:
Enter FEC to scan [2/3]:
Do you want all channels to be scanned? [n]

Now please specify the channels by number, hit enter to end list.

Channel number:

Thank you very much for using dvbt-scanaid. A list of channels you may feed to 'scan'
has been generated in the file Scanlist.txt.
# scan Scanlist.txt >/root/.xine/channels.conf
scanning Scanlist.txt
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2273: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 6 No such device or address

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Tue 03 Aug 2010, 00:56    Post subject:  

Ok edoc,

I got a new USB stick. The old one was causing problems. This is being written on spup and I have the AverMedia card working perfectly. I'm using frugal install on the stick.

1) Go to Install>Package Manager.
Choose Woof and Multimedia.
Choose gxine-0.5.9-1-p4 and click Examine Dependencies.
Click Download-and-Install selected packages. Choose to use ibiblio. You will download and install the libs and Gxine.
(I used ibiblio as some of the other repos fail.)
You should get a successful install. Trim the fat if you wish.

Note Gxine doesn't show in menu but that doesn't matter. Check for gxine in teminal if you wish.

Now to install the rest.

2) Copy dvb-usb-af9015.fw to lib > firmware.
3) Install linuxtv-DVB-apps-1.1.1.pet.
4) In terminal run MAKEDEV-DVB.sh

Now plug in AverMedia stick. If already in then unplug and replug.
In terminal run dmesg. You should see at the bottom that the stick is working.

5) Install GtkBasic 003 pet
6) Install PuppyBasic-2.6.pet
7) Install the Gtb-DVB.pet
Cool Untar dvbt-scanaid-0.03.tar.bz to a suitable location. I used root.
9) Run in terminal
cd dvbt-scanaid-0.03

then

./Create_Scanning_Table

I answered yes to all

Then

scan Scanlist.txt >/root/.xine/channels.conf

(This takes for ever.) If you are lucky you will find channels.conf in the .xine directory. If channels.conf is empty then it never found any channels.

If all is well go to menu and click Gtb-DVBT TV Viewer. You'll know if it works.

Part 2 of this I will suggest what to do if scanaid fails.

Heres mine running.

John Lewis
screen.jpg
Description  AverMedia running in spup
jpg

 Download 
Filename  screen.jpg 
Filesize  118.31 KB 
Downloaded  330 Time(s) 

Last edited by John Lewis on Sun 15 Aug 2010, 10:59; edited 1 time in total
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Tue 03 Aug 2010, 02:21    Post subject:  

Part 2

If the Scanaid doesn't work it is likely that you are either not getting enough signal or the channels and frequencies listed in Channel-Frequency.txt do not include your TV stations. This was the case for me.

If you look in ~/my-applications you will find a swag of pre made files. If yours are there simply copy and paste to your Scanaid directory. Rename to Scanlist.txt and then run .
scan Scanlist.txt >/root/.xine/channels.conf from the Scanaid directory.

In my case for the ABC channels here I had to look up their details on the net. I then copied one of the above files that was nearest to mine and edited the entries to match what I'd found.

John Lewis
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Wed 04 Aug 2010, 03:36    Post subject:  

I should have included this in my last post. This is the ScanList.txt I made for my local channels as Scanaid didn't cover them . Also a copy of the resulting channels.conf from the.xine directory created when you run the scan with
scan Scanlist.txt >/root/.xine/channels.conf

Please let me know how you get on edoc. Hope you didn't mind the probably too detailed explanation.

John Lewis
channels.conf.tar.gz
Description 
gz

 Download 
Filename  channels.conf.tar.gz 
Filesize  402 Bytes 
Downloaded  305 Time(s) 
ScanList.txt.tar.gz
Description 
gz

 Download 
Filename  ScanList.txt.tar.gz 
Filesize  270 Bytes 
Downloaded  300 Time(s) 
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Wed 04 Aug 2010, 22:42    Post subject:  

Sorry for the delay - I am hoping to get back to testing these tomorrow. Sure appreciate all of your efforts!

My wife was away visiting her mom in the hospital and we've been making do without her here ... just picked her up at the airport ... the Mr. Mom thing really messes with the geek-time! Smile

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Thu 05 Aug 2010, 22:44    Post subject:  

John Lewis wrote:
Now to install the rest.

2) Copy dvb-usb-af9015.fw to lib > firmware.
3) Install linux-apps-1.1.1.pet.
4) In terminal run MAKEDEV-DVB.sh

John Lewis


Is this supposed to be

"3) Install linuxtv-DVB-apps-1.1.1.pet."

I cannot find a "linux-apps-1.1.1.pet." anywhere.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Thu 05 Aug 2010, 22:50    Post subject:  

Is this expected output?

Quote:
# MAKEDEV-DVB.sh
Creating DVB devices in /dev/dvb/adapter0
chown: unknown user/group root:video
Creating DVB devices in /dev/dvb/adapter1
chown: unknown user/group root:video
Creating DVB devices in /dev/dvb/adapter2
chown: unknown user/group root:video
Creating DVB devices in /dev/dvb/adapter3
chown: unknown user/group root:video
#


And is this expected for "dmesg" after pulling and replugging the AverMedia stick?

Quote:
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ehci_hcd and address 3


And then this?

Quote:
# scan Scanlist.txt >/root/.xine/channels.conf
scanning Scanlist.txt
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2273: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 6 No such device or address

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sun 15 Aug 2010, 09:50    Post subject:  

[quote="edoc"]
John Lewis wrote:
Now to install the rest.


Is this supposed to be

"3) Install linuxtv-DVB-apps-1.1.1.pet."

I cannot find a "linux-apps-1.1.1.pet." anywhere.


Sorry I've not got back to you sooner.

Yes that is correct. It should have been as you say. I missed out "DVB" .

John
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sun 15 Aug 2010, 10:00    Post subject:  

If MAKEDEV-DVB.sh didn't create the device nodes for some reason. I think that may have caused the fatal when running scanlist.

And is this expected for "dmesg" after pulling and replugging the AverMedia stick
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ehci_hcd and address 3

That seems about right but it should mention a "live" device and quite a bit more..

I'll need to get out of this distro and start spup and have a look.

I'll get back to you. Sorry for the delay.

John

Last edited by John Lewis on Sun 15 Aug 2010, 10:43; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [37 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1026s ][ Queries: 12 (0.0104s) ][ GZIP on ]