Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Tuning Backtrack 2 on my tx1120us

  1. #21
    Junior Member
    Join Date
    Jul 2007
    Posts
    40

    Default Solution at hand

    Well I have gone to an extreme but am close to a solution. I used my happy Windows tool to clone my BT2 partition and then blasted it out and installed FC7. It took some brute forcing to get it to boot, it hangs first off after selecting it in the grub loader, but if I press the power button briefly it will continue booting without any more problems.

    I enabled the noapic switch but it didnt seem to make a difference. So that's lame, but moving on....

    I didn't have audio out of the gate but I ran the 'yum' utility included with it and updated the entire setup, which took 2 1/2 hours over wired lan (which worked at least).

    No wifi out of the box, but i was able to download the firmware and make that work without issues (I think, I have yet to associate correctly, but my WAP uses WPA, and it needs a driver or something, maybe I am misunderstanding the info).

    So down to the audio, the audio worked after I added the 'model=3stack' to the '/etc/modprobe.conf' file (why this does not work in BT2 is baffling to me, but I am guessing something else has been upgraded to allow this to work in FC where is doesn't in BT2).

    So now I have audio, and it's actually very clean and I think the volume is more then adequate. but the headphone jack sensing doesnt work, but its satisfactory.

    So now I need to asses the differences between the two so I can actually make it work in BT2, and use the distro I want. FC7 updated the kernel to 2.6.22-1, and I think that might be the difference. So at this time I guess my next project to tackle is compiling my own kernel. this should be much easier however than trying to 'import' the stuff I need/want into FC7, and I am completely uneasy about the power issues which BT2 never manifested.

    More when I can get some sleep, last night was a long one.
    --
    "Linux is user-friendly. It's just very selective about who its friends are."

    "Linux users swear by their OS, and Windows users swear at their OS."

  2. #22
    Developer balding_parrot's Avatar
    Join Date
    May 2007
    Posts
    3,399

    Default

    Quote Originally Posted by operatorone View Post
    No wifi out of the box, but i was able to download the firmware and make that work without issues (I think, I have yet to associate correctly, but my WAP uses WPA, and it needs a driver or something, maybe I am misunderstanding the info).
    Did you configure your wpa_supplicant.conf
    Obvious but easily forgotten in everything else you have going on.

    NOT SURE IF ANY OF THE BELOW IS RELEVANT BUT....

    It was in reference to the MCP51

    I did find this as part of the new slax versions so... possibly may help
    ftp://slax.cz/SLAX-6.x/rc5/fixsound.lzm

    also found some talk about a change in the rc.alsa from rexima to using amixer and talk of changing rc.alsa to this

    Code:
     #!/bin/sh 
    # Load the mixer settings and OSS compatibility for ALSA. 
    # (the Advanced Linux Sound Architecture) 
     
    # A function to load the ALSA mixer settings: 
    load_alsa_mixer() { 
       # Volume is muted. Set it to 75% if nosound boot option is not given: 
       if ! cat /proc/cmdline | grep -w nosound >/dev/null 2>/dev/null; then 
         if [ -r /etc/asound.state ]; then 
           echo "Loading ALSA mixer settings:  /usr/sbin/alsactl restore" 
           /usr/sbin/alsactl restore 
         else 
           echo "Setting sound volume: /usr/bin/amixer set PCM/Master 75% unmute" 
           /usr/bin/amixer set PCM 75% unmute >/dev/null 2>&1 
           /usr/bin/amixer set Master 75% unmute >/dev/null 2>&1 
           # This is strange, sometimes the mixer needs some time to initialize 
           # Wait max 10 seconds for it, at the background 
           if [ $? -ne 0 ]; then 
              for i in 1 2 3 4 5 6 7 8 9; do 
                 sleep 1 
                 /usr/bin/amixer set PCM 75% unmute >/dev/null 2>&1 
                 if [ $? -eq 0 ]; then return 0; fi 
                 /usr/bin/amixer set Master 75% unmute >/dev/null 2>&1 
                 if [ $? -eq 0 ]; then return 0; fi 
              done & 
           fi 
         fi 
       fi 
    } 
     
    # A function to load the ALSA OSS compat modules: 
    load_alsa_oss_modules() { 
      if ! cat /proc/modules | tr _ - | grep -wq snd-pcm-oss ; then 
        echo "Loading OSS compatibility modules for ALSA." 
        modprobe snd-pcm-oss 
        modprobe snd-seq-oss 
        modprobe snd-mixer-oss 
      fi 
    } 
     
    # If hotplug or something else has loaded the ALSA modules, then 
    # simply load the mixer settings and make sure the OSS compat 
    # modules are loaded: 
    if [ -d /proc/asound ]; then 
      load_alsa_oss_modules 
      load_alsa_mixer 
    else 
      # If there are ALSA modules defined in /etc/modules.conf, but 
      # ALSA is not yet loaded, then load the modules now: 
      DRIVERS=`modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{ print $3 }'` 
      if [ ! "$DRIVERS" = "" ]; then 
        echo "Loading ALSA kernel modules." 
        for module in $DRIVERS; do 
          modprobe $module 
        done 
      fi 
      # If ALSA is now up, then load the mixer settings and OSS modules: 
      if [ -d /proc/asound ]; then 
        load_alsa_oss_modules 
        load_alsa_mixer 
      fi 
    fi
    Like I say, no idea if you have tried any of this or even if it is relevant, but you never know.


    Good luck

  3. #23
    Junior Member
    Join Date
    Jul 2007
    Posts
    40

    Default sound, sweet sound

    Ok Parrot my friend, I now have sound in Backtrack 2. After recording the various version numbers of the alsa package on the working FC7 machine, I downloaded the EXACT package from the alsa ftp.

    alsa-lib-1.0.14
    alsa-driver-1.0.14
    alsa-utils-1.0.14

    From a command line after booting to a fresh prompt (yes I found it was easier to just not start x windows). I unpacked the files and used the usual,

    Code:
    ./configure
    make && make install
    on each package. After checking to make sure my modprobe.conf looks like this...
    Code:
    alias snd-card-0 snd-hda-intel
    options snd-card-0 index=0 model=3stack
    options snd-hda-intel index=0 model=3stack
    I started x windows and waited patiently for the sweet sound of the Backtrack 2 startup. Some users of this notebook series report poor volume quality, I guess that's so when compared to Vista, but i think it cranks plenty loud enough for watching movies and listening to tunes. I'd rather have a little less volume than put up with Vista.

    Alot of users report not being able to get the headphone sensing to work on the front jack (headphones plugged in make the speakers muted), so I am working on that, and the amber mute lite stays lit, but who cares about that. Sound is sound, regardless of the light's color. :P

    I love this forum, it makes a great sounding board for working out issues. I'll report back on my progress as I make it, next project is to calibrate my touchscreen, and make my wifi work.

    touchscreen works but the calibration is way off. All of the fixes I have found include installing/compiling a new driver package to get the tool that calibrates the screen, that must be overkill. I am wondering if I can use someone else's min/max values from their xorg.conf, provided they have the same model notebook? Or if someone actually knows where the calibration tool is in Backtrack 2, would be nice to get a hint.
    --
    "Linux is user-friendly. It's just very selective about who its friends are."

    "Linux users swear by their OS, and Windows users swear at their OS."

  4. #24
    Developer balding_parrot's Avatar
    Join Date
    May 2007
    Posts
    3,399

    Default

    Nice work, Great to "hear" you have solved the sound issues.

    This is a perfect example of how a problem should tackled by anyone that is having any kind of problems.

    People shouldn't expect to be spoonfed the answers, they should expect to have to do plenty of work themselves.

    Excellent work, good luck with the touchscreen.

  5. #25
    Junior Member
    Join Date
    Jul 2007
    Posts
    40

    Default Yeah about the Touchscreen

    Thanks. I appreciate the kind words. I've always been a problem solver. i would rather learn to tie my own shoes than have someone do it for me so to speak.

    So here's some info on my touchscreen... (output from 'lsusb -vv')

    Code:
    Bus 2 Device 5: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0
      bDeviceProtocol         0
      bMaxPacketSize0        64
      idVendor           0x0eef D-WAV Scientific Co., Ltd
      idProduct          0x0001 eGalax TouchScreen
      bcdDevice            1.00
      iManufacturer           1 eGalax INC.
      iProduct                2 USB TouchController
      iSerial                 0
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           34
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          1 eGalax INC.
        bmAttributes         0xa0
          (Bus Powered)
          Remote Wakeup
        MaxPower              100mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Devices
          bInterfaceSubClass      1 Boot Interface Subclass
          bInterfaceProtocol      2 Mouse
          iInterface              0
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               2.10
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength     141
             Report Descriptors:
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval               3
    Device Status:     0x0002
      (Bus Powered)
      Remote Wakeup Enabled

    apparently there's a few sites which suggest installing a driver that is used with the 7in version of this little bugger to get the calibrate tool they use. all the tool seems to do is place some values in the xorg.conf file, like minX/maxX and minY/maxY. My first thought was to find someone who had it working and get their values, might be an easy fix. I wouldn't guess the values would be different if the notebooks were the same.

    If I can configure the calibration tool from the other driver to work, that would be a sweet deal. Anyhow, I have to go back to work (blah Windows) so I will post my progress with these later.
    --
    "Linux is user-friendly. It's just very selective about who its friends are."

    "Linux users swear by their OS, and Windows users swear at their OS."

  6. #26
    Junior Member
    Join Date
    Jul 2007
    Posts
    40

    Default Back at it

    Ok, so I have taken a short break from my Linux issues as work has kept be busy with Windoze stuff... but I have good news, I have working headphone jack sensing.

    Apparrently the newest alsa snapshot includes support for the HP tx1000 series notebooks, so i downloaded and compiled the newest driver from here...

    ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver

    I then shutdown X Windows (init 3) and compiled the new driver. the I switched the line in my modprobe.conf from this

    Code:
    options snd-hda-intel model=3stack
    to this

    Code:
    options snd-hda-intel model=tx1000
    And now when I boot the machine up, I have working headphone jacks. You'll need to unmute both channels for the headphones in alsamixer. Other than that the jack sensing works and both headphone jacks have audio. Flippin sweet.

    Hope this helps any other tx1000 series users.

    Cheers
    --
    "Linux is user-friendly. It's just very selective about who its friends are."

    "Linux users swear by their OS, and Windows users swear at their OS."

  7. #27
    Just burned his ISO
    Join Date
    Feb 2008
    Posts
    1

    Default

    can't find that alsa ftp site.........

  8. #28
    Just burned his ISO
    Join Date
    Feb 2008
    Posts
    1

    Default

    ok how do i get wireless? i just installed backtrack 2 on my tx1120us and i dont know what to do about wireless

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •