To: cygwin AT cygwin DOT com From: Jeffrey Barish Subject: CDDB and DiscID for Python on cygwin Date: Tue, 15 Nov 2005 21:13:17 -0700 Lines: 14 Message-ID: Reply-To: jeff_barish AT earthlink DOT net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I have been trying again to get CDDB and DiscID to work on cygwin. I made it farther than I did last time I tried: I was able to get cdrommodule.c (a C extension module to the Python modules) to compile this time (problems with include files). My program now runs, but it gags when DiscID tries to read the toc header (cdrom.toc_header(device)). It looks as if the problem is related to an ioctl: ioctl(cdrom_fd, CDDB_READ_TOC_HEADER_FLAG, &hdr) I am accessing the cdrom as /dev/scd0. The open call completes successfully. Is there a known incompatibility between ioctl and cygwin? I'm new to cygwin, so I don't know what else to try now. -- Jeffrey Barish -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/