Linux

@RedHat Home Notes Linux Aviation Gun Anime

My computer notes may have additional material on Linux, such as a sample DHCP daemon configuration for JavaStations, sample Makefiles for out-of-tree drivers, etc.

X11

xf86-video-sis-0.9.3-4.z1.diff: Patch for libpciaccess in SiS driver. The PCI Rework HOWTO is partially obsolete and incomplete, yet is made immutable, so I cannot fix it up. Anyway, HOWTO is not even needed; it's all in the patch.

wlan

Work In Progress - Linksys WUSB54G/WUSB54GP.
For a working out-of-tree driver, please visit http://jbnote.free.fr/prism54usb/.
Patches are merged into Linville's wireless-2.6 at:
http://ftp.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git/

ub

(No patches outstanding - fully merged at present)

Useful Miscellanea

Dave Harding's USBMon and my usbmon

Documentation for usbmon (lowercase) is available as a text file /usr/src/linux/Documentation/usb/usbmon.txt or /usr/share/doc/kernel-doc-2.6.*/Documentation/usb/usbmon.txt. I do not keep a copy on the website anymore, because it would always be out of date. A Linux™ distribution ought to ship one as a part of kernel-source or kernel-doc package.

OLS05_zaitcev.pdf: The usbmon: USB monitoring framework: My paper about usbmon (lowercase) presented at Linux Symposium 2005 (formerly known as OLS).

usbmon.5.tar.gz: Sample userland for the binary API (v.5 - non-modal ioctl).
usbmon.4.tar.gz: Sample userland for the binary API (v.4 - modal ioctl).
usbutils-0.72-mon1.diff: Sample userland (v.3), as a patch to usbutils. (Apparently, the integration into usbutils was a bad idea.)

This is a copy of Dave's stuff. It's not useful, so don't touch it.
USBMon-0.4.tar.gz: This release lists all buses, starts and stops reading, shows URBs.
USBMon-0.4.diff: Patch from 0.3 to 0.4.
USBMon-0.3.tar.gz: This release reads URBs from usbmon in kernel 2.6.11 and later.
USBMon-0.3.diff: Patch from 0.2a to 0.3.
USBMon-0.2a.tar.gz: The baseline copy from linux-usb.org.

Jujumon

linux-2.6.18-32.el5-jujumon2.diff: Jujumon -- the usbmon clone for Firewire. This needs a lot more work before it's useful for a general hacker.

Things

linux-install: The script I use to install kernel. Read this to see how to do it.
linux-collect: A version of linux-install used to install into /tmp for a subsequent scp somewhere else.

dontdiff: A fixed-up copy of Tigran's dontdiff.

blitz: Share your clipboard between hosts with: xclip -o | ssh targethost.domain.com blitz.

ALSA 0.9.x in mpg123

This is a fix for mpg123-0.59r which makes it run on Fedora Core 3. It was a completely pointless excercise, because a) mpg123 is not Free Software, b) libao supports ALSA 0.9.x API, c) mpg321 is Free Software and works through libao. I was just curious how to program ALSA and this was a good excuse. Do not use this code as a sample, use libao instead.

More Unnamed Majors

ANK RARP daemon mptable

pcmcia-cs i386, SRPM: Packaged pcmcia-cs for access points.

jsflash_02.tar.gz: Flash programmer for JavaStation OS Flash SIMM which drives /dev/jsflash.

bigphysarea-2.2.16-p3.tar.gz: Oneliner to the Matt Welsh's & Pauline Middelink' bigphysarea-2.2.13. It would be a patch-for-a-patch, so it ends in a tarball.

Canon MultiPASS F50

This program is unfinished, because my printer died during its development. It has all the basics and can be beaten into shape by someone who cares. This also serves as an example code for usbfs interface.

canonf50.tar.gz: The tarball.

JavaStation and PROLL

My Krups

JavaStations come with two versions of PROM, 2.30 and 3.11. Linux works with 2.30 out of the box. In 3.11 Sun changed virtual memory layout and discarded an improtant interface (romvec). Thus 3.11 is not compatible with Linux.

My solution for the PROM 3.11 problem is Proll. Proll is a PROM replacement which takes over the machine instead of original PROM and presents a 2.x interface to Linux kernel. Documentation is not available yet but the code is easy to read as I hope. Current of Proll is ID18, which supports all SPARC based JavaStations. Download it from the following list.

I am not good at documenting stuff, but Robb Dubinski wrote a nice HOWTO, located at http://www.tldp.org/HOWTO/JavaStation-HOWTO/index.html.

Jim Mintha has filesystem images at http://www.ultralinux.org/js. Those are snapshots of a live system originally based on Red Hat 5.2.

On JavaStation-E a hardware fix is needed to get IDE interrupts.

Patches Galore

dhcpd.lpf.c: Small fix for ISC DHCP 2.0 to boot JavaStations that send 1514 byte packets.

gdb-5.0 has problems on Sparclinux, here is my patch.

linux-2.4.18-pre7-cmsfs.diff: Alan did not merge cmsfs to Linus, so I keep it here. With fixes.

linux-2.6.16-rc5-tivo1.diff: Patch which I used to read the partition table on my Series 2 TiVo when the hard drive started to throw errors.

linux-2.6.23-ap.diff: Patch to make the screen in NEC Versa V/75 not offset in the 50x30 mode. It was a regression when the startup code was recoded from assembly into C, but I don't want to get involved. Old code always used BIOS mode 3, so just hardcode mode 3.

linux-2.6.18-204396-4.diff: The Final Fix to libusual: add the class. It serves as a hook to tell us when it's safe to invoke request_module on boot.

Barbie(r) Camera

The Barbie Camera or "bcam" is a toy camera with an RS-232C link to a computer. Its resolution is far from top notch: 124x162, 224 levels of color in each cell. The trick is that every cell senses only one color, so that true resolution is about 60x80 in full color. Bcam is based on a low resolution sensor, model 6300, developed by former VLSI Vision.

Eric Brombaugh developed an asonishingly good support for the Barbie Camera, located at his page. Please use Eric's code or Gphoto. My code below is posted only as a reference.

Barbie Camera is a registered trademark of Mattel Toys.


$Id: index.html,v 1.121 2008/04/25 21:14:39 zaitcev Exp $