Subscribe in a reader

Archive for the “driver” Category

So yet again I had to struggle with the broadcom propriety driver (hybrid-portsrc) for my Dell 1345 wireless card (Broadcom BCM4312). Earlier, there were issues with the legacy broadcom drivers which just won’t work and won’t let the new ones work. This time, the issue was different, it just won’t work on the 2.6.34 kernel. It used to say “linux/autoconf.h” is missing. After reinstalling autoconf, make utilities, still no solution.

Finally I searched a lot, then found out that the new 2.6.34 kernel has changed the location of some of the header files. So what I had to do was to change #include to #include inside the “src/include/linuxver.h” file of the module source. And tada, it compiled perfectly. Just copied wl.ko to /lib/modules//kernel/net/wireless directory and then depmod -A . Next thing to do was to remove the older drivers from the memory: modprobe -r b43 && modprobe -r ssb and blacklist them (or better, just delete them :p ) by editing “/etc/modprobe.d/50-blacklist.conf” and adding these two lines there: blacklist ssb and blacklist b43 . Did a modprobe wl and saw the wifi LED turned on. :)

Update: Broadcom has released the patch for kernels above 2.6.33 at http://www.broadcom.com/support/802.11/linux_sta.php.

Comments No Comments »

A general blog on ubuntu :-)

I recently learned that Ubuntu is an ethical concept of African origin emphasizing community, sharing and generosity (source WIKI) and people there have a way of naming the versions:
Dapper Drake, Edgy Eft, Feisty Fawn, Gutsy Gibbon, Hardy Heron, Intrepid Ibex and Jaunty Jackalope.
And, now we have

10.04 Lucid Lynx to be released on 04-29-2010.
So yes one trend is they are going alphabetically! Second is that the name is made using name of an animal beginning from next alphabet in turn with may be a characteristic of that animal. That means the next could probably be Mast Monkey ;-)

But any day how are they in comparison to:
Win XP: Whistler XP
Win Vista: Longhorn, mojave
Win 7: Blackcomb, Vienna

B tw…see this: http://uncyclopedia.wikia.com/wiki/Ubuntu#Release_Names

And yes! Most imp thing:
Sound trouble shooting in UBUNTU 9.04
(Thank you Chirag for this)

After a fight with your system on checking that your speakers a fine (runs on windows :P) and volume is turned up you should do the followings:

1. aplay /dev/dsp
If it says playing raw data…
…and you have a HP dvx:
cd ~
mkdir src
cd src
mkdir alsa
cd alsa
wget ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
tar -xvpf alsa-driver-snapshot.tar.gz
cd alsa-driver
sudo ./configure
sudo make
sudo make install-modules
sudo vi /etc/modprobe.d/alsa-base.conf
options snd-hda-intel enable_msi=1
And reboot

…and you have a VAIO:
Enable everything  in alsamixer except “external amplifier”
And reboot

To see if system detects your sound card:
aplay -l
If sound card is detected by hardware:
lspci -v | less

To see if sound mods are installed:
sudo aptitude install linux-restricted-modules-`uname -r` linux-generic

Using ALSA drivers:
mkdir src
cd src
mkdir alsa
cd alsa
sudo apt-get install build-essential linux-headers-$(uname -r)
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.12.tar.bz2
tar -xvjf alsa-driver-1.0.12.tar.bz2
cd alsa-driver-1.0.12
sudo ./configure
sudo make
sudo make install

9. Karmic Koala6.06 Dapper Drake

6.10 Edgy Eft
7.04 Feisty Fawn
7.10 Gutsy Gibbon
8.04 Hardy Heron
8.10 Intrepid Ibex
9.04 Jaunty Jackalope
9.10 Karmic Koala Dapper Drake
6.10 Edgy Eft
7.04 Feisty Fawn
7.10 Gutsy Gibbon
8.04 Hardy Heron
8.10 Intrepid Ibex
9.04 Jaunty Jackalope
9.10 Karmic Koala6.06 Dapper Drake
6.10 Edgy Eft
7.04 Feisty Fawn
7.10 Gutsy Gibbon
8.04 Hardy Heron
8.10 Intrepid Ibex
9.04 Jaunty Jackalope
9.10 Karmic Koala

IF NOTHING HELPS….Replace ALSA with OSS :P

Comments 2 Comments »

first you will have to
(1)get the source of driver http://bu3sch.de/razercfg.php
(2)Now install libusb-devel here is 1-click link of it ..
http://software.opensuse.org/ymp/openSUSE%3A10.3/standard/libusb-devel.ymp
(3)Install python-devel here is its 1-clcik link http://software.opensuse.org/ymp/openSUSE%3A10.3/standard/python-devel.ymp
first write cmake -i (this pushes cmake to wizard mode )
and when PYTHON_INCLUDE_PATH
come in a text like this
Variable Name: PYTHON_INCLUDE_PATH
Description: Path to a file.
Current Value: PYTHON_INCLUDE_PATH-NOTFOUND
New Value (Enter to keep current value): /usr/include/python2.5/
put there /usr/include/python2.5/
after that extract razercfg-001.tar.bz2 to directory /usr/local/ (the file you got in step 1 )
go to its directory open a consoel and write cmake .
don’t forget the dot or you can write cmake -G KDevelop (if you want to see the C code in kdevelop,for experts only)
after that
write make
and then write make install

this will install the driver ..now only thing left is to install rules (i didn’t try this )
this rules part is from accompanying README that comes with driver

*** UDEV / AUTOMATIC CONFIGURATION ***

The file “01-razer-udev.rules” in this package contains example rules
on how to handle automatic configuration through udev.
On Ubuntu Linux you need to
cp 01-razer-udev.rules /etc/udev/rules.d/01-razer.rules
to install the rules. Note that you might have to adjust the RUN path in
the .rules file, if you didn’t install the stuff to /usr/local.

*** DISTRIBUTIONS ***

Distributions should install a proper udev autoconfig rule file
from their rpm or deb (or whatever) install scripts.
See 01-razer-udev.rules for example rules.

for getting ot know this mouse better on linux go to this forum post ” http://www.phoronix.com/forums/showthread.php?t=2143#post6818

Comments No Comments »