LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-23-2011, 03:31 PM   #1
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Rep: Reputation: Disabled
Getting wireless/wired hardware to work with Debian


So I have a Dell Inspiron laptop and I am running the latest Debian distro (2.6.32-5-686). It failed to detect my network hardware on install so now (unfortunately) I have to manually configure it.

lspci gives me this for my cards:

Code:
Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)
Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01
I have done quite a bit of googling and can't really find a solid method, since a lot of problems either don't share the same kernel/laptop model/network card model that I have. Help?
 
Old 11-23-2011, 05:12 PM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
For the wireless, you'll need to install broadcom-sta-source package, instructions here. Unfortunately, you need to get the NIC working first to get internet connection unless you have another means of connecting such as a USB wireless adaptor which is supported. Because there are many other packages that will need to be dowloaded and installed in the process.
The Atheros AR8132 should be supported out of the box, it uses the atl1c driver, try command as root or sudo: modprobe atl1c to see if it will get it going, with command: lsmod you should be able to see it in the list of modules loaded to the kernel. It is stored in /lib/modules/2.6.32-5-686/kernel/drivers/net/atl1c
If this laptop has Windows installed, and the NIC works there, then it should work in Debian also.

As for the wireless, as per the instructions in the wiki, step four will have the bcm80211 module blacklisted, for some reason I have found in the past that blacklisting happens before networking in the boot process and the brcm80211 still gets loaded and interferes. You may need to run these two commands as root or sudo if there is no wireless adaptor after a reboot:
Code:
modprobe -r wl ssb brcm80211
modprobe wl
If these steps are required after installing broadcom-sta, I can show how to make it automatic.

Last edited by Brains; 11-23-2011 at 08:37 PM.
 
Old 11-23-2011, 07:10 PM   #3
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
It doesn't seem to be detecting my NIC card. I plugged the laptop directly into my router and it didn't work. I know for certain that the NIC did work on Windows. Unfortunately I wiped the hard drive when installing Debian. Ugh. Any ideas?

Edit: I do have a spare wireless USB card, although I don't know how it would work on the laptop without being able to get drivers for it =\

Last edited by griffsterb; 11-23-2011 at 07:14 PM.
 
Old 11-23-2011, 08:25 PM   #4
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
It doesn't seem to be detecting my NIC card
Can you run command:lspci -v to find out for sure. an example for the NIC would be something like:
Code:
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
        Subsystem: ASUSTeK Computer Inc. A7V600-X Motherboard
        Flags: bus master, medium devsel, latency 64, IRQ 23
        I/O ports at a000 [size=256]
        Memory at faa00000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: via-rhine
For the wireless network adaptor it would have 'Network controller' instead of 'Ethernet controller'. The -v option will show which driver is in use as my example shows: Kernel driver in use: via-rhine

Many USB wireless devices are supported by the 2.6.32 kernel. What make and model is it?. If you plug it in, boot up and run command as root: iwconfig and a wireless device is found, it'll work without compiling drivers.

EDIT: BTW, since your first post suggests lspci showed the ethernet means it detects it. It is possible your cable is no good or you are using a cross over cable.

Last edited by Brains; 11-23-2011 at 08:34 PM.
 
Old 11-23-2011, 09:23 PM   #5
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Alright:

Ethernet:

Code:
Kernel driver in use: atl1c
Network:
Code:
Kernel driver in use: b43-pci-bridge
If I plug in the external card I get eth0 no wireless extensions. wlan0 and wlan1 both show an 802.11bg card but ESSID says off/any

Also, I am using the same cable as when I connected to the ethernet through Windows (which worked in the past). I tried to load the module but lsmod still says atl1c 0 when the cable is plugged in. Restarted comp, restarted router/modem etc and I still can't get online. Am I maybe missing some simple software configuration to be able to connect to the internet?

Another edit: So through lspci like I mentioned before it appears that the drivers for the network and ethernet controllers exist and are in use in the kernel. What in the heck could be preventing me from accessing the internet?

Last edited by griffsterb; 11-23-2011 at 09:58 PM.
 
Old 11-23-2011, 09:57 PM   #6
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
So the NIC is detected and the proper driver is in use. It is not uncommon to find contacts damaged in computer ports as people tend to force things when it does not fall into place quickly, check in the NIC port and make sure there are eight contacts nice and straight and evenly spaced, if so, the NIC is good. Next, try a different cable to plug it into the router.
BUT:
You may not need to go through that, as you mentioned you plugged in the external card and got two wlan, one for the internal, one for the external. If both are using the b43, then you may still need to get the NIC happening.
First, try to connect with wlan1 as follows. Run command as root: iwlist wlan1 scan, (this should be the external card), you can try the same command with the wlan0, but it probably won't work with the b43 driver as mentioned in the Debian wiki link I posted in post #2. If one of them finds your wireless access point (AP), then try to connect via the networking icon next to the clock by selecting your ap from the list and enter the key.

Also, command: lsusb -v should tell a story regarding the USB wireless adaptor, post the full output regarding the wireless card if you still can't connect wirelessly.
 
Old 11-23-2011, 10:14 PM   #7
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
iwlist wlan1 scan:

Code:
wlan1 Interface doesn't support scanning : Network is down
lsusb -v:

Code:
Log of lsusb -v 
Wed Nov 23 21:10:55 2011


Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1a.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 003 Device 003: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0846 NetGear, Inc.
  idProduct          0x4260 WG111v3 54 Mbps Wireless [realtek RTL8187B]
  bcdDevice            2.00
  iManufacturer           1 Manufacturer_NETGEAR
  iProduct                2 NETGEAR WG111v3
  iSerial                 3 0026F2B95B9D
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           81
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 Wireless Network Card
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           9
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 NETGEAR WG111v3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x89  EP 9 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0a  EP 10 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0b  EP 11 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0c  EP 12 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1d.7
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
First half...
 
Old 11-23-2011, 10:15 PM   #8
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
...Second half:

Code:
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             6
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32-5-686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1a.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0158 USB 2.0 multicard reader
  bcdDevice           58.88
  iManufacturer           1 Generic
  iProduct                2 USB2.0-CRW
  iSerial                 3 20071114173400000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 CARD READER
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              5 Bulk-In, Bulk-Out, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 002: ID 064e:8101 Suyin Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x064e Suyin Corp.
  idProduct          0x8101 
  bcdDevice           96.24
  iManufacturer           2 SuYin
  iProduct                1 Integrated Webcam
  iSerial                 3 SN0001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          669
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    ** UNRECOGNIZED:  28 ff 42 49 53 54 00 01 06 01 10 00 00 00 00 00 d1 10 f4 01 d2 11 f4 01 d3 12 f4 01 d4 13 f4 01 d5 14 f4 01 d6 15 f4 01
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               1 Integrated Webcam
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              4 Laptop_Integrated_Webcam_1.3M
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          103
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1
        bmControls( 0)       0x1f
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 5
        guidExtensionCode         {6a108077-3202-dc11-8314-0800200c9a66}
        bNumControl             4
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            1
        bmControls( 0)       0x0f
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00000000
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000177f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0 
        bmVideoStandards     0x 0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                      383
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 2
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                7
        guidFormat                            {59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  5
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                  8110080
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  5
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                  6144000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  5
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  2027520
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  5
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  1536000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  5
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1024
        wHeight                           768
        dwMinBitRate                 62914560
        dwMaxBitRate                113246208
        dwMaxVideoFrameBufferSize     1572864
        dwDefaultFrameInterval        1111111
        bFrameIntervalType                  2
        dwFrameInterval( 0)           1111111
        dwFrameInterval( 1)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                          1024
        dwMinBitRate                104857600
        dwMaxBitRate                188743680
        dwMaxVideoFrameBufferSize     2621440
        dwDefaultFrameInterval        1111111
        bFrameIntervalType                  2
        dwFrameInterval( 0)           1111111
    
Wed Nov 23 21:10:56 2011
----------------
 
Old 11-23-2011, 10:24 PM   #9
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Okay so I tried

Code:
ifconfig wlan1 up
iwconfig wlan1 essid (my ssid)
And the wireless card LED started blinking. I then ran

Code:
iwlist wlan1 scan
And it's now showing a list of local wireless networks. New problem (which at this point seems easily solvable) is that I need to enter a network password, but it seems there is no GUI interface for this in my desktop environment.

Edit: So I tried
Code:
iwconfig wlan1 key (my wireless pwd)
but that was giving me an error. I read somewhere that it only lets you put in WEP keys I guess? Mine was WPA so I switched it to WEP. Then the command worked (no error) but I still can't connect to the internet. Ugh!

Last edited by griffsterb; 11-23-2011 at 11:10 PM.
 
Old 11-23-2011, 11:05 PM   #10
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
Run command: dpkg --get-selections | grep network
If these two packages are listed (assuming your desktop environment is gnome):
Quote:
network-manager
network-manager-gnome
You should have a double monitor icon next to the clock in upper right task bar. Click on it and select the AP you want to connect to. If you are runnin a different desktop environment you may or may not have the second network-manager package installed which is the one needed to give a GUI applet for connecting with.

For connecting via command line, run command: ifdown wlan0 to make sure the internal wireless device doesn't conflict. If the key to connect to your wireless access point is a bunch of numbers, it is a hex key, if it is a paraphrase, like a word or two with numbers or characters, it is an ascii key. The two examples below show the different command structure for each type, the second one with the s: is the one to use with ascii.
Quote:
iwconfig wlan1 essid NETWORK_ID key WIRELESS_KEY
iwconfig wlan1 essid NETWORK_ID key s:WIRELESS_KEY
Next, try these commands:

iwlist wlan1 scan
<.....to see available access points
iwconfig wlan1 essid NETWORK_ID key s:WIRELESS_KEY <.....to configure your ap particulars
dhclient wlan1 <.....to aquire a IP address and connect

If after those three commands the prompt comes back without saying anything, you should be connected.
Example
 
Old 11-25-2011, 12:27 AM   #11
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Code:
ifdown: interface wlan1 not configured
Trying to enter my key just doesn't work. I tried what you said but I receive:

Code:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan1 ; Invalid argument.
Also the
Code:
dpkg --get-selections | grep network
doesn't return anything. And I do not have a network manager icon next to my clock.

This is pretty weird. Maybe I'll just install ubuntu >_>
 
Old 11-25-2011, 06:21 AM   #12
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
How did you install Debian?
Was it a net install or did you download a CD/DVD?
If you used a CD/DVD, did you get it from a reliable source?

Because if that dpkg --get-selections command didn't return anything means you probably don't have network software installed. The Debian installer installs network-manager by default.

Your problem is starting to show, look at what that command shows what's installed in my Debian in order to get networking:
Code:
root@Willy:/home/jo# dpkg --get-selections | grep network
glib-networking                                 install
kdenetwork                                      install
libqt4-network                                  install
libqtscript4-network                            install
libsmokeqtnetwork4-3                            install
network-manager                                 install
network-manager-kde                             install
network-manager-openvpn                         install
network-manager-pptp                            install
network-manager-vpnc                            install
plasma-widget-networkmanagement                 install
root@Willy:/home/jo#
I'm using KDE instead of Gnome for a desktop environment, none the less, most of the packages listed in the code above should have showed up after you ran that command, if nothing showed up, you have a botched installation and you'll never get online. Very puzzling!

EDIT: well, maybe not never, the error you got after trying to add the key is due to using the wrong method. The different method needed between hex and ascii. Try the other option. And for ease of assisstance in the future, don't just post the error you got, post the step you took to produce the error, just make sure to not post confidential stuff, like put random key information instead of actual key.

Last edited by Brains; 11-25-2011 at 06:29 AM. Reason: added some
 
Old 11-25-2011, 08:50 AM   #13
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Interesting. A friend of mine at work runs a server using Debian at home. Him and I got to talking about it and I had him bring in a bootable USB and we installed it on my laptop from there. He said that he wasn't sure if the info he put on the USB had all of the installation software.

I actually tried to do it myself on Wednesday night with my own flash drive but for some reason couldn't get it to work. Tried a bunch of different directions from websites. Would a net install iso for a eeePC work even though I don't technically have an eeePC?
 
Old 11-25-2011, 02:53 PM   #14
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 971

Rep: Reputation: 259Reputation: 259Reputation: 259
No, you should get the proper architecture. On the Debian site under "Getting Debian", click on "Network install". You can go for a Small CD, or Smaller CD. The smaller CD image is designed for just that, the little business card CD, but the image can still be burned to a regular size CD if you prefer not to download the Small CD version which is around 200 or more megabytes.
I usually go for the USB stick version which does not require burning to disk by downloading the appropriate hdmedia/bootimg.gz file for my architecture, zcat the image to a flash drive with no important data on it, needs to be over 254MB in size, as per instructions in section 4.3.2 of the Debian installation manual to which there is a link under the "Tiny CDs, USB sticks, etc." section where you would also get the hdmedia/bootimg.gz file. Then download the business card net install CD image and copy it to the flash drive. Then boot the flash drive to do the installation.
 
Old 11-25-2011, 03:14 PM   #15
griffsterb
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
This sounds like what I already tried... zcat the image and then copy over the iso. When I booted from the USB it just went into a black screen with "No operating system detected" or something like that. I'll try it again when I get home from work and post an update. Thanks for your help so far.

Edit: It looks like I can just write a full CD image to the USB using 'cat' and then boot:

http://www.debian.org/releases/stabl...copy-isohybrid

Does this look correct or am I missing something?

Edit2: Got the internet working. I ended up using Unetbootin to configure the USB drive for me. For some reason I couldn't get it to work manually through the terminal. Ethernet and my external card are working. Now I need to get the internal card working. Gonna try your suggestions from earlier in the thread.

Edit3: It works! Followed the instructions you posted up top, so now internal/external wireless and ethernet all work. I really appreciate your help. Thank you so much! I have 2 hardware related issues now but they aren't big: can't alter screen brightness. When I hit the key for up/down the little window pops up on the screen and the bar moves up/down but the brightness doesn't actually change. The other issue is that I can't tap the touchpad to click. I can click it down and it will move the cursor but the tap to click doesn't work.

Seems like a lot of people have had screen brightness issues with their laptops. It's a little bright now but not much of an issue. I'll do more research into the touchpad stuff to see what I can find.

Again, thank you so much!

Last edited by griffsterb; 11-25-2011 at 10:33 PM.
 
  


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
wireless-wired bridge on debian squeeze _jmz_ Linux - Networking 2 01-28-2012 07:07 AM
Can't get Wireless or Wired connection to work leavage Linux - Newbie 5 12-27-2010 03:28 PM
Wireless/Wired network hardware recommendation. Lola Kews Linux - Hardware 2 08-21-2009 08:24 AM
Debian routing wireless to wired Child of Wonder Debian 3 02-10-2006 04:37 PM
Wired interface priority over wireless in Debian Debian_Poland Linux - Wireless Networking 5 02-03-2006 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration