LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 05-08-2009, 08:58 PM   #1
jman82s
Member
 
Registered: Jul 2007
Location: Central Coast, California
Distribution: "distro-hopper"
Posts: 64

Rep: Reputation: 15
Broadcom 4312 on Debian AMD64?


Hello,

I just purchased a new laptop with an integrated Broadcom 4312 chip. My old machine had a 4318 chip, so I've been around the block and know how to set it up with ndiswrapper and the openwrt drivers via fwcutter. I was using 32 bit OSes exclusively with my old system. I'm now using Debian 64-bit.

I first tried b43-fwcutter from the repos. It fetch the firmware and seemed to extract it without any complaining, but my card wasn't recognized. Then I tried to extract it manually via command line. That finished with no errors, and placed drivers in the /lib/firmware directory. Still not recognized. Next, I compiled ndiswrapper from source. After configuring, 'ndiswrapper -l' showed "device present, driver present.' My card was now recognized, but wouldn't find any networks with both wicd or command line configuration, finished of with a 'dhclient'. No leases were obtained.

Anyway, I figured it might be because I'm running 64-bit, so now I'm trying to install the official driver from Broadcom's website. They even had a 64-bit .zip for my specific chip version! My problem is that it says to run the command

Code:
make -C /lib/modules/<2.6.xx.xx>/build M=`pwd`
which gives me the error:

Code:
make: ***No targets. Stop
I do have kernel headers that match my kernel exactly and gcc, make, etc installed.

Sorry for the long-winded post. Does anyone have any pointers? And has anyone had success running a broadcom chip successfully on 64-bit Linux?

Thanks a bunch!
 
Old 05-08-2009, 10:40 PM   #2
elric27
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
You would be better of trying the wl module and compiling it yourself. Overall, I like it better than ndiswrapper, though speed is sometimes too slow.
Download and use module-asstiant to compile it.
 
Old 05-08-2009, 11:30 PM   #3
jman82s
Member
 
Registered: Jul 2007
Location: Central Coast, California
Distribution: "distro-hopper"
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks for the reply. I believe this is the driver I'm currently trying to install. The readme says that I will end up with a file named "wl.ko" after the make process. I used module-assistant as per the instructions...




I read that not having a configure file in the source directory can cause this error (with compiling in general), but there was no configure file included. There is a single makefile and then a /lib and /src subdirectory.
 
Old 05-10-2009, 02:01 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,170

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Talking

Forget reading - it's all <expletive deleted>. The docs are up to kernel 2.6.24 or 25, the b43 really started to work from 2.6.27, and the bugs were mainly ironed by 2.6.29. I've been there, done that, got the T-shirt.

I am sending on a broadcom 4312 and have it running on ssb & b43 under slamd64 and fedora. I would suggest starting by checking where they hid the chip!

lsusb - always gives me a Bluetooth/WLAN entry on this HP6715S.

When the 4312 is happy, and the kernel has created wlan0, then I get an entry on the pci bus. lspci then shows me a 4312. No wlan0, no entry on pci, no go.

The link is B43_PCI_BRIDGE - a hidden option you never see in the new kernels. Move up to 2.6.29.2 - it's getting good recommendations.

in /etc/modprobe.d/wlan0, I ended up with
install b43 /sbin/modprobe -i ssb; /sbin/modprobe -i b43; /sbin/modprobe -i btusb

Problems stopped once that went in.

ssb, BTW Is Sonics Silicon Backplane in kernel config speak. Don't ask me what it is, or does. Read the help and check for the b43 stuff. Every option depends on 25 things and selects another 15 :-/.

The kernel make error on "make -C /lib/modules/<2.6.xx.xx>/build M=`pwd`" is because you are in the wrong place. (I suffered here too!!)

Build 2.6.29.2. Then do not run 'make clean'. Boot on it, and check the /lib/modules/<version>/build link is valid. Change to the directory in the Broadcom driver WITH THE MAKEFILE in it. Execute that line. It does a process cd to the kernel, but builds in the local files. You don't need that driver, or ndiswrapper at all, btw. If you're going that road, have fun, and write it up somewhere. Nobody else did.

Sorry for the length. It is a bitch.
 
Old 05-14-2009, 06:59 PM   #5
jman82s
Member
 
Registered: Jul 2007
Location: Central Coast, California
Distribution: "distro-hopper"
Posts: 64

Original Poster
Rep: Reputation: 15
Not at all

Yeah, I actually figured out that my paths were fishy. I fixed that and it actually started to compile, but generated new errors (can't remember specifically now). The ssb/b43 combo has worked well enough in the past for me, but not on this Lenny AMD64 install. In the end, I just threw Jaunty 64 on, and the thing worked right out of the box. There's something I don't really like about using Ubuntu, I can't put my finger on it, but sometimes it just gets things done.
 
Old 05-15-2009, 04:34 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,170

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
It's the fact that all knowledge is hidden from the user. They don't even give you root. And when ubuntu lands jammy side down (As it most definitely did here) then things are really sad and you have to fight the system to fix them. I'm on Slackware (Slamd64 actually) and everything lands off centre but you can fix it fairly handy. Lenny and Jaunty I take it are pet names for some distro. I gether you upgraded. Glad you got going.
 
Old 05-15-2009, 08:41 PM   #7
jman82s
Member
 
Registered: Jul 2007
Location: Central Coast, California
Distribution: "distro-hopper"
Posts: 64

Original Poster
Rep: Reputation: 15
I think you just articulated what I was thinking pretty well! I've had cases in the past where I've felt like the training wheels were welded on (with Ubuntu). Lenny is just the current release name of Debian, which I'm quite fond of. When it works for me, anyways.

I'll probably give Fedora 11 a shot when it's released soon. 10 was a superb release!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom 4312 on usb - sporadically recognized business_kid Linux - Wireless Networking 14 05-02-2009 12:49 PM
HP Compaq 6720s laptop with Broadcom 4312 wireless Pscylo Slackware 9 04-25-2008 05:32 PM
HP6720s Broadcom 4312 Pscylo Linux - Wireless Networking 0 04-16-2008 06:35 PM
Wireless configured for broadcom 4312 but local access only , Ethernet doesn't work calcium20 Slackware 3 02-05-2008 10:05 PM
Broadcom 4310/4312 wireless problems KentS Slackware 2 12-20-2007 05:43 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration