home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 87,153 of 87,272   
   Mike Spencer to Ben Collver   
   Re: Play audio CD-ROM on Slack 15?   
   04 Aug 25 03:54:01   
   
   From: mds@bogus.nodomain.nowhere   
      
   Ben Collver  writes:   
      
   > On 2025-08-02, Mike Spencer  wrote:   
   >>   
   >> I just discovered that I can't play a music cd on my Slackware 15.0   
   >> install.   
   >>   
   >>    enoch% mplayer -cdrom-device /dev/cdrom cdda://1   
   >>   
   >> plays but stops evey ca. 15 seconds to say   
   >>   
   >>    [AO_ALSA] Write error: Broken pipe   
   >>    [AO_ALSA] Trying to reset soundcard.   
   >   
   > Your mplayer example works for me on Slackware64 15.0.   
      
   I did a complete (except KDE) vanilla install.  Audio worked w/ DVDs,   
   music files so I never looked at any audio stuff until now.   
      
   > Does the output of `groups` include audio and cdrom?   
      
   Yeah. Single user system. I'm in   
      
   users lp floppy audio video cdrom slocate input plugdev power netdev scanner   
      
   > Otherwise, i'd probably resort to `strace`   
      
   At about the point of failure, strace says:   
      
      
   munmap(0xae24a000, 2826240)             = 0   
   mmap2(NULL, 2826240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =   
   0xae24a000   
   ioctl(3, CDROM_SEND_PACKET, 0xbfb67244) = 0   
      
       [repeated 47 times]   
      
   write(2, "\n", 1)                       = 1   
   write(2, "[AO_ALSA] Write error: Broken pi"..., 35[AO_ALSA] Write error:   
   Broken pipe) = 35   
   write(1, "[AO_ALSA] Trying to reset soundc"..., 37[AO_ALSA] Trying to reset   
   soundcard.   
   ) = 37   
      
   so I'm no further ahead 'cause that was reported on the invoking   
   console.   
      
   MPlayer would be fine if it worked.  What I really want is a very   
   simple command line tool  to just start a cd playing.  I've had   
   something called cdp for many years that did that. Not on Slack 15,   
   It runs, prints   
      
      cdp : audio CD player by saby@balu.sch.bme.hu   
      Playing tracks 1-10...   
      
   (so it's read from the CD) but does nothing else.   
      
   write(1, "cdp : audio CD player by saby@ba"..., 46cdp : audio CD player by   
   saby@balu.sch.bme.hu   
   ) = 46   
   openat(AT_FDCWD, "/dev/cdrom", O_RDONLY) = 3   
   ioctl(3, CDROMREADTOCHDR, 0x8049d2c)    = 0   
   write(1, "Playing tracks 1-10...\n", 23Playing tracks 1-10...   
   ) = 23   
   ioctl(3, CDROMPLAYTRKIND, 0x8049d3c)    = 0   
   close(3)                                = 0   
   exit_group(0)                           = ?   
   +++ exited with 0 +++   
      
   Does that tell you anything?   
      
   I found https://hinterhof.net/cdtool/ on line that sound like just   
   what I want but it hasn't been maintained/updated for 19 years and has   
   compile errors due, aparently, to changes in stdio.h.  My very amateur   
   attempts to hack around the error produced error-free compile and   
   runable program but with further difficulties too tedious to list here   
   unless you ask.   
      
   It's getting late.  I'll come back to this Tomorrow.   
      
      
   >   
   > Best regards,   
   > -Ben   
      
   --   
   Mike Spencer                  Nova Scotia, Canada   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca