the linux newb

all things tech

USB on VirtualBox 2.4.4 with OpenSuSE 11.1

I was browsing the Internet with a problem that I had with USB on VirtualBox. The USBs were greyed out and I could not select them. I came across two possible solutions. I did both, and it worked. Now, you may just have to do one of them, but I was trying everything that I could to get it to work. Here are the solutions:

Search for rule 50-udev-default.rules
and change the permissions as follows:

# libusb device nodes
#SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”,
NAME=”bus/usb/$env{BUSNUM}/$env{DEVNUM}”, MODE=”0664″

I did the following also:

Look in the directory /etc/udev/rules.d/ for the file 10-vboxdrv.rules. Create a backup of this file by:
cp 10-vboxdrv.rules 10-vboxdrv.rules.bak
and then do the following:
mv 10-vboxdrv.rules 60-vboxdrv.rules

then reboot, and hopefully everything works. Good luck!

Advertisements

23/06/2009 Posted by | how-to, Linux, open source, opensuse, Productivity | 1 Comment

OpenSuSE 11 and a Pinnacle 800i

A while back I bought a Pinnacle PCTV 800i for my box.  Now, mind you, I had Windows XP installed on this box; but I could NEVER get the damned thing to work.  I am not kidding!  The card was designed for Windows XP, but Pinnacle really dropped the ball on this one.

Well, I recently pulled this machine back out and installed OpenSuSE 11 on it.  Everything works like a charm.  I remembered that I still had that card boxed up; so I pulled it out, blew the dust off of it, and put it in the machine.  I have installed some usb tv cards for my laptop, so I decided to do the same steps from before with this card, even though it’s a PCI card (Steps are below).

I could not believe it, but when I fired up TVTime, the damn card worked.  Absolutely unbelieveable!  So finally, if my fiance’ is watching TV in the living room, I can escape to my office and watch football!

To get this working, just visit http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_HD_Card_(800i)

Or follow these instructions:

Run lspci -vvnn (to make sure the card is recognized)

You should see some output that looks like:

00:0a.0 Multimedia video controller [0400]: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)
	Subsystem: Pinnacle Systems Inc. Unknown device [11bd:0051]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)

		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Next, go to this website, http://www.steventoth.net/linux/xc5000/ and get the firmware.  There are three seperate files, and I suggest you take a look at the README.

Now, go grab the bzip or gzip from http://linuxtv.org/hg/v4l-dvb

There are instuctions on that site on how to install.  Mainly, copy the tar to /lib/firmware and extract.  Run make and make install.

Now, you should be cooking with gas.  One drawback to using TVTime, is that the sound will not be produced until you install sox from yast and run this command:

sox -c 2 -s -r 32000 -t ossdsp /dev/dsp2 -t ossdsp -r 32000 /dev/dsp

Cheers, and a big screw you to Pinnacle for making me sit on this thing for soooo long.  A huge HELL YEA to SuSE for doing it the right way for soooo long!

07/12/2008 Posted by | how-to, open source, opensuse, videos | 1 Comment

OpenSuSE 11.0 Could not start kdeinit4…

I recently installed OpenSuSE 11.0 to see what all the fuss was about.  After completing an update on my machine and rebooting…I tried to login and was greeted with the following message…”Could not start kdeinit4, please check your installation.”

Damn…

Well, I found a way around this.  First, I installed the Nvidia G…(I can’t remember the name because I am typing this up on a different computer) from Yast.  After this, Nvidia tries to install a PAE kernel module, well…I removed the Nvidia PAE module and PAE kernel.  I logged into the failsafe session instead of KDE 4.  Next, I su-ed into root and ran yast2.  I selected Software Management, and searched for KDE4.  I updated all of the packages under KDE4, and then rebooted.

Upon rebooting, everything worked fine.  Cheers, hope this helps.

I am currently running 11.0 on a Dell Latitude D830 with an Nvidia Quadro NVS 140M…for those of you wondering.

22/10/2008 Posted by | Linux, opensuse, Productivity | , , | 2 Comments

Getting 02Micro CAC Reader to work with OpenSuSE 10.3

In Yast, install:
libusb
libusb-devel

 From source, compile and install:
ccid-1.3.6

 From Yast, install:
coolkey
coolkey-devel
    (Now, Yast will ask you if you want to install pcsc-ccid, and answer
yes to it)

Go back into Yast and remove pcsc-ccid.  Yast will want to remove
coolkey, but you have to IGNORE THIS REQUIREMENT

Finally, go back into ccid-1.3.6 and re-compile and re-install.

This is how I go it working...good luck to you all, and have a great
day.

Update:  I have found out that this process works with OpenSuSE 11.0 also!

07/08/2008 Posted by | how-to, Linux, opensuse, Productivity | Leave a comment

USB support in VMware Workstation 5 and OpenSUSE

Another one courtesy of Chris, but this one is not tested…but should work.

If you would like USB support for VM Workstation 5 on OpenSUSE follow the directions below. If it works/does not work, please make note in the comments section, so I can correct this problem.

  • Mount the USB file system with parameter auto with this line in fstab:
    usbfs /proc/bus/usb usbfs auto 0 0
  • Each Guest O/S has its virtual configuration storage, including the virtual hardware config file with extension .vmx. Ensure that .vmx file contains this line:
    usb.present = “TRUE”
  • After installing VMware Tools: GoTo the the top menu –> VM –> Settings –> Hardware: Make sure that USB Controller is listed as Present and if not then Click to Add –> USB Controller.
  • Now you can view and install your USB devices/drivers at Menu –> VM –> Removable Devices –> USB Devices –> select to install.

12/02/2008 Posted by | how-to, Linux, opensuse, VMware | | Leave a comment

OpenSUSE 11.0 Alpha 2 released…

The second alpha release of openSUSE 11.0 is available at opensuse.org, or you can download the torrent here (Right click, save as…).  Changes from the first alpha release include replacing KDE 3.5.8 with KDE 4.0.1 as the default KDE, Linux 2.6.24, continued work on the installation work-flow, and OpenOffice 2.4 Beta. There are also Live Gnome and KDE CDs available for download. I have not tried it out as of yet, but plan to soon.

11/02/2008 Posted by | KDE 4, Linux, opensuse | Leave a comment

VMware Workstation 5 and OpenSUSE 10.3

A huge thank you to Chris for this one.

I received an email from Chris the other day because our group was having a hell of a time trying to install VMware Workstation 5 on our OpenSUSE 10.3 machines. Well, he worked it out. Now, you have to search for the newest any-any patch for VMware, I am using 116, and Chris is using 115, for this to work. Here are the steps…hope this helps…

Installing VMWorkstation 5.0 from source in OpenSUSE 10.3

  1. Using YAST, ensure that kernel-source, gcc, and make are installed

  2. Open a terminal

  3. run “su -”

  4. run “rpm -qa kernel* gcc* make”

  5. Ensure that all versioning information corresponds exactly (eg. kernel, gcc)

  6. run “cd /usr/src/linux”

  7. run “make mrproper; make cloneconfig; make modules_prepare”

  8. Install application by running “./vmware-install.pl”

  9. Use default answers except for the one regarding vmware-config.pl

  10. DO NOT RUN vmware-config.pl – ANSWER NO

  11. Install any-any file by running “./runme.pl”

  12. DO NOT RUN vmware-config.pl – ANSWER NO

  13. run “cd /usr/src/linux/include”

  14. Determine the ASM directory that corresponds to your version (eg. asm-i386)

  15. run “ln -s /asm/i386 /asm”

  16. In line above note where the spaces are…..
  17. Now run “vmware-config.pl”

  18. I used the default answers to all of the rest of the questions. The only problem that I’ve had so far is that under Preferences, I can’t set updates to “Never”. It just silently crashes.

  19. Remember, if your kernel ever does an update, VMware will quit working. You will probably have to go back to /usr/src/linux/include and rerun the ln -s command again. Then you must rerun “vmware-config.pl” Then it should fire right back up for ya.

Thanks again Chris! And Mike, next time you and I are having trouble, we’ll just let Chris find out a way to do and save our time.

10/02/2008 Posted by | how-to, Linux, opensuse, VMware | Leave a comment

Kstartupconfig4 could not be found…

I was installing KDE 4 on openSUSE 10.3, and when I tried to log in, I was presented with an error box that read “kstartupconfig4 could not be found, please check your installation.” I searched for a solution, and one was to chmod user:group ~/.kde4, but this did not solve my problem. Since I could not find an answer for this error, I decided to start from a clean slate and re-install 10.3 from scratch. With a base setup, I was able to start KDE 4, until I installed some apps that I use on a day to day basis. I found out that NessusClient-3.0.1-suse10.2.i586.rpm was the problem, not the server application, but the GUI Client.  I installed all of my apps and KDE 4 worked, UNTIL I installed that package and I got the error message.  As soon as I uninstalled the client, KDE 4 was up and running again.  I’m not sure where the problem is in this package, but hopefully it will be solved soon.  As for now, I guess it’s all command line for me and Nessus.

I also noticed that this happened on KDE 4.0 and 4.01.  I do like how I can resize the panel finally in 4.01.

Cheers, and I hope this helps some of you.

05/02/2008 Posted by | KDE 4, Linux, opensuse | , | 2 Comments

OpenSUSE 10.3 how-to…

I know I write a good bit on OpenSUSE, but it’s the distribution I use and that’s what I know the best.  I was tweaking my installation the other day and came across a wiki on openSUSE how-to’s and it came in handy.  I know there are some that have a hard time finding this page, but here it is:

http://en.opensuse.org/HOWTOs

14/01/2008 Posted by | how-to, opensuse | Leave a comment

VMworkstation 5.5 locks up on openSUSE 10.2 and 10.3

I have found out that my VMworkstation locks up on me about every 5 minutes and nothing works.  Not only does the virtual machine lock up, but the WHOLE computer (host and all) locks up and nothing works (i.e. the mouse, keyboard, etc).  I have done some research and found out that if I add hpet=disable to my boot options on grub that my virtual machine and physical machine do not lock up anymore.  I am using a Dell Inspiron E1705, and if you have the same problem as I did.  Try this fix, it might work.

Happy New Year!

01/01/2008 Posted by | opensuse, VMware | | Leave a comment