Re: KBTV setup problem

2006-09-06 Thread Danny Pansters

Are you by chance attempting to use bktr's MSP for sound (kernel option)? 
That's not supported by kbtv (unless someone who has a card to reproduce this 
writes the code), only wiring through the soundcard.

HTH,

Dan

On Wednesday 06 September 2006 05:09, Mike jeays wrote:
 Has anyone else encountered this problem with KBTV?  Note that the line
 showing the mixer channel seems to lack an entry.

 chaucer 501 /usr/home/mike # btsetup
 btsetup show
 BKTR - BrookTree/Conexant BT8x8 based cards
 ===
 BKTR MODULE LOADED... Yes
 BKTR DEVICE PERMISSIONS.. OK
 BKTR CAPTURE CHIP BrookTree 878
 BKTR TV CARD. Hauppauge WinCast/TV
 BKTR TUNER TYPE.. Philips NTSC

 SAA - Philips SAA713x based cards
 ===
 SAA MODULE LOADED No
 SAA DEVICE PERMISSIONS... Not OK

 PWC - Philips and compatible USB webcams
 ===
 PWC MODULE LOADED No
 PWC DEVICE PERMISSIONS... Not OK

 SOUND - Sound card and tuner sound wiring
 ===
 SND MODULE LOADED Yes
 AUDIO CHIP... CMedia CMI8738
 MIXER CHANNEL FOR TV.
 btsetup quit

 chaucer 502 /usr/home/mike # kbtv
 kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
 Traceback (most recent call last):
   File ./kbtv_application.py, line 136, in ?
 mainwindow = KbtvPart(player)
   File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
 self.extendToolbar()
   File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
 extendToolbar
 self.toolbarwidget = KbtvToolbarWidget(self, tb)
   File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
 __init__
 self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
 ValueError: list.index(x): x not in list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KBTV setup problem

2006-09-06 Thread Mike jeays
On Wed, 2006-09-06 at 12:36 +0200, Danny Pansters wrote:
 Are you by chance attempting to use bktr's MSP for sound (kernel option)? 
 That's not supported by kbtv (unless someone who has a card to reproduce this 
 writes the code), only wiring through the soundcard.
 
 HTH,
 
 Dan
 
 On Wednesday 06 September 2006 05:09, Mike jeays wrote:
  Has anyone else encountered this problem with KBTV?  Note that the line
  showing the mixer channel seems to lack an entry.
 
  chaucer 501 /usr/home/mike # btsetup
  btsetup show
  BKTR - BrookTree/Conexant BT8x8 based cards
  ===
  BKTR MODULE LOADED... Yes
  BKTR DEVICE PERMISSIONS.. OK
  BKTR CAPTURE CHIP BrookTree 878
  BKTR TV CARD. Hauppauge WinCast/TV
  BKTR TUNER TYPE.. Philips NTSC
 
  SAA - Philips SAA713x based cards
  ===
  SAA MODULE LOADED No
  SAA DEVICE PERMISSIONS... Not OK
 
  PWC - Philips and compatible USB webcams
  ===
  PWC MODULE LOADED No
  PWC DEVICE PERMISSIONS... Not OK
 
  SOUND - Sound card and tuner sound wiring
  ===
  SND MODULE LOADED Yes
  AUDIO CHIP... CMedia CMI8738
  MIXER CHANNEL FOR TV.
  btsetup quit
 
  chaucer 502 /usr/home/mike # kbtv
  kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
  Traceback (most recent call last):
File ./kbtv_application.py, line 136, in ?
  mainwindow = KbtvPart(player)
File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
  self.extendToolbar()
File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
  extendToolbar
  self.toolbarwidget = KbtvToolbarWidget(self, tb)
File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
  __init__
  self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
  ValueError: list.index(x): x not in list
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

No, I am trying to use the snd drivers via the built-in sound card in
the motherboard.  I removed all references to the TV card from the
kernel definition file, and let it be loaded dynamically, as suggested
in the documentation.

chaucer 507 /etc # kldstat
Id Refs AddressSize Name
 1   37 0xc040 387d9c   kernel
 21 0xc0788000 3204 splash_bmp.ko
 31 0xc078c000 4228 vesa.ko
 41 0xc07dc000 328c snd_driver.ko
 52 0xc07e 4d08 snd_ad1816.ko
 6   29 0xc07e5000 1d9c8sound.ko
 72 0xc0803000 4c4c snd_als4000.ko
 82 0xc0808000 4fcc snd_cmi.ko
 92 0xc080d000 5514 snd_cs4281.ko
104 0xc0813000 74b0 snd_csa.ko
112 0xc081b000 bedc snd_ds1.ko
122 0xc0827000 7674 snd_emu10k1.ko
132 0xc082f000 618c snd_es137x.ko
143 0xc0836000 4fd8 snd_ess.ko
155 0xc083b000 4894 snd_sbc.ko
162 0xc084 4984 snd_fm801.ko
173 0xc0845000 b3d0 snd_mss.ko
182 0xc0851000 5748 snd_ich.ko
192 0xc0857000 b508 snd_maestro.ko
202 0xc0863000 93f4 snd_maestro3.ko
212 0xc086d000 10928snd_neomagic.ko
222 0xc087e000 48cc snd_sb8.ko
232 0xc0883000 4ea0 snd_sb16.ko
242 0xc0888000 4530 snd_solo.ko
252 0xc088d000 51f8 snd_t4dwave.ko
262 0xc0893000 5418 snd_via8233.ko
272 0xc0899000 45a4 snd_via82c686.ko
282 0xc089e000 45a4 snd_vibes.ko
291 0xc08a3000 115fcbktr.ko
302 0xc08b5000 1e90 bktr_mem.ko
31   16 0xc08b7000 5683cacpi.ko
321 0xc1d32000 15000linux.ko
chaucer 508 /etc # 

-- 
Mike Jeays
[EMAIL PROTECTED]
http://www.jeays.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KBTV setup problem

2006-09-06 Thread Danny Pansters
On Wednesday 06 September 2006 17:33, you wrote:

snip

   SOUND - Sound card and tuner sound wiring
   ===
   SND MODULE LOADED Yes
   AUDIO CHIP... CMedia CMI8738


Hmm, someone else had the same problem a while ago, also had a CMedia CMI8738. 
I guess that driver doesn't work well with python's ossaudiodev module that 
kbtv uses to handle audio. This would be something to be coordinated by the 
snd_cmi and python maintainers I'm afraid. Maybe snd_cmi doesn't support 
ossaudio device/mixer at all?

If you try the attached test that I sent him (put both files somewhere in the 
same directory and run 'python test.py' from there), do you get:

% python test.py 
DEBUG:
IOError or OSSAudioError occured

?

If so, and there's nothing wrong with permissions on dsp and mixer devices, 
that would confirm my hypothesis (can you let me know if this is the case?) 

Sorry. Maybe you can try with a separate sound card. At least I know now that 
the MSP is not the problem.

Thanks for the feedback,

Dan

   MIXER CHANNEL FOR TV.
   btsetup quit
  
   chaucer 502 /usr/home/mike # kbtv
   kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the
   program Traceback (most recent call last):
 File ./kbtv_application.py, line 136, in ?
   mainwindow = KbtvPart(player)
 File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
   self.extendToolbar()
 File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
   extendToolbar
   self.toolbarwidget = KbtvToolbarWidget(self, tb)
 File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
   __init__
   self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
   ValueError: list.index(x): x not in list

PS: It's possible to set mchan to, say, line in the code instead of 
uninitialized, but I would think that would only make things better 
cosmetically (no crash) but it wouldn't make sound work.

 No, I am trying to use the snd drivers via the built-in sound card in
 the motherboard.  I removed all references to the TV card from the
 kernel definition file, and let it be loaded dynamically, as suggested
 in the documentation.

 chaucer 507 /etc # kldstat
 Id Refs AddressSize Name
  1   37 0xc040 387d9c   kernel
  21 0xc0788000 3204 splash_bmp.ko
  31 0xc078c000 4228 vesa.ko
  41 0xc07dc000 328c snd_driver.ko
  52 0xc07e 4d08 snd_ad1816.ko
  6   29 0xc07e5000 1d9c8sound.ko
  72 0xc0803000 4c4c snd_als4000.ko
  82 0xc0808000 4fcc snd_cmi.ko

snip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

KBTV setup problem

2006-09-05 Thread Mike jeays
Has anyone else encountered this problem with KBTV?  Note that the line
showing the mixer channel seems to lack an entry.

chaucer 501 /usr/home/mike # btsetup
btsetup show
BKTR - BrookTree/Conexant BT8x8 based cards
===
BKTR MODULE LOADED... Yes
BKTR DEVICE PERMISSIONS.. OK
BKTR CAPTURE CHIP BrookTree 878
BKTR TV CARD. Hauppauge WinCast/TV
BKTR TUNER TYPE.. Philips NTSC

SAA - Philips SAA713x based cards
===
SAA MODULE LOADED No
SAA DEVICE PERMISSIONS... Not OK

PWC - Philips and compatible USB webcams
===
PWC MODULE LOADED No
PWC DEVICE PERMISSIONS... Not OK

SOUND - Sound card and tuner sound wiring
===
SND MODULE LOADED Yes
AUDIO CHIP... CMedia CMI8738
MIXER CHANNEL FOR TV. 
btsetup quit

chaucer 502 /usr/home/mike # kbtv
kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
Traceback (most recent call last):
  File ./kbtv_application.py, line 136, in ?
mainwindow = KbtvPart(player)
  File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
self.extendToolbar()
  File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
extendToolbar
self.toolbarwidget = KbtvToolbarWidget(self, tb)
  File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
__init__
self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
ValueError: list.index(x): x not in list

-- 
Mike Jeays
[EMAIL PROTECTED]
http://www.jeays.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]