用nerolinux3.0,启动后有个警告说无权限访问sg0,请帮忙看看

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
头像
cliffzhou
帖子: 143
注册时间: 2007-05-17 16:15
送出感谢: 0
接收感谢: 0
联系:

用nerolinux3.0,启动后有个警告说无权限访问sg0,请帮忙看看

#1

帖子 cliffzhou » 2007-07-12 9:22

如图,sg0是个什么设备?难道需要root权限吗?
我的刻录机是先锋的112CH
附件
Screenshot-警告.png
Screenshot-警告.png (9.43 KiB) 查看 735 次
头像
cliffzhou
帖子: 143
注册时间: 2007-05-17 16:15
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 cliffzhou » 2007-07-13 16:02

有人能支援一下吗?
不会是我发错版面了吧?
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 colorpi » 2007-07-13 16:39

我也存在相同的问题。搜索Google后,有些帖子是这么解决的:

代码: 全选

sudo chmod 777 /dev/sg0
/dev/sg0设备应该是DVD设备,是否如此,我还得继续搜Google :D
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 colorpi » 2007-07-13 16:51

:shock: 找到一个帖子:

代码: 全选

Whats the diff between /dev/sg0 And /dev/scd0 ???

scd0 is a block device whilst sg0 is a character device. Generically,
block devices can be mounted and are cached, and char devices are for
communication devices, aren't cached nor block aligned, and can't be
mounted.

Specifically, scd* (block) are for cdroms, providing the block access
and commands for ejecting, closing, playing, etc.

sd* (block) are for normal harddisks, providing partitions and some
few commands.

st* (char) are for tape devices (rewind, read, write, etc.).

sg* are for the rest. They accept any scsi command you dare to construct,
and so are used for controlling some esoteric devices or devices that have
no standard interface. Scanners and recorders follow under this one
(recorders, as they also relate to _reading_, have a corresponding scd*
device). They can't be cached and need specific commands by vendor by
action.

/etc/fstab, as it relates to mounting filesystems, should refer only to
block devices (or none, for virtual filesystems).
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 colorpi » 2007-07-13 16:55

:shock: 另一个:

代码: 全选

/dev/sg0 is a generics SCSI device, the one used by burning software to
access the writing capabilities of your CD burner drive, using the
ide-scsi layer driver. /dev/scd0 is the SCSI device used for CD-ROM
accessing. What you experienced is how the ide-scsi module works. The
kernel 2.6 does not need it any more. To find more about SCSI and SCSI
generics please read

/usr/src/linux-2.4.22-1.2188.nptl/Documentation/scsi.txt
唔,有些奇怪,有些机器上,sg0或者sga挂的是扫描仪。这里说sg0是通用SCSI设备,会被一些烧录软件使用到。但是不明白为什么NERO要扫描sg0设备。
疑问加深中... :?:
头像
drivel
帖子: 1917
注册时间: 2006-07-08 9:21
来自: University of Science and Technology Beijing
送出感谢: 1 次
接收感谢: 0
联系:

#6

帖子 drivel » 2007-07-13 17:17

没问题,ignore之。
可以正常刻录的
头像
cliffzhou
帖子: 143
注册时间: 2007-05-17 16:15
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 cliffzhou » 2007-07-13 20:46

谢谢楼上2位
从5楼资料看,好像2.6内核已经可以忽略这个sg0了
之前有这个提示,一直不敢在ubuntu刻盘,怕费盘.现在看可以先尝试一下.
回复

回到 “常用硬件支持”