LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wireless on inspiron 1525 (https://www.linuxquestions.org/questions/slackware-14/wireless-on-inspiron-1525-a-679389/)

aihaike 10-27-2008 02:40 PM

wireless on inspiron 1525
 
Dear all,

I'm trying to configure the wireless of my inspiron 1525 on Slackware 12.1.
First of all, I do not know which driver should I use. I've read that some people use b43 but it dosen't help for me.
lspci doesn't show any wireless device and wlan doesn't exist.
dmesg | grep -i wireless (or wlan) gives nothing.
I have to say that I have switched on the wireless with the button on the right side.
Does someone has successfully configured the wireless on this machine?

Thanks in advance,

Hope_Jack 10-27-2008 02:56 PM

Hello, I've your own problem... wait some answer from all other member of community

Ilgar 10-27-2008 03:37 PM

Can you give the lspci output? You surely must have an idea about what wireless card you have. As far as I can see from Google search results, under Linux wireless should work on this computer. It seems some models have Intel and others have Broadcom cards, but they should work...

jschiwal 10-27-2008 03:55 PM

The name of the kernel module for a broadcom wireless device is dependent on which kernel you use. E.G. b43 or bcm43xxx. Look at the files provided by your b43-fwcutter package.
You may have the file: "/usr/sbin/install_bcm43xx_firmware". Running this command as root will download the firmware you need and install it.

You could run the command:
Code:

sudo /sbin/lspci -v | sed -n '/Wireless/,/^$/p'
to get information on you wireless device. The sed part simply filters out the other devices. It may even indicate which driver the device needs.

aihaike 10-27-2008 04:00 PM

Thanks,

the lspci out looks like that:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
02:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
02:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
02:09.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
02:09.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
0b:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)

Do you think there is the wireless card here?

Ilgar 10-28-2008 02:25 AM

0b:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)

There it is.

Edit:
This is the project page for Broadcom drivers:

http://linuxwireless.org/en/users/Drivers/b43

As you'll see there, the work for BCM 4310 is in progress. So you may need to try ndiswrapper for your card.

aihaike 10-28-2008 08:41 AM

Thanks a lot for your help!!
I got it working.
I use ndiswrapper with the windows driver R174291.
More info about R174291 are available here.
The driver R115321 did not work for me.
Thanks again,

Eric.

Ilgar 10-28-2008 11:24 AM

You're welcome, I'm glad it's working :).

aihaike 10-28-2008 02:08 PM

next step: the webcam
 
Now the wireless works fine, do I have to proceed by the same way to use the integrated webcam?
I mean use the windows module with ndiswrapper.
But in this case, I'm wondering whether I can use several module with ndiswrapper.

Eric.

Ilgar 10-28-2008 03:37 PM

Ndiswrapper is for wireless cards. For webcam, we need to know what chipset it has. You can use the lsusb command for that. My guess is that, if it isn't already supported, one the of the following projects is likely to provide the necessary driver:

http://spca50x.sourceforge.net/spca50x.php
http://linux-uvc.berlios.de/

Both drivers are included in recent kernels, but with the default Slackware 12.1 kernel you will need to compile and install them (it should be a smooth procedure).

aihaike 10-28-2008 06:10 PM

lsusb gives that:

Bus 002 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 003: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 006 Device 002: ID 047d:101f Kensington PocketMouse Pro
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000


I've juste try the ov511 driver but seems not working.
dmesg gives:

Linux video capture interface: v2.00
usbcore: registered new interface driver ov511
drivers/media/video/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver

Bur skype does't see the camera ....

You're right I'll have to go to the uvc driver.

I'll let you know.
Thanks,

Eric.

aihaike 10-28-2008 08:17 PM

So,

I've dowload uvc doing

Code:

svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
then make goes well ...

Code:

Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_driver.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_queue.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_v4l2.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_video.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_ctrl.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_status.o
  CC [M]  /home/germaneau/uvc-driver/trunk/uvc_isight.o
  LD [M]  /home/germaneau/uvc-driver/trunk/uvcvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/germaneau/uvc-driver/trunk/uvcvideo.mod.o
  LD [M]  /home/germaneau/uvc-driver/trunk/uvcvideo.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'

But When I do insmod I get for exemple:

Code:

insmod: error inserting 'uvc_driver.o': -1 Invalid module format
do you know what does it mean?

here id the dmesg output:

Code:

No module found in object

Ilgar 10-29-2008 02:24 AM

Did you do make install? Also, once the module is installed you can use modprobe instead of insmod (i.e. modprobe uvcvideo).

Edit: I think uvcvideo.o is the module file, not uvc_driver.o.

aihaike 10-29-2008 04:39 AM

After make install and depmod -a it works.
Just modprobe uvcvideo and voila.
Thanks a lot!!
You known, on windows it's possible to control the camera orientation and zoom.
Do you know whether one can do that on linux as well?
Bests,

Eric.

Ilgar 10-29-2008 05:21 AM

Zooming or orientation should be handled by the software using the webcam. So it depends on the application you're using. I hope you didn't run into this bug (taken from the UVC project page):

Quote:

This camera module is known to be mounted upside-down in some notebooks. There is currently no documented way to rotate the image at the device level. If you don't mind holding your computer upside-down, the camera should work fine.


All times are GMT -5. The time now is 02:48 PM.