LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   iRiver h320 and FC2 not working......please help (https://www.linuxquestions.org/questions/linux-hardware-18/iriver-h320-and-fc2-not-working-please-help-268513/)

nemos2 12-20-2004 02:59 PM

iRiver h320 and FC2 not working......please help
 
Ok, I have a iRiver h320 and I am running FC2. I have the iRiver connected via a USB 2.0 cable and the iriver device says that it is connected. I just can not find it on my machine.....

here is what my dmesg looks like :

USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1f.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 11, io base 0000ff80
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:1f.4: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 9, io base 0000ff60
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ehci_hcd 0000:02:08.2: EHCI Host Controller
ehci_hcd 0000:02:08.2: irq 11, pci mem 2a856800
ehci_hcd 0000:02:08.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:02:08.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 5 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:02:08.0: OHCI Host Controller
ohci_hcd 0000:02:08.0: irq 10, pci mem 2a85c000
ohci_hcd 0000:02:08.0: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
ohci_hcd 0000:02:08.1: OHCI Host Controller
ohci_hcd 0000:02:08.1: irq 11, pci mem 2a85e000
ohci_hcd 0000:02:08.1: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 5-2: new full speed USB device using address 2
EXT3 FS on hda2, internal journal
usb 5-2: device not accepting address 2, error -110
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
usb 5-2: new full speed USB device using address 3
usb 5-2: device not accepting address 3, error -110
cdrom: open failed.
Adding 1309288k swap on /dev/hda3. Priority:-1 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
microcode: CPU0 already at revision 0x7 (current=0x7)
microcode: No suitable data for cpu 0
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
SCSI subsystem initialized
scsi0 : AdvanSys SCSI 3.3GJ: PCI Ultra: IO 0xEC00-0xEC0F, IRQ 0x3
Vendor: SAF Model: CD-RW12432 Rev: 1.12
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0


I should also note that I do have a SCSI controller in my system, with an attached scsi cd rom.....

here is a copy of my /etc/fstab :
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

any help would be great.....I just need to find where the device.....not sure how to do that...


thanks for the help

ilikejam 12-20-2004 03:07 PM

Hi.

See if this helps:
http://forums.devhardware.com/archive/t-31331

Dave

nemos2 12-20-2004 03:16 PM

ilikejam,

thanks, i have seen that post before.... I still can not figure out where my iriver is right now....ie. I do not know if it is at sdb1, or where it might be.....I tried that mount as it was mentioned,,.... and here is what I got...

[root@localhost mnt]# mount -t vfat /dev/sdb1 /mnt/H320
mount: /dev/sdb1 is not a valid block device


so.....

any idea's on how to find where my H320 is?

ilikejam 12-20-2004 03:40 PM

This:
usb 5-2: device not accepting address 2, error -110
and this:
usb 5-2: device not accepting address 3, error -110

indicate that Linux can't deal with the device. Can you use things like flash drives, or USB hard drives on your machine?

Dave

nemos2 12-20-2004 04:05 PM

This is the first USB device that I have tried to use on my linux system....

So....

still not sure......I know that the iriver H320 can function in linux. It is treated like a UMS device....so

Ian

ilikejam 12-20-2004 04:43 PM

I've seen errors like you were getting on my machine before. Could you post the output from '/sbin/lsmod'

Dave

nemos2 12-20-2004 05:03 PM

here is my lsmod....slightly edited....

Module Size Used by
usb_storage 55392 0
sd_mod 16384 0
vfat 10496 0
fat 33472 1 vfat
di,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
soundcore 6112 4 snd
sermouse 3712 0
parport_pc 19392 1
lp 8236 0
parport 29640 2 parport_pc,lp
autofs4 10624 0
sunrpc 101064 1
tulip 36256 0
3c59x 30376 0
floppy 47440 0
sg 27552 0
sr_mod 13348 0
advansys 69668 1
scsi_mod 91344 5 usb_storage,sd_mod,sg,sr_mod,advansys
microcode 4768 0
dm_mod 33184 0
ohci_hcd 14748 0
ehci_hcd 21896 0
uhci_hcd 23708 0
button 4504 0
battery 6924 0
asus_acpi 8472 0
ac 3340 0
ipv6 184288 10
ext3 102376 2
jbd 40216 1 ext3


what is the usb_storage under the scsi???

in addition, here is my /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 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000



ian

ilikejam 12-20-2004 05:52 PM

Hmmm.

This bit in that forum I linked is a bit interesting:
"First of all, I was connecting the USB cable to the Media port, and not the Data port. "

Does that make any sense?

Plug it in, wait a few seconds, then run dmesg again and post the last 15 or so lines.

Dave

nemos2 12-20-2004 06:19 PM

Dave,

Yeah, I understand what they are talking about there.....on the h320 there is a data port and music port both of which are USB 2.0. The music port is used in windows......when transfering files that are copy protected...etc......the data port is what needs to be used in linux....got that...

my dmesg looks the same as last time...

ian

any other ideas?

ilikejam 12-20-2004 06:25 PM

The last five lines of your dmesg are:
scsi0 : AdvanSys SCSI 3.3GJ: PCI Ultra: IO 0xEC00-0xEC0F, IRQ 0x3
Vendor: SAF Model: CD-RW12432 Rev: 1.12
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
?

If so, then your machine isn't even recognising there's a device at all. Do any USB devices work?

Dave

nemos2 12-20-2004 06:32 PM

Not sure about any other USB devices....I do not have any belive it or not.....

Linux see's the adapter.....

just not the iriver...

hum....

ilikejam 12-20-2004 07:06 PM

Judging from your lsmod output, you've got more than one USB card in your system (the ohci_hcd and uhci_hcd modules are both loaded). Try using a different USB port.

Dave

nemos2 12-20-2004 07:37 PM

Dave,

Yes I do have more than one USB port. The MB has 3 on it, and those are USB 1.1 not 2.0. I have not tried them but I will. I also installed a PCI card that has 2 USB 2.0 ports on it....that is what I would like to use...because it is a lot faster...but If i Have to use the 1.1 i will...

I know that the USB 2.0 is the NEc chipset and not the intel, and it is marked ehci_hcd as the driver....

ian

elfoozo 12-20-2004 09:17 PM

These iRivers are cool little devices and I may buy one some day because I read they support vorbis. :)

All USB memory type devices I've played with have all turned up as /dev/sdaX for me (where X is the partition number of the USB memory device). You could even try listing the partitions of it with "fdisk /dev/sda" or some variation of that.

Do you have "usbview" installed and does that output anything referencing your iRiver device?

If not, try different settings in your BIOS in regards to the speed of the USB port. Even some of the newest BIOS don't allow a USB 2.0 device to have the BIOS set to USB 2.0 or Hi-speed setting.

For example, I have a SanDisk USB 2.0 Micro Cruzer memory module that I just picked up. I could not get the Cruzer to work under Linux using Hi-Speed USB 2.0 that my PC BIOS supports even though this drive works in Windows that way.

Instead I set my BIOS to USB Legacy mode and "Full Speed". The drive then works.

This leads me to believe the USB 2.0 functionality is a device driver function and not a BIOS level function. (But I am not a guru so I can't say this is 100% true, just what makes logical sense based on my experimentation).

I'd recommend leaving out any add-in PCI USB cards while troubleshooting your card initially. You could create frustration by having too many variables to factor in. Start with the USB 1.1 ports and work your way up once you see a spark of life. :)

nemos2 12-20-2004 10:02 PM

Its ALive!!!
 
Dave, and elfoozo,

thanks for all the help. I am not sure what I did, but I did change cables, and now all of a sudden it is working. Hum.....whatever works.

I changed cables and then ran dmesg again, and there it was under sda1....

So here is a break down of what I did :

1. Turn the iRiver H320 on and connect the USB cable to the data port.
2. Open a terminal and SU to root
3. run dmesg.....look for something like "scsi2 : scsi emulation for USB mass storage device..."
below that line you will find where the device is attached.
4. run mkdir /mnt/H320
this makes a dir later to mount to ...
5. run gedit /etc/fstab and add a line that is similar to this :

/dev/sd?X /mnt/H320 vfat noauto,user,rw 0 0

this allows the device to be mounted to the /mnt/H320 dir. the ? is the letter that you found in dmesg (a,b,c etc...) and the X is the number found in demsg ( 1,2,3 etc...)
6. close gedit
7. exit out of the terminal

now you should be ready to go...

from here there are a couple of ways to go.....

1. open a terminal and type : mount /mnt/H320 after that an icon should appear on your desktop....
2. Go to the menu->system tools -> disk management-> click on the H320 and hit mount......and an icon should appear on your desktop

You can now transfer files just like it was a different hard drive....
****important***** make sure that you unmount the drive before disconnecting the drive. use the umount command....

that should do it.....

For a little more info you should check out this site....
http://lonelymachines.org/iriver.html

hope this helps for those in the future..

ian


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