View previous topic :: View next topic |
Author |
Message |
Jacksinsomnia n00b
Joined: 16 Oct 2003 Posts: 33
|
Posted: Wed Nov 05, 2003 4:12 pm Post subject: Ipod problem |
|
|
I'm having problems getting my new 40gb Ipod to work with Gentoo. I've followed the steps in the linux howto (i had it setup under mandrake following those steps) and I found some instructions on the forum, but I still haven't gotten it working.
This is my fstab entry
Code: |
/dev/sda2 /mnt/ipod vfat defaults,uid=500,gid=500,user,noauto 0 0
|
This is what dmesg shows when I plug it in:
Code: |
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[01:1023]: Max speed [S400] - Max payload [2048]
ieee1394: Device added: Node[01:1023] GUID[000a270002519567] [Apple Computer, Inc.]
|
It can't be mounted Code: | mount: special device /dev/sda2 does not exist
|
And when I run the popular rescan-scsi-bus.sh it outputs this and then stays there forever, I'm not sure if its waiting for input or what.
Code: |
Host adapter 0 (sbp2) found.
Scanning hosts 0 channels 0 for
SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Apple Model: iPod Rev: 1.50
Type: Direct-Access ANSI SCSI revision: 02
Scanning for device 0 0 1 0 ...
OLD: Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 2 0 ...
NEW:
|
Any help with getting this working would be great. I hate having to use my brothers computer with windows to transfer music to my ipod. |
|
Back to top |
|
|
my_nick n00b
Joined: 07 Jul 2003 Posts: 28 Location: Slovenia
|
Posted: Wed Nov 05, 2003 7:10 pm Post subject: |
|
|
Have you got these options built in as modules?
SCSI module (scsi_mod)
SCSI disk modules (sd_mod)
ieee1394
ohci1394
sbp2
maybe sr_mod (it is loaded but I don't know if iPod uses it)
Then you just do:
Code: | modprobe scsi_mod
modprobe sd_mod
modprobe ieee1394
modprobe ohci1394
modprobe sbp2
rescan-scsi-bus.sh
mount /mnt/ipod
gtkpod (or anything else) |
You can also use my script /etc/init.d/ipod
Code: | #!/sbin/runscript
#This script mounts an iPod. It was created by the magnificent Saso Span ;)
start() {
ebegin "Docking iPod"
/sbin/modprobe scsi_mod
/sbin/modprobe sd_mod
/sbin/modprobe ieee1394
/sbin/modprobe ohci1394
/sbin/modprobe sbp2
/usr/bin/sleep 1s
/usr/bin/rescan-scsi-bus.sh
/usr/bin/gtkpod
eend $? "Failed to dock iPod"
}
stop() {
ebegin "Undocking iPod"
/sbin/rmmod sbp2
/sbin/rmmod ohci1394
/sbin/rmmod ieee1394
/sbin/rmmod sd_mod
/sbin/rmmod scsi_mod
eend $? "Failed to undock iPod"
}
|
Feel free to change it if you need the scsi modules |
|
Back to top |
|
|
Jacksinsomnia n00b
Joined: 16 Oct 2003 Posts: 33
|
Posted: Thu Nov 06, 2003 7:17 am Post subject: |
|
|
This is what I get when I run your script (with the ipod plugged in)
Code: |
/etc/init.d/ipod start
* Docking iPod...
Host adapter 0 (sbp2) found.
Scanning hosts 0 channels 0 for
SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Apple Model: iPod Rev: 1.50
Type: Direct-Access ANSI SCSI revision: 02
Scanning for device 0 0 1 0 ...
OLD: Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 2 0 ...
OLD: Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 3 0 ...
OLD: Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 4 0 ...
OLD: Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 5 0 ...
OLD: Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
Scanning for device 0 0 6 0 ...
NEW:
|
|
|
Back to top |
|
|
my_nick n00b
Joined: 07 Jul 2003 Posts: 28 Location: Slovenia
|
Posted: Fri Nov 07, 2003 2:54 pm Post subject: |
|
|
First try to load the modules by hand and then use my script or change it.
The script is, as you see, very simple, so you can play with different modules but their order for modprobe is like this:
scsi modules
ieee modules (ieee1394 then ohci1394 and finally sbp2)
Then you have to (or maybe not ) run rescan-scsi-bus.sh
If you have a device /dev/sda and you don't have any scsi devices or usb disks you don't need rescan-scsi-bus.sh |
|
Back to top |
|
|
rogeroberholtzer n00b
Joined: 07 Jan 2003 Posts: 43 Location: Stockholm, Sweden
|
Posted: Mon Nov 24, 2003 5:05 pm Post subject: |
|
|
When I try to use the iPod, I get:
Nov 22 09:55:36 [kernel] sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
Nov 22 09:55:36 [kernel] scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
Nov 22 09:55:36 [kernel] ieee1394: sbp2: sbp2_firmware_revision = a2700
Nov 22 09:55:36 [kernel] ieee1394: sbp2: Error logging into SBP-2 device - login failed
I have loaded scsi_mod and sr_mod. As well as the 1394 drivers.
Any ideas? |
|
Back to top |
|
|
|