LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-01-2005, 07:33 PM   #16
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30

This is where the hotplug support is needed. First, try running ifp_gui as root. If that works, great. Otherwise I'll need more info. Specifically, the output of /usr/sbin/lsusb (or the output of "cat /proc/bus/usb/devices|fgrep 4102"). What we're looking for is that the device is coming up on the usb bus. 4102 is the vender ID. The next number we're interested in is the device id.

My system produces the following (I truncated irrelevant devices):

[tobind@razman ~]$ /usr/sbin/lsusb
Bus 004 Device 013: ID 4102:1007

[tobind@razman ~]$ cat /proc/bus/usb/devices|fgrep 4102
P: Vendor=4102 ProdID=1007 Rev= 0.01

IF yours isn't in the list of devices added to /etc/hotplug/usb.map, then you will unfortunately have to wait for it to be added. The good news is that I can add it and send you a special build to test. If it works, we can request it to be added to the main code stream.

First step, though is to see if ifp_gui works as root, and if not, what device id is ifp_gui looking for.
 
Old 11-02-2005, 03:04 AM   #17
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Ok. Running ifp_gui as root worked, kind of.

Code:
linux:~ # ifp_gui
ifp Device NOT found
info: ignoring device with UMS firmware.
ifp Device NOT found
linux:~ #
Basically I got the message that I needed to plug in my device and when I did that I got the same error message as before.

Also, I get this:

Code:
linux:~ # /usr/sbin/lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 03f0:2b11 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
and typing in "cat /proc/bus/usb/devices|fgrep 4102" results in nothing. So I guess this means my device is not supported?

It would be truly wonderful if you'd take the time to add it and send me a test build. :)
 
Old 11-02-2005, 10:40 AM   #18
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
It doesn't appear to be visible, unless it is showing up as the 03f0:2b11 Hewlett-Packard device. Do you have any other device plugged in?

If that is the device, I can add it to the ifp_gui to test, but I want to make sure it's the only usb device physically plugged in. Here's a couple of tests to run. First unplug it, then type "lsusb" along with "dmesg|tail". Next, plug it in, and repeat those two commands. Send me the output of both.

From what I've been able to dig up on the net, it may be crippled in North America and Europe, in that it can only communicate with Windows Media Player 10. I've seen conflicting information, so I want to be sure.

If this is true, then this is another example of Microsoft exploiting their monopolistic might. How I really hate our corporate government for allowing this.
 
Old 11-02-2005, 10:46 AM   #19
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Hewlett-Packard is my printer. :) I forgot to mention that. Do you still need me to run the tests?
 
Old 11-02-2005, 11:00 AM   #20
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Yes. I would like to see if it is even showing up on the bus.
 
Old 11-02-2005, 11:34 AM   #21
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Here we go (with printer connected, but not the iRiver):

Code:
linux:/home/cam # lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 03f0:2b11 Hewlett-Packard
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
linux:/home/cam # dmesg|tail
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=47 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=48 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=49 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=50 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=51 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=52 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=53 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=54 DF PROTO=UDP SPT=138 DPT=138 LEN=214
usb 1-7: new high speed USB device using ehci_hcd and address 3
usb 1-7: USB disconnect, address 3
And then with both plugged in:

Code:
 linux:/home/cam # lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 03f0:2b11 Hewlett-Packard
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 4102:1119 iRiver, Ltd.
Bus 001 Device 001: ID 0000:0000
linux:/home/cam # dmesg|tail
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=48 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=49 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=50 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=51 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=52 DF PROTO=UDP SPT=138 DPT=138 LEN=214
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=248 TOS=0x00 PREC=0x00 TTL=64 ID=53 DF PROTO=UDP SPT=138 DPT=138 LEN=228
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.0.122 DST=192.168.0.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=54 DF PROTO=UDP SPT=138 DPT=138 LEN=214
usb 1-7: new high speed USB device using ehci_hcd and address 3
usb 1-7: USB disconnect, address 3
usb 1-7: new high speed USB device using ehci_hcd and address 4
I must have missed plugging the iRiver in the last time I used the lsusb command, because now it's showing and it didn't before. Rookie stupidness. Embarassing. :)
 
Old 11-02-2005, 12:05 PM   #22
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Ok, I added the ID to the ifp_gui program and built it (super easy). Not sure how to get it to you, though. Reply if you have a suggestion, otherwise, download the source code (http://prdownloads.sourceforge.net/i...ar.gz?download), open it in a temporary directory (tar -zxvf ifp_gui-0.10.4.tar.gz), and get ready for a single line edit.

To modify the code, do the following (don't type my # comments) :

cd ifp_gui-0.10.4/src/libifp
vi prim.c
:24 # this will jump down to the line we want to copy/modify
yy # copies current line into the buffer
p # pastes buffer
R # enter "replace/Overwrite mode"
# use the arrow keys to move the cursor and replace 1011 with 1119
:wq # save and exit
cd ../../ # return to the head of the source tree
./build.sh # rebuild. with any luck, it should finish without error, and you'll have a new version of ifp_gui in the ./bin directory.

Like I said earlier, I have a built version that I can send you if you don't want to do this. Since I don't have this particular player, I'm not sure it will work, but it's worth a shot.
 
Old 11-02-2005, 12:12 PM   #23
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
I've sent you an email with my email address. Would be super great if you'd send me the built version. :)
 
Old 11-02-2005, 01:39 PM   #24
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
I've tried the new build now but no luck, I'm afraid. I get the same error message ("Could not communicate with iRiver device").

I guess this means that it actually only will work with Windows Media Player 10?

Last edited by cmlal; 11-02-2005 at 01:46 PM.
 
Old 11-02-2005, 01:42 PM   #25
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Did you run the command as root? By default, when the device is plugged in, root is the only user with access rights.
 
Old 11-02-2005, 01:45 PM   #26
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Yes, I did run the command as root. :/
 
Old 11-02-2005, 01:56 PM   #27
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
At this stage, I think that we have explored all we can with this unit. I suggest either returning the unit and getting an older IFP-7xx, or if you would like to help getting it working, join the email at ifp-driver-common AT lists.sourceforge.net. You might be able to provide them with some useful information that they can use to build a working ifp_gui version.

Sorry I couldn't help further. Microsoft/DRM seems to be getting in the way.

Tobin
 
Old 11-02-2005, 02:01 PM   #28
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
I'll probably pass this one on to my sister and get myself another one that'll give me less trouble.

Thank you so much though for all your time & useful input! I learned a lot. :)
 
Old 11-03-2005, 12:15 PM   #29
tux_studio
LQ Newbie
 
Registered: Feb 2004
Distribution: Many
Posts: 3

Rep: Reputation: 0
1) In SuSE 10, I have found that you do not need to run the nonroot.sh script.
2) Typically, I unplug my iRiver, turn it off, and wait about 3 seconds.
Then, I will plug in the USB cable, turn it on, and wait about 3 seconds.
Finally, start ifp_gui.

If you have a device that is supported you will see the battery status, storage used, and files appear in the application.

(Assuming you have the ifp_gui package installed)
To start ifp_gui just type ifp_gui. If this does not work, try /usr/local/bin/ifp_gui


Hope this helps
--tux
 
Old 11-03-2005, 01:14 PM   #30
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for your input. It turns out though that my device is not supported. GrueMaster even made a new build of ifp_gui but it seems the T30 is made not to function with anything else than Windows Media Player 10. I had a look at ifp_gui though and it seems really nice. :) It's a pity I can't use it.
 
  


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
will my RCA k@zoo portable mp3 player work on linux miner Linux - Software 11 01-12-2011 11:49 AM
Portable MP3 Player oulevon Linux - General 3 04-27-2005 07:18 AM
Which portable MP3 player is best for Linux Stevetgn Linux - Hardware 1 06-22-2004 04:20 PM
is there anyway that I can transfer to my portable MP3 player in linux? onelung02 Linux - Newbie 7 12-14-2003 08:22 PM
more on the portable mp3 player problem onelung02 Linux - Newbie 5 12-13-2003 09:53 AM


All times are GMT -5. The time now is 09:56 PM.

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