Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 11/01/2006, à 12:52

sksbir

[résolu] Toshiba s5100 : probleme Firewire.

Symptomes actuels : La mise sous tension d'un DD externe en firewire ne fait pas réagir mon toshiba satellite S5100-103
De plus, ce portable déja un peu ancien n'est pas en USB2 (seulement usb1), et ça serait donc un vrai bonheur de pouvoir utiliser la connexion firewire pour les disques externes.

root:~# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 42)
0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go] (rev a3)
0000:02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
0000:02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
0000:02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
0000:02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
0000:02:0c.0 System peripheral: Toshiba America Info Systems TC6371AF SmartMedia Controller (rev 03)
0000:02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
root:~#
root:~# dmesg
d protocol family 2
[4294669.080000] IP: routing cache hash table of 4096 buckets, 32Kbytes
[4294669.080000] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[4294669.080000] TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
[4294669.080000] TCP: Hash tables configured (established 32768 bind 32768)
[4294669.080000] NET: Registered protocol family 8
[4294669.080000] NET: Registered protocol family 20
[4294669.081000] ACPI wakeup devices:
[4294669.081000]  LAN CBC0 CBC1  SDC  SMC USB1 USB2 AMDM  LID
[4294669.081000] ACPI: (supports S0 S3 S4 S5)
[4294669.081000] Freeing unused kernel memory: 168k freed
[4294669.103000] vga16fb: initializing
[4294669.103000] vga16fb: mapped to 0xc00a0000
[4294669.263000] Console: switching to colour frame buffer device 80x30
[4294669.263000] fb0: VGA16 VGA frame buffer device
[4294669.276000] input: AT Translated Set 2 keyboard on isa0060/serio0
[4294670.420000] Capability LSM initialized
[4294670.436000] NET: Registered protocol family 1
[4294670.455000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294670.455000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[4294670.455000] ACPI: bus type ide registered
[4294670.465000] ICH3M: IDE controller at PCI slot 0000:00:1f.1
[4294670.466000] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 6
[4294670.466000] PCI: setting IRQ 6 as level-triggered
[4294670.466000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 6 (level, low) -> IRQ 6
[4294670.466000] ICH3M: chipset revision 2
[4294670.466000] ICH3M: not 100% native mode: will probe irqs later
[4294670.466000]     ide0: BM-DMA at 0xcfa0-0xcfa7, BIOS settings: hda:DMA, hdb:pio
[4294670.466000]     ide1: BM-DMA at 0xcfa8-0xcfaf, BIOS settings: hdc:DMA, hdd:pio
[4294670.466000] Probing IDE interface ide0...
[4294670.730000] hda: TOSHIBA MK4019GAX, ATA DISK drive
[4294671.342000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4294671.342000] Probing IDE interface ide1...
[4294672.014000] hdc: UJDA730 DVD/CDRW, ATAPI CD/DVD-ROM drive
[4294672.626000] ide1 at 0x170-0x177,0x376 on irq 15
[4294672.626000] Probing IDE interface ide2...
[4294673.139000] Probing IDE interface ide3...
[4294673.651000] Probing IDE interface ide4...
[4294674.169000] Probing IDE interface ide5...
[4294674.686000] hda: max request size: 128KiB
[4294675.017000] hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(100)
[4294675.017000] hda: cache flushes supported
[4294675.018000]  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
[4294675.056000] hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
[4294675.056000] Uniform CD-ROM driver Revision: 3.20
[4294675.436000] Attempting manual resume
[4294675.447000] swsusp: Suspend partition has wrong signature?
[4294675.480000] usbcore: registered new driver usbfs
[4294675.480000] usbcore: registered new driver hub
[4294675.481000] USB Universal Host Controller Interface driver v2.2
[4294675.481000] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[4294675.481000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[4294675.481000] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[4294675.481000] uhci_hcd 0000:00:1d.0: Intel Corporation 82801CA/CAM USB (Hub #1)
[4294675.544000] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[4294675.544000] uhci_hcd 0000:00:1d.0: irq 11, io base 0x0000efe0
[4294675.544000] hub 1-0:1.0: USB hub found
[4294675.544000] hub 1-0:1.0: 2 ports detected
[4294675.547000] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
[4294675.547000] PCI: setting IRQ 7 as level-triggered
[4294675.547000] ACPI: PCI Interrupt 0000:00:1d.1[b] -> Link [LNKD] -> GSI 7 (level, low) -> IRQ 7
[4294675.547000] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[4294675.547000] uhci_hcd 0000:00:1d.1: Intel Corporation 82801CA/CAM USB (Hub #2)
[4294675.609000] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[4294675.609000] uhci_hcd 0000:00:1d.1: irq 7, io base 0x0000ef80
[4294675.609000] hub 2-0:1.0: USB hub found
[4294675.609000] hub 2-0:1.0: 2 ports detected
[4294675.612000] PCI: Enabling device 0000:00:1d.2 (0000 -> 0001)
[4294675.612000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 6 (level, low) -> IRQ 6
[4294675.612000] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[4294675.612000] uhci_hcd 0000:00:1d.2: Intel Corporation 82801CA/CAM USB (Hub #3)
[4294675.674000] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[4294675.674000] uhci_hcd 0000:00:1d.2: irq 6, io base 0x00001000
[4294675.674000] hub 3-0:1.0: USB hub found
[4294675.674000] hub 3-0:1.0: 2 ports detected
[4294675.743000] usb 1-2: new low speed USB device using uhci_hcd and address 2
[4294675.776000] e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
[4294675.776000] e100: Copyright(c) 1999-2005 Intel Corporation
[4294675.776000] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 4
[4294675.776000] PCI: setting IRQ 4 as level-triggered
[4294675.776000] ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNKE] -> GSI 4 (level, low) -> IRQ 4
[4294675.800000] e100: eth0: e100_probe: addr 0xfceff000, irq 4, MAC addr 00:00:39:C0:79:AF
[4294676.039000] usb 2-2: new low speed USB device using uhci_hcd and address 2
[4294677.862000] usbcore: registered new driver hiddev
[4294677.882000] input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2
[4294677.900000] input: USB HID v1.00 Mouse [Synaptics Inc. Synaptics Touchpad] on usb-0000:00:1d.1-2
[4294677.900000] usbcore: registered new driver usbhid
[4294677.900000] drivers/usb/input/hid-core.c: v2.01:USB HID core driver
[4294678.436000] ACPI: Fan [FAN0] (off)
[4294678.436000] ACPI: Fan [FAN1] (off)
[4294678.440000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[4294678.442000] ACPI: Thermal Zone [THRM] (63 C)
[4294678.770000] Attempting manual resume
[4294678.785000] swsusp: Suspend partition has wrong signature?
[4294678.817000] ReiserFS: hda2: found reiserfs format "3.6" with standard journal
[4294679.557000] ReiserFS: hda2: using ordered data mode
[4294679.579000] ReiserFS: hda2: journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[4294679.580000] ReiserFS: hda2: checking transaction log (hda2)
[4294679.634000] ReiserFS: hda2: Using r5 hash to sort names
[4294680.931000] md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
[4294685.207000] Adding 586364k swap on /dev/hda3.  Priority:-1 extents:1
[4294694.332000] lp: driver loaded but no devices found
[4294694.393000] mice: PS/2 mouse device common for all mice
[4294694.475000] ieee1394: Initialized config rom entry `ip1394'
[4294694.481000] SCSI subsystem initialized
[4294694.488000] sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
[4294694.525000] Linux agpgart interface v0.101 (c) Dave Jones
[4294694.558000] nvidia: module license 'NVIDIA' taints kernel.
[4294694.576000] ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
[4294694.576000] PCI: setting IRQ 5 as level-triggered
[4294694.576000] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKG] -> GSI 5 (level, low) -> IRQ 5
[4294694.577000] NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7667 Fri Jun 17 07:01:04 PDT 2005
[4294694.796000] input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
[4294696.165000] ts: Compaq touchscreen protocol output
[4294698.901000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[4294699.767000] cdrom: open failed.
[4294703.932000] ReiserFS: hda4: found reiserfs format "3.6" with standard journal
[4294705.387000] ReiserFS: hda4: using ordered data mode
[4294705.406000] ReiserFS: hda4: journal params: device hda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[4294705.407000] ReiserFS: hda4: checking transaction log (hda4)
[4294705.435000] ReiserFS: hda4: Using r5 hash to sort names
[4294707.318000] agpgart: Detected an Intel i845 Chipset.
[4294707.354000] agpgart: AGP aperture is 256M @ 0xe0000000
[4294707.466000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[4294707.474000] shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
[4294707.474000] shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
[4294707.791000] hw_random: RNG not detected
[4294707.862000] shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
[4294707.862000] shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
[4294708.485000] PCI: Enabling device 0000:00:1f.5 (0000 -> 0001)
[4294708.485000] ACPI: PCI Interrupt 0000:00:1f.5[b] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[4294708.485000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[4294709.043000] intel8x0_measure_ac97_clock: measured 49365 usecs
[4294709.043000] intel8x0: clocking to 48000
[4294709.723000] ohci1394: $Rev: 1250 $ Ben Collins <bcollins@debian.org>
[4294709.723000] PCI: Enabling device 0000:02:07.0 (0000 -> 0002)
[4294709.723000] ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
[4294709.723000] PCI: setting IRQ 10 as level-triggered
[4294709.723000] ACPI: PCI Interrupt 0000:02:07.0[A] -> Link [LNKF] -> GSI 10 (level, low) -> IRQ 10
[4294709.723000] PCI: Setting latency timer of device 0000:02:07.0 to 64
[4294709.879000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.032000] ohci1394: fw-host0: Runaway loop while stopping context: ...
[4294710.087000] ohci1394: fw-host0: Runaway loop while stopping context: ...
[4294710.141000] ohci1394: fw-host0: Runaway loop while stopping context: ...
[4294710.195000] ohci1394: fw-host0: Runaway loop while stopping context: ...
[4294710.195000] ohci1394: fw-host0: OHCI-1394 165.165 (PCI): IRQ=[10]  MMIO=[20000800-20000fff]  Max Packet=[65536]
[4294710.195000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.294000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.393000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.492000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.591000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.690000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.789000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.888000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294710.987000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.086000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.185000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.284000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.383000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.482000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.580000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.679000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.778000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.877000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294711.976000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.075000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.174000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.273000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.372000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.471000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.570000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.669000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.768000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.867000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294712.966000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294713.064000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294713.163000] ohci1394: fw-host0: Serial EEPROM has suspicious values, attempting to setting max_packet_size to 512 bytes
[4294713.389000] Linux Kernel Card Services
[4294713.389000]   options:  [pci] [cardbus] [pm]
[4294713.408000] PCI: Enabling device 0000:02:0b.0 (0000 -> 0002)
[4294713.408000] ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[4294713.408000] Yenta: CardBus bridge found at 0000:02:0b.0 [1179:0001]
[4294713.528000] Yenta: ISA IRQ mask 0x0008, PCI irq 11
[4294713.528000] Socket status: 30000007
[4294713.532000] PCI: Enabling device 0000:02:0b.1 (0000 -> 0002)
[4294713.532000] ACPI: PCI Interrupt 0000:02:0b.1[b] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[4294713.532000] Yenta: CardBus bridge found at 0000:02:0b.1 [1179:0001]
[4294713.652000] Yenta: ISA IRQ mask 0x0008, PCI irq 11
[4294713.652000] Socket status: 30000007
[4294714.163000] ohci1394: fw-host0: Set PHY Reg timeout [0xffffffff/0x00004000/100]
[4294715.401000] usbcore: registered new driver cpad
[4294715.401000] cpad: USB Synaptics cPad Driver v1.2
[4294715.401000] cpad: releasing '2-2:1.0' from generic driver 'usbhid'.
[4294716.118000] input: PC Speaker
[4294716.317000] Real Time Clock Driver v1.12
[4294718.747000] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[4294718.770000] NET: Registered protocol family 17
[4294722.109000] NET: Registered protocol family 10
[4294722.109000] Disabled Privacy Extensions on device c031eb40(lo)
[4294722.109000] IPv6 over IPv4 tunneling driver
[4294723.598000] ACPI: AC Adapter [ADP1] (on-line)
[4294723.652000] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.19a-dev
[4294723.652000] toshiba_acpi:     HCI method: \_SB_.VALD.GHCI
[4294723.673000] toshiba_acpi: Toshiba hotkeys are sent as ACPI events
[4294723.674000] toshiba_acpi: ktoshkeyd will check 2 times per second
[4294723.674000] toshiba_acpi: Dropped 0 keys from the queue on startup
[4294723.715000] ACPI: Power Button (FF) [PWRF]
[4294723.715000] ACPI: Lid Switch [LID]
[4294723.797000] ibm_acpi: ec object not found
[4294723.827000] ACPI: Battery Slot [BAT1] (battery present)
[4294723.848000] ACPI: Video Device [VGA] (multi-head: yes  rom: yes  post: no)
[4294731.408000] NVRM: not using NVAGP, an AGPGART backend is loaded!
[4294731.614000] NVRM: not using NVAGP, an AGPGART backend is loaded!
[4294732.958000] eth0: no IPv6 routers present
[4294738.241000] apm: BIOS not found.
[4294739.272000] cs: IO port probe 0x100-0x4ff: excluding 0x1e0-0x1e7 0x4d0-0x4d7
[4294739.274000] cs: IO port probe 0x100-0x4ff: excluding 0x1e0-0x1e7 0x4d0-0x4d7
[4294739.276000] cs: IO port probe 0xc00-0xcf7: clean.
[4294739.277000] cs: IO port probe 0xc00-0xcf7: clean.
[4294739.277000] cs: IO port probe 0xa00-0xaff: clean.
[4294739.278000] cs: IO port probe 0xa00-0xaff: clean.
[4294741.237000] Bluetooth: Core ver 2.7
[4294741.237000] NET: Registered protocol family 31
[4294741.237000] Bluetooth: HCI device and connection manager initialized
[4294741.237000] Bluetooth: HCI socket layer initialized
[4294741.299000] Bluetooth: L2CAP ver 2.7
[4294741.299000] Bluetooth: L2CAP socket layer initialized
[4294741.844000] Bluetooth: RFCOMM ver 1.5
[4294741.844000] Bluetooth: RFCOMM socket layer initialized
[4294741.844000] Bluetooth: RFCOMM TTY layer initialized
root:~#

J'ai déja trouvé ça, je testerai ce soir...(Lien recherche google , Lien du site en cache de google ) :[edit] c'est pour reconnaitre les camera video... pas de rapport

J'ai aussi trouvé ceci sur le site linux1394.org :

Not working with kernels of recent distributions (redhat 9.0, mandrake 9.1). Not working after updating these kernels.

Et ce bugtrack sur le projet iee1394 pour linux n'est pas très rassurant pour la suite ,d'autant plus que tout ceci date de 2003 : [ 716867 ] 2.4.20+branch on Toshiba Satellite 5100 = ohci problems

Autre liens:
Page de résumé d'installation de Rob Miller: Linux on Toshiba Satellite 5100-501 / Satellite 5105-S607

Dernière modification par sksbir (Le 24/01/2006, à 00:16)

Hors ligne

#2 Le 14/01/2006, à 00:25

sksbir

Re : [résolu] Toshiba s5100 : probleme Firewire.

Le site de Rob Miller me donne un début de piste:

Update on the Firewire / IEEE1394 patch submitted by Oliver K. (The patch linked is for a 2.6.11-rc3 kernel, but the code in this section doesn't seem to have changed much in a while). I had hoped to get this into the kernel, but the cognescenti tell me that it should more correctly be in as a 'pci quirk'. I haven't had time or learning how to do that yet, so here is where it stands for now. As always, any submissions will be welcome!

Le lien pointe sur un code source que voici:

--- linux-2.6.11-rc3-orig/drivers/ieee1394/ohci1394.c	2005-02-08 21:37:41.000000000 +0100
+++ linux/drivers/ieee1394/ohci1394.c	2005-02-09 14:56:29.000000000 +0100
@@ -3180,6 +3180,23 @@
 	return err;				\
 } while (0)
 
+
+/* Some Toshiba laptops need extra code to enable their TI TSB43AB22/A for the probe */
+
+#if defined(__i386__)
+#include <linux/dmi.h>
+static struct dmi_system_id extra_init_dmi_table[] = {
+       {
+               .ident = "Toshiba Satellite 5100-501",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+                       DMI_MATCH(DMI_PRODUCT_NAME , "S5100-"),
+	       },
+       },
+       { }
+};
+#endif
+
 static int __devinit ohci1394_pci_probe(struct pci_dev *dev,
 					const struct pci_device_id *ent)
 {
@@ -3188,12 +3205,38 @@
 	struct hpsb_host *host;
 	struct ti_ohci *ohci;	/* shortcut to currently handled device */
 	unsigned long ohci_base;
+	
+#if defined(__i386__)
+	u16  toshiba_pcls;
+	int toshiba=0;
+
+	//if (dmi_check_system(extra_init_dmi_table)) {
+	if (1) {
+	        PRINT_G(KERN_INFO, "Toshiba %s detected, enabling extra initialization code",
+			dmi_get_system_info(DMI_PRODUCT_NAME));
+		toshiba=1;
+
+	        dev->current_state = 4;
+		pci_read_config_word(dev,PCI_CACHE_LINE_SIZE,&toshiba_pcls);
+	}
+#endif
 
 	if (version_printed++ == 0)
 		PRINT_G(KERN_INFO, "%s", version);
 
         if (pci_enable_device(dev))
 		FAIL(-ENXIO, "Failed to enable OHCI hardware");
+
+#if defined(__i386__)
+	if (toshiba) {
+	        mdelay(10);
+	        pci_write_config_word(dev,PCI_CACHE_LINE_SIZE,toshiba_pcls);
+	        pci_write_config_word(dev,PCI_INTERRUPT_LINE,dev->irq);
+	        pci_write_config_dword(dev,PCI_BASE_ADDRESS_0,pci_resource_start(dev, 0));
+	        pci_write_config_dword(dev,PCI_BASE_ADDRESS_1,pci_resource_start(dev, 1));
+	}
+#endif
+
         pci_set_master(dev);
 
 	host = hpsb_alloc_host(&ohci1394_driver, sizeof(struct ti_ohci), &dev->dev);

Si quelqu'un peut m'expliquer ce qu'est un "cognescenti" et  un "pci quirk" ?
Sinon, pour ma part, je suis en train d'essayer d'inclure ce patch dans le fichier /usr/src/linux-source-2.6.12/drivers/ieee1394/ohci1394.c, puis de recompiler un kernel...

Tout avis,suggestion,conseil seront les bienvenus smile

Dernière modification par sksbir (Le 14/01/2006, à 00:29)

Hors ligne

#3 Le 16/01/2006, à 00:02

sksbir

Re : [résolu] Toshiba s5100 : probleme Firewire.

Bon, j'ai réussi à compiler un nouveau kernel incluant les modifications proposées par Oliver K.

Je ne sais pas si c'est très propre, mais j'ai inclu les modifications directement dans le fichier /usr/src/linux/drivers/ieee1394/ohci1394.c

Voici le fichier ainsi modifié : http://sksbir.free.fr/ohci1304.c

Ensuite, j'ai suivi le tuto que voici : http://doc.ubuntu-fr.org/doc/custom_kernel

J'ai recompilé avec les options par défaut, et je me suis retrouvé avec un PC qui reconnait enfin mon disque externe en Firewire.

Ceci dit, je me retrouve en 386 au lieu de 686, et je n'ai plus le support Nvidia (j'ai remis nv dans xorg.conf).

Quelqu'un peut-il me dire comment réintégrer ces options dans le kernel ?
A priori, il suffirait de recopier /boot/config-2.6.12-10-686 dans /usr/src/linux/.config, puis de régénerer un nouveau kernel, mais si quelqu'un le sait , ça m'éviterait de tâtonner...

[edit] : voici la différence entre les deux fichiers en question:

< # Linux kernel version: 2.6.12-10-686
< # Thu Dec 22 11:53:01 2005
---
> # Linux kernel version: 2.6.12.test
> # Fri Jan 20 23:21:37 2006
122c122
< CONFIG_TOSHIBA=m
---
> CONFIG_TOSHIBA=y

ce qui veut dire que je compilais déja un noyau avec les options pour 686... ceci dit, j'ai toujours le soucis du driver NVIDIA, mais j'ouvre un autre sujet pour ce soucis spécifique, un peu déçu de l'aide que j'ai reçu ici, il faut bien l'avouer...

Dernière modification par sksbir (Le 24/01/2006, à 00:15)

Hors ligne