Showing posts with label usb. Show all posts
Showing posts with label usb. Show all posts

Sunday, 26 February 2012

Setting up IR remote for AVerTV Digi Volar X in Debian

AVerMedia AVerTV DVB-T Volar X (A815) is an Avermedia usb device able to capture DVB-T signals.

It provides an IR remote device, which we are going to set up in this post.

To properly configure the whole device see previous post



INSTALLING AND SETTING UP LIRC

LIRC stands for 'Linux Infra-red Remote Control'.

It provides the daemons and some utilities to support infra-red remote controls under Linux.
http://lirc.org

$ sudo aptitude install lirc

We investigate about IR devices present in our system:
$ cat /proc/bus/input/devices | grep -n10 a815
187-I: Bus=0003 Vendor=0000 Product=0000 Version=0004
188-N: Name="ACPI Virtual Keyboard Device"
189-P: Phys=
190-S: Sysfs=/devices/virtual/input/input19
191-U: Uniq=
192-H: Handlers=sysrq kbd event19 rfkill
193-B: PROP=0
194-B: EV=3
195-B: KEY=ffffffffffffffff ffffffffffffffff ffffffffffffffff fffffffffffffffe
196-

Installing and setting AVerTV Digi Volar X in Debian

AVerMedia AVerTV DVB-T Volar X (A815) is an Avermedia usb device capable to capture and show DVB-T TV signals.
This device is able to also show HDTV DVB-T signals.

http://linuxtv.org/wiki/index.php/Afatech_AF9015


LINUX KERNEL DRIVER

The device contains an Afatech AF9015 Chip.
Supported in kernel since version 2.6.28.

NOTE: If you have an older kernel version you will have to compile the kernel module:
Compile AF9015 module tutorial.
AF9015 Kernel Module Source.


IMPORTANT: Although AF9015 module is already available in the kernel, it NEEDS ADDITIONAL FIRMWARE INSTALLED to work.


DETECTING THE DEVICE

I plug the usb device:

$ lsusb
... ID 07ca:a815 AVerMedia Technologies, Inc. AVerTV DVB-T Volar X (A815)

Tuesday, 12 August 2008

Connecting to Internet using a Sony Ericsson K530i mobile phone in Ubuntu (Linux) via USB cable

We are going to connect our Ubuntu system to Internet using a Sony Ericsson K530i phone via a usb cable.

First of all we switch on our phone, we insert the pin number and then connect the usb cable that came with the phone to our K530i and to our computer.

A menu presenting three choices will appear on the phone screen:

  • File transfer
  • Phone mode
  • Print

We select Phone mode.

Now our phone is ready to use the usb cable.


There are two ways to connect to Internet via USB:
  • Emulating a ethernet device through a usb cable.
  • Using the K530i mobile phone as a usb serial modem.


EMULATING A ETHERNET DEVICE THROUGH USB CABLE


Our system Linux kernel has to already be compiled with cdc_ether module support. This module performs the emulation.


Let's configure our phone, we go to:
Menu->Settings->Connectivity->USB->USB Internet->USB data accounts
and select our Internet ISP provider account.

If there is not an already configured account we shall create a new account:
Menu->Settings->Connectivity->Data comm.->Data accounts->New account

Some APNs from Spanish Internet providers are:

Movistar: movistar.es
Vodafone: ac.vodafone.es
Yoigo: internet
Orange: internet

Usually user and password are not needed.


At the end, we establish the connection:
Menu->Settings->Connectivity->USB->USB Internet->Turn on

To check what has happened, we open a console and execute:
$ifconfig

An interface like usb0 with its IP address correctly configured will appear.


When we finish navigating, we switch off the connection:
Menu->Settings->Connectivity->USB->USB Internet->Turn off


USING THE K530i MOBILE PHONE AS A USB SERIAL MODEM