Subject: admin/17284: playing audio cd from usb external cd-rw gives ioctl(CDIOCPLAYTRACKS): Invalid argument error!
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sucho2@vt.edu>
List: netbsd-bugs
Date: 06/16/2002 10:23:39
>Number:         17284
>Category:       admin
>Synopsis:       playing audio cd from usb external cd-rw gives ioctl(CDIOCPLAYTRACKS): Invalid argument error!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    netbsd-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 16 10:24:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sung N. Cho
>Release:        NetBSD 1.6A
>Organization:
Home
>Environment:
NetBSD snc 1.6A NetBSD 1.6A (MYKERNL-$Revision: June.15.2002 $) #0: Sat June 15 23:40:36 UTC 2002   root@snc:/home/NetBSD-current/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
Hi,

I just bought an Iomega USB CD-RW 16x10x40 external cdrom/recorder and it
works well with NetBSD (1.6A). I am able to record and read off the drive.
However, when I try to play music (audio) from it, I get
ioctl(CDIOCPLAYTRACKS): Invalid argument error! What do I need to do to play
audio cd off the external USB drive?

/dev/cd0a is my internal ATAPI cdrom
/dev/cd1a is my external USB cdrom

so to play audio, I am doing

cdplay -f /dev/cd1a

or using xcdplayer,

xcdplayer -device /dev/cd1a

But all gives me that `ioctl(CDIOCPLAYTRACKS): Invalid argument` error!


Here's my short dmesg:

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: