суббота, 24 ноября 2012 г.

Fedora and broadcom b43 wireless and b44 wired drivers

Tricks, tricks, tricks... They are always present when you are working with linux systems.
This may be actual for =< Fedora 17. There is great fedoraforum.org article about broadcom wireless drivers.
Open b43 (broadcom wireless) driver seems can work together with b44 (broadcom wired) driver, but not too well. On high load, for example - torrents, he can do such error:
ping: sendmsg: No buffer space available

And after that you may reload wireless or a whole system to make work it again. So temporary solution is to unload b44 module when wireless needs to be more stable at work.
Way to unload right now:
 sudo modprobe -v -r b44  
And we will get something like this:
 rmmod b44  
 rmmod mii  
Also for a long term it possible add to blacklist:
 sudo vim /etc/modprobe.d/blacklist.conf  
 blacklist b44  
p.S. Seems there is interesting solution with broadcom-wl drivers. This could also work with b43.

четверг, 15 ноября 2012 г.

jQuery UI in Drupal7

From the first sight looks easy but a bit tricky. Ok, we wanna use jQuery UI.
Yes, drupal7 has jquery ui in its core. But:
1) Its in old version. Because of that examples from http://jqueryui.com/ may not work. So we have to use jQuery update.
2) Its not enabled by default.
We need to insert to our code function:

 drupal_add_library('system', 'ui');  

Now we can try jquery ui coding.