I have a CCTV card installed on Ubuntu 5.0.x.
when I do 'dmesg|less' tt show the Card does not have EPROM with err=-5. I would like to know if the card is broken or it is a Window-software base CCTV card. If it is the later case, how can I make it work under Linux ..
BTW, the chip is SAA1730....
CCTV Card without EPROM
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
You will need to find it card number. Under linux the driver that runs these cards is the bttv driver, and obviously it runs lots of different cards. The better cards are autodetected as they have this eeprom but the rest dont and you have to set it manually. Unless someone here knows the card you will havr to find out its number. Once you do then we can tell you what to do to make it work. there is a site that contains a gallery of known tv cards by image so maybe you could find it there, i cant remeber the address but my site has a link to it www.jpwilson.eu so you could look there if your stuck
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
*** UNKNOWN/GENERIC ***
Here with the dmesg dump .... I don't know what it means and hope it is useful for the expert to solve the problem...
[4294736.222000] bttv2: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[4294736.222000] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[4294739.436000] tveeprom(bttv internal): Huh, no eeprom present (err=-121)?
[4294739.436000] bttv2: using tuner=-1
[4294739.436000] bttv2: i2c: checking for MSP34xx @ 0x80... not found
[4294741.036000] bttv2: i2c: checking for TDA9875 @ 0xb0... not found
[4294742.636000] bttv2: i2c: checking for TDA7432 @ 0x8a... not found
[4294744.236000] bttv2: i2c: checking for TDA9887 @ 0x86... not found
[4294745.851000] bttv2: registered device video2
[4294745.866000] bttv2: registered device vbi2
[4294745.866000] bttv: Bt8xx card found (3).
[4294745.867000] bttv3: Bt878 (rev 17) at 0000:02:0b.0, irq: 9, latency: 32, mmio: 0xee106000
[4294736.222000] bttv2: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[4294736.222000] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[4294739.436000] tveeprom(bttv internal): Huh, no eeprom present (err=-121)?
[4294739.436000] bttv2: using tuner=-1
[4294739.436000] bttv2: i2c: checking for MSP34xx @ 0x80... not found
[4294741.036000] bttv2: i2c: checking for TDA9875 @ 0xb0... not found
[4294742.636000] bttv2: i2c: checking for TDA7432 @ 0x8a... not found
[4294744.236000] bttv2: i2c: checking for TDA9887 @ 0x86... not found
[4294745.851000] bttv2: registered device video2
[4294745.866000] bttv2: registered device vbi2
[4294745.866000] bttv: Bt8xx card found (3).
[4294745.867000] bttv3: Bt878 (rev 17) at 0000:02:0b.0, irq: 9, latency: 32, mmio: 0xee106000
What's the output of 'lspci -v'?
Lookup the card you have and modprobe it using 'modprobe bttv card=x' where you can find your appropriate card number in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv
(or here http://www.linuxtv.org/v4lwiki/index.php/Cardlist.BTTV if you don't have your linux sources installed)
Lookup the card you have and modprobe it using 'modprobe bttv card=x' where you can find your appropriate card number in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv
(or here http://www.linuxtv.org/v4lwiki/index.php/Cardlist.BTTV if you don't have your linux sources installed)
lspci -v output
Thanks for the suggestion, here is the output look like. it has a lot .. but it is pretty much same information..
0000:02:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ee10b000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
0000:02:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at ee10c000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
0000:02:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ee10b000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
0000:02:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at ee10c000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
essup wrote:What's the output of 'lspci -v'?
Lookup the card you have and modprobe it using 'modprobe bttv card=x' where you can find your appropriate card number in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv
(or here http://www.linuxtv.org/v4lwiki/index.php/Cardlist.BTTV if you don't have your linux sources installed)
I have my card working in ZM
There,
I finally change the CCTV Card and have it working under ubuntu 5.0.10.. The following is the new card's dmesg output ..It also show ' Huh, no eeprom present (err=-5)?' error, but it still works anway. Thanks anyone who try to help and read this post.
-----
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [LNK3] -> GSI 9 (level, low) -> IRQ 9
[4294716.661000] saa7130[3]: found at 0000:02:06.0, rev: 1, irq: 9, latency: 32, mmio: 0xee003000
[4294716.661000] saa7130[3]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.661000] saa7130[3]: board init: gpio is 10000
[4294716.767000] saa7130[3]: Huh, no eeprom present (err=-5)?
[4294716.789000] saa7130[3]: registered device video3 [v4l2]
[4294716.818000] saa7130[3]: registered device vbi3
[4294716.820000] saa7130[3]: registered device radio3
[4294716.820000] ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
[4294716.820000] saa7130[4]: found at 0000:02:08.0, rev: 1, irq: 11, latency: 32, mmio: 0xee004000
[4294716.820000] saa7130[4]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.820000] saa7130[4]: board init: gpio is 3d0000
[4294716.927000] saa7130[4]: Huh, no eeprom present (err=-5)?
[4294716.949000] saa7130[4]: registered device video4 [v4l2]
[4294716.965000] saa7130[4]: registered device vbi4
[4294716.981000] saa7130[4]: registered device radio4
[4294716.981000] ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNK3] -> GSI 9 (level, low) -> IRQ 9
[4294716.981000] saa7130[5]: found at 0000:02:0a.0, rev: 1, irq: 9, latency: 32, mmio: 0xee005000
[4294716.981000] saa7130[5]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.981000] saa7130[5]: board init: gpio is 10000
[4294717.088000] saa7130[5]: Huh, no eeprom present (err=-5)?
[4294717.111000] saa7130[5]: registered device video5 [v4l2]
I finally change the CCTV Card and have it working under ubuntu 5.0.10.. The following is the new card's dmesg output ..It also show ' Huh, no eeprom present (err=-5)?' error, but it still works anway. Thanks anyone who try to help and read this post.
-----
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [LNK3] -> GSI 9 (level, low) -> IRQ 9
[4294716.661000] saa7130[3]: found at 0000:02:06.0, rev: 1, irq: 9, latency: 32, mmio: 0xee003000
[4294716.661000] saa7130[3]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.661000] saa7130[3]: board init: gpio is 10000
[4294716.767000] saa7130[3]: Huh, no eeprom present (err=-5)?
[4294716.789000] saa7130[3]: registered device video3 [v4l2]
[4294716.818000] saa7130[3]: registered device vbi3
[4294716.820000] saa7130[3]: registered device radio3
[4294716.820000] ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
[4294716.820000] saa7130[4]: found at 0000:02:08.0, rev: 1, irq: 11, latency: 32, mmio: 0xee004000
[4294716.820000] saa7130[4]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.820000] saa7130[4]: board init: gpio is 3d0000
[4294716.927000] saa7130[4]: Huh, no eeprom present (err=-5)?
[4294716.949000] saa7130[4]: registered device video4 [v4l2]
[4294716.965000] saa7130[4]: registered device vbi4
[4294716.981000] saa7130[4]: registered device radio4
[4294716.981000] ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNK3] -> GSI 9 (level, low) -> IRQ 9
[4294716.981000] saa7130[5]: found at 0000:02:0a.0, rev: 1, irq: 9, latency: 32, mmio: 0xee005000
[4294716.981000] saa7130[5]: subsystem: 1131:0000, board: Sabrent SBT-TVFM (saa7130) [card=42,autodetected]
[4294716.981000] saa7130[5]: board init: gpio is 10000
[4294717.088000] saa7130[5]: Huh, no eeprom present (err=-5)?
[4294717.111000] saa7130[5]: registered device video5 [v4l2]