Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-23-2005, 03:48 PM
|
#1
|
LQ Newbie
Registered: Oct 2005
Distribution: Suse 10.0
Posts: 5
Rep:
|
Iriver T10 on suse 10.0
Hi!!
I have a Iriver t10 512 MB mp3-player. I want to use it on suse 10.0.. ( I have dual boo suse and winXP)
what I knew for now that I have to mount...
but I am a newbie so I don't know how to do that..can someone give me some advice?
thx
|
|
|
10-24-2005, 12:12 PM
|
#2
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
You need to create a mount point, which is basically just a directory. Most people put mount points in /mnt so for example you could run (as root) Then plug in the iriver to the USB port, assuming it acts as a standard mass storage device it will be assigned a scsi device node in /dev. You could check this by running (as root)
Code:
tail /var/log/messages
but just try mounting it like so:
Code:
mount -t vfat /dev/sda1 /mnt/iRiver
Then you should be able to use it, but don't forget to umount /mnt/iRiver before you turn it off.
If this doesn't quite work and you don't mind waiting a day or two, I'm picking up my new iRiver player soon and will be setting it up. I'll duplicate the steps here.
|
|
|
10-24-2005, 12:15 PM
|
#3
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Oh yeah, if this works fine you probably want to add an entry in /etc/fstab like so:
Code:
/dev/sda1 /mnt/iRiver vfat noauto,users 0 0
Then you can mount and use it however you like.
|
|
|
10-24-2005, 03:46 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Distribution: Suse 10.0
Posts: 5
Original Poster
Rep:
|
Password:
linux:/home/sayemchii # mkdir /mnt/iRiver
linux:/home/sayemchii # tail /var/log/messages
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost synchronization, throwing 1 bytes away.
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1
Oct 24 22:39:10 linux kernel: psmouse.c: TouchPad at isa0060/serio2/input0 - driver resynched.
Oct 24 22:40:18 linux su: (to root) sayemchii on /dev/pts/0
Oct 24 22:40:34 linux kernel: usb 5-4: USB disconnect, address 3
Oct 24 22:40:37 linux kernel: usb 5-4: new high speed USB device using ehci_hcd and address 4
linux:/home/sayemchii # mount -t vfat /dev/sda1 /mnt/mp3
...
mount: /dev/sda1 already mounted or /mnt/mp3 busy
mount: according to mtab, /dev/sda1 is mounted on /windows/C
Above I have pasted from my konsole. I guess I forgot one important thing, I am running dual boot with winxp and suse 10.0
What should I do now? does it mean that I can't use my mp3-player on linux? about the thing you said "... acts as a standard mass storage device..." IS MY MP3-PLAER DOING THAT?
And as u can see, I already have a catalog called mp3 under mnt. so my first command where I created another catalog is not needed. (mkdir /mnt/iRiver)..or?
//
Last edited by sayemchii; 10-24-2005 at 03:49 PM.
|
|
|
10-24-2005, 11:30 PM
|
#5
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Quote:
Originally posted by sayemchii
Oct 24 22:40:37 linux kernel: usb 5-4: new high speed USB device using ehci_hcd and address 4
.
.
.
What should I do now? does it mean that I can't use my mp3-player on linux? about the thing you said "... acts as a standard mass storage device..." IS MY MP3-PLAER DOING THAT?
|
It doesn't look like it, so I guess your iRiver uses Manager rather than UMS firmware.
Quote:
And as u can see, I already have a catalog called mp3 under mnt. so my first command where I created another catalog is not needed. (mkdir /mnt/iRiver)..or?
|
Well, I prefer to keep every device separate, if you created /mnt/mp3 in order to use it with this device than certainly you didn't need to create /mnt/iRiver. I also like to make mount points fairly explanitory.
Anyway, I picked up my iRiver today and got it working two different ways. One is a bit of a kludge but is easier and functional, the other requires some kernel patching but works much better for me. Here are the two ways of doing it:
1.
a) Go to http://ifp-driver.sourceforge.net/ and download ifp-line, put it somewhere like ~/src
b) cd ~/src ; tar xvfz ifp-line-0.2.4.6 ; cd ifp-line-0.2.4.6
c) follow the instructions in README
2.
a) Go to http://ifp-driver.sourceforge.net/ and download linux-filesystem kernel module (iriverfs-r0.1.0.1.patch.gz), put it in /usr/src
b) unzip it (you don't have to do this, but this is what I did to be cautious)
c) cd linux ; patch -p1 <../iriverfs-r0.1.0.1.patch
d) edit fs/iriver/inode.c changing line 138 from ".memory_backed = 1, " to ".capabilities = 0," (I'm not sure for which kernel version this changed, but was necessary for 2.6.13.4, you may not need to do this)
e) make modules ; (as root) make modules_install
f) add the following line to /etc/fstab: "none /mnt/iRiver iriver noauto,users 0 0"
g) now you can mount using the following command: mount -t iriver none /mnt/iRiver
All this assumes that the proper backing libraries and so forth are present (libusb, for example), /usr/src/linux is a symlink to your current kernel, etc. I hope that was clear enough... Let me know if there's anything that you're unsure about and I'll try to clarify.
|
|
|
11-07-2005, 11:21 AM
|
#6
|
LQ Newbie
Registered: Nov 2005
Posts: 4
Rep:
|
ciotag, just got my T30 Iriver, and am quite excited to start using it.
But with only access to SuSE 9.3, I have to install this linuxfs patch. And your instructions had me up until this point:
Code:
host src/linux# vim fs/iriver/inode.c
host src/linux# make modules
Makefile:494: .config: No such file or directory
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
make: *** [modules] Error 1
host src/linux# make config
I did not build the linux from source, just from the CD distribution. Am I really going to want to rebuild linux? Never done that before, and am quite intimidated to do so.
Also of note, before I found your email-thread with instructions, I had already tried and failed the ifp-line functions. I like them! (I love command-line based stuff) but it doesn't recognize the device.
Code:
twm@host> tar -zxf ifp-line-0.2.4.6.tar.gz
twm@host> cd ifp-line-0.2.4.6/
twm@host> make
cc `libusb-config --cflags` -Wall -g -c -o ifp.o ifp.c
cc `libusb-config --cflags` -Wall -g -c -o ifp_routines.o ifp_routines.c
cc `libusb-config --cflags` -Wall -g -c -o unicodehack.o unicodehack.c
cc -o ifp ifp.o ifp_routines.o unicodehack.o `libusb-config --libs`
twm@host> ifp
ifp: File manager for iRiver iFP music player. (version 0.2.4.6)
twm@host> ifp ls
iRiver iFP device not found.
Note: Please check USB connection.
Yup. Checked it. It's there. It's plugged in. It's on.
|
|
|
11-08-2005, 12:43 AM
|
#7
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Ah, I should have mentioned that you need to have a configured kernel source before applying the steps, and actually now that you mention it you would probably need to "make menuconfig" before "make modules" and enable the iriver fs module. In your case the file .config didn't even exist yet which indicates that it will be quite a bit of work getting the kernel patch going.
As for installing ifp-line, I think you have to run the following script in the ifp-line-0.2.4.6 directory:
|
|
|
11-08-2005, 02:11 PM
|
#8
|
LQ Newbie
Registered: Nov 2005
Posts: 4
Rep:
|
I believe that all of this is a wash for me, since my iRiver component requires use of the MTP protocol, and is incompatible with UMS protocol. In other words, I am stuck with Windows Media Player, when my true desire is SuSE. I give up easily: back to the distributor my T30 goes.
Thanks for your help.
|
|
|
11-08-2005, 10:38 PM
|
#9
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Wow, I just started reading about MTP - that really sucks. One of the reasons why I chose iRiver is their support of the non-proprietary ogg format, but it looks like they've done a full 180 by going with MTP.
I suppose it might be possible to use the iRiver firmware updater program to install the UMS firmware, but I don't think it would be worth the risk. I think you're wise to send it back, especially to send a message that you disapprove of their use of such a highly restrictive interface (forcing the use of WMP is absurd...)
|
|
|
11-09-2005, 08:51 AM
|
#10
|
LQ Newbie
Registered: Nov 2005
Posts: 4
Rep:
|
Amen, brother friend. (or sister friend.)
I believe you and I are on the same page. iRiver support is hearing from me.
|
|
|
12-31-2005, 12:58 PM
|
#11
|
LQ Newbie
Registered: Jan 2004
Distribution: SuSE 9.3
Posts: 10
Rep:
|
A long time has passed since this thead was active, never the less, check Tux magazine in Oct. or Nov. for help with the iRiver.
|
|
|
01-01-2006, 11:28 AM
|
#12
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Unfortunately none of that article applies to the newer MTP based devices.
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|