#debian - Wed 4 Apr 2007 between 02:19 and 02:42

NY Lost Funds



peterSkingsley: if your serial card is supported by the standard 8250 serial driver, sure. some cards use their own drivers, and won't use char-major-4
piper69hi all
etch when screen saver start, sometimes when i move the mouse it will come out and other time it will just stay blank and i will actually have to power cycle the box...any idea what this could be?
kingsleypeterS: Thank you for your insightfull comments. From your experience, is it possible that a later udev enabled kernel might associate a different serial device number (and file system node) to a real device than an earlier, pre udev version of the kernel?
peterSkingsley: the device number isn't controlled by udev, only the filename
if it uses major 4 minor 14 in one kernel, it should use major 4 minor 14 in another, unless the underlying serial drivers themselves have changed
dondelelcarowhich is likely, given that using 4,14 when you don't have 15 serial ports is a waste of minor numbers
in any event, you should see in dmesg (or /var/log/dmesg) the kernel module for your serial port expander card being loaded, and the assignment of ttySnn to it, ala: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
kingsley/var/log/messages* suggest to me that the new udev kernel started associating ttyS2 with the same real device that earlier kernels had associated with ttyS14.
dondelelcaroif it's the 3rd serial port, that's most likely.
peterSI was wrong about (4,14) anyway - the minor number doesn't start at 0 for ttyS - but the same principle applies
NirivenI really cannot get my sound card to work, it seems as though others have. Its a intel hda card, anyone have any experiance with this?
dondelelcaroyeah; it'd be 78 or some such
kingsleypeterS: OK, the minor is 66. New topic... strace reports that what /var/log/messages suggest is the new serial device, /dev/ttys2, fails an ioctl call with "ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfc9fd98) = -1 EIO (Input/output error)" and "/dev/ttyS2 is not a terminal dev". Do happen to have any thoughts on why?
s/suggest/suggests/
LinuxNITis it possible to have apt install a program to the /home directory?
tenzindhi ... what package do i need to install to have make-kpkg?
dondelelcaroLinuxNIT: yes, but it should never be done.
tenzind: kernel-package
peterSkingsley: I have no idea what application you're trying to run on ttyS2, or why it would require terminal controls, or indeed why your serial driver thinks certain ports are not terminals
dondelelcaro!tell tenzind -about pdo
LinuxNITdondelelcaro, why not?
dondelelcaroLinuxNIT: because packages belong in /usr et al. /home belongs to users.
LinuxNITso for security reasons?
kingsleypeterS: The application is kermit. It may need terminal controls to control a serial device. OK, no problem. I'll contemplate the matter.
dondelelcarono, for "not munging with users home directories" reasons
wols_LinuxNIT: dpkg -x inside your ~ instead
dondelelcaro: what if you don't have priviledges to install some software?
peterSkingsley: also - ttys2 and ttyS2 are two different things, make sure you're using the one you think you're using
dondelelcarowols_: then use dpkg-deb -x
LinuxNITi guess i was thinking if i made a livecd then i could install extra programs on /home without remastering the livecd each time
kingsleypeterS: I may just need to upgrade the udev package. My version is five "urgent" upgrades behind.
peterSyes, they both exist, ttys2 is for an old BSD pseudo tty
LinuxNIT(keeping /home on a usb drive)
dondelelcaroLinuxNIT: you may find that using a unionfs mount over the live cdrom is easier
LinuxNITthanks for the info dondelelcaro and wols_
kingsleypeterS: Yes, that's a good point. Indeed I used the same case, upper, as reported in /var/log/messages.
LinuxNITdondelelcaro, and writing to the cd so i have the program on next boot?
dondelelcaroLinuxNIT: nah; you just re-unionfs it over the cdrom so it's there.
or aufs or whatever you're using

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 

IrcArchive

NY Lost Funds