LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-23-2004, 09:01 PM   #1
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30

I am dealing with problems similar to ones in this thread.
http://www.linuxquestions.org/questi...hlight=rioutil
I am assuming it is a text file they are creating.

Thought i would try this and see if it would rectify my problems with rioutil and jrioutil. My problem being I do not seem to be able to create a file (rio0) in /dev/usb. Not as user or even as root! I'm at a loss, any suggestions?

Last edited by Lakota; 10-23-2004 at 10:05 PM.
 
Old 10-23-2004, 09:12 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Eh, you don't create files in /dev/usb as this is the filesystem "placeholder" for a loaded device driver.

Instead you MOUNT /dev/usb to another location on the actual filesystem.

e.g.

mkdir /mnt/usb
mount /dev/usb /mnt/usb
cd /mnt/usb
l
 
Old 10-23-2004, 09:32 PM   #3
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
Opjose, maybe you can understand what is going wrong here. Pasted below is the output from rioutil. When i use jrioutil, a gui front end, i can see all files on the usb device, I can also delete them but to try to upload it stops at 4%, and refreshes track list. So I tried it at command line and this is what I get:


[root@x1-6-00-0a-e6-91-be-32 don]# rioutil
Usage: rioutil <OPTIONS>

Interface with Diamond MM MP3 players.
An option is required, and if you use either the -t or
the -s options you must use them with the -a option

uploading:
-a, --upload=<file> upload an track
-b, --bulk=<filelist> upload mutiple tracks
-u, --update=<file> update with a new firmware

uploading from pipe:
-p, --pipe <mp3?(1 or 0)> <filename> <bitrate> <samplerate>

-s, --artist=<string> artist. MAX:63 chars
-t, --title=<string> title. MAX:63 chars
-r, --album=<string> album. MAX:63 chars

other commands:
-j, --playlist <name> <list of mem_unit,song> create playlist (S-Series and newer)
i.e. rioutil -j fubar 0,0 1,0 (song 0 on mem_unit 0, song 0 on mem_unit 1)
-i, --info rio info
-l, --list list tracks
-f, --format format rio memory (default is internal)
-n, --name=<string> change the name. MAX:15 chars
-c, --download=<int> download a track(s)
-d, --delete=<int> delete a track(s)

options:
-o, --device=<int> minor number of rio (assigned by driver), /dev/usb/rio?
-k, --nocolor supress ansi color
-m, --memory=<int> memory unit to upload/download/delete/format to/from
-e, --debug increase verbosity level.
-z, --recovery use recovery mode. for use with players in "upgrader" mode
rioutil info: librioutil driver: libusb
-v, --version print version
-?, --help print this screen

[root@x1-6-00-0a-e6-91-be-32 don]# rioutil /usr/local/bin/rioutil --memory=1 -a /mnt/hd/MP3 Library/4Rio/Gordon Lightfoot - Sundown.mp3
Attempting to open Rio and retrieve song list....done
Free space on Internal Memory is 2.8 MB.
Free space on Secure Digital (SD) Card is 7.6 MB.
Setting up signal handler

Could not stat /mnt/hd/MP3!
[root@x1-6-00-0a-e6-91-be-32 don]#
 
Old 10-24-2004, 07:32 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
It sounds like you are getting a disconnect or communication error in the USB device driver.

I can't tell you for sure.

Linux usually installs it's own USB kernel module drivers to handle usb communication.

You may be seeing a minor conflict with the loaded drivers or you may have the wrong ones loaded.

Linux can use ohci, ehci and uhci drivers and I believe it usually loads two communication protocols.

You may need to try switching drivers.

Google around a bit for more info on ohci and usb problems.
 
  


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
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
USB CDRW: sg won't create sg* device in /dev sugapablo Linux - Hardware 3 05-06-2005 08:07 PM
minicom: cannot open /dev/usb/tts/0: No such file or directory tcma Linux - Software 1 10-03-2004 07:02 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
Mounting USB Devices--Controlling the dev file lawrencegoodman Linux - Hardware 1 03-08-2004 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration