help withhardware for pcmcia to usb cardbus

sara fink sara.fink at gmail.com
Fri Jun 13 16:01:07 EDT 2008


I checked now more about the camera. I changed the kernel 2 months ago
and didn't update the web camera. It looks like I had to add support
zc0301 in the kernel.

I compile now the kernel and see  if it will recognize it.


I ran dmesg now before and after inserting the card and ran diff between them.

Here is the diff between them:

> ---TRACE_READ---*/ pvr2_ioread_read id=f7068380 ZERO Request? Returning zero.
380a197,522
> ehci_hcd 0000:02:00.2: device removed
> ehci_hcd 0000:02:00.2: reset command ffffffff park=3 ithresh=63 LReset IAAD Async Periodic period=?? R
> ehci_hcd 0000:02:00.2: HC died; cleaning up
> ohci_hcd 0000:02:00.0: device removed!
> ohci_hcd 0000:02:00.0: HC died; cleaning up
> ohci_hcd 0000:02:00.1: device removed!
> ohci_hcd 0000:02:00.1: HC died; cleaning up
> pccard: card ejected from slot 0
> hub 2-0:1.0: state 0 ports 5 chg 0000 evt 0000
> hub 6-0:1.0: state 0 ports 3 chg 0000 evt 0000
> usb 6-1: USB disconnect, address 12
> usb 6-1.2: USB disconnect, address 13
> usb 6-1.2: unregistering device
> usb 6-1.2: usb_disable_device nuking all URBs
> ohci_hcd 0000:02:00.0: shutdown urb f356ecc0 ep1in-intr
> ohci_hcd 0000:02:00.0: leak ed f75890c0 (#81) state 0 (has tds)
> usb 6-1.2: unregistering interface 6-1.2:1.0
> usb 6-1.2:1.0: uevent
> usb 6-1.2: uevent
> usb 6-1: unregistering device
> usb 6-1: usb_disable_device nuking all URBs
> ohci_hcd 0000:02:00.0: shutdown urb f3464640 ep1in-intr
> ohci_hcd 0000:02:00.0: leak ed f7589040 (#81) state 0 (has tds)
> usb 6-1: unregistering interface 6-1:1.0
> usb 6-1:1.0: uevent
> usb 6-1: uevent
> hub 7-0:1.0: state 0 ports 2 chg 0000 evt 0000
> usb 7-1: USB disconnect, address 10
> usb 7-1: unregistering device
> usb 7-1: usb_disable_device nuking all URBs
> usb 7-1: unregistering interface 7-1:1.0
> usb 7-1:1.0: uevent
> usb 7-1: uevent
> ohci_hcd 0000:02:00.0: remove, state 0
> ohci_hcd 0000:02:00.0: roothub graceful disconnect
> usb usb6: USB disconnect, address 1
> usb usb6: unregistering device
> usb usb6: usb_disable_device nuking all URBs
> usb usb6: unregistering interface 6-0:1.0
> usb 6-0:1.0: uevent
> usb usb6: uevent
> ohci_hcd 0000:02:00.0: OHCI controller state
> ohci_hcd 0000:02:00.0: OHCI 3.15, NO legacy support registers
> ohci_hcd 0000:02:00.0: control 0xffffffff RWE RWC IR HCFS=suspend BLE CLE IE PLE CBSR=3
> ohci_hcd 0000:02:00.0: cmdstatus 0xffffffff SOC=3 OCR BLF CLF HCR
> ohci_hcd 0000:02:00.0: intrstatus 0xffffffff MIE OC RHSC FNO UE RD SF WDH SO
> ohci_hcd 0000:02:00.0: intrenable 0xffffffff MIE OC RHSC FNO UE RD SF WDH SO
> ohci_hcd 0000:02:00.0: ed_periodcurrent ffffffff
> ohci_hcd 0000:02:00.0: ed_controlhead ffffffff
> ohci_hcd 0000:02:00.0: ed_controlcurrent ffffffff
> ohci_hcd 0000:02:00.0: ed_bulkhead ffffffff
> ohci_hcd 0000:02:00.0: ed_bulkcurrent ffffffff
> ohci_hcd 0000:02:00.0: donehead ffffffff
> ohci_hcd 0000:02:00.0: hcca frame #fabc
> ohci_hcd 0000:02:00.0: dma_pool_destroy ohci_ed, f7589000 busy
> ohci_hcd 0000:02:00.0: USB bus 6 deregistered
> ACPI: PCI interrupt for device 0000:02:00.0 disabled
> ohci_hcd 0000:02:00.1: remove, state 0
> ohci_hcd 0000:02:00.1: roothub graceful disconnect
> usb usb7: USB disconnect, address 1
> usb usb7: unregistering device
> usb usb7: usb_disable_device nuking all URBs
> usb usb7: unregistering interface 7-0:1.0
> usb 7-0:1.0: uevent
> usb usb7: uevent
> ohci_hcd 0000:02:00.1: OHCI controller state
> ohci_hcd 0000:02:00.1: OHCI 3.15, NO legacy support registers
> ohci_hcd 0000:02:00.1: control 0xffffffff RWE RWC IR HCFS=suspend BLE CLE IE PLE CBSR=3
> ohci_hcd 0000:02:00.1: cmdstatus 0xffffffff SOC=3 OCR BLF CLF HCR
> ohci_hcd 0000:02:00.1: intrstatus 0xffffffff MIE OC RHSC FNO UE RD SF WDH SO
> ohci_hcd 0000:02:00.1: intrenable 0xffffffff MIE OC RHSC FNO UE RD SF WDH SO
> ohci_hcd 0000:02:00.1: ed_periodcurrent ffffffff
> ohci_hcd 0000:02:00.1: ed_controlhead ffffffff
> ohci_hcd 0000:02:00.1: ed_controlcurrent ffffffff
> ohci_hcd 0000:02:00.1: ed_bulkhead ffffffff
> ohci_hcd 0000:02:00.1: ed_bulkcurrent ffffffff
> ohci_hcd 0000:02:00.1: donehead ffffffff
> ohci_hcd 0000:02:00.1: hcca frame #fa00
> ohci_hcd 0000:02:00.1: USB bus 7 deregistered
> ACPI: PCI interrupt for device 0000:02:00.1 disabled
> ehci_hcd 0000:02:00.2: remove, state 0
> ehci_hcd 0000:02:00.2: roothub graceful disconnect
> usb usb2: USB disconnect, address 1
> usb usb2: unregistering device
> usb usb2: usb_disable_device nuking all URBs
> usb usb2: unregistering interface 2-0:1.0
> usb 2-0:1.0: uevent
> usb usb2: uevent
> ehci_hcd 0000:02:00.2: stop
> ehci_hcd 0000:02:00.2: ...powerdown ports...
> ehci_hcd 0000:02:00.2: reset command ffffffff park=3 ithresh=63 LReset IAAD Async Periodic period=?? R
> ehci_hcd 0000:02:00.2: irq normal 5832 err 0 reclaim 2729 (lost 48)
> ehci_hcd 0000:02:00.2: complete 5993 unlink 1
> ehci_hcd 0000:02:00.2: ehci_stop completed status ffffffff Async Periodic Recl Halt IAA FATAL FLR PCD
> ehci_hcd 0000:02:00.2: USB bus 2 deregistered
> ACPI: PCI interrupt for device 0000:02:00.2 disabled
> pccard: CardBus card inserted into slot 0
> PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
> ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3
> PCI: Setting latency timer of device 0000:02:00.0 to 64
> ohci_hcd 0000:02:00.0: OHCI Host Controller
> drivers/usb/core/inode.c: creating file '002'
> ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
> ohci_hcd 0000:02:00.0: enabled NEC chipset lost interrupt quirk
> ohci_hcd 0000:02:00.0: created debug files
> ohci_hcd 0000:02:00.0: irq 3, io mem 0x48000000
> ohci_hcd 0000:02:00.0: OHCI controller state
> ohci_hcd 0000:02:00.0: OHCI 1.0, NO legacy support registers
> ohci_hcd 0000:02:00.0: control 0x083 HCFS=operational CBSR=3
> ohci_hcd 0000:02:00.0: cmdstatus 0x00000 SOC=0
> ohci_hcd 0000:02:00.0: intrstatus 0x00000004 SF
> ohci_hcd 0000:02:00.0: intrenable 0x8000001a MIE UE RD WDH
> ohci_hcd 0000:02:00.0: hcca frame #001e
> ohci_hcd 0000:02:00.0: roothub.a 0f000203 POTPGT=15 NPS NDP=3(3)
> ohci_hcd 0000:02:00.0: roothub.b 00000000 PPCM=0000 DR=0000
> ohci_hcd 0000:02:00.0: roothub.status 00008000 DRWE
> ohci_hcd 0000:02:00.0: roothub.portstatus [0] 0x00010101 CSC PPS CCS
> ohci_hcd 0000:02:00.0: roothub.portstatus [1] 0x00000100 PPS
> ohci_hcd 0000:02:00.0: roothub.portstatus [2] 0x00000100 PPS
> usb usb2: default language 0x0409
> usb usb2: uevent
> usb usb2: usb_probe_device
> usb usb2: configuration #1 chosen from 1 choice
> usb usb2: adding 2-0:1.0 (config #1, interface 0)
> usb 2-0:1.0: uevent
> hub 2-0:1.0: usb_probe_interface
> hub 2-0:1.0: usb_probe_interface - got id
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 3 ports detected
> hub 2-0:1.0: standalone hub
> hub 2-0:1.0: no power switching (usb 1.0)
> hub 2-0:1.0: global over-current protection
> hub 2-0:1.0: power on to power good time: 30ms
> hub 2-0:1.0: local power source is good
> hub 2-0:1.0: no over-current condition exists
> hub 2-0:1.0: trying to enable port power on non-switchable hub
> drivers/usb/core/inode.c: creating file '001'
> usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb2: Product: OHCI Host Controller
> usb usb2: Manufacturer: Linux 2.6.24-gentoo-r3 ohci_hcd
> usb usb2: SerialNumber: 0000:02:00.0
> PCI: Enabling device 0000:02:00.1 (0000 -> 0002)
> ACPI: PCI Interrupt 0000:02:00.1[B] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3
> PCI: Setting latency timer of device 0000:02:00.1 to 64
> ohci_hcd 0000:02:00.1: OHCI Host Controller
> drivers/usb/core/inode.c: creating file '006'
> ohci_hcd 0000:02:00.1: new USB bus registered, assigned bus number 6
> ohci_hcd 0000:02:00.1: enabled NEC chipset lost interrupt quirk
> ohci_hcd 0000:02:00.1: created debug files
> ohci_hcd 0000:02:00.1: irq 3, io mem 0x48001000
> hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0002
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
> hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> ohci_hcd 0000:02:00.1: OHCI controller state
> ohci_hcd 0000:02:00.1: OHCI 1.0, NO legacy support registers
> ohci_hcd 0000:02:00.1: control 0x083 HCFS=operational CBSR=3
> ohci_hcd 0000:02:00.1: cmdstatus 0x00000 SOC=0
> ohci_hcd 0000:02:00.1: intrstatus 0x00000004 SF
> ohci_hcd 0000:02:00.1: intrenable 0x8000001a MIE UE RD WDH
> ohci_hcd 0000:02:00.1: hcca frame #001e
> ohci_hcd 0000:02:00.1: roothub.a 0f000202 POTPGT=15 NPS NDP=2(2)
> ohci_hcd 0000:02:00.1: roothub.b 00000000 PPCM=0000 DR=0000
> ohci_hcd 0000:02:00.1: roothub.status 00008000 DRWE
> ohci_hcd 0000:02:00.1: roothub.portstatus [0] 0x00090101 OCIC CSC PPS CCS
> ohci_hcd 0000:02:00.1: roothub.portstatus [1] 0x00000100 PPS
> usb usb6: default language 0x0409
> usb usb6: uevent
> usb usb6: usb_probe_device
> usb usb6: configuration #1 chosen from 1 choice
> usb usb6: adding 6-0:1.0 (config #1, interface 0)
> usb 6-0:1.0: uevent
> hub 6-0:1.0: usb_probe_interface
> hub 6-0:1.0: usb_probe_interface - got id
> hub 6-0:1.0: USB hub found
> hub 6-0:1.0: 2 ports detected
> hub 6-0:1.0: standalone hub
> hub 6-0:1.0: no power switching (usb 1.0)
> hub 6-0:1.0: global over-current protection
> hub 6-0:1.0: power on to power good time: 30ms
> hub 6-0:1.0: local power source is good
> hub 6-0:1.0: no over-current condition exists
> hub 6-0:1.0: trying to enable port power on non-switchable hub
> hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> drivers/usb/core/inode.c: creating file '001'
> usb usb6: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb6: Product: OHCI Host Controller
> usb usb6: Manufacturer: Linux 2.6.24-gentoo-r3 ohci_hcd
> usb usb6: SerialNumber: 0000:02:00.1
> PCI: Enabling device 0000:02:00.2 (0000 -> 0002)
> ACPI: PCI Interrupt 0000:02:00.2[C] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3
> ehci_hcd 0000:02:00.2: EHCI Host Controller
> drivers/usb/core/inode.c: creating file '007'
> ehci_hcd 0000:02:00.2: new USB bus registered, assigned bus number 7
> ehci_hcd 0000:02:00.2: reset hcs_params 0x2395 dbg=0 cc=2 pcc=3 ports=5
> ehci_hcd 0000:02:00.2: reset portroute 1 0 1 0 0
> ehci_hcd 0000:02:00.2: reset hcc_params e806 thresh 0 uframes 256/512/1024 park
> ehci_hcd 0000:02:00.2: park 0
> ehci_hcd 0000:02:00.2: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
> ehci_hcd 0000:02:00.2: MWI active
> ehci_hcd 0000:02:00.2: supports USB remote wakeup
> ehci_hcd 0000:02:00.2: irq 3, io mem 0x48002000
> ehci_hcd 0000:02:00.2: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
> ehci_hcd 0000:02:00.2: init command 010009 (park)=0 ithresh=1 period=256 RUN
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
> usb 2-1: new full speed USB device using ohci_hcd and address 2
> ohci_hcd 0000:02:00.0: urb f706d740 path 1 ep0in 5fc20000 cc 5 --> status -62
> ohci_hcd 0000:02:00.0: urb f706d740 path 1 ep0in 5fc20000 cc 5 --> status -62
> ehci_hcd 0000:02:00.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> usb usb7: default language 0x0409
> usb usb7: uevent
> usb usb7: usb_probe_device
> usb usb7: configuration #1 chosen from 1 choice
> usb usb7: adding 7-0:1.0 (config #1, interface 0)
> usb 7-0:1.0: uevent
> hub 7-0:1.0: usb_probe_interface
> hub 7-0:1.0: usb_probe_interface - got id
> hub 7-0:1.0: USB hub found
> hub 7-0:1.0: 5 ports detected
> hub 7-0:1.0: standalone hub
> hub 7-0:1.0: individual port power switching
> hub 7-0:1.0: individual port over-current protection
> hub 7-0:1.0: Single TT
> hub 7-0:1.0: TT requires at most 8 FS bit times (666 ns)
> hub 7-0:1.0: power on to power good time: 20ms
> hub 7-0:1.0: local power source is good
> hub 7-0:1.0: enabling power on all ports
> ohci_hcd 0000:02:00.0: urb f706d740 path 1 ep0in 5fc20000 cc 5 --> status -62
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00030100 PESC CSC PPS
> hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
> ohci_hcd 0000:02:00.1: GetStatus roothub.portstatus [0] = 0x00090100 OCIC CSC PPS
> hub 6-0:1.0: over-current change on port 1
> hub 6-0:1.0: trying to enable port power on non-switchable hub
> drivers/usb/core/inode.c: creating file '001'
> usb usb7: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb7: Product: EHCI Host Controller
> usb usb7: Manufacturer: Linux 2.6.24-gentoo-r3 ehci_hcd
> usb usb7: SerialNumber: 0000:02:00.2
> hub 6-0:1.0: port 1, status 0100, change 0009, 12 Mb/s
> hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0002
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00030100 PESC CSC PPS
> hub 2-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
> hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> hub 7-0:1.0: state 7 ports 5 chg 0000 evt 0000
> ehci_hcd 0000:02:00.2: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
> hub 7-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
> hub 7-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:02:00.2: port 1 full speed --> companion
> ehci_hcd 0000:02:00.2: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
> hub 7-0:1.0: port 1 not reset yet, waiting 50ms
> ehci_hcd 0000:02:00.2: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
> ehci_hcd 0000:02:00.2: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
> hub 7-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
> hub 7-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
> ohci_hcd 0000:02:00.1: auto-stop root hub
> ehci_hcd 0000:02:00.2: port 2 full speed --> companion
> ehci_hcd 0000:02:00.2: GetStatus port 2 status 003801 POWER OWNER sig=j CONNECT
> ohci_hcd 0000:02:00.1: auto-wakeup root hub
> hub 7-0:1.0: port 2 not reset yet, waiting 50ms
> ehci_hcd 0000:02:00.2: GetStatus port 2 status 003802 POWER OWNER sig=j CSC
> hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0002
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
> hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
> usb 2-1: new full speed USB device using ohci_hcd and address 3
> ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
> usb 2-1: ep0 maxpacket = 8
> usb 2-1: default language 0x0409
> usb 2-1: uevent
> usb 2-1: usb_probe_device
> usb 2-1: configuration #1 chosen from 1 choice
> usb 2-1: adding 2-1:1.0 (config #1, interface 0)
> usb 2-1:1.0: uevent
> hub 2-1:1.0: usb_probe_interface
> hub 2-1:1.0: usb_probe_interface - got id
> hub 2-1:1.0: USB hub found
> hub 2-1:1.0: 4 ports detected
> hub 2-1:1.0: standalone hub
> hub 2-1:1.0: individual port power switching
> hub 2-1:1.0: individual port over-current protection
> hub 2-1:1.0: power on to power good time: 44ms
> hub 2-1:1.0: local power source is good
> hub 2-1:1.0: enabling power on all ports
> drivers/usb/core/inode.c: creating file '003'
> usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> usb 2-1: Product: Generic USB Hub
> usb 2-1: Manufacturer: ALCOR
> hub 7-0:1.0: state 7 ports 5 chg 0000 evt 0004
> hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
> ohci_hcd 0000:02:00.1: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
> hub 6-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> ohci_hcd 0000:02:00.1: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
> usb 6-1: new full speed USB device using ohci_hcd and address 2
> ohci_hcd 0000:02:00.1: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
> usb 6-1: ep0 maxpacket = 8
> usb 6-1: default language 0x0409
> usb 6-1: uevent
> usb 6-1: usb_probe_device
> usb 6-1: configuration #1 chosen from 1 choice
> usb 6-1: adding 6-1:1.0 (config #1, interface 0)
> usb 6-1:1.0: uevent
> drivers/usb/core/inode.c: creating file '002'
> usb 6-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> usb 6-1: Product: PC Camera
> usb 6-1: Manufacturer: Z-Star Corp.
> hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0002
> hub 2-1:1.0: state 7 ports 4 chg 0000 evt 0004
> hub 2-1:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
> hub 2-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
> usb 2-1.2: new low speed USB device using ohci_hcd and address 4
> usb 2-1.2: skipped 1 descriptor after interface
> usb 2-1.2: uevent
> usb 2-1.2: usb_probe_device
> usb 2-1.2: configuration #1 chosen from 1 choice
> usb 2-1.2: adding 2-1.2:1.0 (config #1, interface 0)
> usb 2-1.2:1.0: uevent
> usbhid 2-1.2:1.0: usb_probe_interface
> usbhid 2-1.2:1.0: usb_probe_interface - got id
> input: HID 04b3:310b as /class/input/input8
> input: USB HID v1.00 Mouse [HID 04b3:310b] on usb-0000:02:00.0-1.2
> drivers/usb/core/inode.c: creating file '004'
> usb 2-1.2: new device strings: Mfr=0, Product=0, SerialNumber=0
> hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
> hub 2-1:1.0: state 7 ports 4 chg 0000 evt 0004

Does  it hint to something?

If everything is done via pci how I can mount the hd?

mount -t reiser /dev/???????? /mnt/usb ?

Which one the reiser hd should appear?

On Fri, Jun 13, 2008 at 10:26 PM, Dominik Brodowski
<linux at dominikbrodowski.net> wrote:
> Does anything in "dmesg" change once you insert the card? Does
> /sys/bus/pci/devices/0000\:02\:00.*/driver exist and where does it point to?
>
> Best,
>        Dominik
>



More information about the linux-pcmcia mailing list