LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   odd problem with usbdevfs, rioutil, and my Rio S11 (https://www.linuxquestions.org/questions/linux-general-1/odd-problem-with-usbdevfs-rioutil-and-my-rio-s11-156012/)

rcrules 03-10-2004 05:11 PM

odd problem with usbdevfs, rioutil, and my Rio S11
 
I have a Rio S11 mp3 player (part of the S-series) that uses USB for uploading. The trouble is, whenever I run rioutil to access the device, it says:

cannot open /proc/bus/usb/001/001, Permission denied (13)
cannot open /proc/bus/usb/002/001, Permission denied (13)
cannot open /proc/bus/usb/003/001, Permission denied (13)

about ten times, and then says:

Device not found.
library tried to use method usbdevfs

Now, as far as I know, I have usbdevfs installed on my system, as well as hotplug. Also, the device must be used in this way, and not mounted as a filesystem; I've tried that to no avail. I tried to chmod 755 the directory in /proc/bus/usb/, but this appears to do nothing, and the program will not run as root, so I don't know what it would do in that situation. The message is the same, wether the device is plugged in and turned on, or not, and the player says "USB Connected", but it seems to say this regardless if it is connected to any certain program; I think it is just to say that it it plugged into a computer via USB.

Thanks for any help or suggestoins!

czarherr 03-10-2004 08:12 PM

i had a similar problem, but i have to run it as root. i had to end up creating a file in /dev/usb called rio0, and it just started working. try that, if i can find the site that gave me that tip, i'll send it to you, just some guy who managed to make it work put up an article that worked with no problem at all for me.

rcrules 03-10-2004 10:19 PM

Thanks, it worked fine after I did what you told me to do. However, I still have a question, though. Why is it that, when I log out and then log back in as root, instead of the superuser, I can use the program with no problems, while, when I am logged in as a regular user and then use superuser, I cannot run rioutil? When I try to use it as superuser, it just says "Command not found." I mean, I'm happy that it works now, but if anyone has any ideas as to why it works with root but not superuser, it would be a bit more useful of a program.
Thanx

czarherr 03-11-2004 10:39 AM

strange... it may be an issue with the path, but im pretty sure when you su, it puts you in that users shell... i'll do some research into that, glad to hear it works at least somewhat for ya, though, i know i was exstatic about it when i got it going :D


All times are GMT -5. The time now is 07:02 PM.