saa716x driver status

2010-03-24 Thread Rodd Clarkson
Hi All,

I've recently acquired a AverMedia Hybrid NanoExpress tv tuner and I'm
trying to get it working with Fedora 13 and Fedora 12.

I've found drivers at http://www.jusst.de/hg/saa716x/

On f12 the driver build and install, but I have missing symbols when I
try to modprobe the drivers.

On f13 the drivers fail to build.

I've tried contacting Manu Abraham (whom I believe is the developer)
about the f12 issues, but haven't heard back.

I've searched google for everything from saa716x, AverMedia Hybrid Nano
Express, HC82 and 1461:0555 (the pci address, I guess).  There's bits
and pieces about this driver in the results, but most are that they can
build the driver, but it doesn't work.

I'm happy to 'risk' my card and try stuff to get this to work, but I'm
curious about whether or not development is ongoing and how I can help
(not being a c coder)

I'll attach the output of the build attempt on f13 in case someone can
advise what is going wrong.  The build log was captured using:

$ make  /tmp/saa716x.build.log.f13

regards 


Rodd
make -C /tmp/saa716x-01c9f2163edd/v4l 
make[1]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.33-1.fc13.x86_64/source 
./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
make[2]: Leaving directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
make -C firmware
make[2]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
Kernel build directory is /lib/modules/2.6.33-1.fc13.x86_64/build
make -C /lib/modules/2.6.33-1.fc13.x86_64/build 
SUBDIRS=/tmp/saa716x-01c9f2163edd/v4l  modules
make[2]: Entering directory `/usr/src/kernels/2.6.33-1.fc13.x86_64'
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-xc2028.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-simple.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-types.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/mt20xx.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda8290.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tea5767.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tea5761.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda9887.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda827x.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-core.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-i2c.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-cards.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-dvb.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-video.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au8522_dig.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au8522_decoder.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-pci.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-usb.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-fe-tuner.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-i2c.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-sram.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-eeprom.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-misc.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-hw-filter.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-dma.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-driver.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-driver.c:47:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-cards.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-cards.c:41:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-if.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-if.c:34:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-risc.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-risc.c:36:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-vbi.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-vbi.c:34:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined

saa716x driver status

2010-03-24 Thread Rodd Clarkson
Hi All,

I've recently acquired a AverMedia Hybrid NanoExpress tv tuner and I'm
trying to get it working with Fedora 13 and Fedora 12.

I've found drivers at http://www.jusst.de/hg/saa716x/

On f12 the driver build and install, but I have missing symbols when I
try to modprobe the drivers.

On f13 the drivers fail to build.

I've tried contacting Manu Abraham (whom I believe is the developer)
about the f12 issues, but haven't heard back.

I've searched google for everything from saa716x, AverMedia Hybrid Nano
Express, HC82 and 1461:0555 (the pci address, I guess).  There's bits
and pieces about this driver in the results, but most are that they can
build the driver, but it doesn't work.

I'm happy to 'risk' my card and try stuff to get this to work, but I'm
curious about whether or not development is ongoing and how I can help
(not being a c coder)

I'll attach the output of the build attempt on f13 in case someone can
advise what is going wrong.  The build log was captured using:

$ make  /tmp/saa716x.build.log.f13

regards 


Rodd

make -C /tmp/saa716x-01c9f2163edd/v4l 
make[1]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.33-1.fc13.x86_64/source 
./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
make[2]: Leaving directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
make -C firmware
make[2]: Entering directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/tmp/saa716x-01c9f2163edd/v4l/firmware'
Kernel build directory is /lib/modules/2.6.33-1.fc13.x86_64/build
make -C /lib/modules/2.6.33-1.fc13.x86_64/build 
SUBDIRS=/tmp/saa716x-01c9f2163edd/v4l  modules
make[2]: Entering directory `/usr/src/kernels/2.6.33-1.fc13.x86_64'
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-xc2028.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-simple.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tuner-types.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/mt20xx.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda8290.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tea5767.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tea5761.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda9887.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/tda827x.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-core.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-i2c.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-cards.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-dvb.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au0828-video.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au8522_dig.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/au8522_decoder.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-pci.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-usb.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-fe-tuner.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-i2c.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-sram.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-eeprom.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-misc.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-hw-filter.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/flexcop-dma.o
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-driver.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-driver.c:47:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-cards.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-cards.c:41:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-if.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-if.c:34:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-risc.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-risc.c:36:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined
include/linux/input.h:379:1: warning: this is the location of the previous 
definition
  CC [M]  /tmp/saa716x-01c9f2163edd/v4l/bttv-vbi.o
In file included from /tmp/saa716x-01c9f2163edd/v4l/bttvp.h:36,
 from /tmp/saa716x-01c9f2163edd/v4l/bttv-vbi.c:34:
include/linux/input.h:599:1: warning: KEY_RFKILL redefined

Re: [linux-dvb] DVB-T USB Devices

2010-03-01 Thread Rodd Clarkson
On Mon, 2010-03-01 at 19:03 +1100, Rodd Clarkson wrote:

 usb 1-4: Manufacturer: Hauppauge Computer Works
 ...
 smscore_set_device_mode: firmware download success:
 sms1xxx-nova-b-dvbt-01.fw

I hate replying to myself, but I should have mentioned that

sms1xxx-nova-b-dvbt-01.fw is a renamed sms1xxx-hcw-55xxx-dvbt-01.fw

I've noticed that sms1xxx-hcw-55xxx-dvbt-02.fw seems to be out, but
haven't tried this.


R.

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] siano firmware and behaviour after resuming power

2010-01-04 Thread Rodd Clarkson
On Thu, 2009-12-03 at 14:38 +0100, Luca Olivetti wrote:
 En/na BOUWSMA Barry ha escrit:
 
  I found a something here
 
  http://marc.info/?l=linux-usb-usersm=116827193506484w=2
 
  that purportedly resets an usb device.
  What I tried was, before powering off:
 
  1) unload the drivers
  2) use the above to reset the stick
  3) power off
 
  and, before loading the drivers, issue a reset again.
  Sometimes it works, sometimes it doesn't, the end result is that I cannot
  leave the device plugged-in if I want to use it.

I've also got a siano card, but in my case it's embedded in my Dell
laptop, so yanking it out and plugging it back in isn't even an option.

The card is however a USB device and I've included the lsusb -v output
at the end in case it's useful.

I've tried the firmware you're referring too, but there's also a request
for sms1xxx-nova-b-dvbt-01.fw in the dmesg and this is asked for first
(in my case), with a siano supplied one sought if it can't find this
first one.

I'm not having problems with cold restarts, but suspend/hibernate sees
the things go bad on resume.

I've added some stuff to /etc/pm/sleep.d which unloads the modules and
then reloads then on resume.  It's a simple script:

#!/bin/bash
case $1 in
 hibernate)
  echo Suspending to disk
  modprobe -r smsdvb
  modprobe -r smsusb
 ;;
 suspend)
  echo Suspending to RAM
  modprobe -r smsdvb
  modprobe -r smsusb
 ;;
 thaw)
  echo Suspend to disk is over, Resuming...
  modprobe smsdvb
  modprobe smsusb
 ;;
 resume)
  echo Suspend to RAM is over, Resuming...
  modprobe smsdvb
  modprobe smsusb
 ;; 
 *) 
  echo somebody is calling me totally wrong.
 ;; 
esac

This addresses these problems for me.  You might be able to add
something similar to /etc/pm/power.d to unload modules to address the
problem.


Rodd



Bus 001 Device 003: ID 2040:1801 Hauppauge 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x2040 Hauppauge
  idProduct  0x1801 
  bcdDevice0.01
  iManufacturer   1 Hauppauge Computer Works
  iProduct2 WinTV-NOVA
  iSerial 3 f05eb5ec
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   32
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass  255 Vendor Specific Class
  bDeviceSubClass   255 Vendor Specific Subclass
  bDeviceProtocol   255 Vendor Specific Protocol
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x
  (Bus Powered)


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html