LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-18-2004, 10:51 AM   #1
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
"ioctl: Operation not permitted" (beep media playe)


I installed beep via urpmi, and when I run it gives me the error

ioctl: Operation not permitted

I have googled on the exact error, but literally every result is in german! And it only returned two pages.

Hope someone can help,

Regards,

unholy
 
Old 12-18-2004, 06:14 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
ioctl() is a system call, just like read() or write(). All of these act on files, and in the case of ioctl, on device-special files (like /dev/dsp or /dev/mixer) that control the flow of data between a user program and a piece of hardware.

Basically, beep is trying to perform an I/O control operation on a file that doesn't support it, or upon which it doesn't have write access to.

I can't tell from your post which file it could be, or what kind of ioctl() it's trying to do. About all I can suggest is that you might look at the file permissions on /dev/dsp and /dev/mixer (which are normally the only two files for sound output), or to try using alternative output modes like OSS, ALSA or SDL if it supports them.

You would probably be better off asking this question in a BMP forum (see http://www.sosdg.org/~larne/w/BMP_Homepage) as people there will know the code and be more able to help you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 03:49 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 08:12 PM
Trouble w/ Users, "Operation not permitted" soupface Ubuntu 3 02-05-2006 11:56 PM
tar problem "Cannor utime: Operation not Permitted' l32 Linux - Newbie 1 06-28-2004 05:18 PM


All times are GMT -5. The time now is 03:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration