Re: mplayer debian package

2006-02-02 Thread Shreyas Ananthan
Michael Schmitz [EMAIL PROTECTED] writes:

 Regarding installation of mplayer-g4: you need to install first
 mplayer-powerpc then mplayer-g4 (dpkg craps out with a dependency loop
 otherwise).

I did not have any such problems while installing mplayer-g4. So I am
not sure what you mean.

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



mplayer debian package

2006-01-28 Thread Shreyas Ananthan

Hi,

I tried to install the mplayer-g4 package from the following repository 

http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/

which is the repository specified at Marillat's webpage for
mplayer. However, the installation fails because the package libpolyp0
is missing in both the official debian repos as well as in Guido
Guenther's repository. Where can I find this package? Or is there
another repository available for mplayer?

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer debian package

2006-01-28 Thread Shreyas Ananthan

thanks, that fixed it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer debian package

2006-01-28 Thread Shreyas Ananthan

Is there a codecs package similar to w32codecs (in i386 repository) for ppc? 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mplayer debian package

2006-01-28 Thread Shreyas Ananthan
Dean Hamstead [EMAIL PROTECTED] writes:


 fortunately the only files ive ever had problems with
 are very recent wmv files. all the mpeg4 type files
 work fine, avi mkv work fine, ogg audio, mp3 audio

I am trying to play trailers from http://www.apple.com/trailers and
all I can hear is the audio.


 you may just need to install the additional codecs
 from the mplayer unofficial repository. i recall
 that 'apt-get install mplayer' was fairly lean.

Unofficial repository? Do you mean marillat's? 

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bcm43xx finally working, with encryption too!!!

2006-01-20 Thread Shreyas Ananthan
Bin Zhang [EMAIL PROTECTED] writes:

 Try not run dhclient directly. You can configure all you need in
 /etc/network/interfaces:
 For example:
 iface eth1 inet dhcp
   pre-up modprobe ..
   post-up iwlist eth1 scan
   post-up iwconfig eth1 rate 11M
   post-up iwconfig eth1 essid ..
   #post-up iwconfig eth1 key ..
 
 Use ifup eth1 and ifdown eth1.
 
 Bin


I tried this approach, it seems, at least from the behavior in my
ibook, that the commands with post-up run after the dhcp command. So
it still doesn't do the iwlist scanning before dhcp command.

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bcm43xx finally working, with encryption too!!!

2006-01-19 Thread Shreyas Ananthan

Hi Milan,

I am using Airport wireless card on an iBook 12 G4 and I have managed
to get bcm43xx driver working both with WEP and WPA, using the default
debian kernel. I downloaded the softmac-snapshot and bcm43xx snapshots
(Jan 15, 2006 snapshots) and compiled the ieee80211 modules from the
softmac-snapshot and use them instead of the ones in the
kernel. Giuseppe has a good summary of the procedure we followed to
get it working at http://www.fisica.unipa.it/~lavaget/ubuntuae/

I have found that iwlist scanning isn't very reliable. I sometimes
have to scan a couple of times before setting the essid using iwconfig
or wpa_supplicant. This brings me to my problem... I cannot get an IP
address using dhclient...

the procedure I follow is

modprobe ieee80211_crypt ieee80211 ieee80211_crypt_wep
ieee80211_crypt_ccmp ieee80211_crypt_tkip ieee80211softmac bcm43xx 

ifconfig eth1 up 
iwlist eth1 scan 

dhclient eth1 

When I run dhclient it seems to do an ifconfig eth1 down followed by
an ifconfig eth1 up, which means that the iwlist scan results are lost
and dhclient keeps searching for the dhcp server.


I found that if I let dhclient run on one console and run iwlist eth1
scan in another console then the dhclient immediately is able to get
an IP address. So my question is... is there any option that I can
pass to dhclient that will disable the up/down of interface if it is
already up? Can someone please help?

Shreyas. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bcm43xx finally working, with encryption too!!!

2006-01-19 Thread Shreyas Ananthan
Bin Zhang [EMAIL PROTECTED] writes:

snip...

 Try dscape/bcm43xx. It needs only one second to get connected.
 http://svn.berlios.de/wsvn/bcm43xx/branches/dscape/driver/HOWTO?op=filerev=1027sc=1
 
 Bin

snip..

Hi,

I tried to make dscape+bcm43xx work and haven't succeeded. This is
with 2.6.15 kernel with the unofficial patch applied. The sta_up.sh
script causes the kernel to crash and I have to reboot. I traced the
kernel panic to the following command in sta_up.sh

ifconfig wlan0.11 up 

and the xmon exception information at this point shows the following
message...

vector: 300 at pc=f26b33b8: ieee80211_master_start_xmit+0x6c/0x4bc
[80211], lr=f2b3378: ieee80211_master_xmit+0x2c/0x4bc [80211]
msr=9032, sp = ef4b3a00 [ef4b3950]
dar = 8, dsisr = 4000
current = ef58e770, pid = 3151, comm = bash

I am not sure what this means or what other information (from xmon
dump) that I need to post for someone to be able to help me. 


I tried posting to the bcm43xx-dev mailing list, but since I am not
subscribed to the list the message is waiting for moderator approval
for over three days now. I had also posted about this in debian-ppc
mailing list a few days ago and there were no responses, so I gave up
on the dscape+bcm43xx route and went with softmac+bcm43xx. 

I will give the dscape+bcm43xx route a try again if someone can help
me with this. Any help will be appreciated. 

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bcm43xx finally working, with encryption too!!!

2006-01-19 Thread Shreyas Ananthan
Aaron Kerr [EMAIL PROTECTED] writes:

snip

 While my script is some overly complicated perl that tries to find one
 of my preferred networks here is what it would look like as simple
 bourne shell script (last two lines optional depending on network and
 use as pre-up script or standalone script):

snip

 #iwconfig $INTERFACE key 0a1b2c3d4e
 #dhclient $INTERFACE
 END OF SCRIPT

snip

My script works exactly the way you described. My problem is with the
last line, when I try dhclient. It seems to do an ifconfig down/up
again, which means I have to run iwlist scan again to get the wireless
working again. What I want is a way to disable dhclient from doing its
own ifconfig down/up on eth1 (or eth2 sometimes!), so that the iwlist
command doesn't have to be run separately on another xterm/console.

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: xorg-6.9.0 and nautilus-2.12.2-1

2006-01-11 Thread Shreyas Ananthan

Hi,

Thanks for the information. I will try that. 

Shreyas. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: xorg-6.9.0 and nautilus-2.12.2-1

2006-01-10 Thread Shreyas Ananthan
Antonio-M. Corbi Bellot [EMAIL PROTECTED] writes:


 Just upgraded my pbook with a nvidia card to xorg-6.9.0 and everything
 seems to work ok except nautilus (my version is 2.12.2-1), the desktop
 is drawn corrupted, every other application works ok.

I experience the same problem. For the time being I disabled nautilus'
ability to redraw desktop using the command...

gconftool -2 -s /apps/nautilius/preferences/show_desktop -t bool false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Shreyas Ananthan
Hi,

I tried the bcm43xx-dscape driver with a patched 2.6.15 kernel on my
iBook G4 12 and I cannot get it to work. Some relevant information...

CPU information

processor   : 0
cpu : 7447A, altivec supported
clock   : 1333MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 1327.10
machine : PowerBook6,7
motherboard : PowerBook6,7 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
memory  : 1024MB
pmac-generation : NewWorld


Output from lspci -vv

0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 
54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Apple Computer Inc.: Unknown device 4318
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 16
Interrupt: pin A routed to IRQ 52
Region 0: Memory at 80084000 (32-bit, non-prefetchable) [disabled] 
[size=8K]


I am using the January 10, 2006 snapshot of bcm43xx on 2.6.15 kernel
with the unofficial patch available at bcm43xx.berlios.de

Once the kernel boots up, modprobe rate_control 80211 and insmod
bcm43xx.ko works without errors. The relevant dmesg output 


80211: module license 'unspecified' taints kernel.
bcm43xx driver 0.0.1
PCI: Enabling device 0001:10:12.0 (0004 - 0006)
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx: Detected Radio:  ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
wlan0: Selected rate control algorithm 'simple'


However, the script sta_up.sh caused the kernel to crash (can someone
tell me what to dump from xmon. I am not sure what information in
there is relevant). I traced the crash to the following command in the
script sta_up.sh

ifconfig wlan0.11 up

Instead I tried

ifconfig wlan0 up and then proceeded with the remaining steps in
sta_up.sh manually and dmesg output shows...


sta0: using STA entry 0
sta0: MAC address 00:14:51:82:b1:3c
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation  10) at: 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_phy.c:1257:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: ASSERTION FAILED (0) at: 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2996:bcm43xx_gen_bssid()
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
wlan0.11: Does not support passive scan, disabled
wlan0: no IPv6 routers present
bcm43xx: TODO: Incomplete code in bcm43xx_set_iwmode() at 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2540


However, wpa_supplicant doesn't connect and I get the following
message repeated indefinitely in dmesg

sta0: no IPv6 routers present
sta0: starting scan
sta0: scan completed
sta0: Initial auth_alg=0
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authentication with AP 00:0c:41:f3:56:eb timed out


iwconfig shows


wlan0 IEEE 802.11g  ESSID:off/any 
  Mode:Managed  Frequency:2.462 GHz 
  RTS thr:off   Fragment thr=2346 B   
 
wlan0.11  IEEE 802.11g  ESSID:off/any  Nickname:Broadcom 4318
  Mode:Managed  Frequency:2.462 GHz 
  RTS thr:off   Fragment thr=2346 B   
 
sta0  IEEE 802.11g  ESSID:off/any 
  Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0C:41:F3:56:EB   
  RTS thr:off   Fragment thr=2346 B   


and ifconfig shows


sta0  Link encap:Ethernet  HWaddr 00:14:51:82:B1:3C 
  inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:576 (576.0 b)

wlan0 Link encap:Ethernet  HWaddr 00:14:51:82:B1:3C 
  inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0


I have to use WEP and I don't have any open routers or WPA routers to
test these options. The router is a Linksys WRT54G model. So my
questions are...

1. Any suggestions on how I can avoid the kernel panic when I do
ifconfig wlan0.11 up? What