/srv/irclogs.ubuntu.com/2007/07/17/#ubuntu-mythtv.txt

=== bigcats_fl [n=joe813@165-238.207-68.tampabay.res.rr.com] has joined #ubuntu-mythtv
bigcats_flvnc config question?  is there /etc file, or under X11??12:35
superm1hi bigcats_fl12:36
superm1which config file do you mean?12:36
superm1to turn on VNC for the X session?12:36
lagasuperm1: no, trunk packages are not fully merged yet. i'm still haing trouble with debconf stuff but i haven't investigated further yet.12:59
lagagotta go now :)12:59
superm1laga, alright12:59
=== Tari_ [n=Tari@CPE-72-133-204-1.wi.res.rr.com] has joined #ubuntu-mythtv
foxxbuntusuperm1, hows portland?03:03
=== foxbuntu [n=nick@12-216-24-171.client.mchsi.com] has joined #ubuntu-mythtv
foxbuntusuperm1, you there?03:31
=== foxbuntu [n=nick@12-216-24-171.client.mchsi.com] has joined #ubuntu-mythtv
foxbuntusuperm1, ...here now?03:47
=== superm1_ [n=superm1@ubuntu/member/superm1] has joined #ubuntu-mythtv
foxbuntuhey superm1_03:48
superm1_hi foxbuntu03:48
foxbuntuhows the coast?03:48
superm1_coast?03:49
superm1_I'm not there yet03:49
foxbuntuOh, I thought you were flying out there friday03:49
superm1_I am03:49
superm1_its not friday yet03:49
foxbuntuthis friday03:49
foxbuntuI thought it was last friday03:49
superm1_Nope03:49
foxbuntuk03:50
foxbuntuhey03:50
foxbuntudoes Xgl have its own package or do i have to do some crazy crap to get it to work03:50
superm1_imo it's not worth the effort to do things with Xgl03:51
superm1_because too much other stuff breaks03:51
superm1_when you need to work around things03:51
foxbuntuhmm03:51
superm1_i had a howto written many months ago how to get around every issue i ran into03:51
foxbuntuI have a package i wanted to try out but it depends on Compiz which needs Xgl03:51
superm1_compiz fusion doesn't need "xgl"03:52
superm1_it just needs support for texture from pixmap03:52
superm1_which you can get if you use the open source ati driver03:52
foxbuntuso what do I have to do other than switch to vesa?03:53
superm1_switch to the 'ati' driver03:54
superm1_if its supported by your card03:54
superm1_rather than fglrx03:54
foxbuntuoh03:54
superm1_what card do you have?03:54
foxbuntux60003:54
superm1_oh well you may not be supported on the open source one then.03:55
foxbuntuhmm03:56
foxbuntueh...gonna give it a try03:59
foxbuntubrb03:59
=== foxbuntu [n=nick@12-216-24-171.client.mchsi.com] has joined #ubuntu-mythtv
foxbuntusuperm1, http://paste.ubuntu-nl.org/30176/04:01
=== rogue780 thinks XGL is spawn of satan
foxbuntuthats the output when I run compiz04:01
foxbuntuthe ATI driver does seem to work however04:02
foxbuntusuperm1_, see above04:02
rogue780foxbuntu, you won't get compiz or beryl or compiz fusion to work with ATI. it won't happen. let it go.04:02
foxbuntuNO...04:03
foxbuntulol04:03
foxbuntu:P04:03
rogue780I tried for months...although it was for my laptop with a ati mobile X130004:03
foxbuntuI had beryl working on this machine at one time04:03
foxbuntubut the was Edgy04:04
superm1_foxbuntu, really it's not worth the trouble04:04
superm1_i'm telling you04:04
foxbuntuyour raining on my parade here04:05
foxbuntuI want to install AWN04:05
rogue780I want to install Battlefield 2142 and Civilization IV...but hey, linux ain't perfect04:06
rogue780oh and Supreme commander (I love games....only reason to keep windows around)04:06
=== foxbuntu thinks rogue780 needs a swift kick in the arse for being a giant smart ass
=== rogue780 wants foxbuntu to take a number
rogue780;)04:07
=== foxbuntu is one step ahead, number 4098
superm1_foxbuntu, i saw awn today too, and yea it looks neat - but still not worth the effort with making Xgl and all the hacks associated with it work04:12
foxbuntusuperm1_, you know me though, I am a gluten for punishment04:19
foxbuntuanyhow04:22
foxbuntudid you catch my blueprint on add'l ati and nvidia drivers?04:23
superm1_no i didn't04:23
superm1_link?04:23
foxbuntuhttps://blueprints.launchpad.net/mythbuntu/+spec/video-card-detection-updates04:24
foxbuntuits really just a thought atm04:24
superm1_well that's really not something mythbuntu specific04:24
superm1_its a ubuntu thing04:24
superm1_and newer drivers are included in gutsy04:25
foxbuntubut the driver packages from Nvidia/Ati resolve the issue04:25
superm1_what are you referring to04:25
foxbuntuwell one user last night has a brand new board with HDMI out and tried mythbuntu but failed becuase he didn't know how to install the driver package from Nvidia on there, which he thought that it would detect it04:27
=== Tari__ [n=Tari@CPE-72-133-204-1.wi.res.rr.com] has joined #ubuntu-mythtv
superm1_what driver supports hdmi?04:27
superm1_and what driver is in ubuntu gutsy?04:27
foxbuntuthe new NVIDIA package04:27
superm1_not just "new"04:27
superm1_number04:27
superm1_because there are "new" driver in gutsy, but perhaps you are referring to a beta driver04:28
foxbuntuwell I didnt get a version number but I will go find it04:29
superm1_the "newest" driver is this: http://www.nvidia.com/object/linux_display_ia32_100.14.11%20.html04:29
superm1_and it claims nothing about HDMI04:29
superm1_and i dont see HDMI in release highlights for the previous 4 or so04:29
superm1_before that04:29
foxbuntulet me figure out which one04:31
foxbuntuoh, superm1_ I bought a truck today04:31
foxbuntusuperm1_, the Ati card the guy was refering to is the ATI Xpress 125004:33
superm1_the driver 8.37.6 is included in gutsy04:34
foxbuntuhmm04:34
superm1_the latest is 8.38.604:34
superm1_which does add support for the xpress 1200 series04:34
foxbuntumaybe he was using the 7.04 ISO04:34
foxbuntuoh so04:35
foxbuntuit does need a different package04:35
superm1_well it's just a matter of when ubuntu upgrades the restricted drivers package04:36
foxbuntuok04:36
foxbuntuwas just a thought04:36
superm1_well i mean the only problem is04:36
foxbuntubut FYI04:37
foxbuntu NVIDIA GeForce 7050 PV and nForce 630a04:37
foxbuntuFeaturing NVIDIA PureVideo technology with HDMI, deliver 20% better HD video quality along with best-in-class 3D performance.04:37
superm1_that if you step on the feet of ubuntu04:37
superm1_then you have to recompile drivers after every kernel upgrade04:37
foxbuntuthats what the new Nvidia driver adds support for04:37
superm1_well purevideo isn't support in linux04:37
superm1_so i'm not sure where you're reading that04:37
foxbuntustrange though, he claimed to have it working with the package from NVidia04:38
superm1_hdmi probably04:38
superm1_but not purevideo04:38
foxbuntuwell HDMI yes04:38
superm1_hdmi is indeed just dvi with audio on the cable04:38
foxbunturight04:38
foxbuntubut that GPU and chipset are the added features of the new NVidia driver04:39
superm1_again, the mythbuntu blueprints aren't the place for that though.  Ubuntu kernel team will update them04:40
foxbuntuok04:41
foxbuntuwasn't sure where to drop it so I just dropped it there for now04:41
foxbuntuand you can nuke it since its improper04:42
foxbunturb04:42
foxbuntubrb04:42
=== foxbuntu returns
superm1_back in a bit04:47
=== Tari_ [n=Tari@mke-66-97-120-89.milwpc.com] has joined #ubuntu-mythtv
=== Starting logfile irclogs/ubuntu-mythtv.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mythtv
=== Topic for #ubuntu-mythtv: "Welcome to #ubuntu-mythtv:: Mythbuntu 7.10 Alpha 2: http://www.mythbuntu.org :: Paste logs @ http://paste.ubuntu-nl.org :: See our wiki for setting up and troubleshooting: https://help.ubuntu.com/community/MythTV"
=== Topic (#ubuntu-mythtv): set by superm1 at Tue Jul 3 00:45:59 2007
=== OpenMedia [n=sellis@203.163.71.197] has joined #ubuntu-mythtv
foxbuntuGAA05:59
foxbuntuparsing is driving me nutz05:59
=== superm1_ [n=superm1@ubuntu/member/superm1] has joined #ubuntu-mythtv
foxbuntuanyone here good with pyparsing?06:00
=== imbrandon [n=brandon@ubuntu/member/pdpc.active.imbrandon] has joined #ubuntu-mythtv
=== Kenz1 [n=jesper@4306ds2-ar.0.fullrate.dk] has joined #ubuntu-mythtv
=== varka [n=varkatop@p54A5FF97.dip.t-dialin.net] has joined #ubuntu-mythtv
=== Hugol1 [n=jo@217.168.3.246] has joined #ubuntu-mythtv
=== DaveMorris [n=dave@cubert.itri.bton.ac.uk] has joined #ubuntu-mythtv
=== Hugolp [n=jo@217.168.3.246] has joined #ubuntu-mythtv
rogue780#photography03:22
=== Tari__ [n=Tari@mke-66-97-117-193.milwpc.com] has joined #ubuntu-mythtv
=== claydoh [n=claydoh@66-252-49-239.dyn-adsl.midmaine.net] has joined #ubuntu-mythtv
=== claydoh_ [n=claydoh@66-252-58-82.dyn-adsl.midmaine.net] has joined #ubuntu-mythtv
=== Hugolp [n=jo@217.168.3.246] has joined #ubuntu-mythtv
superm1_keescook, you here?04:56
keescooksuperm1_: yup, but in a meeting.  what's up?05:01
superm1_keescook, i was just looking to see if you could look over a debdiff of something in main05:02
superm1_no rush though.05:02
superm1_later on you can take a look, bug #12656505:02
ubotuLaunchpad bug 126565 in base-files "LGPL v3 is not included" [Undecided,Confirmed]  https://launchpad.net/bugs/12656505:02
=== claydoh_ [n=claydoh@66-252-58-82.dyn-adsl.midmaine.net] has joined #ubuntu-mythtv
keescooksuperm1_: cool, looks good.  I'll upload it shortly...05:12
=== foxbuntu [n=nick@67-41-244-37.desm.qwest.net] has joined #ubuntu-mythtv
=== Tari_ [n=Tari@CPE-72-133-204-1.wi.res.rr.com] has joined #ubuntu-mythtv
=== jono [n=jono@ubuntu/member/jono] has joined #ubuntu-mythtv
=== Kenzu [n=jesper@4306ds2-ar.0.fullrate.dk] has joined #ubuntu-mythtv
Kenzuhey...05:49
superm1Hey Kenzu05:49
KenzuAnyone with an imon remote?05:49
Kenzuimon pad05:49
KenzuThe usbstick install and my epia m1000 is not happy.... It's slow and chuppy i picture when caching or loading on usb05:51
superm1thats a shame :(05:52
superm1Kenzu, you were the one with the bug regarding the name of the usbstick right?05:52
KenzuSo I think maybe a dedicated usb install/ setup would be better...05:52
Kenzufor now Ill go back to archlinux/larch for my epia and usb stick05:53
KenzuYes that was me05:53
superm1Well that bug has been resolved - such things shouldn't happen anymore05:53
superm1as for the slow speed - can you run hdparm on a usbstick possibly?05:54
Kenzusuperm1: yeah I could se that in my mailboks05:54
Kenzusuperm1: booting it up now...05:56
Kenzusuperm1: still booting05:58
superm1haha05:59
superm1i see it's quite slow then :)05:59
Kenzusuperm1: now mythfrontend is starting06:00
Kenzubut I think the choppy video is because of missing dri06:01
Kenzuand xvmc06:01
Kenzusuperm1: hdparm options?06:02
Kenzu Timing buffered disk reads:   46 MB in  3.06 seconds =  15.03 MB/sec06:03
superm1use hdparm to query the info about the drive06:03
Kenzusetup@epia-frontend:~$ hdparm /dev/sda106:03
Kenzu/dev/sda1:06:03
Kenzu readonly      =  0 (off)06:03
Kenzu readahead     = 256 (on)06:03
Kenzu geometry      = 246/255/63, sectors = 192717, start = 6306:03
superm1do it on /dev/sda06:04
superm1not just sda106:04
Kenzu/dev/sda:06:05
Kenzu readonly      =  0 (off)06:05
Kenzu readahead     = 256 (on)06:05
Kenzu geometry      = 246/255/63, sectors = 3963904, start = 006:05
superm1oh still didn't say what i was hoping - okay then there isn't much to tweak with hdparm on a usbstick06:06
superm1if you'd like to check the info about dri06:07
superm1glxinfo | grep direct06:07
Kenzuon larch it a readonly filesystem and it's compressed = much better speed06:07
superm1well again, my autostart stuff that will allow you to boot from cd and keep a configuration file on the usbstick may be a modest improvement then, but i'm still working on it06:08
KenzuI think we have to think about the usbstick as a livecd06:08
Kenzuso if we put the livecd iso on the stick and make 3 partitions, one for boot, one for the iso and one for session saving06:09
superm1why would that be faster though?06:09
Kenzubecause of the readonly compressed filesystem on the livecd06:10
superm1i would think decompressing squashfs on the fly to be much slower06:10
superm1my example at hand06:10
Kenzuand it will save your usbstick for a lot of write time06:10
superm1in a virtual machine06:10
superm1if i have an iso image mounted06:11
superm1and i have a virtual hard drive mounted06:11
superm1the boot time to the virtual hard drive is much much faster after a fresh mythbuntu install versus a live iso boot06:11
superm1same content on both of them06:11
superm1 but the live iso has to decompress a large read only file system06:11
KenzuI se your point... but againg larch is much faster than mythbuntu install on usbstick06:12
Kenzuand the usbstick mythbuntu is on has better readspeed than the 512 larch is on06:13
Kenzuso I don't now how they do it in larch06:13
superm1well perhaps you can do an experiment then -06:13
superm1with the iso sitting on the stick06:14
superm1and enabling a partition for writing with casperfs06:14
superm1I'm not sure of the technical requirements for it - but it would be a worthwhile experiment if you could sort it out06:14
superm1and would provide a sure answer as to the improvement seen06:15
Kenzubut the iso is not going to be like an iso file on the stick? but unpacked06:15
superm1well you can unpack it, and allow it to be readonly and such06:15
superm1i'm still not sure the proper way to compress it06:16
superm1and allow it to be bootable06:16
tgm4883jumping in on this, are we just trying to stick the live disk on a bootable usb key?06:16
Kenzuhttps://help.ubuntu.com/community/Installation/FromUSBStick?highlight=%28usbstick%2906:17
Kenzuthats the way to go I think06:18
Kenzuhttp://www.pendrivelinux.com/2007/01/25/usb-x-ubuntu-610 or this06:18
tgm4883i dont think that will make it writable though, if thats what your after06:19
Kenzuno... but it will save your settings on the casper partition?06:19
Kenzubut please take a look at this http://four.fsphost.com/gradgrind/dev3A/index.html because that has proven to be fast on my epia06:20
superm1Well if you expand upon that you can make another partition06:22
superm1with a casperfs06:22
superm1and allow it to be appendable06:22
superm1there is a boot parameter to pass to the kernel06:22
superm1that does this06:22
tgm4883https://wiki.ubuntu.com/LiveUsbPendrivePersistent06:24
=== tgm4883_laptop [n=tgm4883@c-67-160-174-176.hsd1.or.comcast.net] has joined #ubuntu-mythtv
tgm4883i haven't done it since edgy though, and even that was a usb hard drive06:25
tgm4883_laptopare we looking for speed or noise reduction?06:26
superm1tgm4883_laptop, it's for a mythbuntu install on a usb drive06:27
superm1rather than hard drive06:27
superm1its slow for him06:27
Kenzupower saving and noise.... the frontend is pasive cooled and is going to be always on in my bedroom06:27
tgm4883_laptopright, and for writing purposes, the install on the usb drive has to be in persistant mode06:27
superm1he managed to achieve an install to the pen drive06:27
superm1from ubiquity06:27
Kenzujust to save my usbsticks live06:27
Kenzulife06:28
tgm4883_laptopso the question is, is it better to install the system to the usb drive or have a live cd on a usb drive?06:29
tgm4883_laptopor are we just working on bugs06:30
superm1well we're trying to brainstorm the best install method06:30
superm1when using a usbstick06:30
superm1my current mythbuntu work is on something that will provide one solution to this problem via storing a configuration file on a usbstick06:30
superm1but doing an entire boot from cd06:30
tgm4883_laptopwell the easiest (assuming it works) would be to install to the usb stick as sticking a live cd on a usb disk is more work06:31
tgm4883_laptophow big is the live cd frontend market?06:31
superm1well currently i'd say very small - but if its more feasible to do so via the method i'm writing06:31
superm1it might grow06:31
superm1then you can bring a live cd and usbstick around with you and boot a frontend on the fly06:32
superm1say a windows only box that you wanted to run myth on for a bit06:32
superm1Kenzu is proposing an alternate partitioning scheme instead06:32
superm1where the contents of the filesystem are stored on a read only partition06:33
superm1and then you have a casperfs partition that changes are written to06:33
Kenzuif it could be possible to make it fit on a 512mb stick it would be god... because 512mb has better bios support06:33
tgm4883_laptopi always thought of it more as a testing market, as with a live cd frontend, cd drives tend to be loud when running at full speed, slower.  If you want to watch a dvd you need two drives, etc06:33
superm1unfortunately, there will be no way to really gauge how much it's used06:33
superm1but i see your point there06:34
tgm4883_laptopthat shouldn't be a problem, should it?  The live cd is < 400MB06:34
superm1well currently its at 40606:34
superm1because of some added support i put in06:34
superm1but once you extract it, it can grow up to 1.5 GB06:34
tgm4883_laptopI agree that a usb key would be easier carry around, quieter, etc06:35
tgm4883_laptopit can be compressed though06:35
superm1do you know how to do so?06:35
tgm4883_laptopand should be faster06:35
tgm4883_laptopsec06:35
superm1because if its a standard ext2/3 filesystem on the key, i don't see how thats possible06:36
tgm4883_laptopyour talking about installing to the usb key?06:36
tgm4883_laptopim talking about sticking the live cd on a usb key06:37
superm1well that shouldn't be much of any trouble06:37
tgm4883_laptopso as long as the live cd fits in 800MB, then all we need is roughly a 1 gb stick06:37
Kenzutgm4883_laptop: 1GB stick is hard to boot... not all bioses like it...06:38
tgm4883_laptopthe question though, is do we really need write support06:38
tgm4883_laptopKenzu, right, but thats the max we would need.  It all depends on the size of the live cd06:38
superm1well No06:38
superm1if its two partitions06:38
superm1and one just stores the configuration file as i described06:38
tgm4883_laptopim wondering if we need write support at all06:39
superm1then the entire system can be achieved read only06:39
superm1it will be a little slow upon boot to generate thumbnails06:39
superm1and cache artwork06:39
superm1but should be fine after a little bit06:39
tgm4883_laptopanything on a usb stick should be quicker than a live cd no?06:39
superm1depends if usb2 is active upon boot06:39
tgm4883_laptoptrue06:40
superm1which can possibly be where the problem here was even coming from06:40
Kenzumaybe we could make a script that makes 3 partitions. installs grub, kernel on the first, unpack the iso on the secound, and makes a casperfs on the last06:40
=== Chadarius [n=Chadariu@c-71-228-30-253.hsd1.il.comcast.net] has joined #ubuntu-mythtv
superm1last doesn't even need to be casperfs if its just the conf file.  it can be ext2/306:41
superm1or even fat06:41
Kenzubut if it could save the theme caching in and overlay file on the casperfs06:42
Kenzuthen boot will be faster06:42
superm1oh that's a good point06:42
superm1well i think ~/.mythtv can be redirectd06:43
superm1if you just adjust $HOME06:43
superm1before launching it06:43
tgm4883_laptopwait question, if your carrying around this usb key to show other people, you stick it in their computer and boot it up, voila, what do you show them?06:43
superm1so it wouldnt even need to be casperfs06:43
superm1well eventually - i'd like to see a live backend / frontend working06:43
Kenzuyou put in another usbstick or a cd or dvb-t stick06:43
superm1but that depends on a few other specs to be worked out06:44
=== DaveMorris [n=dave@cubert.itri.bton.ac.uk] has left #ubuntu-mythtv []
superm1hey Chadarius06:44
tgm4883home doesn't have to be /home06:45
superm1so in the autostart, if i query if the directory that the configuration file is writable - maybe just redirect home to be there06:46
superm1when launching06:46
superm1i'm purposely trying to avoid having to make that partition casperfs06:49
superm1because i dont think its right that someone would have to wipe their usb stick just for this06:49
superm1they should be able to use an existing one with some freespace06:49
tgm4883casper was a friendly ghost, but I don't think he's a good candidate06:50
Kenzucome on they are so cheep06:50
tgm4883is the bios support for 512MB usb drives due to them being 512MB or partition size?06:50
Kenzupartition size... something about 1023 cylinders06:51
tgm4883so if you had a 4 gb stick with 8 512 partitions you would be fine?06:51
Kenzuno only the first partition (boot) has to be in the first 1023 cylinders or 512mb06:57
Kenzusetup@epia-frontend:~$ fdisk -l06:57
KenzuDisk /dev/sda: 2029 MB, 2029518848 bytes06:57
Kenzu255 heads, 63 sectors/track, 246 cylinders06:57
KenzuUnits = cylinders of 16065 * 512 = 8225280 bytes06:57
Kenzu   Device Boot      Start         End      Blocks   Id  System06:57
Kenzu/dev/sda1               1          12       96358+  83  Linux06:57
Kenzu/dev/sda2              13         246     1879605   83  Linux06:57
tgm4883so why are we even worrying about the size of the usb key then?06:57
Kenzuthat's my 2GB stick with mythbuntu06:57
Kenzunot the size of the usb but the size of the iso06:57
Kenzuit has to fit in the first 512mb06:57
Kenzuor you will have to make a boot partition06:57
tgm4883right, and the down side of a boot partition?06:57
Kenzuit's harder for a newbee06:59
Kenzuok now my video i running fine... it was a dri problem06:59
tgm4883i though we were trying to get around that, ie having an install to usb option07:00
Kenzuthat could be good07:01
superm1so this install to usb option, it would be a bit complicated to do right07:01
superm1because building that compressed squashfs filesystem means that you have to extract somewhere first07:02
Kenzuhmm... now it crash when exiting the guide07:03
Kenzusomethins about drm and agp ringbuffer07:05
superm1Daviey, you here?07:17
=== Hugolp [n=jo@217.168.3.246] has joined #ubuntu-mythtv
=== bjweeks [n=bjweeks@unaffiliated/bjweeks] has joined #ubuntu-mythtv
=== ompaul [n=ompaul@freenode/staff/gnewsense.ompaul] has joined #ubuntu-mythtv
=== tgm4883_laptop [n=tgm4883@dyn-124-244.wou.edu] has joined #ubuntu-mythtv
=== Nixus_Maximus [n=simon@i577B6FD1.versanet.de] has joined #ubuntu-mythtv
=== Starting logfile irclogs/ubuntu-mythtv.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mythtv
=== Topic for #ubuntu-mythtv: "Welcome to #ubuntu-mythtv:: Mythbuntu 7.10 Alpha 2: http://www.mythbuntu.org :: Paste logs @ http://paste.ubuntu-nl.org :: See our wiki for setting up and troubleshooting: https://help.ubuntu.com/community/MythTV"
=== Topic (#ubuntu-mythtv): set by superm1 at Tue Jul 3 00:45:59 2007
=== Hugolp [n=jo@217.168.3.246] has left #ubuntu-mythtv []
=== hugolp [n=jo@217.168.3.246] has joined #ubuntu-mythtv
=== Kenz1 [n=jesper@4306ds2-ar.0.fullrate.dk] has joined #ubuntu-mythtv
=== hugol1 [n=jo@217.168.3.246] has joined #ubuntu-mythtv
=== hugol1 [n=jo@217.168.3.246] has left #ubuntu-mythtv []
=== DaveMorris [n=dave@host-212-158-244-26.bulldogdsl.com] has joined #ubuntu-mythtv
superm1keescook, that plan that you had had with udev, i was talking to the mkrufky today about it.11:26
superm1we might have brainstormed a better idea11:26
keescookoh! excellent.  I'm all ears.  the v4l people weren't very receptive, and to do it "right" requires a lot of kernel work in v4l11:27
superm1all pvr-xxx devices getting /dev/pvrX rather than /dev/videoX.  all other non dvb devices getting /dev/videoX11:27
keescookhow about just symlinks?11:27
superm1well symlinks wouldn't do it, because they would still be assigned11:27
superm1for videoX on pvr devices11:28
keescookmeaning mythtv would try to add them both?11:28
superm1right11:28
keescookyeah, hurm11:28
superm1well actually11:28
superm1if upstream doesn't take kindly to this11:28
keescookI worry about breaking things that aren't mythtv11:28
superm1symlinks and a mythtv patch11:28
superm1could do it11:29
keescookthat might work.11:29
superm1i dont know how much other stuff would really be broken though11:29
superm1because what other apps are able to capture from pvr videoX devices?11:29
superm1most don't know what to do with the mpeg2 data11:29
keescookright, but is there a way to tell an mpeg2 device from a "regular" video-cap device?11:30
superm1well pvr cards are the only ones that do the mpeg2 thing though aren't they?11:30
keescookwell, there are others that come from a different brand.11:31
keescookI suppose there must be some common driver for only mpeg2 cards11:31
superm1i wasn't aware anything other than the ivtv driver did such things11:31
keescookyeah, I don't think there is.  so if a device is from the ivtv, we can make a symlink.11:31
keescookthen only the ivtv init order matters, and I think that's the same as long as you leave your cards in the same slots.  ;)11:32
superm1well i dont know that it is always the same for that even11:32
keescookso, adding a udev hook in mythtv-backend is probably the best way to go11:32
superm1because of race conditions in upstart11:32
keescookI'm pretty sure per-driver init order is static.11:33
superm1oh really.11:33
keescookI'm not 100% sure, but I don't have multiple ivtv devices to test with11:33
superm1then there is the solution then (provided of course upstream's opinion on the matter is negative)11:33
=== mkrufky [n=mk@unaffiliated/mkrufky] has joined #ubuntu-mythtv
superm1mkrufky, meet keescook keescook meet mkrufky11:33
mkrufkyhi11:34
keescookhiya mkrufky11:34
mkrufkyi think we may have spoken before11:34
mkrufkyeither that, of i stalked some other chat room while you were speaking ;-)11:34
superm1keescook and i were discussing matters of switching to pvrX for ivtv cards11:34
mkrufkys/of/or11:34
superm1and keescook brought up the question, do any other cards spit out mpeg2 via /dev/videoX other than ivtv?11:34
mkrufkyyes11:35
mkrufkycx88-blackbird and pvrusb211:35
mkrufkyalso. .. saa7134-empress11:35
mkrufkyand that plextor device11:35
mkrufkyi forget it's actual name11:35
keescookis there any common element we can use to distinguish them from non-mpeg2 devices?11:35
superm1so then even if ivtv upstream was to be convinced to use pvrX instead, there are still a few cards to break the naming convention11:35
mkrufky....and some new devices whose drivers have yet to be released11:35
mkrufkywell11:35
mkrufkyit's not really up to ivtv to decide11:36
keescookI with the v4l drivers had more details in their sysfs tree11:36
mkrufkyit would be a v4l2 decision11:36
keescookI wanted to build device symlinks in udev with:11:36
keescookKERNEL=="video[0-9] *", ATTR{name}!="", SYMLINK+="video-$attr{name}"11:36
mkrufkybrb11:36
keescookor something similar11:36
keescookif there are serial numbers or something available for a given board, we could save their locations as is done for drives and net devices.11:37
superm1via uuid's?11:37
keescookat the very least, we should be able to build udev rules for the "by-path" via the PCI id.11:37
mkrufkyim sorry... this is the busiest time of my day11:37
mkrufkyleaving the office any minute, brb11:37
mkrufkyyeah, i see nothing wrong with that11:39
superm1i think that udev rule shouldn't just be mythtv-backend specific either11:39
superm1because i'm sure users of tvtime and the kde tv application have the same issue11:39
superm1its just not as publicized as it is with mythtv11:40
keescooksuperm1: agreed, it would probably live with udev11:40
mkrufkyyes11:40
superm1but after the rule is in place, a patch to mythtv (at least for ubuntu) to parse the /dev/by-path instead of /dev/v4l should be in place i'd think11:40
mkrufkyv4l is certainly in need of a better sysfs tree.11:40
keescookhere's where I started some discussion: http://marc.info/?l=linux-video&m=118064286307150&w=211:40
superm1Mauro brings up a good point that there are other devices created too11:42
superm1mkrufky, is there a spec for making a better sysfs tree in process right now?11:43
mkrufkyvbi, radio11:43
mkrufkynot that i know of, no11:43
mkrufkyim more into the dvb stuff, TBH11:43
superm1ah okay.11:44
mkrufkythe dvb cards all have MAC addresses, and there was talk of using that, wrto dvb11:44
superm1that would make a lot of sense11:44
mkrufkythere are ways to relate the dvb devices back to the video devices ....  but bttv doesnt do it correctly yet ... only cx88 and saa713x11:45
keescookwell perhaps rules to handle the missing info gracefully?11:45
mkrufkyif you guys will be around tomorrow, im sure i could be much more productive11:46
superm1sure11:46
keescookcool11:46
mkrufkythis is just bad timing right now11:46
mkrufkyim sorry11:46
superm1no biggie11:46
superm1well i do think a rule that at least links the pci id for now should be put into place, i think its a very good start11:46
superm1because mythtv already queries the device11:46
superm1and tells you what it is11:46
mkrufkyyou cant rely on that11:46
mkrufkyoh, pci id ... that you can probably rely on11:47
mkrufkyi was thinking, subsystem id11:47
mkrufkysome cards lack an eeprom and thus, lack subsystem id ....  but that irrelevant -- sorry :-)11:47
superm1so if mythtv parses from /dev/by-uuid or something to that effect, and sees all these videoXXXXXXXXX devices, it won't matter which is which, since it will tell you what it finds out about the card11:47
mkrufkyyeah11:48
=== chuk [n=chuk@c-71-234-253-19.hsd1.ct.comcast.net] has joined #ubuntu-mythtv
superm1the same thing can probably be done with the dvb devices too?11:48
mkrufkyi see no reason why not11:49
mkrufkythis is _much_ better than your /dev/video11 idea, superm111:49
superm1hehe11:49
mkrufkyanyhow, i have to go now11:50
mkrufkyi'll come back here tomorrow11:50
superm1okay thanks mkrufky ! have a good one11:50
mkrufkyyou too11:50
mkrufkynice to meet you keescook, too11:50
keescooksame to you!11:50
mkrufkyok, have a good one11:50
=== mkrufky [n=mk@unaffiliated/mkrufky] has left #ubuntu-mythtv []
superm1keescook, i'll investigate the complexities of a mythtv patch later this evening11:50
keescookokay, cool11:50
superm1where will it need to query from?11:50
superm1/dev/v4l/by-id?11:52
=== OpenMedia [n=sellis@60-234-129-166.bitstream.orcon.net.nz] has joined #ubuntu-mythtv
superm1keescook, ?12:08
keescooksuperm1: probably, yeah12:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!