Re: can't determine sound card driver to use in /etc/rc.conf
On Wed, 20 Apr 2011 14:52:56 -0500, Antonio Olivares olivares14...@gmail.com wrote: Here's output from shell [olivares@grulla ~]$ mplayer dvd://1 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvd://1. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open VMG info! No stream found to handle url dvd://1 Exiting... (End of file) This looks like mplayer is accessing the drive, but cannot play the file. A missing codec error should look different. I have tried different movies and get similar results :( So you can exclude media error. Maybe this diagnostic script from my outbox can help you to track down the error. It has been made on 7-STABLE i386 with mplayer-0.99.11_3 - a quite old system. See if the steps described here can be reproduced on your system in a similar way. *** Here's an example of my THX 1138 movie DVD: Step 1: Identify media % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type - 1 0:02.00 206:28.68 0 929168 data 170 206:30.68 - 929168 - - Step 2: Identify file system % file - /dev/acd0 /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138' Step 3: Mount file system and check content % sudo mount -t cd9660 -o ro /dev/acd0 /mnt % ls -R /mnt audio_ts/ video_ts/ /mnt/audio_ts: /mnt/video_ts: video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vts_05_0.bup* video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vts_05_0.ifo* video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vts_05_0.vob* vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vts_05_1.vob* vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob* vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob* % sudo umount /mnt Step 4: Play DVD content - ATTENTION - DVD not mounted for that! % mplayer -alang de -aid 129 dvd://2 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping:9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing dvd://2. There are 21 titles on this DVD. There are 50 chapters in this DVD title. There are 1 angles in this DVD title. audio stream: 0 format: ac3 (5.1) language: en aid: 128. audio stream: 1 format: ac3 (5.1) language: de aid: 129. audio stream: 2 format: ac3 (5.1) language: es aid: 130. audio stream: 3 format: ac3 (stereo) language: en aid: 131. audio stream: 4 format: ac3 (5.1) language: en aid: 132. number of audio channels on disk: 5. subtitle ( sid ): 0 language: en subtitle ( sid ): 1 language: de subtitle ( sid ): 2 language: es subtitle ( sid ): 3 language: fr subtitle ( sid ): 4 language: it subtitle ( sid ): 5 language: pt subtitle ( sid ): 6 language: da subtitle ( sid ): 7 language: fi subtitle ( sid ): 8 language: iw subtitle ( sid ): 9 language: is subtitle ( sid ): 10 language: no subtitle ( sid ): 11 language: sv subtitle ( sid ): 12 language: hr subtitle ( sid ): 13 language: cs subtitle ( sid ): 14 language: el subtitle ( sid ): 15 language: pl subtitle ( sid ): 16 language: hu subtitle ( sid ): 17 language: tr subtitle ( sid ): 18 language: sl subtitle ( sid ): 19 language: en subtitle ( sid ): 20 language: de number of subtitles on disk: 21 MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s) == Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ==
Re: can't determine sound card driver to use in /etc/rc.conf
So you can exclude media error. Maybe this diagnostic script from my outbox can help you to track down the error. It has been made on 7-STABLE i386 with mplayer-0.99.11_3 - a quite old system. See if the steps described here can be reproduced on your system in a similar way. *** Here's an example of my THX 1138 movie DVD: Step 1: Identify media % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type - 1 0:02.00 206:28.68 0 929168 data 170 206:30.68 - 929168 - - Step 2: Identify file system % file - /dev/acd0 /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138 ' Step 3: Mount file system and check content % sudo mount -t cd9660 -o ro /dev/acd0 /mnt % ls -R /mnt audio_ts/ video_ts/ /mnt/audio_ts: /mnt/video_ts: video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vts_05_0.bup* video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vts_05_0.ifo* video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vts_05_0.vob* vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vts_05_1.vob* vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob* vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob* % sudo umount /mnt Step 4: Play DVD content - ATTENTION - DVD not mounted for that! % mplayer -alang de -aid 129 dvd://2 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping:9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing dvd://2. There are 21 titles on this DVD. There are 50 chapters in this DVD title. There are 1 angles in this DVD title. audio stream: 0 format: ac3 (5.1) language: en aid: 128. audio stream: 1 format: ac3 (5.1) language: de aid: 129. audio stream: 2 format: ac3 (5.1) language: es aid: 130. audio stream: 3 format: ac3 (stereo) language: en aid: 131. audio stream: 4 format: ac3 (5.1) language: en aid: 132. number of audio channels on disk: 5. subtitle ( sid ): 0 language: en subtitle ( sid ): 1 language: de subtitle ( sid ): 2 language: es subtitle ( sid ): 3 language: fr subtitle ( sid ): 4 language: it subtitle ( sid ): 5 language: pt subtitle ( sid ): 6 language: da subtitle ( sid ): 7 language: fi subtitle ( sid ): 8 language: iw subtitle ( sid ): 9 language: is subtitle ( sid ): 10 language: no subtitle ( sid ): 11 language: sv subtitle ( sid ): 12 language: hr subtitle ( sid ): 13 language: cs subtitle ( sid ): 14 language: el subtitle ( sid ): 15 language: pl subtitle ( sid ): 16 language: hu subtitle ( sid ): 17 language: tr subtitle ( sid ): 18 language: sl subtitle ( sid ): 19 language: en subtitle ( sid ): 20 language: de number of subtitles on disk: 21 MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s) == Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) == == Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) == AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [xv] 720x576 =
Re: can't determine sound card driver to use in /etc/rc.conf
On Thu, Apr 21, 2011 at 07:38, Antonio Olivares olivares14...@gmail.comwrote: So you can exclude media error. Maybe this diagnostic script from my outbox can help you to track down the error. It has been made on 7-STABLE i386 with mplayer-0.99.11_3 - a quite old system. See if the steps described here can be reproduced on your system in a similar way. FreeBSD Questions freebsd-questions@freebsd.org *** Here's an example of my THX 1138 movie DVD: Step 1: Identify media % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type - 1 0:02.00 206:28.68 0 929168 data 170 206:30.68 - 929168 - - Step 2: Identify file system % file - /dev/acd0 /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138' Step 3: Mount file system and check content % sudo mount -t cd9660 -o ro /dev/acd0 /mnt % ls -R /mnt audio_ts/ video_ts/ /mnt/audio_ts: /mnt/video_ts: video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vts_05_0.bup* video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vts_05_0.ifo* video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vts_05_0.vob* vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vts_05_1.vob* vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob* vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob* % sudo umount /mnt Step 4: Play DVD content - ATTENTION - DVD not mounted for that! % mplayer -alang de -aid 129 dvd://2 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping:9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing dvd://2. There are 21 titles on this DVD. There are 50 chapters in this DVD title. There are 1 angles in this DVD title. audio stream: 0 format: ac3 (5.1) language: en aid: 128. audio stream: 1 format: ac3 (5.1) language: de aid: 129. audio stream: 2 format: ac3 (5.1) language: es aid: 130. audio stream: 3 format: ac3 (stereo) language: en aid: 131. audio stream: 4 format: ac3 (5.1) language: en aid: 132. number of audio channels on disk: 5. subtitle ( sid ): 0 language: en subtitle ( sid ): 1 language: de subtitle ( sid ): 2 language: es subtitle ( sid ): 3 language: fr subtitle ( sid ): 4 language: it subtitle ( sid ): 5 language: pt subtitle ( sid ): 6 language: da subtitle ( sid ): 7 language: fi subtitle ( sid ): 8 language: iw subtitle ( sid ): 9 language: is subtitle ( sid ): 10 language: no subtitle ( sid ): 11 language: sv subtitle ( sid ): 12 language: hr subtitle ( sid ): 13 language: cs subtitle ( sid ): 14 language: el subtitle ( sid ): 15 language: pl subtitle ( sid ): 16 language: hu subtitle ( sid ): 17 language: tr subtitle ( sid ): 18 language: sl subtitle ( sid ): 19 language: en subtitle ( sid ): 20 language: de number of subtitles on disk: 21 MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s) == Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) == == Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) == AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo
Re: can't determine sound card driver to use in /etc/rc.conf
On Thu, 21 Apr 2011 07:38:57 -0500, Antonio Olivares olivares14...@gmail.com wrote: Tried to mount the dvd, but sadly the system rebooted and I had to fsck three to 4 times to get the system back :(, I will try to not to mount it, don't want to go through that. This indicates a major problem. Under ANY circumstances, you should be ABLE to mount a DVD. If this causes the system to reboot, find out what's causing this. Maybe a defective drive? Can you check with different drive? Tried to put in another dvd that works on other computers, and I get : [olivares@grulla /usr/home/olivares]$ mplayer dvdnav:// MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvdnav://. libdvdnav: Using dvdnav version MPlayer-custom libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: failed to read VIDEO_TS.IFO Couldn't open DVD device: /dev/acd0 (Input/output error) No stream found to handle url dvdnav:// Exiting... (End of file) [olivares@grulla /usr/home/olivares]$ mplayer dvd:// MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvd://. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open VMG info! No stream found to handle url dvd:// Exiting... (End of file) [olivares@grulla /usr/home/olivares]$ It's the same problem as in your previous description, and I assume that is has nothing to do with codecs. In combination with the inability of mounting DVDs (which should work), there may be a SERIOUS problem hiding in the background. Have you been able to perform the first steps of my checklist, i. e. the cdcontrol and media identification part? I have to blame mplayer or is it FreeBSD? I think it's the hardware - your description of rebooting when trying to mount lets me think into this direction. Try to find out the reason. Work with AS FEW variables as possible, i. e. start with plain simple tests as I mentioned them. If you get THAT done without error, the problem is somewhere else. Another thing: Can you check device permissions for the acd* devices, as well as for cd* and xpt* if you're using ATAPICAM? Just to make sure and MINIMIZE the variables involved in this diagnostic process. The movie is good, it plays on my other FreeBSD box, is something wrong or should I try to go for vlc? Well, VLC isn't bad, although I really prefer mplayer as I'm using it since the earliest days. But I doubt VLC will play without the codecs (that are, as far as I understood, an independent part and port). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Thu, Apr 21, 2011 at 9:55 PM, Polytropon free...@edvax.de wrote: On Thu, 21 Apr 2011 07:38:57 -0500, Antonio Olivares olivares14...@gmail.com wrote: Tried to mount the dvd, but sadly the system rebooted and I had to fsck three to 4 times to get the system back :(, I will try to not to mount it, don't want to go through that. This indicates a major problem. Under ANY circumstances, you should be ABLE to mount a DVD. If this causes the system to reboot, find out what's causing this. Maybe a defective drive? Can you check with different drive? Tried to put in another dvd that works on other computers, and I get : [olivares@grulla /usr/home/olivares]$ mplayer dvdnav:// MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvdnav://. libdvdnav: Using dvdnav version MPlayer-custom libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: failed to read VIDEO_TS.IFO Couldn't open DVD device: /dev/acd0 (Input/output error) No stream found to handle url dvdnav:// Exiting... (End of file) [olivares@grulla /usr/home/olivares]$ mplayer dvd:// MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvd://. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open VMG info! No stream found to handle url dvd:// Exiting... (End of file) [olivares@grulla /usr/home/olivares]$ It's the same problem as in your previous description, and I assume that is has nothing to do with codecs. In combination with the inability of mounting DVDs (which should work), there may be a SERIOUS problem hiding in the background. Have you been able to perform the first steps of my checklist, i. e. the cdcontrol and media identification part? This is on mt TODO list, I was going to try and swap another dvd drive (SATA) which is my suspicion :( I have to blame mplayer or is it FreeBSD? I think it's the hardware - your description of rebooting when trying to mount lets me think into this direction. I'd think I'd have to agree :(, the damn dvd drive, it is new but old IDE does not work as well as SATA. Try to find out the reason. Work with AS FEW variables as possible, i. e. start with plain simple tests as I mentioned them. If you get THAT done without error, the problem is somewhere else. Another thing: Can you check device permissions for the acd* devices, as well as for cd* and xpt* if you're using ATAPICAM? Just to make sure and MINIMIZE the variables involved in this diagnostic process. I have a /etc/devfs.conf file with the following: # Commonly used by many ports linkacd0cdrom linkacd0dvd # Allow all users to access CD’s perm /dev/acd0 0666 perm /dev/acd1 0666 perm /dev/cd0 0666 perm /dev/cd1 0666 # Allow all USB Devices to be mounted perm /dev/da0 0666 perm /dev/da1 0666 perm /dev/da2 0666 perm /dev/da3 0666 perm /dev/da4 0666 # Misc other devices perm /dev/pass0 0666 perm /dev/xpt0 0666 perm /dev/agpart 0666 perm /dev/uscanner0 0666 The movie is good, it plays on my other FreeBSD box, is something wrong or should I try to go for vlc? Well, VLC isn't bad, although I really prefer mplayer as I'm using it since the earliest days. But I doubt VLC will play without the codecs (that are, as far as I understood, an independent part and port). VLC did not play the dvds either, took a while to compile it(for troubleshooting this dvd problem). I like both players just to be honest. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... I have a similar amd64 machine that does play mostly everything in it, but I installed mplayer differently # pkg_add -r mplayer ** had problems with KDE and lib???.so not working and startx refused to work, last time I used ports. But this time everything is working beautifully have installed gkrellm, mplayer, vlc and texmaker fine via ports. I am getting some confidence back. *However* that machine has SATA cables not IDE like this one, this is my take on the issue. If i install/try a SATA dvd drive, it will work* Thanks for helping/advising. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Thu, 21 Apr 2011 23:02:27 -0500, Antonio Olivares olivares14...@gmail.com wrote: This is on mt TODO list, I was going to try and swap another dvd drive (SATA) which is my suspicion :( Cross-testing would always be good - especially as you've mentioned an impossible behaviour, i. e. mounting a DVD causes a system reboot. I'd think I'd have to agree :(, the damn dvd drive, it is new but old IDE does not work as well as SATA. I can't confirm that. In my machine which is more than 7 years old now, I'm using (P)ATA / ATAPI stuff only (because it doesn't have any SATA inside), and it keeps working as intended. Still it may be possible that modern hardware doesn't play that good anymore. :-) If possible, just try a different DVD drive, as you've eleminated the reason bad DVD already. I have a /etc/devfs.conf file with the following: # Commonly used by many ports linkacd0cdrom linkacd0dvd # Allow all users to access CD’s perm /dev/acd0 0666 perm /dev/acd1 0666 perm /dev/cd0 0666 perm /dev/cd1 0666 # Allow all USB Devices to be mounted perm /dev/da0 0666 perm /dev/da1 0666 perm /dev/da2 0666 perm /dev/da3 0666 perm /dev/da4 0666 # Misc other devices perm /dev/pass0 0666 perm /dev/xpt0 0666 perm /dev/agpart 0666 perm /dev/uscanner0 0666 Fully okay. So the reason wrong permissions is also out of scope now. VLC did not play the dvds either, took a while to compile it(for troubleshooting this dvd problem). I like both players just to be honest. I really think it's the drive. Also make sure that the codecs are installed. If you're on x64, try to use the COMPAT32 facility. As I'm not owning x64 at home, I sadly can't be more specific about this idea. I have a similar amd64 machine that does play mostly everything in it, but I installed mplayer differently # pkg_add -r mplayer This installs mplayer with the default options which may not be optimal in some situations, especially if it's illegal in one's country to watch DVDs. :-) ** had problems with KDE and lib???.so not working and startx refused to work, last time I used ports. I always use ports for this. Although I'm a big fan of precompiled packages, mplayer and gmencoder are the tools I *insist* on building from source, both with a custom Makefile.local that defines ALL the codecs I want, which is _all_ of them. :-) *However* that machine has SATA cables not IDE like this one, this is my take on the issue. If i install/try a SATA dvd drive, it will work* Really, try a different drive, and if you can, also try different cables, just to make sure it's NOT the cables causing trouble. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
This MAY be a codec problem. You can try the following: First mount the DVD (cd_9660), then use mplayer on one of the VOB files directly. Choose one of the bigger files for this test, and maybe use mplayer's -v option to get an idea what may be wrong - the program should tell you about this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Here's output from shell [olivares@grulla ~]$ mplayer dvd://1 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvd://1. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open VMG info! No stream found to handle url dvd://1 Exiting... (End of file) [olivares@grulla ~]$ I have tried different movies and get similar results :( [olivares@grulla ~]$ uname -a FreeBSD grulla 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #0: Sat Apr 2 15:06:58 UTC 2011 r...@hybrid.freebsdgr.org:/usr/obj/usr/src/sys/GENERIC amd64 [olivares@grulla ~]$ uname -m amd64 Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Mon, Apr 18, 2011 at 9:32 PM, Polytropon free...@edvax.de wrote: On Mon, 18 Apr 2011 20:53:41 -0500, Antonio Olivares olivares14...@gmail.com wrote: Apparently it works, but I put in some small speakers, but could not get music to play. On some machines, speakers do not activate automatically, they need a driver that switches the connector to active. Also check mixer settings. ALWAYS check them. :-) Installed mplayer from within ports, # cd /usr/ports/multimedia/mplayer # make install clean and tried to play some mp3's and got a codec error :(, since machine is 64 bit installing codecs from mplayer site does not work :(, and linux compatibility is not installed. Use command line tools like madplay or mpg123 for testing. Also consider using xmms as a versatile MP3 (and OGG/Vorbis) media player. Mplayer played some ogg files that I had correctly and sound is working :) snd_hda did the trick :) Sorry for drifting out of original sound problem, but I also tried to play a dvd and it failed to load since atapi cam was not in /boot/loader.conf because cd/dvd drive is old style(not SATA) This is now working correctly :), added the command in /boot/loader.conf That doesn't matter. I have parallel ATA devices here that play nicely with ATAPICAM (mainly in use for CD and DVD recording). But you shouldn't need to have ATAPICAM in order to play DVDs. I know that mplayer has a configuration option for that... maybe it's sufficient to link /dev/acd0 to /dev/dvd link exists /dev/dvd - /dev/acd0 but dvd does not play :( (per /etc/devfs.conf) to provide the default location, or use -dvd-device dev to name it on the command line. Also make sure you have the required codecs installed. Since the machine is 64 bit having the codecs does no good :(, I ran the configuration and tried to install Realplayer which tried to pull linux compatibility which I did not want and reran config. Going through make config in mplayer (or mencoder) is always a good choice. However, playing dvd's does not seem to work :( I try to run $ mplayer dvd://1 -dvd-device /dev/acd0 and it complains about not finding some vob Sorry for not posting exact error will do so tomorrow as soon as I can. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Thanks to all folks who have advised me. I am close to setting up the system to my liking. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Tue, 19 Apr 2011 20:31:23 -0500, Antonio Olivares olivares14...@gmail.com wrote: (per /etc/devfs.conf) to provide the default location, or use -dvd-device dev to name it on the command line. Also make sure you have the required codecs installed. Since the machine is 64 bit having the codecs does no good :(, I ran the configuration and tried to install Realplayer which tried to pull linux compatibility which I did not want and reran config. You can try to use the 32 bit compatibility (COMPAT32) and then run the 32 bit version of mplayer. As I do not own a 64 bit system, I can't be more specific. Going through make config in mplayer (or mencoder) is always a good choice. However, playing dvd's does not seem to work :( I try to run $ mplayer dvd://1 -dvd-device /dev/acd0 and it complains about not finding some vob Sorry for not posting exact error will do so tomorrow as soon as I can. This MAY be a codec problem. You can try the following: First mount the DVD (cd_9660), then use mplayer on one of the VOB files directly. Choose one of the bigger files for this test, and maybe use mplayer's -v option to get an idea what may be wrong - the program should tell you about this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
can't determine sound card driver to use in /etc/rc.conf
Dear folks, On a new machine running AMD-64 XFCE custom by Manolis, I can't determine which sound driver to use for the sound card: grulla# kldload snd_driver grulla# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDA VIA VT1708B_1 PCM #0 Analog (play/rec) default pcm1: HDA VIA VT1708B_1 PCM #1 Analog (play) pcm2: HDA VIA VT1708B_1 PCM #2 Digital (play) grulla# pciconf -l none0@pci0:0:0:0: class=0x05 card=0xcb8410de chip=0x03ea10de rev=0xa1 hdr=0x00 isab0@pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de rev=0xa2 hdr=0x00 none1@pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de rev=0xa2 hdr=0x00 none2@pci0:0:1:2: class=0x05 card=0x34071565 chip=0x03f510de rev=0xa2 hdr=0x00 ohci0@pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de rev=0xa3 hdr=0x00 ehci0@pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de rev=0xa3 hdr=0x00 pcib1@pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de rev=0xa1 hdr=0x01 hdac0@pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de rev=0xa2 hdr=0x00 atapci0@pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de rev=0xa2 hdr=0x00 nfe0@pci0:0:7:0:class=0x068000 card=0x25051565 chip=0x03ef10de rev=0xa2 hdr=0x00 atapci1@pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de rev=0xa2 hdr=0x00 pcib2@pci0:0:9:0: class=0x060400 card=0x10de chip=0x03e810de rev=0xa2 hdr=0x01 pcib3@pci0:0:11:0: class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 pcib4@pci0:0:12:0: class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 vgapci0@pci0:0:13:0:class=0x03 card=0x14051565 chip=0x03d010de rev=0xa2 hdr=0x00 hostb0@pci0:0:24:0: class=0x06 card=0x chip=0x12001022 rev=0x00 hdr=0x00 hostb1@pci0:0:24:1: class=0x06 card=0x chip=0x12011022 rev=0x00 hdr=0x00 hostb2@pci0:0:24:2: class=0x06 card=0x chip=0x12021022 rev=0x00 hdr=0x00 hostb3@pci0:0:24:3: class=0x06 card=0x chip=0x12031022 rev=0x00 hdr=0x00 hostb4@pci0:0:24:4: class=0x06 card=0x chip=0x12041022 rev=0x00 hdr=0x00 ral0@pci0:1:6:0:class=0x028000 card=0x25611814 chip=0x03011814 rev=0x00 hdr=0x00 mixer gives me the following: grulla# mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer monitor is currently set to 75:75 Recording source: mic Thanks for your help/advice. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Mon, 2011-04-18 at 08:40 -0500, Antonio Olivares wrote: Dear folks, On a new machine running AMD-64 XFCE custom by Manolis, I can't determine which sound driver to use for the sound card: grulla# kldload snd_driver grulla# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDA VIA VT1708B_1 PCM #0 Analog (play/rec) default pcm1: HDA VIA VT1708B_1 PCM #1 Analog (play) pcm2: HDA VIA VT1708B_1 PCM #2 Digital (play) grulla# pciconf -l none0@pci0:0:0:0: class=0x05 card=0xcb8410de chip=0x03ea10de rev=0xa1 hdr=0x00 isab0@pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de rev=0xa2 hdr=0x00 none1@pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de rev=0xa2 hdr=0x00 none2@pci0:0:1:2: class=0x05 card=0x34071565 chip=0x03f510de rev=0xa2 hdr=0x00 ohci0@pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de rev=0xa3 hdr=0x00 ehci0@pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de rev=0xa3 hdr=0x00 pcib1@pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de rev=0xa1 hdr=0x01 hdac0@pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de rev=0xa2 hdr=0x00 atapci0@pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de rev=0xa2 hdr=0x00 nfe0@pci0:0:7:0: class=0x068000 card=0x25051565 chip=0x03ef10de rev=0xa2 hdr=0x00 atapci1@pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de rev=0xa2 hdr=0x00 pcib2@pci0:0:9:0: class=0x060400 card=0x10de chip=0x03e810de rev=0xa2 hdr=0x01 pcib3@pci0:0:11:0:class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 pcib4@pci0:0:12:0:class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 vgapci0@pci0:0:13:0: class=0x03 card=0x14051565 chip=0x03d010de rev=0xa2 hdr=0x00 hostb0@pci0:0:24:0: class=0x06 card=0x chip=0x12001022 rev=0x00 hdr=0x00 hostb1@pci0:0:24:1: class=0x06 card=0x chip=0x12011022 rev=0x00 hdr=0x00 hostb2@pci0:0:24:2: class=0x06 card=0x chip=0x12021022 rev=0x00 hdr=0x00 hostb3@pci0:0:24:3: class=0x06 card=0x chip=0x12031022 rev=0x00 hdr=0x00 hostb4@pci0:0:24:4: class=0x06 card=0x chip=0x12041022 rev=0x00 hdr=0x00 ral0@pci0:1:6:0: class=0x028000 card=0x25611814 chip=0x03011814 rev=0x00 hdr=0x00 mixer gives me the following: grulla# mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer monitor is currently set to 75:75 Recording source: mic Thanks for your help/advice. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Antonio Think you'll find it's a hda device... add snd_hda_load=YES to /boot/loader.conf and it should be loaded next time you boot the machine. If your not getting any sound, you might have to change the hw.snd.default_auto sysctl to match your other inputs. Regards Craig B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Mon, Apr 18, 2011 at 9:32 AM, Craig Butler craig...@lerwick.hopto.org wrote: On Mon, 2011-04-18 at 08:40 -0500, Antonio Olivares wrote: Dear folks, On a new machine running AMD-64 XFCE custom by Manolis, I can't determine which sound driver to use for the sound card: grulla# kldload snd_driver grulla# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDA VIA VT1708B_1 PCM #0 Analog (play/rec) default pcm1: HDA VIA VT1708B_1 PCM #1 Analog (play) pcm2: HDA VIA VT1708B_1 PCM #2 Digital (play) grulla# pciconf -l none0@pci0:0:0:0: class=0x05 card=0xcb8410de chip=0x03ea10de rev=0xa1 hdr=0x00 isab0@pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de rev=0xa2 hdr=0x00 none1@pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de rev=0xa2 hdr=0x00 none2@pci0:0:1:2: class=0x05 card=0x34071565 chip=0x03f510de rev=0xa2 hdr=0x00 ohci0@pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de rev=0xa3 hdr=0x00 ehci0@pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de rev=0xa3 hdr=0x00 pcib1@pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de rev=0xa1 hdr=0x01 hdac0@pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de rev=0xa2 hdr=0x00 atapci0@pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de rev=0xa2 hdr=0x00 nfe0@pci0:0:7:0: class=0x068000 card=0x25051565 chip=0x03ef10de rev=0xa2 hdr=0x00 atapci1@pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de rev=0xa2 hdr=0x00 pcib2@pci0:0:9:0: class=0x060400 card=0x10de chip=0x03e810de rev=0xa2 hdr=0x01 pcib3@pci0:0:11:0: class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 pcib4@pci0:0:12:0: class=0x060400 card=0x10de chip=0x03e910de rev=0xa2 hdr=0x01 vgapci0@pci0:0:13:0: class=0x03 card=0x14051565 chip=0x03d010de rev=0xa2 hdr=0x00 hostb0@pci0:0:24:0: class=0x06 card=0x chip=0x12001022 rev=0x00 hdr=0x00 hostb1@pci0:0:24:1: class=0x06 card=0x chip=0x12011022 rev=0x00 hdr=0x00 hostb2@pci0:0:24:2: class=0x06 card=0x chip=0x12021022 rev=0x00 hdr=0x00 hostb3@pci0:0:24:3: class=0x06 card=0x chip=0x12031022 rev=0x00 hdr=0x00 hostb4@pci0:0:24:4: class=0x06 card=0x chip=0x12041022 rev=0x00 hdr=0x00 ral0@pci0:1:6:0: class=0x028000 card=0x25611814 chip=0x03011814 rev=0x00 hdr=0x00 mixer gives me the following: grulla# mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer monitor is currently set to 75:75 Recording source: mic Thanks for your help/advice. Regards, Antonio Hi Antonio Think you'll find it's a hda device... add snd_hda_load=YES to /boot/loader.conf and it should be loaded next time you boot the machine. If your not getting any sound, you might have to change the hw.snd.default_auto sysctl to match your other inputs. Regards Craig B Thanks Craig, Apparently it works, but I put in some small speakers, but could not get music to play. Installed mplayer from within ports, # cd /usr/ports/multimedia/mplayer # make install clean and tried to play some mp3's and got a codec error :(, since machine is 64 bit installing codecs from mplayer site does not work :(, and linux compatibility is not installed. Sorry for drifting out of original sound problem, but I also tried to play a dvd and it failed to load since atapi cam was not in /boot/loader.conf because cd/dvd drive is old style(not SATA) 18.6.9 Using the ATAPI/CAM Driver Contributed by Marc Fonvieille. This driver allows ATAPI devices (CD-ROM, CD-RW, DVD drives etc...) to be accessed through the SCSI subsystem, and so allows the use of applications like sysutils/cdrdao or cdrecord(1). To use this driver, you will need to add the following line to the /boot/loader.conf file: NEEDED to add atapicam_load=YES to /boot/loader.conf http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html have added this to machine and will check tomorrow to see if sound is output by machine. Thanks for helping/advising. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
On Mon, 18 Apr 2011 20:53:41 -0500, Antonio Olivares olivares14...@gmail.com wrote: Apparently it works, but I put in some small speakers, but could not get music to play. On some machines, speakers do not activate automatically, they need a driver that switches the connector to active. Also check mixer settings. ALWAYS check them. :-) Installed mplayer from within ports, # cd /usr/ports/multimedia/mplayer # make install clean and tried to play some mp3's and got a codec error :(, since machine is 64 bit installing codecs from mplayer site does not work :(, and linux compatibility is not installed. Use command line tools like madplay or mpg123 for testing. Also consider using xmms as a versatile MP3 (and OGG/Vorbis) media player. Sorry for drifting out of original sound problem, but I also tried to play a dvd and it failed to load since atapi cam was not in /boot/loader.conf because cd/dvd drive is old style(not SATA) That doesn't matter. I have parallel ATA devices here that play nicely with ATAPICAM (mainly in use for CD and DVD recording). But you shouldn't need to have ATAPICAM in order to play DVDs. I know that mplayer has a configuration option for that... maybe it's sufficient to link /dev/acd0 to /dev/dvd (per /etc/devfs.conf) to provide the default location, or use -dvd-device dev to name it on the command line. Also make sure you have the required codecs installed. Going through make config in mplayer (or mencoder) is always a good choice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org