LinuxQuestions.org
Visit Jeremy's Blog.
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 11-01-2006, 12:17 PM   #1
dlanor78
LQ Newbie
 
Registered: Feb 2003
Posts: 16

Rep: Reputation: 0
Dazzle DVD Recorder


Does anyone know if the Dazzle dvd recorder can be made to work in linux? I primarily use (k)ubuntu.
 
Old 11-05-2006, 02:46 AM   #2
dlanor78
LQ Newbie
 
Registered: Feb 2003
Posts: 16

Original Poster
Rep: Reputation: 0
usbview in linux calls the dazzle a dvc100. Anyone have any ideas now?
 
Old 02-02-2007, 12:36 AM   #3
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
DVC100 is running...

Quote:
Originally Posted by dlanor78
usbview in linux calls the dazzle a dvc100. Anyone have any ideas now?
I have read a lot about, but found not the complete Solution but if have had Sucess:

Read in different Forums:

module em28xx should support DVC100 ( Card Type 41 ) but module does not recognize Card.

Solution !!! But a Hack !!! -> I have modified the Sources from the em88xx and changed the ID - String
of the Entry in /usr/src/linux/drivers/video/em88xx.cards from 0x2304, 0x0207 to 0x2304, 0x021a.

-> recompile the Kernel

With this mod the Module starts the DVC100 ( thinking it is an DVC90 ).

- Tested a bit -> xawtv4 works, v4l2-ctrl too, Mencoder also
Kaffeine/Xine/VLC NOT ( for now )

I have recorded some Stuff for Tests ( on console with mencoder ) - all ok.

Audio seems to work, not tested for now

Switching of Inputs works to ( comp/svideo )

I will inform the Programmers of the Module, it should be no Problem to integrate this Stuff.

Greeting from Lübeck ( Germany )

Bernd
 
Old 02-03-2007, 12:33 PM   #4
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
More Info

> Audio seems to work, not tested for now

becasuse of that my Camera hasn´t got a Audio Output i tested Audio now with
added Signal:

after a lot of testing i found out how to tell mencoder to use the dvc100 Audioinput
for recording, automatic selection does not work in this environment.

following: Syntax for mencoder to record 10 secs from the Dazzle, the adevice /dev/dsp2 is set to the Dazzle Audioinput - Audiocard #2 ( first Terratec ( #0 ), second onboard (#1)

edit this for your hardware...

sudo nice --10 mencoder tv:// -v -tv driver=v4l2:width=720:height=576:input=0:device=/dev/video0:audiorate=44100:immediatemode=0utfmt=yv12:forceaudio:adevice=/dev/dsp2 -o outfile.avi -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -noautoexpand -oac pcm -endpos 00:00:10

following the Hack of the em28xx-cards.c source ( ( modified ) Part of the source )


[EM2820_BOARD_PINNACLE_DVC_90] = {
.name = "Pinnacle Dazzle DVC 100",
.vchannels = 3,
.norm = VIDEO_MODE_PAL,
.has_tuner = 0,
.decoder = EM28XX_SAA7113,
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = SAA7115_COMPOSITE0,
.amux = 1,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = SAA7115_SVIDEO3,
.amux = 1,
}},
},
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);

/* table of devices that work with this driver */
struct usb_device_id em28xx_id_table [] = {
{ USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN },
{ USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_MSI_VOX_USB_2 },
{ USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 },
{ USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
{ USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
{ USB_DEVICE(0x2304, 0x021a), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
{ },
};

I hope this could help someone.


also tested: TVTime is a nice Programm to view, how to set this for the right Audioinput
is work in Progress... .



Greeting from Lübeck ( Germany )

Bernd[/QUOTE]
 
Old 02-07-2007, 11:39 PM   #5
dlanor78
LQ Newbie
 
Registered: Feb 2003
Posts: 16

Original Poster
Rep: Reputation: 0
This is exciting news bernd. Please keep us updated on any progress you make in the future
 
Old 02-10-2007, 01:22 PM   #6
ronas
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Hello!

I am new here and I am thinking of purchasing the Dazzle DVD Recorder..
From what I understand, I need to hack the em28xx source to make it recognize the Dazzle:

Quote:
.../drivers/video/em88xx.cards
-> Look for "0x2304, 0x0207" replace with "0x2304, 0x021a"
And to make the sound to work, I need to append this to the em88xx-cards source:
Quote:
[EM2820_BOARD_PINNACLE_DVC_90] = {
.name = "Pinnacle Dazzle DVC 100",
.vchannels = 3,
.norm = VIDEO_MODE_PAL,
.has_tuner = 0,
.decoder = EM28XX_SAA7113,
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = SAA7115_COMPOSITE0,
.amux = 1,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = SAA7115_SVIDEO3,
.amux = 1,
}},
},
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);

/* table of devices that work with this driver */
struct usb_device_id em28xx_id_table [] = {
{ USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN },
{ USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_MSI_VOX_USB_2 },
{ USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 },
{ USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
{ USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
{ USB_DEVICE(0x2304, 0x021a), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
{ },
};
Is this correct?
Thanks in advance!

Last edited by ronas; 02-10-2007 at 01:24 PM.
 
Old 02-10-2007, 02:54 PM   #7
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
>
Quote:
Originally Posted by ronas
Hello!
>
>I am new here and I am thinking of purchasing the Dazzle DVD Recorder..
>From what I understand, I need to hack the em28xx source to make it recognize the Dazzle:

Yes !

>
>
>And to make the sound to work, I need to append this to the em88xx-cards source:

This Part is not correct - the other Stuff in my Text is Part of the em88xx source,
i have appended this only for show you the right Position of the Modifikation.

>
>Is this correct?
>Thanks in advance!
You only have to replace the id 0x0207 to 0x021a in the source of the em88xx !
( And recompile... )


Audio will work too after this, you only have to set the Audiodevice correctly, if
you start tvtime for example, you will have the problem that tvtime finds the Dazzle
as an v4l2 device, but the Soundinput of the Dazzle will not be the Input for tvtime.
- As read on the Homepage of tvtime: you could set a pipeline for this.
( If you would set the Audiocard for tvtime to the Dazzle you will not get any Output ;-)
because the Dazzle does not have any AudioOutput ... )

The Programmer should insert the Support for different Soundcards for Input and Output.

But: There is not need for this in Videorecording with mencoder - only use/vary
the Bashfile - shown in an older Mail from me.

I have recorded Hours of my old Videos - without any Problems ( only the limits of
my Harddisk ... )


Best Regards Bernd Stuht
 
Old 02-11-2007, 03:25 PM   #8
ronas
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Thank you for the reply!
I think I didn't understand this right.. I know how to build the kernel so no problems there, but I don't know how my em88xx sources should look like..

If it isn't much asked: Can you please post your em88xx-cards.c file?
Thanks!
 
Old 02-12-2007, 11:43 AM   #9
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
You really only have to replace the id String with your favorite Editor from 0x0207 to 0x021a !

Example with MC:

open em28xx-cards.c with MC, press F7 for searching, search for 0x0207, replace this with 0x021a
Press F2 for save and recompile ...

after reboot with new Kernel and new module, the System is thinking that the DVC100 is an DVC90.

Shorter Version: if Kernel Source/.config is the same then running Kernel an make / make_modules
should build all, copying of the new em28xx.ko to lib/modules/kernel(and_so_on) replaces the
Module by Hand, if the running Kernel accept this...
You would not have to install the complete Kernel, and could try the Module without reboot.

No Warrenty for all this !

But all should work... .

If i send you my em28xx-cards.c Problems with different Versions could appear.

And i would need your E-mail... .

Regards Bernd
 
Old 02-13-2007, 08:12 AM   #10
ronas
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Ok thanks anyway
 
Old 02-14-2007, 02:57 PM   #11
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
I Don´t like such style... if this all is too "difficult":

Wait for the new Kernel releases, the Dazzle DVC100 will be supported by
default in the next Future.

Also there is a Way to assign pci-ids for the Kernelmoduleassignments.
I read about it, but haven´t had Time to test it.

... Problem solved - sign and clear ;-)

Bernd
 
Old 02-15-2007, 02:27 PM   #12
ronas
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by bernd
I Don´t like such style... if this all is too "difficult"
Is it much asked to be n00b-friendly as you might say?
And from what kernel versions are you speaking? I'm using 2.6.20, should I wait for 2.6.21 or what?
 
Old 09-08-2007, 05:43 AM   #13
dlanor78
LQ Newbie
 
Registered: Feb 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I know this is an old thread now, but I finally got around to recompiling the kernel and now have video working great (in tvtime at least...xawtv just crashes on me).

Now I was hoping someone could post some examples of how to use mencoder to record from the dazzle with sound working. I keep messing up when trying it so it seems I need a place to start please.

When I say messing up I mean I can't get the sound to work at all. I've tried /dev/dsp2 for the adevice but I keep getting no audio. I've also /dev/dsp0-5 with no luck. I guess it could be higher than that but I found it unlikely. Has anyone else been able to get this to work with audio?

Also, from the example earlier I see that the output is in .avi format. Is it possible to have it output to mpeg2 dvd ready format?

Last edited by dlanor78; 09-15-2007 at 10:19 PM.
 
Old 09-18-2007, 05:11 PM   #14
iOuZo
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Thumbs up thanks bernd

that hack worked great. i can see video in tvtime i did not check audio!
thanks
 
Old 09-19-2007, 12:15 AM   #15
bernd
LQ Newbie
 
Registered: Feb 2007
Location: Luebeck - Germany
Distribution: Open Suse & Debian & > Knoppix
Posts: 26

Rep: Reputation: 0
Ok - old Thread but still active :)

Audio works too on my System - used all for longer Time.

Attached script used with memencoder - edit for your special Needings.
Take a look on Your Devices - i have got 2 Soundcards - and the Dazzle, so /dev/dsp2
is the Audio Input from the Dazzle on my System - this could differ.

It Produces large Files, you should compress it in a second pass.

Greetings - Bernd

#!/bin/bash

sudo nice --10 mencoder tv:// -v -tv driver=v4l2:width=720:height=576:input=0:device=/dev/video0:audiorate=44100:immediatemode=0utfmt=rgb24:forceaudio:adevice=/dev/dsp2 -o outfile.avi -noskip -noslices -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -noautoexpand -oac pcm -endpos 00:00:10

Last edited by bernd; 09-19-2007 at 12:17 AM.
 
  


Reply

Tags
dvd



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
I can't configure my cd-dvd recorder as a recorder!!! slamd64 Lier Linux - Software 4 10-26-2006 11:40 PM
[SOLVED] Suse 9.3 fail mounting dvd and dvd recorder enrico_dvchp Linux - Software 2 07-07-2006 11:48 AM
DVD to DVD recorder through shell bluedragon3710 Linux - Software 4 03-20-2006 06:31 PM
Cannot Play back DVD on PC recorded from a DVD recorder shazam75 Linux - Software 2 12-29-2005 03:11 AM
DVD and Recorder not working... selassie irie Linux - Newbie 11 06-03-2004 07:33 PM

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

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