[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PCIe card reader not visible in KDE's "Device notifier" Plasma widget




> Show us what dmesg says when you insert a compactflash card on it. It
> sounds like a permissions issue.

See attached.

pciehp_force=1 is required, otherwise sdc isn't assigned.
The only part of the log that puzzles me is
"no hotplug settings from platform"
but what I see in Google results don't ring a bell.

Thanks,

jmranger@L3:~$ sudo dmesg -c > /dev/null
jmranger@L3:~$ sudo rmmod pciehp
jmranger@L3:~$ sudo dmesg -c
[17314.931979] pciehp 0000:00:1c.4:pcie04: unloading service driver pciehp
[17314.932048] pciehp 0000:00:1c.1:pcie04: unloading service driver pciehp
[17314.932089] pciehp 0000:00:1c.0:pcie04: unloading service driver pciehp
[17314.932770] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 unloaded
jmranger@L3:~$ sudo modprobe pciehp pciehp_force=1
jmranger@L3:~$ sudo dmesg -c
[17320.768113] pciehp 0000:00:1c.0:pcie04: Bypassing BIOS check for pciehp use on 0000:00:1c.0
[17320.768189] pciehp 0000:00:1c.0:pcie04: HPC vendor_id 8086 device_id 2940 ss_vid 0 ss_did 0
[17320.872075] pciehp 0000:00:1c.0:pcie04: Device 0000:02:00.0 already exists at 0000:02:00, cannot hot-add
[17320.872082] pciehp 0000:00:1c.0:pcie04: Cannot add device at 0000:02:00
[17320.872097] pciehp 0000:00:1c.0:pcie04: service driver pciehp loaded
[17320.872119] pciehp 0000:00:1c.1:pcie04: Bypassing BIOS check for pciehp use on 0000:00:1c.1
[17320.872141] pciehp 0000:00:1c.1:pcie04: HPC vendor_id 8086 device_id 2942 ss_vid 0 ss_did 0
[17320.976147] pciehp 0000:00:1c.1:pcie04: Device 0000:03:00.0 already exists at 0000:03:00, cannot hot-add
[17320.976154] pciehp 0000:00:1c.1:pcie04: Cannot add device at 0000:03:00
[17320.976170] pciehp 0000:00:1c.1:pcie04: service driver pciehp loaded
[17320.976191] pciehp 0000:00:1c.4:pcie04: Bypassing BIOS check for pciehp use on 0000:00:1c.4
[17320.976214] pciehp 0000:00:1c.4:pcie04: HPC vendor_id 8086 device_id 2948 ss_vid 0 ss_did 0
[17320.976313] pciehp 0000:00:1c.4:pcie04: service driver pciehp loaded
[17320.976334] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
jmranger@L3:~$ # insert card here
jmranger@L3:~$ sudo dmesg -c
[17328.134934] pciehp 0000:00:1c.4:pcie04: Card present on Slot(4)
[17328.268133] pci 0000:06:00.0: reg 10 io port: [0x00-0x07]
[17328.268148] pci 0000:06:00.0: reg 14 io port: [0x00-0x03]
[17328.268162] pci 0000:06:00.0: reg 18 io port: [0x00-0x07]
[17328.268176] pci 0000:06:00.0: reg 1c io port: [0x00-0x03]
[17328.268190] pci 0000:06:00.0: reg 20 io port: [0x00-0x0f]
[17328.268214] pci 0000:06:00.0: reg 30 32bit mmio pref: [0x000000-0x00ffff]
[17328.268313] pci 0000:06:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[17328.268377] pci 0000:06:00.0: no hotplug settings from platform
[17328.268583] pata_jmicron 0000:06:00.0: enabling device (0000 -> 0001)
[17328.268594] pata_jmicron 0000:06:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[17328.268648] pata_jmicron 0000:06:00.0: setting latency timer to 64
[17328.268743] scsi29 : pata_jmicron
[17328.268854] scsi30 : pata_jmicron
[17328.268922] ata25: PATA max UDMA/100 cmd 0x1010 ctl 0x1020 bmdma 0x1000 irq 16
[17328.268926] ata26: PATA max UDMA/100 cmd 0x1018 ctl 0x1024 bmdma 0x1008 irq 16
[17329.168795] ata25.00: ATA-0: CF Card, Ver2.30, max UDMA/100
[17329.168801] ata25.00: 31522176 sectors, multi 0: LBA
[17329.168835] ata25.00: limited to UDMA/33 due to 40-wire cable
[17329.176802] ata25.00: configured for UDMA/33
[17329.176995] scsi 29:0:0:0: Direct-Access     ATA      CF Card          Ver2 PQ: 0 ANSI: 5
[17329.177309] sd 29:0:0:0: Attached scsi generic sg3 type 0
[17329.177561] sd 29:0:0:0: [sdc] 31522176 512-byte logical blocks: (16.1 GB/15.0 GiB)
[17329.177652] sd 29:0:0:0: [sdc] Write Protect is off
[17329.177656] sd 29:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[17329.177695] sd 29:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[17329.177925]  sdc: sdc1
[17329.187478] sd 29:0:0:0: [sdc] Attached SCSI disk
jmranger@L3:~$
jmranger@L3:~$ sudo fdisk /dev/sdc

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdc: 16.1 GB, 16139354112 bytes
16 heads, 63 sectors/track, 31272 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       31271    15760552+   c  W95 FAT32 (LBA)

Command (m for help): q

jmranger@L3:~$ sudo mount /dev/sdc1 /mnt
jmranger@L3:~$ ls /mnt
DCIM  MISC
jmranger@L3:~$ 

Reply to: