gammal logitech express
Posted on March 19, 2010
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Filed Under Uncategorized | Leave a Comment
usb 2 serial adapter - UBUNTU
Posted on February 7, 2010
The procedure for using the USB adapter from the BOM wasn’t in the wiki - nor was it immediately obvious, so, here goes.
If you are using the usb -> RS232 adapter, the serial drivers may need to be installed for the device to work properly. After plugging in the device, first check the hardware messages to see the device was detected:
dmesg
Torward the end of the messages, you should see this:
usb 1-1: new full speed USB device using uhci_and address 2
usb 1-1: configuration #1 chosen from 1 choice
Now, we need to figure out the device vendor number and product number to tell the usbserial driver. For this we can use lsusb. The easiest way to find the information is to first unplug the device, then run lsusb:
lsusb
You will see a summary list of your USB devices on the system, I only have one:
Bus 001 Device 001: ID 0000:0000
Now, plug the device back in, and run lsusb again:
lsusb
Which returns the summary list again, but now showing the new USB device:
Bus 001 Device 002: ID 4348:5523
Bus 001 Device 001: ID 0000:0000
Now, we can load up the driver for this device:
sudo modprobe usbserial vendor=0×4348 product=0×5523
Finally, check dmesg again to ensure it loaded properly.
dmesg
Near the end, you should see something like:
usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic
Congratulations, your link is up - in this example, the device can be used on /dev/ttyUSB0. As much fun as you had doing this, there is some chance you want to do this automatically in the future. Just add this line:
usbserial vendor=0×4348 product=0×5523
to /etc/modules with the vendor and product numbers you found. Now, you should have no problem using this device for RepRap like a normal serial port. Huzzah! grinning smiley
Filed Under Hackz | Leave a Comment
Posted on October 4, 2009
|
|
|
|
|
|
|
|
![]() |
|
|
|
Filed Under Uncategorized | Leave a Comment
control volume in different apps
Posted on September 12, 2009
Filed Under Uncategorized | Leave a Comment
nmap
Posted on July 19, 2009
nmap -sP 192.168.1.0/24
Filed Under Uncategorized | Leave a Comment
Posted on June 16, 2009
convert ot.gif -resize 50 -strip -quality 50 -interlace line ot.gif
Filed Under Uncategorized | Leave a Comment
DDNS reminder
Posted on June 4, 2009
721006.no-ip.org
Filed Under Uncategorized | Leave a Comment
Posted on April 15, 2009
Filed Under Uncategorized | Leave a Comment
Karate-do geocoin 2009
Posted on April 14, 2009
Då har myntet äntligen landat och webshopen sett dagens ljus.
Filed Under Uncategorized | Leave a Comment
mysql reminder
Posted on April 14, 2009
- Start the MySQL client by entering the following command:
mysql -uUser -pPassword
For example, if your MySQL user name (also known as an account name) and password are Tara and Telly3, then enter the following command:
mysql -uTara -pTelly3
If you don’t have a password, omit the
-pargument as follows:mysql -uTara
If you didn’t define a user name while configuring your MySQL installation, enter root as the user name, as follows:
mysql -uroot
The MySQL client’s command prompt appears, as follows:
mysql>
- Create a new database by entering the following command at the MySQL prompt:
mysql>CREATE DATABASE TrioMotors;
MySQL creates a new database, but it doesn’t contain any tables or records yet.
- Log out of the MySQL client by entering the following command at the prompt:
mysql>quit;
Filed Under Uncategorized | Leave a Comment


