Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Delete lspnp & setpnp to save space, pnp not implemented in 2.4.26?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 26 2007,13:49 QUOTE

Plug & Play does not appear to be implemented in under dsl-3.4.7 (Edit: or dsl-4.x):
Code Sample
lspnp
lspnp: /proc/bus/pnp not available
$ ls -l /KNOPPIX/sbin/lspnp
-rwxr-xr-x    1 root     root        10860 Jun 25  2005 /KNOPPIX/sbin/lspnp
$ ls -l /KNOPPIX/sbin/setpnp
-rwxr-xr-x    1 root     root         5976 Jun 25  2005 /KNOPPIX/sbin/setpnp
- if this is the case 16KB could be saved but it is probably better to check on other hardware first...

Note that under dsln-rc4 on the same machine, pnp is implemented albeit in a different place:
Code Sample
$ grep -i 'smc' /sys/bus/pnp/devices/*/id
/sys/bus/pnp/devices/00:0c/id:SMCf010
$ cat /sys/bus/pnp/devices/00:0c/resources
state = active
io 0x2f8-0x2ff
io 0x280-0x287
irq 3
dma 3
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 27 2007,08:01 QUOTE

If it makes sense, I'd like to suggest that lspnp/setpnp in dsl are replaced by scanport from the Debian hwtools package.

Example output:
Code Sample
$ sudo /sbin/scanport
The following devices are registered above 0x100:
       0x1f0 -> 0x1f7          ide0
       0x2f8 -> 0x2ff          serial(auto)
       0x320 -> 0x323          0350-0353 :
       0x3c0 -> 0x3df          vesafb
       0x3f6 -> 0x3f6          ide0
       0x3f8 -> 0x3ff          serial(auto)
       0x800 -> 0x87f          Intel Corp. 82801DBM LPC Interface Controller
       0x880 -> 0x8bf          Intel Corp. 82801DBM LPC Interface Controller
       0xcf8 -> 0xcff          PCI conf1
       0x4000 -> 0x40ff                PCI CardBus #02
       0x4400 -> 0x44ff                PCI CardBus #02
       0x4800 -> 0x48ff                PCI CardBus #06
       0x4c00 -> 0x4cff                PCI CardBus #06
       0xbf20 -> 0xbf3f                Intel Corp. 82801DB USB (Hub #3)
       0xbf -> 0xbf3f          20-bf3f : usb-uhci
       0xbf40 -> 0xbf5f                Intel Corp. 82801DB USB (Hub #2)
       0xbf -> 0xbf5f          40-bf5f : usb-uhci
       0xbf80 -> 0xbf9f                Intel Corp. 82801DB USB (Hub #1)
       0xbf -> 0xbf9f          80-bf9f : usb-uhci
       0xbfa0 -> 0xbfaf                Intel Corp. 82801DBM Ultra ATA Storage Controller
       0xbf -> 0xbfaf          a0-bfa7 : ide0
       0xbf -> 0xbfaf          a8-bfaf : ide1
       0xc000 -> 0xc007                Intel Corp. 82852/855GM Integrated Graphics Device
       0xd080 -> 0xd0ff                Intel Corp. 82801DB AC'97 Modem Controller
       0xd400 -> 0xd4ff                Intel Corp. 82801DB AC'97 Modem Controller
       0xd800 -> 0xd8ff                Intel Corp. 82801DB AC'97 Audio Controller
       0xdc40 -> 0xdc7f                Intel Corp. 82801DB AC'97 Audio Controller
       0xecf8 -> 0xecff                PCI device 104c:8204 (Texas Instruments)
and their i/o ports will not be scanned.

WARNING: Reading i/o ports of some hardware may hang your machine
You have 5 seconds to hit ^C (control+c) to abort...

Scanning for non 0xff values from 0x100 to 0x400....

Skipping 0xbf -> 0xbf3f         [ 20-bf3f : usb-uhci ]

Done.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 08 2007,23:42 QUOTE

Quote
WARNING: Reading i/o ports of some hardware may hang your machine


I have gotten seg faults and system hangs on my various old hardware. I don't think I can include scanports in the iso.

Will delete unused lspnp & setpnp.
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 09 2007,03:34 QUOTE

Quote
I have gotten seg faults and system hangs on my various old hardware. I don't think I can include scanports in the iso.

- OK, that's understandable. I'll leave scanports in the irda-utils extension since irda ports seem to be one of the hardest things to find.
Back to top
Profile PM 
3 replies since Nov. 26 2007,13:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Delete lspnp & setpnp to save space

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code