| Anonymous | Login | Signup for a new account | 11-10-2008 11:13 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001299 | [BusyBox] Other | major | always | 04-02-07 14:07 | 06-13-07 02:30 | ||||
| Reporter | Souf | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | unable to reproduce | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0001299: mdev can't create character devices | ||||||||
| Description |
I built an embedded system and I installed it on a mini PC (CPU: GeodeGX1), , when I load the sound driver (this driver is under development): modprobe snd-cs5530 mdev creates a block devices instead a character devices: ls -l /dev/snd/ brw-rw-rw- 1 root root 116, 5 Apr 2 22:29 controlC0 brw-rw-rw- 1 root root 116, 4 Apr 2 22:29 pcmC0D0c brw-rw-rw- 1 root root 116, 3 Apr 2 22:29 pcmC0D0p brw-rw-rw- 1 root root 116, 2 Apr 2 22:29 timer whereas the sound devices must be created as character devices. I believe that the problem comes from this line: type = (path[5]=='c') ? S_IFCHR : S_IFBLK; which must be like this: type = (path[5]=='b') ? S_IFBLK : S_IFCHR; |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |