Author Login
Post Reply
John wrote:
> Hi,
>
> I'm gathering the courage to write a program which controls an external
> device via a USB port. The development and target operating systems are
> Ubuntu 8.
>
> Are there any good books or web sites which would give me an idea of
> what is involved?
>
> TIA
>
> J
>
> (Although couched as a general question, the external device is a Lenz
> LVZ100 Model Railway controller!)
>
>
>
Well it should be a short book. To see what device your USB device
is plugged into use $dmesg | tail and you see this:
[ 1356.357939] usb 1-2: new full speed USB device using ohci_hcd and
address 2
[ 1356.570089] usb 1-2: configuration #1 chosen from 1 choice
[ 1356.783916] Linux video capture interface: v2.00
[ 1356.815570]
/build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/media/gspcav1/gspca_core.c:
USB GSPCA camera found.(SPCA561A)
[ 1356.828914] usbcore: registered new interface driver gspca
[ 1356.829686]
/build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/media/gspcav1/gspca_core.c:
gspca driver 01.00.20 registered
[ 864.631564] process `skype' is using obsolete setsockopt SO_BSDCOMPAT
This tells you all about it.
Not sure what other things you can learn :-)
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users