View previous topic :: View next topic |
Author |
Message |
kwiqsilver Guru
Joined: 19 Mar 2003 Posts: 360
|
Posted: Fri Apr 08, 2005 6:51 am Post subject: Hardware missing after 2.4->2.6 upgrade |
|
|
I just installed a fresh gentoo on a pc that had a fully functional kernel 2.4 install.
Now I'm having problems with my usb printer and ide dvd burner.
The printer is listed in /proc/bus/usb/devices and I have the module usblp loaded. But instead of having a /dev/usb/lp0, I have a /dev/usb file, and no printer device.
I used to use the dvd burner with dev=ATAPI:0,0,0 and it worked. Now that fails, and I when I run cdrecord -scanbus, I get my sata drives and cfcard reader only. I have scsi emulation, scsi cd, and atapi cd all compiled into the kernel. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Fri Apr 08, 2005 8:12 am Post subject: |
|
|
dont use scsi emulation. use dev=/dev/hdX notation, not ATAPI. make sure your user has write access to that node. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
kwiqsilver Guru
Joined: 19 Mar 2003 Posts: 360
|
Posted: Fri Apr 08, 2005 4:05 pm Post subject: |
|
|
That worked, once I switched from dvdrtools to cdrtools.
Anybody have an idea about the printer? |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Fri Apr 08, 2005 7:20 pm Post subject: |
|
|
i have scsi emu in my kernel im getting the same prob i need to recompile the kernel correct ? _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
kwiqsilver Guru
Joined: 19 Mar 2003 Posts: 360
|
Posted: Fri Apr 08, 2005 8:36 pm Post subject: |
|
|
I don't think you need to recompile (at least not in this case).
I still have the scsi emulation in my kernel, I just used the dev=/dev/hdX notation. The cdrecord included in the dvdrtools didn't work for me at all, so I switched to cdrtools. |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Fri Apr 15, 2005 7:23 am Post subject: |
|
|
how im kinda confused :-/ _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Fri Apr 15, 2005 7:24 am Post subject: |
|
|
{root@horus:/usr/src/linux}mount /dev/hdc1 /mnt/cdrom
mount: special device /dev/hdc1 does not exist
{root@horus:/usr/src/linux}mount /dev/hdb1 /mnt/cdrom
mount: special device /dev/hdb1 does not exist
{root@horus:/usr/src/linux} _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Fri Apr 15, 2005 7:24 am Post subject: |
|
|
hda is my root drive and hdd is storage _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Fri Apr 15, 2005 3:39 pm Post subject: |
|
|
*bump i would really like to get this working ive emerge cdrtools :-/ _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
kwiqsilver Guru
Joined: 19 Mar 2003 Posts: 360
|
Posted: Sat Apr 16, 2005 12:20 am Post subject: |
|
|
I just use:
Code: | cdrecord dev=/dev/hdc speed=4 somefile.iso |
And it works.
I still have SCSI emulation, including cdrom emulation in the kernel.
To figure out which device to use run:
Code: | # dmesg|grep -i cd
hdc: LITE-ON DVDRW LDW-411S, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) |
|
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Sun Apr 17, 2005 7:40 pm Post subject: |
|
|
it ended up being hdc=ide-scsi on my grub.conf heh its working now thanks for helping _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
|