Moderator Control Panel ]

Driver can not be loaded properly

Driver can not be loaded properly

Postby TheMaggot » Tue Feb 05, 2013 8:01 pm

Hi support team,

I am trying to get a TBS 6920 running on YaVDR 0.5.0 (Ubunutu 12.04 with kernel 3.2.0-27-generic). I took the current driver package V130127 and installed it as described in the README file. Everything went fine, no errors were reported. After rebooting the machine the cx23885 module is not loaded automatically. After loding it manually (modprobe cx23885), there is still no /dev/dvb* device available. What can be the problem in my case? I really don't know, what do do now. Thanks in advance!

lspci:
Code: Select All Code
03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
        Subsystem: Device 6922:0001
        Physical Slot: 34
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [50] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [74] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [80] Vendor Specific Information: Len=50 <?>
        Capabilities: [100 v1] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>


dmesg part for the card at boot time:
Code: Select All Code
[    0.468236] pci 0000:03:00.0: [1131:7160] type 0 class 0x000480
[    0.468285] pci 0000:03:00.0: reg 10: [mem 0xfea00000-0xfeafffff 64bit]
[    0.468475] pci 0000:03:00.0: supports D1 D2
[    0.468483] pci 0000:03:00.0: PME# supported from D0 D1 D2
[    0.468496] pci 0000:03:00.0: PME# disabled
[    0.468533] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'


dmesg part when loading the module:
Code: Select All Code
[   80.490786] Linux media interface: v0.10
[   80.497334] Linux video capture interface: v2.00
[   80.520545] IR NEC protocol handler initialized
[   80.521416] cx23885 driver version 0.0.3 loaded
[   80.527016] IR RC5(x) protocol handler initialized
[   80.531664] IR RC6 protocol handler initialized
[   80.536586] IR JVC protocol handler initialized
[   80.541228] IR Sony protocol handler initialized
[   80.545991] IR MCE Keyboard/mouse protocol handler initialized
[   80.550920] IR LIRC bridge handler initialized


Best regards,
Marco
TheMaggot
 
Posts: 4
Joined: Tue Feb 05, 2013 5:43 am

Re: Driver can not be loaded properly

Postby SergioDanielG » Tue Feb 05, 2013 8:30 pm

Hi TheMaggot.
As I see in your lspci output, you haven't got a TBS6920, this is a TBS6922.
TBS6920 use cx23885 module, but TBS6922 use SAA7160.

I'm not sure why your card isn't recognized, but can you post complete output of dmesg?

Best regards.
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Driver can not be loaded properly

Postby TheMaggot » Tue Feb 05, 2013 8:37 pm

Hi SergioDanielG,

that's crazy - I was really sure, that I bought a 6920. Is the driver the same? Or should I build another one?

My full dmesg output is not accepted as text, because it is too long. It was also not possible to upload it as attachment, because the forum does not accept files without extension or extension .log or .txt. How can i attach the file properly?

Best regards,
Marco
TheMaggot
 
Posts: 4
Joined: Tue Feb 05, 2013 5:43 am

Re: Driver can not be loaded properly

Postby SergioDanielG » Tue Feb 05, 2013 9:05 pm

Hi Marco.
Try to zip your file and attach it.

And see my pci oputput
Code: Select All Code
08:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02)
        Subsystem: Device 6920:8888
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fcc00000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] Power Management version 2
        Capabilities: [90] Vital Product Data
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [200] Virtual Channel
        Kernel driver in use: cx23885

and this is a TBS6925
Code: Select All Code
04:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
        Subsystem: Device 6925:0001
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at fd600000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [50] Express Endpoint, MSI 00
        Capabilities: [74] Power Management version 2
        Capabilities: [80] Vendor Specific Information: Len=50 <?>
        Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>
        Kernel driver in use: SAA716x TBS
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Driver can not be loaded properly

Postby TheMaggot » Tue Feb 05, 2013 9:07 pm

Hi SergioDanielG,

thank you for the fast reply. You can find the dmesg log attached as zip.

Best regards,
Marco
Attachments
dmesg.zip
(15.13 KiB) Downloaded 301 times
TheMaggot
 
Posts: 4
Joined: Tue Feb 05, 2013 5:43 am

Re: Driver can not be loaded properly

Postby TheMaggot » Wed Feb 06, 2013 12:45 am

OK, problem solved :)

I have downloaded the 6922 driver and installed it like described in the README. The card is now recognized and the modules are loaded properly:

Code: Select All Code
[    3.906769] SAA716x TBS 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    3.906787] SAA716x TBS 0000:03:00.0: setting latency timer to 64
[    3.923154] IR NEC protocol handler initialized
[    3.937410] IR RC5(x) protocol handler initialized
[    3.952513] IR RC6 protocol handler initialized
[    3.971179] IR JVC protocol handler initialized
[    3.973199] Registered IR keymap rc-tbs-nec
[    3.973483] input: saa716x IR (TurboSight TBS 6922) as /devices/pci0000:00/0000:00:1c.2/0000:03:00.0/rc/rc0/input2
[    3.973632] rc0: saa716x IR (TurboSight TBS 6922) as /devices/pci0000:00/0000:00:1c.2/0000:03:00.0/rc/rc0
[    3.977691] DVB: registering new adapter (SAA716x dvb adapter)
[    3.984286] IR Sony protocol handler initialized


@SergioDanielG: Thanks again for your help!

Best regards,
Marco
TheMaggot
 
Posts: 4
Joined: Tue Feb 05, 2013 5:43 am

Re: Driver can not be loaded properly

Postby SergioDanielG » Wed Feb 06, 2013 7:10 am

Congratulation! And now, enjoy your TBS6922.

Best regards.
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina


Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests