[linux-dvb] Last rev of skystar-usb, still compatible with linux dvb driver ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



flexcop skystar-usb in macintosh G4 ppc, any hope ? could be  
supported in next cvs releases of dvb-kernel driver ? Should i give- 
up...

In answer to your last mail, i can tell you that :

1-     yes, the mac address in "/var/log/messages" is the correct one;


2-     No, unfortunately i didn't get any improvement by replacing in  
"DVB/ build-2.6/flexcop-reg.h" the line #include  
"flexcop_ibi_value_be.h" with #include "flexcop_ibi_value_le.h".

As you didn't specify it and i didn't know what i was doing, i tried  
first to make the change before compiling the driver, so i removed  
the old /usr/src/dvb-kernel/ dir replaced it with a fresh new one then :

# cd /usr/local/src/DVB
# ./makelinks /usr/src/linux
# cd DVB/build-2.6
then i edited the file flexcop-reg.h
# make
# ./insmod.sh load

pluged the device...no improvement

Then in a second attempt, i edited the file after the compil process.  
So, i removed the old /usr/src/dvb-kernel/ dir replaced it with a  
fresh new one then :

# cd /usr/local/src/DVB
# ln -s linux/include include
# cd build-2.6
# make
then i edited the file flexcop-reg.h
# ./insmod.sh load

pluged the device...also no improvement

below you find the /proc statements :

                                                  
-----------------------------------

[root@localhost root]# cat /proc/devices
Character devices:
   1 mem
   2 pty
   3 ttyp
   4 /dev/vc/0
   4 tty
   4 ttyS
   5 /dev/tty
   5 /dev/console
   5 /dev/ptmx
   7 vcs
10 misc
13 input
14 sound
23 ttyD
24 ttyE
28 staliomem
29 fb
35 digi_ctl
56 adb
81 video4linux
116 alsa
128 ptm
136 pts
162 raw
171 ieee1394
172 ttya
180 usb
212 DVB
216 rfcomm
226 drm
254 ttySLM

Block devices:
   1 ramdisk
   3 ide0
   7 loop
   9 md
22 ide1
253 mdp
254 pktcdvd
[root@localhost root]# cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0001:10:19.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0001:10:18.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=32 #Cfgs=  1
P:  Vendor=0af7 ProdID=0101 Rev= 1.15
S:  Manufacturer=B2C2, Inc.
S:  Product=B2C2 Broadband Rcvr USB Adpt.
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I:  If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
I:  If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 640 Ivl=1ms
I:  If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I:  If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
I:  If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
I:  If#= 0 Alt= 8 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
[root@localhost root]#



3-    Also, i tried to use the kernel DVB drivers instead of the CVS  
linuxTV ones so, i recompiled my custom 2.6.13-rc5 kernel with B2C2  
drivers configured as modules, restarted the computer, then :

# modprobe b2c2-flexcop-usb
modules loaded correctly without any problem.
I pluged the device...i got nearly the same messages as before except  
from one or two line(s) :

[root@localhost root]# tail /var/log/messages
Aug 18 17:06:33 localhost gconfd (root-14309): Adresse  
??xml:readonly:/etc/gconf/gconf.xml.defaults?? r?solue vers une  
source de configuration en lecture seule? la position 2
Aug 18 17:08:27 localhost kernel: b2c2-flexcop: B2C2 FlexcopII/II(b)/ 
III digital TV receiver chip loaded successfully
Aug 18 17:08:27 localhost kernel: usbcore: registered new driver  
b2c2_flexcop_usb
Aug 18 17:10:18 localhost kernel: usb 1-1: new full speed USB device  
using ohci_hcd and address 2
Aug 18 17:10:18 localhost kernel: flexcop_usb: running at FULL speed.
Aug 18 17:10:18 localhost kernel: b2c2-flexcop: unkown FlexCop  
Revision: 8. Please report the linux-dvb@xxxxxxxxxxxx
Aug 18 17:10:18 localhost kernel: DVB: registering new adapter  
(FlexCop DigitalTV device).
Aug 18 17:10:18 localhost kernel: allocation failed: out of vmalloc  
space - usevmalloc=<size> to increase size.
Aug 18 17:10:18 localhost kernel: b2c2-flexcop: dvb_dmx failed: error  
-12
Aug 18 17:10:18 localhost kernel: b2c2_flexcop_usb: probe of 1-1:1.0  
failed with error -12
[root@localhost root]#


Best regards



Patrick Boettcher wrote:

> Hi,
>
> On Wed, 17 Aug 2005, Lavoie.S wrote:
>
>> i'm trying to get working my new dvb-s technisat skystar-USB box  
>> in my 667mhz macintosh powerbook G4, using the last Mandriva- 
>> Linux-2005-Limited-Edition distro for ppc with 2.6.13-rc5 custom  
>> made kernel. Unfortunately, after several days of trials i'm still  
>> running into trouble, the reason that's why i claim some helps and  
>> advices from the linuxtv community :
>> [..]
>> ohci_hcd and address 3
>>
>
>
>> Aug 17 18:12:40 localhost kernel: b2c2-flexcop: unkown FlexCop  
>> Revision: 8. Please report the linux-dvb@xxxxxxxxxxxx
>>
>
> 1st problem.
>
>
>> Aug 17 18:12:40 localhost kernel: b2c2-flexcop: MAC address =  
>> 00:d0:d7:0c:b8:1c
>>
>
> Is this MAC address correct?
>
>
>> Aug 17 18:12:41 localhost kernel: flexcop_usb: submitting urb 0  
>> failed with -90.
>>
>
> 2nd problem.
>
>
>> It's clear that the device refused to work, although the modules  
>> were loaded correctly. I suspect but i'm not sure that technisat  
>> has changed somehow the hardware in this newest revision of the  
>> model, or may be i forget some patches to apply to the dvb  
>> driver...I would be pleased if someone can help me to found the  
>> origin of my troubles.
>>
>
> So the innards of that box (plastic case) are not different to the  
> older revision (metal case).
>
> So the first problem for you is, that I recently "fixed" an big/ 
> little-endian issue for the flexcop-chip when running on big-endian- 
> hardware such as PPC.
>
> Unfortunately this change is apparently wrong when operating an  
> flexcop-based USB box on a PPC. (the first problem from above) The  
> big-endian-issue is checked only at compile-time and because the  
> PCI and the USB driver are using the same flexcop-chip-driver. It's  
> working correctly for the PCI card on PPC...
>
> In the meantime I learnt that the flexcop-register-stuff I wrote  
> for the flexcop-chips is not optimal... especially when looking at  
> the endian-issues that can take place.
>
> And it gets worse: I don't even have an idea how to fix it for you,  
> without breaking support for the PCI card on PPC.
>
> You can try editing manually the flexcop-reg.h
>
> and substitute this line
>     #include "flexcop_ibi_value_be.h"
> with
>     #include "flexcop_ibi_value_le.h"
> and try again.
>
> regards,
> Patrick.
>
> --
>   Mail: patrick.boettcher@xxxxxxx
>   WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/
>
>
> _______________________________________________
> 
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050824/08c3af7b/attachment.htm

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux