LinHES Forums http://forum.linhes.org/ |
|
No DVD playback on IBM T40 Frontend http://forum.linhes.org/viewtopic.php?f=2&t=3990 |
Page 1 of 2 |
Author: | bushi [ Mon Mar 28, 2005 7:05 pm ] |
Post subject: | No DVD playback on IBM T40 Frontend |
So I'm having the same basic problem on a IBM T40 (my front end). I tried the above fix but to no avail Disk has no encryption... it's sort of like the system just dosn't see the drive as a DVD player (butt it is and works fine under windows). Not sure if this is driver issue or what not, drive read the CD fine to install of course. What information shuold I collect to help trouble shoot this, I really am somewhat clueless about where to start with this one.... several searches have turned up suggestions about updating various things but none of them seem to have hit the problem on the head (tried them any way though ![]() root@mythtvlivroom:/mnt# lspci 0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03) 0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03) 0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) 0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) 0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) 0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01) 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81) 0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01) 0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 01) 0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01) 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller ( rev 01) 0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] 0000:02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01) 0000:02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01) 0000:02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) 0000:02:02.0 Network controller: AIRONET Wireless Communications Cisco Aironet Wireless 802.11b root@mythtvlivroom:/mnt# root@mythtvlivroom:/mnt# fdisk -l Disk /dev/hda: 40.0 GB, 40007761920 bytes 16 heads, 63 sectors/track, 77520 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 1 5093 2566840+ 83 Linux /dev/hda2 5094 6167 541296 82 Linux swap / Solaris /dev/hda3 6168 14500 4199832 83 Linux /dev/hda4 14501 77520 31762080 83 Linux Thanks |
Author: | cesman [ Mon Mar 28, 2005 8:26 pm ] |
Post subject: | |
What above problem? What above fix? |
Author: | tjc [ Mon Mar 28, 2005 8:54 pm ] |
Post subject: | |
As the wise one says, you're bit light on details here. Try this: Code: grep 'kernel: hd[a-h]:' /var/log/messages
ls -al /dev/cdrom /dev/dvd /dev/hd[a-h] If the location of your CD/DVD drive as reported in messages isn't the same place the symlinks point to you need to fix the links. If it is, you may need to change the group ownership of that device to "cdrom". Note! I'm guessing you're asking about R5A??. The answer is different (like - "/dev/scd0") if you're asking about R4V5. |
Author: | Girkers [ Mon Mar 28, 2005 9:01 pm ] |
Post subject: | |
Ask a stupid question get a stupid answer. The answer is 42. |
Author: | bushi [ Mon Mar 28, 2005 9:10 pm ] |
Post subject: | No dvd playback on front end. |
cesman wrote: What above problem? What above fix?
LOL, started a new thread by accident. ![]() Yes RA5.10 Ok this was in reference to snapperdragons thread on dvd playback not working http://mysettopbox.tv/phpBB2/viewtopic.php?t=3914 Basic problem is if I put a DVD in and hit play dvd it grinds for a bit but nothing happens. I can't rip either (on the front end) I did the, rm /dev/dvd ln -s /dev/hdb /dev/dvd chmod +r /dev/hdb but to no effect and I'm not clear if that is apropreate for the laptop root@mythtvlivroom:/home/mythtv# ls -al /dev/dvd /dev/cdrom /dev/scd0 /dev/hdc lrwxrwxrwx 1 root root 8 Mar 26 02:26 /dev/cdrom -> /dev/hdc lrwxrwxrwx 1 root root 8 Mar 27 16:47 /dev/dvd -> /dev/hdb brw-rw---- 1 root cdrom 22, 0 Mar 26 02:25 /dev/hdc brw-rw---- 1 root cdrom 11, 0 Mar 26 02:26 /dev/scd0 root@mythtvlivroom:/home/mythtv# root@mythtvlivroom:/home/mythtv# grep 'kernel: hd[a-h]:' /var/log/messages Mar 27 18:50:42 mythtvlivroom kernel: hda: FUJITSU MHT2040AH, ATA DISK drive Mar 27 18:50:42 mythtvlivroom kernel: hdc: UJDA745 DVD/CDRW, ATAPI CD/DVD-ROM drive Mar 27 18:50:42 mythtvlivroom kernel: hda: max request size: 128KiB Mar 27 18:50:42 mythtvlivroom kernel: hda: 78140160 sectors (40007 MB) w/8192KiB Cache, CHS=65535/16/63 root@mythtvlivroom:/home/mythtv# ls -al /dev/cdrom /dev/dvd /dev/hd[a-h] lrwxrwxrwx 1 root root 8 Mar 26 02:26 /dev/cdrom -> /dev/hdc lrwxrwxrwx 1 root root 8 Mar 27 16:47 /dev/dvd -> /dev/hdb brw-rw---- 1 root disk 3, 0 May 7 2004 /dev/hda brw-rw-r-- 1 root disk 3, 64 May 7 2004 /dev/hdb brw-rw---- 1 root cdrom 22, 0 Mar 26 02:25 /dev/hdc brw-rw---- 1 root disk 22, 64 May 7 2004 /dev/hdd brw-rw---- 1 root disk 33, 0 May 7 2004 /dev/hde brw-rw---- 1 root disk 33, 64 May 7 2004 /dev/hdf brw-rw---- 1 root disk 34, 0 May 7 2004 /dev/hdg brw-rw---- 1 root disk 34, 64 May 7 2004 /dev/hdh root@mythtvlivroom:/home/mythtv# |
Author: | tjc [ Mon Mar 28, 2005 10:13 pm ] |
Post subject: | Re: No dvd playback on front end. |
bushi wrote: root@mythtvlivroom:/home/mythtv# ls -al /dev/cdrom /dev/dvd /dev/hd[a-h]
lrwxrwxrwx 1 root root 8 Mar 26 02:26 /dev/cdrom -> /dev/hdc lrwxrwxrwx 1 root root 8 Mar 27 16:47 /dev/dvd -> /dev/hdb ... SNIP! ... The first link is right. The second one is not since the extract from /var/log/messages shows your DVD drive on /dev/hdc. To fix it: Code: rm /dev/dvd
ln -s /dev/hdc /dev/dvd Lesson of the day, DO NOT FOLLOW DIRECTIONS BLINDLY! Not even mine. Make sure you know why you're doing something and if it makes sense. |
Author: | bushi [ Mon Mar 28, 2005 11:14 pm ] |
Post subject: | Re: No dvd playback on front end. |
tjc wrote: bushi wrote: root@mythtvlivroom:/home/mythtv# ls -al /dev/cdrom /dev/dvd /dev/hd[a-h] lrwxrwxrwx 1 root root 8 Mar 26 02:26 /dev/cdrom -> /dev/hdc lrwxrwxrwx 1 root root 8 Mar 27 16:47 /dev/dvd -> /dev/hdb ... SNIP! ... The first link is right. The second one is not since the extract from /var/log/messages shows your DVD drive on /dev/hdc. To fix it: Code: rm /dev/dvd ln -s /dev/hdc /dev/dvd Lesson of the day, DO NOT FOLLOW DIRECTIONS BLINDLY! Not even mine. Make sure you know why you're doing something and if it makes sense. Hmmm dosn't seem to do the trick lrwxrwxrwx 1 root root 8 Mar 26 02:26 /dev/cdrom -> /dev/hdc lrwxrwxrwx 1 root root 8 Mar 27 21:03 /dev/dvd -> /dev/hdc Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such device Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/dvd. Cache fill: 0.00% (0 bytes) Exiting... (End of file) the greps show root@mythtvlivroom:/mnt/dvd# grep mythtv /etc/group cdrom:*:24:mythtv,griffon audio:!:29:mythtv,griffon video:!:44:mythtv,griffon mythtv:x:105: root@mythtvlivroom:/mnt/dvd# grep mythtv /etc/passwd mythtv:$1$GLU854Ty$NGBuJMMLs4jXBFBVAox9U/:105:105::/home/mythtv:/bin/sh |
Author: | Greg Frost [ Tue Mar 29, 2005 4:44 am ] |
Post subject: | |
I think the devices need to be owned by the cdrom group for it to work. Try Code: chgrp cdrom /dev/cdrom /dev/dvd /dev/hdc
|
Author: | tjc [ Tue Mar 29, 2005 7:51 am ] |
Post subject: | |
Take another look at the ls output. Links are created with a+rwx pass through so they don't need to be changed, and his /dev/hdc is already owned by the cdrom group. He also doesn't have the "multiple mythtv user and group" problem as shown by the grep output. Bushi - Is this a DVD you recorded your self or a commercial (encrypted) DVD? For legal reasons (being a US based distro) KnoppMyth doesn't include decrypting. |
Author: | bushi [ Tue Mar 29, 2005 1:54 pm ] |
Post subject: | |
tjc wrote: Take another look at the ls output. Links are created with a+rwx pass through so they don't need to be changed, and his /dev/hdc is already owned by the cdrom group. He also doesn't have the "multiple mythtv user and group" problem as shown by the grep output.
Bushi - Is this a DVD you recorded your self or a commercial (encrypted) DVD? For legal reasons (being a US based distro) KnoppMyth doesn't include decrypting. I'm testing with a home brew DVD, but I have also tried some of my kids dvd's that show up as not having encytpion (acording to shrink DVD). I have also updated the dvddcss |
Author: | tjc [ Tue Mar 29, 2005 9:58 pm ] |
Post subject: | |
The next debugging step is to run mplayer of xine by hand so you can see any messages which go to the console. You might find something in interesting /home/mythtv/.xsession-errors already... |
Author: | bushi [ Wed Mar 30, 2005 11:51 pm ] |
Post subject: | |
tjc wrote: The next debugging step is to run mplayer of xine by hand so you can see any messages which go to the console. You might find something in interesting /home/mythtv/.xsession-errors already...
Well I don't see anything telling in the error log... though there is a lot of junk, the myth stuff all seems successful. Failed to read: session.screen0.overlay.lineStyle Setting default value Failed to read: session.screen0.overlay.joinStyle Setting default value Failed to read: session.screen0.overlay.capStyle Setting default value Failed to read: session.screen0.slit.maxOver Setting default value Failed to read: session.screen0.slit.alpha Setting default value Failed to read: session.screen0.slit.layer Setting default value 2005-03-29 21:28:31.438 mythfrontend version: 0.17.20050130-1 www.mythtv.org 2005-03-29 21:28:31.438 Enabled verbose msgs : important general Error creating style menu! Stylesdir: /home/mythtv/.fluxbox/styles does not exist or is not a directory! Failed to read: session.screen0.toolbar.maxOver Setting default value Failed to read: session.screen0.toolbar.visible Setting default value Failed to read: session.screen0.toolbar.layer Setting default value Failed to read: session.screen0.toolbar.height Setting default value Failed to read: session.screen0.toolbar.tools Setting default value Failed to read: session.screen0.iconbar.mode Setting default value Failed to read: session.screen0.iconbar.alignment Setting default value Failed to read: session.screen0.iconbar.clientWidth Setting default value Failed to read: session.screen0.iconbar.usePixmap Setting default value 2005-03-29 21:28:31.845 Switching to square mode (blue) 2005-03-29 21:28:32.259 Joystick disabled. mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-03-29 21:28:32.328 Registering Internal as a media playback plugin. 2005-03-29 21:28:32.665 Registering MythDVD DVD Media Handler as a media handler 2005-03-29 21:28:32.665 Registering MythDVD VCD Media Handler as a media handler 2005-03-29 21:28:33.833 Registering MythMusic Media Handler as a media handler 2005-03-29 21:28:52.212 Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2005-03-29 21:28:52.225 Using protocol version 14 root@mythtvlivroom:/home/mythtv# root@mythtvlivroom:/home/mythtv# mplayer /dev/dvd MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team CPU: Intel Pentium M Banias (Family: 6, Stepping: 5) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for Debian. I think all that is needed for anon protextected disk is just mplayer /dev/dvd right? Well that is still a no go as well. Guess I'll grb xine or somthign to try to but I was trying not muddy the waters anymore then they are. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such device Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. You will not be able to use your remote control. Playing /dev/dvd. Cache fill: 0.00% (0 bytes) Exiting... (End of file) So, in the windows world I could remove the driver and device and force a redetect of the hardware? Is there a linux equivalent for doing this? |
Author: | bushi [ Thu Mar 31, 2005 12:16 am ] |
Post subject: | xine error |
So in trying xine I see (xine-check passes everything) This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdread: Can't seek to block 256 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdread: Can't seek to block 256 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. Which makes me think that for whatever reason the system is not mounting or seeing the drive correctly. |
Author: | joelbradshaw [ Sun Apr 10, 2005 3:38 pm ] |
Post subject: | |
bushi wrote: ...
mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages ... Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. I'm having the same problem. When I run mplayer from a command line it works fine commercial or home brew. I think the player activated from inside mythtv butts up against the LIRC Connection refused problem, [which I'm currently trying to debug on R5A12] and this is what causes things to grind to a halt. I've searched the forums and can't find a suitable solution so far... but when I do I'll post it. jb |
Author: | bushi [ Sun Apr 10, 2005 9:28 pm ] |
Post subject: | |
joelbradshaw wrote: bushi wrote: ... mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages ... Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. I'm having the same problem. When I run mplayer from a command line it works fine commercial or home brew. I think the player activated from inside mythtv butts up against the LIRC Connection refused problem, [which I'm currently trying to debug on R5A12] and this is what causes things to grind to a halt. I've searched the forums and can't find a suitable solution so far... but when I do I'll post it. jb Hmm interesting, definitely post what you find. Though in my case I can't get DVD playback at all through anything including xine. It's almost like it it's not mounted or the system dosn't see it or something. I still havn't been able to fix this, so I have just taken to ripping them with my windows box and storing them off on the network share, not a WAF friendlily process though :p. It's frustrating since there are a lot of advantages to having the T40 as a front end (like when the power rolled today, laptop simple didn't care). I simple lack the Linux-fu to find what the problem is and fix it though I keep trying. I need a big refind hardware stick command and there just dosn't seem to be one ![]() |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |